Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_APT_NK_Andariel_Grease2

Detects the Grease2 malware family used by Andariel

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
CISA.gov (modified by Florian Roth, Nextron Systems)
Fecha
2024-07-25
Modificada
2024-07-26
Puntuación / Calidad
80 / 85

Qué detecta esta regla

Detects the Grease2 malware family used by Andariel

Objetivos: PE de Windows.

Define 4 patrones (4 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-apt-nk-andariel-grease2.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Grease2 : FILE
{
	meta:
		description = "Detects the Grease2 malware family used by Andariel"
		author = "CISA.gov (modified by Florian Roth, Nextron Systems)"
		id = "4defbe08-b3c6-5ab9-9a57-cec57ff42d9a"
		date = "2024-07-25"
		modified = "2024-07-26"
		reference = "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L330-L351"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "138fc915206e0c2834090ebc0a808913488121d51c17de3dbfadcb4099fbfa2f"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$str_rdpconf = "emp\\RDPConf.exe"
		$str_rdpwinst = "emp\\RDPWInst.exe"
		$str_net_user = "net user"
		$str_admins_add = "net localgroup administrators"

	condition:
		uint16( 0 ) == 0x5A4D and all of them
}

Cadenas (4 patrones)

IdentificadorTipoValorModificadores
$str_rdpconftexto"emp\\RDPConf.exe"
$str_rdpwinsttexto"emp\\RDPWInst.exe"
$str_net_usertexto"net user"
$str_admins_addtexto"net localgroup administrators"

Condición

uint16( 0 ) == 0x5A4D and all of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los 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: CISA.gov (modified by 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: 4defbe08-b3c6-5ab9-9a57-cec57ff42d9a

Etiquetas:FILE