Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Minimalistic_Backdoor_May26

Detects minimalistic backdoor deployment where a shellcode loader downloads an encrypted payload and executes it in memory after RC4 decryption using a command-line provided key

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
MalGamy
Fecha
2026-05-05
Modificada
2026-05-15
Puntuación / Calidad
80 / 85

Qué detecta esta regla

Detects minimalistic backdoor deployment where a shellcode loader downloads an encrypted payload and executes it in memory after RC4 decryption using a command-line provided key

Objetivos: PE de Windows.

Define 6 patrones (6 de texto, 0 hex, 0 regex).

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

Código de la regla

mal-minimalistic-backdoor-may26.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_Minimalistic_Backdoor_May26 : FILE
{
	meta:
		description = "Detects minimalistic backdoor deployment where a shellcode loader downloads an encrypted payload and executes it in memory after RC4 decryption using a command-line provided key"
		author = "MalGamy"
		id = "8292161d-8b20-51e0-987a-dd0f4c1cf3e8"
		date = "2026-05-05"
		modified = "2026-05-15"
		reference = "https://securelist.com/tr/daemon-tools-backdoor/119654/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/threat_compromised_daemon_tools_lite_may26.yar#L68-L92"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "395ec7acd475a8acd358adc75c4615cf41737aed8a96c4f2dd792c8a6af4140c"
		logic_hash = "0f5e1f95d28fe5e45a10d652a11e9940823b4ac113dcf9b547f81d35bcda6cc7"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$x1 = "Note: if multiple processes load the DLL," wide
		$x2 = "Inject (shellcode file is RC4 ciphertext; key is a UTF-8 string" wide
		$s1 = "Error: VirtualAllocEx failed, Win" wide
		$s2 = "Try running as administrator; " wide
		$s3 = ", shellcode size: " wide
		$s4 = "input file path cannot be empty." wide

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 50KB and ( 1 of ( $x* ) or all of ( $s* ) )
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$x1texto"Note: if multiple processes load the DLL,"wide
$x2texto"Inject (shellcode file is RC4 ciphertext; key is a UTF-8 string"wide
$s1texto"Error: VirtualAllocEx failed, Win"wide
$s2texto"Try running as administrator; "wide
$s3texto", shellcode size: "wide
$s4texto"input file path cannot be empty."wide

Condición

uint16( 0 ) == 0x5a4d and filesize < 50KB and ( 1 of ( $x* ) or all of ( $s* ) )

En palabras sencillas (Heurística)

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

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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • 395ec7acd475a8acd358adc75c4615cf41737aed8a96c4f2dd792c8a6af4140c

Licencia y atribución

Autor: MalGamy

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

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: 8292161d-8b20-51e0-987a-dd0f4c1cf3e8

Etiquetas:FILE