YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Dlinjector01
Detects specific downloader injector shellcode
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects specific downloader injector shellcode
Famille de malware associée : Dlinjector01.
Cibles : PE Windows.
Elle définit 13 motifs (7 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_Dlinjector01 : FILE
{
meta:
= "Detects specific downloader injector shellcode"
= "ditekSHen"
= "c5e0946c-3e15-5ebc-b1b5-3f00566dc5cd"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5995-L6015"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5c13af5fdbb2e8a27103d9502126a82d0bff15d9a269b22e4279b5b459d50e2d"
= 75
= 75
= "FILE"
strings:
$s1 = "process call create \"%s\"" ascii wide
$s2 = "\\REGISTRY\\MACHINE\\System\\CurrentControlSet\\Enum\\" ascii wide
$s3 = "%systemroot%\\system32\\ntdll.dll" ascii wide
$s4 = "qemu-ga.exe" ascii wide
$s5 = "prl_tools.exe" ascii wide
$s6 = "vboxservice.exe" ascii wide
$o1 = { 75 04 74 02 38 6e 8b 34 24 83 c4 04 eb 0a 08 81 }
$o2 = { 16 f8 f7 ba f0 3d 87 c7 95 13 b7 64 22 be e1 59 }
$o3 = { 8b 0c 24 83 c4 04 eb 05 ea f2 eb ef 05 e8 ad fe }
$o4 = { eb 05 1d 51 eb f5 ce e8 80 fd ff ff 77 a1 f4 cd }
$o5 = { eb 05 6e 33 eb f5 73 e8 64 f6 ff ff 77 a1 f4 77 }
$o6 = { 59 eb 05 fd 98 eb f4 50 e8 d5 f5 ff ff 3b b9 00 }
$o7 = "bYkoDA7G" fullword ascii
condition:
( uint16( 0 ) == 0x5a4d and all of ( $o* ) ) or ( all of ( $s* ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "process call create \"%s\"" | ascii wide |
| $s2 | texte | "\\REGISTRY\\MACHINE\\System\\CurrentControlSet\\Enum\\" | ascii wide |
| $s3 | texte | "%systemroot%\\system32\\ntdll.dll" | ascii wide |
| $s4 | texte | "qemu-ga.exe" | ascii wide |
| $s5 | texte | "prl_tools.exe" | ascii wide |
| $s6 | texte | "vboxservice.exe" | ascii wide |
| $o1 | hex | { 75 04 74 02 38 6e 8b 34 24 83 c4 04 eb 0a 08 81 } | |
| $o2 | hex | { 16 f8 f7 ba f0 3d 87 c7 95 13 b7 64 22 be e1 59 } | |
| $o3 | hex | { 8b 0c 24 83 c4 04 eb 05 ea f2 eb ef 05 e8 ad fe } | |
| $o4 | hex | { eb 05 1d 51 eb f5 ce e8 80 fd ff ff 77 a1 f4 cd } | |
| $o5 | hex | { eb 05 6e 33 eb f5 73 e8 64 f6 ff ff 77 a1 f4 77 } | |
| $o6 | hex | { 59 eb 05 fd 98 eb f4 50 e8 d5 f5 ff ff 3b b9 00 } | |
| $o7 | texte | "bYkoDA7G" | fullword ascii |
Condition
( uint16( 0 ) == 0x5a4d and all of ( $o* ) ) or ( all of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $o* ) doivent être trouvés.
- Tous les 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é.
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: c5e0946c-3e15-5ebc-b1b5-3f00566dc5cd
Tags:FILE
Règles liées
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06