YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Hakunamatata_Builder
Detects HakunaMatata ransomware builder
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects HakunaMatata ransomware builder
Famille de malware associée : Hakunamatata.
Cibles : PE Windows.
Elle définit 11 motifs (10 texte, 0 hex, 1 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_Hakunamatata_Builder : FILE
{
meta:
= "Detects HakunaMatata ransomware builder"
= "ditekSHen"
= "dbf3490f-418c-5d3b-9f9e-e9fb29d8b652"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10086-L10104"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "ac258851de38504cf63ba51fd06f8a9a3dfbe0096d199ba702e9763b5ecc43e4"
= 75
= 73
= "FILE"
strings:
$s1 = "ENCRYPT FILES IN PROCESS" wide
$s2 = "#TARGET_FILES" ascii wide
$s3 = "HAKUNA MATATA" ascii wide nocase
$s4 = "#PRIVATE_KEY" ascii wide
$s5 = "/target:winexe /platform:anycpu /optimize+" wide
$s6 = "/win32icon:" fullword wide
$s7 = "SkippedFolders" ascii
$s8 = "RECURSIVE_DIRECTORY_LOOK(" ascii
$s9 = "DRAW_WALLPAPER(" ascii
$s10 = "startupKey.SetValue(MESSAGE_FILE.Split('.')[0], executablePath);" ascii
$s11 = /\\obj\\(Debug|Release)\\Hakuna\sMatata\.pdb/ ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of them
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "ENCRYPT FILES IN PROCESS" | wide |
| $s2 | texte | "#TARGET_FILES" | ascii wide |
| $s3 | texte | "HAKUNA MATATA" | ascii wide nocase |
| $s4 | texte | "#PRIVATE_KEY" | ascii wide |
| $s5 | texte | "/target:winexe /platform:anycpu /optimize+" | wide |
| $s6 | texte | "/win32icon:" | fullword wide |
| $s7 | texte | "SkippedFolders" | ascii |
| $s8 | texte | "RECURSIVE_DIRECTORY_LOOK(" | ascii |
| $s9 | texte | "DRAW_WALLPAPER(" | ascii |
| $s10 | texte | "startupKey.SetValue(MESSAGE_FILE.Split('.')[0], executablePath);" | ascii |
| $s11 | regex | /\\obj\\(Debug|Release)\\Hakuna\sMatata\.pdb/ | ascii |
Condition
uint16( 0 ) == 0x5a4d and 5 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 5 motifs de la règle 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: dbf3490f-418c-5d3b-9f9e-e9fb29d8b652
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06