YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Lummastealer
Detects Lumma Stealer
- Auteur
- ditekSHen
- Date
- 2034-02-17
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects Lumma Stealer
Famille de malware associée : Lummastealer.
Cibles : PE Windows.
Elle définit 15 motifs (12 texte, 0 hex, 3 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-lummastealer.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lummastealer : FILE
{
meta:
= "Detects Lumma Stealer"
= "ditekSHen"
= "b54521ab-4a31-5c1c-8ef2-b08b0f713693"
= "2034-02-17"
= "2034-02-17"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9829-L9854"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "74014c5bcc85977b90faed93b348c34e47ee033b06c2f145348ca9c54c27bda5"
= 75
= 73
= "FILE"
= "MALWARE.Win.Trojan.LummaStealer"
strings:
$x1 = /Lum[0-9]{3}xedmaC2,\sBuild/ ascii
$x2 = /LID\(Lu[0-9]{3}xedmma\sID\):/ ascii
$s1 = /os_c[0-9]{3}xedrypt\.encry[0-9]{3}xedpted_key/ fullword ascii
$s2 = "c2sock" wide
$s3 = "c2conf" wide
$s4 = "TeslaBrowser/" wide
$s5 = "Software.txt" fullword wide
$s6 = "SysmonDrv" fullword
$s7 = "*.eml" fullword wide nocase
$s8 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" wide
$s9 = "- Screen Resoluton:" ascii
$s10 = "lid=%s" ascii
$s11 = "&ver=" ascii
$s12 = "769cb9aa22f4ccc412f9cbc81feedd" fullword wide
$s13 = "gapi-node.io" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) or 5 of ( $s* ) or 7 of them )
}
Chaînes (15 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | regex | /Lum[0-9]{3}xedmaC2,\sBuild/ | ascii |
| $x2 | regex | /LID\(Lu[0-9]{3}xedmma\sID\):/ | ascii |
| $s1 | regex | /os_c[0-9]{3}xedrypt\.encry[0-9]{3}xedpted_key/ | fullword ascii |
| $s2 | texte | "c2sock" | wide |
| $s3 | texte | "c2conf" | wide |
| $s4 | texte | "TeslaBrowser/" | wide |
| $s5 | texte | "Software.txt" | fullword wide |
| $s6 | texte | "SysmonDrv" | fullword |
| $s7 | texte | "*.eml" | fullword wide nocase |
| $s8 | texte | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" | wide |
| $s9 | texte | "- Screen Resoluton:" | ascii |
| $s10 | texte | "lid=%s" | ascii |
| $s11 | texte | "&ver=" | ascii |
| $s12 | texte | "769cb9aa22f4ccc412f9cbc81feedd" | fullword wide |
| $s13 | texte | "gapi-node.io" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) or 5 of ( $s* ) or 7 of them )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $x* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) 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: b54521ab-4a31-5c1c-8ef2-b08b0f713693
Métadonnées
| clamav1 | MALWARE.Win.Trojan.LummaStealer |
|---|
Tags:FILE
Règles liées
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06