YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Lummastealer
Detects Lumma Stealer
- Autor
- ditekSHen
- Fecha
- 2034-02-17
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 73
Qué detecta esta regla
Detects Lumma Stealer
Familia de malware asociada: Lummastealer.
Objetivos: PE de Windows.
Define 15 patrones (12 de texto, 0 hex, 3 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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 )
}
Cadenas (15 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $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 | texto | "c2sock" | wide |
| $s3 | texto | "c2conf" | wide |
| $s4 | texto | "TeslaBrowser/" | wide |
| $s5 | texto | "Software.txt" | fullword wide |
| $s6 | texto | "SysmonDrv" | fullword |
| $s7 | texto | "*.eml" | fullword wide nocase |
| $s8 | texto | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" | wide |
| $s9 | texto | "- Screen Resoluton:" | ascii |
| $s10 | texto | "lid=%s" | ascii |
| $s11 | texto | "&ver=" | ascii |
| $s12 | texto | "769cb9aa22f4ccc412f9cbc81feedd" | fullword wide |
| $s13 | texto | "gapi-node.io" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) or 5 of ( $s* ) or 7 of them )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $x* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 2 patrones de ( $s* ).
- Deben coincidir al menos 5 patrones de ( $s* ).
- Deben coincidir al menos 7 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: b54521ab-4a31-5c1c-8ef2-b08b0f713693
Metadatos
| clamav1 | MALWARE.Win.Trojan.LummaStealer |
|---|
Etiquetas:FILE
Reglas relacionadas
- 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