Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Lu0Bot

Detects Lu0Bot

MalwareLu0BotditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects Lu0Bot

Familia de malware asociada: Lu0Bot.

Objetivos: PE de Windows.

Define 4 patrones (2 de texto, 2 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

malware-win-lu0bot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lu0Bot : FILE
{
	meta:
		description = "Detects Lu0Bot"
		author = "ditekSHen"
		id = "f8595553-b911-5e30-9ece-cad7d5913f19"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7274-L7285"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b4822248230a804b1dc75f8d517af28a621dab1746c9ef45eaa4754149ce0cba"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "WinExec" fullword ascii
		$s2 = "AlignRects" fullword ascii
		$o1 = { be 00 20 40 00 89 f7 89 f0 81 c7 a? 01 00 00 81 }
		$o2 = { 53 50 e8 b0 01 00 00 e9 99 01 00 00 e8 ae 01 00 }

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 4KB and 1 of ( $s* ) and all of ( $o* )
}

Cadenas (4 patrones)

IdentificadorTipoValorModificadores
$s1texto"WinExec"fullword ascii
$s2texto"AlignRects"fullword ascii
$o1hex{ be 00 20 40 00 89 f7 89 f0 81 c7 a? 01 00 00 81 }
$o2hex{ 53 50 e8 b0 01 00 00 e9 99 01 00 00 e8 ae 01 00 }

Condición

uint16( 0 ) == 0x5a4d and filesize < 4KB and 1 of ( $s* ) and all of ( $o* )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 4KB (un límite barato que descarta archivos grandes).
  • Deben coincidir todos los patrones de ( $o* ).
  • Deben coincidir al menos 1 patrones de ( $s* ).

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: f8595553-b911-5e30-9ece-cad7d5913f19

Etiquetas:FILE