YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Fakewmi
FakeWMI payload
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
FakeWMI payload
Famille de malware associée : Fakewmi.
Cibles : PE Windows.
Elle définit 9 motifs (9 texte, 0 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-fakewmi.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Fakewmi : FILE
{
meta:
= "FakeWMI payload"
= "ditekSHen"
= "689bc207-2bc6-50de-80d6-d1ba0a26b264"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1047-L1064"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "627886cdd01f5f02e454ef284c77c87eb027ee33f6a51536758fb7f095271a40"
= 75
= 75
= "FILE"
= "MALWARE.Win.Trojan.Fakewmi"
strings:
$s1 = "-BEGIN RSA PUBLIC KEY-" ascii
$s2 = ".exe|" ascii
$s3 = "cmd /c wmic " ascii
$s4 = "cmd /c sc " ascii
$s5 = "schtasks" ascii
$s6 = "taskkill" ascii
$s7 = "findstr" ascii
$s8 = "netsh interface" ascii
$s9 = "CreateService" ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) and #s2 > 10 )
}
Chaînes (9 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "-BEGIN RSA PUBLIC KEY-" | ascii |
| $s2 | texte | ".exe|" | ascii |
| $s3 | texte | "cmd /c wmic " | ascii |
| $s4 | texte | "cmd /c sc " | ascii |
| $s5 | texte | "schtasks" | ascii |
| $s6 | texte | "taskkill" | ascii |
| $s7 | texte | "findstr" | ascii |
| $s8 | texte | "netsh interface" | ascii |
| $s9 | texte | "CreateService" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) and #s2 > 10 )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $s* ) doivent être trouvés.
- Le motif $s2 doit apparaître > 10 fois.
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: 689bc207-2bc6-50de-80d6-d1ba0a26b264
Métadonnées
| clamav_sig | MALWARE.Win.Trojan.Fakewmi |
|---|
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