Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_APT_NK_Andariel_Dtrack_Unpacked

Detects DTrack variant used by Andariel

MalwareDtrackSignature 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
75 / 85

Qué detecta esta regla

Detects DTrack variant used by Andariel

Familia de malware asociada: Dtrack.

Objetivos: PE de Windows.

Define 5 patrones (5 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-dtrack-unpacked.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Dtrack_Unpacked : FILE
{
	meta:
		description = "Detects DTrack variant used by Andariel"
		author = "CISA.gov (modified by Florian Roth, Nextron Systems)"
		id = "0c161275-2b2e-51a4-9e08-c118fb4c8671"
		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#L370-L393"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "d8de583fc0de01e6784305d28dbf7cea859a24cf4df1dc59356601bc830e4770"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$x_str_cmd_4 = "/c systeminfo > \"%s\" & tasklist > \"%s\" & netstat -naop tcp > \"%s\"" wide
		$x_str_cmd_2 = "/c ping -n 3 127.0.01 > NUL % echo EEE > \"%s\"" wide
		$str_mutex = "MTX_Global"
		$str_cmd_1 = "/c net use \\\\" wide
		$str_cmd_3 = "/c move /y %s \\\\" wide

	condition:
		uint16( 0 ) == 0x5A4D and ( 1 of ( $x* ) or 3 of them )
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$x_str_cmd_4texto"/c systeminfo > \"%s\" & tasklist > \"%s\" & netstat -naop tcp > \"%s\""wide
$x_str_cmd_2texto"/c ping -n 3 127.0.01 > NUL % echo EEE > \"%s\""wide
$str_mutextexto"MTX_Global"
$str_cmd_1texto"/c net use \\\\"wide
$str_cmd_3texto"/c move /y %s \\\\"wide

Condición

uint16( 0 ) == 0x5A4D and ( 1 of ( $x* ) or 3 of them )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • Deben coincidir al menos 3 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: 0c161275-2b2e-51a4-9e08-c118fb4c8671

Etiquetas:FILE

Más reglas de Dtrack