Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Emotet_Jan20_1

Detects Emotet malware

MalwareEmotetSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Florian Roth (Nextron Systems)
Fecha
2020-01-29
Modificada
2023-12-05
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects Emotet malware

Familia de malware asociada: Emotet.

Objetivos: PE de Windows.

Define 3 patrones (0 de texto, 3 hex, 0 regex). Módulos YARA usados: pe.

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

Código de la regla

Incluye los imports necesarios para compilarla por sí sola.

mal-emotet-jan20-1.yarDetection Rule License 1.1
import "pe"

rule SIGNATURE_BASE_MAL_Emotet_Jan20_1 : FILE
{
	meta:
		description = "Detects Emotet malware"
		author = "Florian Roth (Nextron Systems)"
		id = "334ae7e5-0a46-5e95-bf53-0f343db4e4de"
		date = "2020-01-29"
		modified = "2023-12-05"
		reference = "https://app.any.run/tasks/5e81638e-df2e-4a5b-9e45-b07c38d53929/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_emotet.yar#L20-L37"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "e7c22ccdb1103ee6bd15c528270f56913bb2f47345b360802b74084563f1b73d"
		logic_hash = "23ffcdde3eae7637e5b47a0f940cbebafccfd4c3f222b882e73d7d02447b83c3"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$op0 = { 74 60 8d 34 18 eb 54 03 c3 50 ff 15 18 08 41 00 }
		$op1 = { 03 fe 66 39 07 0f 85 2a ff ff ff 8b 4d f0 6a 20 }
		$op2 = { 8b 7d fc 0f 85 49 ff ff ff 85 db 0f 84 d1 }

	condition:
		uint16( 0 ) == 0x5a4d and filesize <= 200KB and ( pe.imphash ( ) == "009889c73bd2e55113bf6dfa5f395e0d" or 1 of them )
}

Cadenas (3 patrones)

IdentificadorTipoValorModificadores
$op0hex{ 74 60 8d 34 18 eb 54 03 c3 50 ff 15 18 08 41 00 }
$op1hex{ 03 fe 66 39 07 0f 85 2a ff ff ff 8b 4d f0 6a 20 }
$op2hex{ 8b 7d fc 0f 85 49 ff ff ff 85 db 0f 84 d1 }

Condición

uint16( 0 ) == 0x5a4d and filesize <= 200KB and ( pe.imphash ( ) == "009889c73bd2e55113bf6dfa5f395e0d" or 1 of them )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 200KB (un límite barato que descarta archivos grandes).
  • Deben coincidir al menos 1 patrones de la regla.
  • Usa el módulo pe.
  • Comprueba el hash de importaciones PE (imphash).

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

  • e7c22ccdb1103ee6bd15c528270f56913bb2f47345b360802b74084563f1b73d

Licencia y atribución

Autor: Florian Roth (Nextron Systems)

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: 334ae7e5-0a46-5e95-bf53-0f343db4e4de

Etiquetas:FILE

Más reglas de Emotet