Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Lummastealer

Detects Lumma Stealer

MalwareLummastealerditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
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

malware-win-lummastealer.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lummastealer : FILE
{
	meta:
		description = "Detects Lumma Stealer"
		author = "ditekSHen"
		id = "b54521ab-4a31-5c1c-8ef2-b08b0f713693"
		date = "2034-02-17"
		date = "2034-02-17"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9829-L9854"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "74014c5bcc85977b90faed93b348c34e47ee033b06c2f145348ca9c54c27bda5"
		score = 75
		quality = 73
		tags = "FILE"
		clamav1 = "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)

IdentificadorTipoValorModificadores
$x1regex/Lum[0-9]{3}xedmaC2,\sBuild/ascii
$x2regex/LID\(Lu[0-9]{3}xedmma\sID\):/ascii
$s1regex/os_c[0-9]{3}xedrypt\.encry[0-9]{3}xedpted_key/fullword ascii
$s2texto"c2sock"wide
$s3texto"c2conf"wide
$s4texto"TeslaBrowser/"wide
$s5texto"Software.txt"fullword wide
$s6texto"SysmonDrv"fullword
$s7texto"*.eml"fullword wide nocase
$s8texto"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"wide
$s9texto"- Screen Resoluton:"ascii
$s10texto"lid=%s"ascii
$s11texto"&ver="ascii
$s12texto"769cb9aa22f4ccc412f9cbc81feedd"fullword wide
$s13texto"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.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

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).

Regla original

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

clamav1MALWARE.Win.Trojan.LummaStealer

Etiquetas:FILE