YARA · SEKOIA.IO Community
SEKOIA_Emmenhtal_Strings_Hta_Exe
Emmenhtal Loader string
- Auteur
- Sekoia.io
- Date
- 2024-09-06
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Emmenhtal Loader string
Cibles : PE Windows.
Elle définit 5 motifs (4 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 SEKOIA_Emmenhtal_Strings_Hta_Exe : FILE
{
meta:
= "Emmenhtal Loader string"
= "Sekoia.io"
= "64e08610-e8a4-4edd-8f6b-d4e8d2b47d87"
= "2024-09-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/emmenhtal_strings_hta_exe.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e86a22f1c73b85678e64341427c7193ba65903f3c0f29af2e65d7c56d833d912"
= "93f85a4ccb58c6aeb664c4c843ff80a4ab7b4308a944537f7ebe087515a61659"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$char = / = String\.fromCharCode\([a-zA-Z]{2,4},[a-zA-Z]{2,4},/
$var = "var "
$eval = "eval("
$script1 = "<script>"
$script2 = "</script>MZ"
condition:
uint16be( 0 ) == 0x4d5a and all of them and $var in ( @script1 .. @script1 + 2000 ) and $char in ( @var .. @var + 100 )
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $char | regex | / = String\.fromCharCode\([a-zA-Z]{2,4},[a-zA-Z]{2,4},/ | |
| $var | texte | "var " | |
| $eval | texte | "eval(" | |
| $script1 | texte | "<script>" | |
| $script2 | texte | "</script>MZ" |
Condition
uint16be( 0 ) == 0x4d5a and all of them and $var in ( @script1 .. @script1 + 2000 ) and $char in ( @var .. @var + 100 )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de la règle doivent être trouvés.
- Le motif $var doit se trouver dans la plage @script1 .. @script1 + 2000.
- Le motif $char doit se trouver dans la plage @var .. @var + 100.
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
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- e86a22f1c73b85678e64341427c7193ba65903f3c0f29af2e65d7c56d833d912
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: 64e08610-e8a4-4edd-8f6b-d4e8d2b47d87
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20