YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Iamthekingqueenofclubs
IAmTheKing Queen Of Clubs payload
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
IAmTheKing Queen Of Clubs payload
Famille de malware associée : Iamthekingqueenofclubs.
Cibles : PE Windows.
Elle définit 7 motifs (7 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
rule DITEKSHEN_MALWARE_Win_Iamthekingqueenofclubs : FILE
{
meta:
= "IAmTheKing Queen Of Clubs payload"
= "ditekSHen"
= "4d19a484-0483-5b3e-a9ad-1cd8ca263a04"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6993-L7007"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "28d7d3e9a3b7c104fc5b0fa38ce33b34596f16f6987c34a0e2e3fd93a8a908bd"
= 75
= 75
= "FILE"
strings:
$s1 = "Not Support!" fullword wide
$s2 = "%s|%s|%s|%s" fullword wide
$s3 = "cmd.exe" fullword wide
$s4 = "for(;;){$S=Get-Content \"%s\";IF($S){\"\" > \"%s\";$t=iex $S 2>\"%s\";$t=$t+' ';echo $t >>\"%s\";}sleep -m " wide
$s5 = "PowerShell.exe -nop -c %s" fullword wide
$s6 = "%s \"%s\" Df" fullword wide
$s7 = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of them
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "Not Support!" | fullword wide |
| $s2 | texte | "%s|%s|%s|%s" | fullword wide |
| $s3 | texte | "cmd.exe" | fullword wide |
| $s4 | texte | "for(;;){$S=Get-Content \"%s\";IF($S){\"\" > \"%s\";$t=iex $S 2>\"%s\";$t=$t+' ';echo $t >>\"%s\";}sleep -m " | wide |
| $s5 | texte | "PowerShell.exe -nop -c %s" | fullword wide |
| $s6 | texte | "%s \"%s\" Df" | fullword wide |
| $s7 | texte | "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)" | fullword 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: 4d19a484-0483-5b3e-a9ad-1cd8ca263a04
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