YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Blackmatter
Detects BlackMatter ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects BlackMatter ransomware
Famille de malware associée : Blackmatter.
Cibles : PE Windows.
Elle définit 9 motifs (3 texte, 6 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule DITEKSHEN_MALWARE_Win_Blackmatter : FILE
{
meta:
= "Detects BlackMatter ransomware"
= "ditekSHen"
= "8883e652-edab-5cbf-a4fa-963b437447d9"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7748-L7767"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "4558002b424f7102f67fc44dfc37ac20f6013e25ae827c6aee0fc37231e2fa72"
= 75
= 75
= "FILE"
strings:
$s1 = "C:\\Windows\\System32\\*.drv" fullword wide
$s2 = "NYbr-Vk@" fullword ascii
$s3 = ":7:=:H:Q:W:\\:b:&;O;^;v;" fullword ascii
$o1 = { b0 34 aa fe c0 e2 fb b9 03 }
$o2 = { fe 00 ff 75 08 ff 75 0c ff b5 d8 fe ff ff ff b5 }
$o3 = { 6a 00 ff 75 0c ff b5 d8 fe ff ff ff b5 dc fe ff }
$o4 = { ff 75 08 ff 75 0c ff b5 d8 fe ff ff ff b5 dc fe }
$o5 = { 53 56 57 8d 85 70 ff ff ff 83 c0 0f 83 e0 f0 89 }
$o6 = { c7 85 68 ff ff ff 00 04 00 00 8b 85 6c ff ff ff }
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) and all of ( $o* ) )
}
Chaînes (9 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "C:\\Windows\\System32\\*.drv" | fullword wide |
| $s2 | texte | "NYbr-Vk@" | fullword ascii |
| $s3 | texte | ":7:=:H:Q:W:\\:b:&;O;^;v;" | fullword ascii |
| $o1 | hex | { b0 34 aa fe c0 e2 fb b9 03 } | |
| $o2 | hex | { fe 00 ff 75 08 ff 75 0c ff b5 d8 fe ff ff ff b5 } | |
| $o3 | hex | { 6a 00 ff 75 0c ff b5 d8 fe ff ff ff b5 dc fe ff } | |
| $o4 | hex | { ff 75 08 ff 75 0c ff b5 d8 fe ff ff ff b5 dc fe } | |
| $o5 | hex | { 53 56 57 8d 85 70 ff ff ff 83 c0 0f 83 e0 f0 89 } | |
| $o6 | hex | { c7 85 68 ff ff ff 00 04 00 00 8b 85 6c ff ff ff } |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) and all of ( $o* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $s* ) doivent être trouvés.
- Tous les motifs de ( $o* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 8883e652-edab-5cbf-a4fa-963b437447d9
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2021-08-03
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06