YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Maze
Detects Maze ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Maze ransomware
Famille de malware associée : Maze.
Cibles : PE Windows.
Elle définit 10 motifs (9 texte, 1 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
malware-win-maze.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Maze : FILE
{
meta:
= "Detects Maze ransomware"
= "ditekSHen"
= "f5d1d3e2-1ffe-5ec6-b1ee-bded81867fb8"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9116-L9145"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d3ce3b43c65dfd9f59ba3c6b64e8d7687db175673cc62068caa1e1da023390c0"
= 75
= 75
= "FILE"
strings:
$x1 = "Uc32nbspacec97c98c99c100c101c102c103c104c105c106c107c108c109c110c" ascii
$s1 = "\"%s\" shadowcopy delete" wide
$s2 = "[%windir%\\system32\\wbem\\wmic" wide
$s3 = "process call create \"cmd /c start %s\"" wide
$s4 = "DECRYPT-FILES.html" fullword wide
$s5 = "Dear %s, your files" wide
$s6 = "%s! Alert! %s! Alert!" wide
$s7 = "%BASE64_PLACEHOLDER%" fullword ascii
$s8 = "-orDGorX0or" fullword ascii
$s9 = { 47 45 54 20 2f 25 73 20 48 54 54 50 2f 31 2e 31
0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 25 73
0d 0a 48 6f 73 74 3a 20 25 73 0d 0a 43 6f 6e 6e
65 63 74 69 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69
76 65 0d 0a 0d 0a 00 50 4f 53 54 20 2f 25 73 20
48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 72 2d 41
67 65 6e 74 3a 20 25 73 0d 0a 48 6f 73 74 3a 20
25 73 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65
3a 20 25 73 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65
6e 67 74 68 3a 20 25 64 0d 0a 43 6f 6e 6e 65 63
74 69 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 76 65
0d 0a 0d 0a 00 0d 0a 0d 0a 00 43 6f 6e 74 65 6e
74 2d 4c 65 6e 67 74 68 3a 20 00 }
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 3 of ( $s* ) ) or 6 of ( $s* ) )
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "Uc32nbspacec97c98c99c100c101c102c103c104c105c106c107c108c109c110c" | ascii |
| $s1 | texte | "\"%s\" shadowcopy delete" | wide |
| $s2 | texte | "[%windir%\\system32\\wbem\\wmic" | wide |
| $s3 | texte | "process call create \"cmd /c start %s\"" | wide |
| $s4 | texte | "DECRYPT-FILES.html" | fullword wide |
| $s5 | texte | "Dear %s, your files" | wide |
| $s6 | texte | "%s! Alert! %s! Alert!" | wide |
| $s7 | texte | "%BASE64_PLACEHOLDER%" | fullword ascii |
| $s8 | texte | "-orDGorX0or" | fullword ascii |
| $s9 | hex | { 47 45 54 20 2f 25 73 20 48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 25 73 0d 0a 48 6f 73 74 3a 20 25 73 0d … |
Condition
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 3 of ( $s* ) ) or 6 of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
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: f5d1d3e2-1ffe-5ec6-b1ee-bded81867fb8
Tags:FILE
Règles liées
- Suspect / chasseditekSHen detection· ditekShen· 2021-01-21
- MalwareSignature Base (Florian Roth / Nextron)· @VK_Intel· 2020-04-18
- 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