YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Miniduke
Detects MiniDuke
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects MiniDuke
Famille de malware associée : Miniduke.
Cibles : PE Windows.
Elle définit 13 motifs (12 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-miniduke.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Miniduke : FILE
{
meta:
= "Detects MiniDuke"
= "ditekSHen"
= "947cd414-d19d-5543-8961-94aef69cc94e"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3948-L3969"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c3ab139b4fda2ff9678ceecbdf5ac0c57536bd658f62aa9d19610028b0a5f92c"
= 75
= 75
= "FILE"
strings:
$s1 = "DefPipe" fullword ascii
$s2 = "term %5d" fullword ascii
$s3 = "pid %5d" fullword ascii
$s4 = "uptime %5d.%02dh" fullword ascii
$s5 = "login: %s\\%s" fullword ascii
$s6 = "Software\\Microsoft\\ApplicationManager" ascii
$s7 = { 69 64 6c 65 ?? 00 73 74 6f 70 ?? 00 61 63 63 65 70 74 ?? 00 63 6f 6e 6e 65 63 74 ?? 00 6c 69 73 74 65 6e ?? 00 }
$net1 = "salesappliances.com" ascii
$net2 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36" fullword ascii
$net3 = "http://10." ascii
$net4 = "JiM9t8g7j8KoJkLJlKqka8dbo7q5z4v5u3o4z" ascii
$net5 = "application/octet-stream" ascii
$net6 = "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $net* ) or 7 of them )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "DefPipe" | fullword ascii |
| $s2 | texte | "term %5d" | fullword ascii |
| $s3 | texte | "pid %5d" | fullword ascii |
| $s4 | texte | "uptime %5d.%02dh" | fullword ascii |
| $s5 | texte | "login: %s\\%s" | fullword ascii |
| $s6 | texte | "Software\\Microsoft\\ApplicationManager" | ascii |
| $s7 | hex | { 69 64 6c 65 ?? 00 73 74 6f 70 ?? 00 61 63 63 65 70 74 ?? 00 63 6f 6e 6e 65 63 74 ?? 00 6c 69 73 74 65 6e ?? 00 } | |
| $net1 | texte | "salesappliances.com" | ascii |
| $net2 | texte | "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36" | fullword ascii |
| $net3 | texte | "http://10." | ascii |
| $net4 | texte | "JiM9t8g7j8KoJkLJlKqka8dbo7q5z4v5u3o4z" | ascii |
| $net5 | texte | "application/octet-stream" | ascii |
| $net6 | texte | "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $net* ) or 7 of them )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 4 motifs de ( $net* ) doivent être trouvés.
- Au moins 7 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é.
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: 947cd414-d19d-5543-8961-94aef69cc94e
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