YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Darkeye
Detects DarkEye infostealer
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects DarkEye infostealer
Famille de malware associée : Darkeye.
Cibles : PE Windows.
Elle définit 12 motifs (10 texte, 0 hex, 2 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_Darkeye : FILE
{
meta:
= "Detects DarkEye infostealer"
= "ditekSHen"
= "5296fe28-b54e-5d0f-aa2f-2050db585d82"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9751-L9770"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5496dcbfe075a4030a446027765186e9dd1931561a29a481139281e1708ce87d"
= 75
= 75
= "FILE"
strings:
$c1 = /Prynt(\s)?Stealer/ ascii wide
$c2 = /WorldWind(\s)?Stealer/ ascii wide
$c3 = "ToxicEye" ascii wide
$x2 = "@FlatLineStealer" ascii wide
$x3 = "@CashOutGangTalk" ascii wide
$s1 = "--- Clipper" wide
$s2 = "Downloading file: \"{file}\"" wide
$s3 = "/bot{0}/getUpdates?offset={1}" wide
$s4 = "send command to bot!" wide
$s5 = " *Keylogger " fullword wide
$s6 = "*Stealer" wide
$s7 = "Bot connected" wide
condition:
uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )
}
Chaînes (12 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $c1 | regex | /Prynt(\s)?Stealer/ | ascii wide |
| $c2 | regex | /WorldWind(\s)?Stealer/ | ascii wide |
| $c3 | texte | "ToxicEye" | ascii wide |
| $x2 | texte | "@FlatLineStealer" | ascii wide |
| $x3 | texte | "@CashOutGangTalk" | ascii wide |
| $s1 | texte | "--- Clipper" | wide |
| $s2 | texte | "Downloading file: \"{file}\"" | wide |
| $s3 | texte | "/bot{0}/getUpdates?offset={1}" | wide |
| $s4 | texte | "send command to bot!" | wide |
| $s5 | texte | " *Keylogger " | fullword wide |
| $s6 | texte | "*Stealer" | wide |
| $s7 | texte | "Bot connected" | wide |
Condition
uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins un motif de ( $c* ) doit être trouvé.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 4 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: 5296fe28-b54e-5d0f-aa2f-2050db585d82
Tags:FILE
Règles liées
- Outil offensifSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- 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