YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Rietspoof
Rietspoof payload
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Rietspoof payload
Famille de malware associée : Rietspoof.
Cibles : PE Windows.
Elle définit 19 motifs (19 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-rietspoof.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Rietspoof : FILE
{
meta:
= "Rietspoof payload"
= "ditekSHen"
= "b2d94705-ca59-56ae-8471-2c6895d355dc"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1110-L1140"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d1d9baab83c904d1e8dcd7aeacdabfc79c1acee67006793c2240a42ebf9c62b2"
= 75
= 73
= "FILE"
= "MALWARE.Win.Trojan.Rietspoof"
strings:
$c1 = "%s%s%s USER: user" fullword ascii
$c2 = "cmd /c %s" fullword ascii
$c3 = "CreateObject(\"Scripting.FileSystemObject\").DeleteFile(" ascii
$c4 = "WScript.Quit" fullword ascii
$c5 = "CPU: %s(%d)" fullword ascii
$c6 = "RAM: %lld Mb" fullword ascii
$c7 = "data.dat" fullword ascii
$c8 = "%s%s%s USER:" ascii
$v1_1 = ".vbs" ascii
$v1_2 = "HELLO" ascii
$v1_3 = "Wscript.Sleep" ascii
$v1_4 = "User-agent:Mozilla/5.0 (Windows; U;" ascii
$v2_1 = "Xjoepxt!" ascii
$v2_2 = "Content-MD5:%s" fullword ascii
$v2_3 = "M9h5an8f8zTjnyTwQVh6hYBdYsMqHiAz" fullword ascii
$v2_4 = "GET /%s?%s HTTP/1.1" fullword ascii
$v2_5 = "GET /?%s HTTP/1.1" fullword ascii
$pdb1 = "\\techloader\\loader\\loader.odb" ascii wide
$pdb2 = "\\loader\\Release\\loader_v1.0.pdb" ascii wide
condition:
uint16( 0 ) == 0x5a4d and ( 7 of ( $c* ) and ( 3 of ( $v* ) or 1 of ( $pdb* ) ) )
}
Chaînes (19 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $c1 | texte | "%s%s%s USER: user" | fullword ascii |
| $c2 | texte | "cmd /c %s" | fullword ascii |
| $c3 | texte | "CreateObject(\"Scripting.FileSystemObject\").DeleteFile(" | ascii |
| $c4 | texte | "WScript.Quit" | fullword ascii |
| $c5 | texte | "CPU: %s(%d)" | fullword ascii |
| $c6 | texte | "RAM: %lld Mb" | fullword ascii |
| $c7 | texte | "data.dat" | fullword ascii |
| $c8 | texte | "%s%s%s USER:" | ascii |
| $v1_1 | texte | ".vbs" | ascii |
| $v1_2 | texte | "HELLO" | ascii |
| $v1_3 | texte | "Wscript.Sleep" | ascii |
| $v1_4 | texte | "User-agent:Mozilla/5.0 (Windows; U;" | ascii |
| $v2_1 | texte | "Xjoepxt!" | ascii |
| $v2_2 | texte | "Content-MD5:%s" | fullword ascii |
| $v2_3 | texte | "M9h5an8f8zTjnyTwQVh6hYBdYsMqHiAz" | fullword ascii |
| $v2_4 | texte | "GET /%s?%s HTTP/1.1" | fullword ascii |
| $v2_5 | texte | "GET /?%s HTTP/1.1" | fullword ascii |
| $pdb1 | texte | "\\techloader\\loader\\loader.odb" | ascii wide |
| $pdb2 | texte | "\\loader\\Release\\loader_v1.0.pdb" | ascii wide |
Condition
uint16( 0 ) == 0x5a4d and ( 7 of ( $c* ) and ( 3 of ( $v* ) or 1 of ( $pdb* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 7 motifs de ( $c* ) doivent être trouvés.
- Au moins 3 motifs de ( $v* ) doivent être trouvés.
- Au moins 1 motifs de ( $pdb* ) 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: b2d94705-ca59-56ae-8471-2c6895d355dc
Métadonnées
| clamav_sig | MALWARE.Win.Trojan.Rietspoof |
|---|
Tags:FILE
Règles liées
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2026-09-01
- 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