Saltar al contenido

YARA · ESET malware-ioc

ESET_Apt_Windows_Invisimole_DNS_Downloader

InvisiMole DNS downloader

APT / actorInvisimoleESET malware-iocBSD 2-Clause LicenseCompila con YARA-X
Autor
ESET Research
Fecha
2021-05-17
Puntuación / Calidad
75 / 80

Qué detecta esta regla

InvisiMole DNS downloader

Familia de malware asociada: Invisimole.

Objetivos: PE de Windows.

Define 14 patrones (14 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

Incluye los imports y 1 regla(s) de las que depende necesarios para compilarla por sí sola.

apt-windows-invisimole-dns-downloader.yarBSD 2-Clause License
private rule ESET_Invisimole_Blob_PRIVATE
{
	meta:
		description = "Detects InvisiMole blobs by magic values"
		author = "ESET Research"
		id = "6a179d91-50f1-5400-b141-0f162efd2431"
		date = "2021-05-17"
		modified = "2021-05-17"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/invisimole/invisimole.yar#L34-L52"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "8bddaf874da58fbe6362498f8979b511f39531fe2b98d4be8c099bdafb6d0067"
		score = 75
		quality = 80
		tags = ""
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$magic_old_32 = {F9 FF D0 DE}
		$magic_old_64 = {64 FF D0 DE}
		$magic_new_32 = {86 DA 11 CE}
		$magic_new_64 = {64 DA 11 CE}

	condition:
		($magic_old_32 at 0 ) or ( $magic_old_64 at 0 ) or ( $magic_new_32 at 0 ) or ( $magic_new_64 at 0 )
}

rule ESET_Apt_Windows_Invisimole_DNS_Downloader : FILE
{
	meta:
		description = "InvisiMole DNS downloader"
		author = "ESET Research"
		id = "1caa6c8b-3798-556e-835e-885b7f3f4511"
		date = "2021-05-17"
		modified = "2021-05-17"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/invisimole/invisimole.yar#L140-L170"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "88d6ed7ec1331153d19afc18473a4be2b214ad8af29fcf7051a2a8e40e088231"
		score = 75
		quality = 80
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$d = "DnsQuery_A"
		$s1 = "Wireshark-is-running-{9CA78EEA-EA4D-4490-9240-FC01FCEF464B}" xor
		$s2 = "AddIns\\" ascii wide xor
		$s3 = "pcornomeex." xor
		$s4 = "weriahsek.rxe" xor
		$s5 = "dpmupaceex." xor
		$s6 = "TCPViewClass" xor
		$s7 = "PROCMON_WINDOW_CLASS" xor
		$s8 = "Key%C"
		$s9 = "AutoEx%C" xor
		$s10 = "MSO~"
		$s11 = "MDE~"
		$s12 = "DNS PLUGIN, Step %d" xor
		$s13 = "rundll32.exe \"%s\",StartUI"

	condition:
		(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and $d and 5 of ( $s* )
}

Cadenas (14 patrones)

IdentificadorTipoValorModificadores
$dtexto"DnsQuery_A"
$s1texto"Wireshark-is-running-{9CA78EEA-EA4D-4490-9240-FC01FCEF464B}"xor
$s2texto"AddIns\\"ascii wide xor
$s3texto"pcornomeex."xor
$s4texto"weriahsek.rxe"xor
$s5texto"dpmupaceex."xor
$s6texto"TCPViewClass"xor
$s7texto"PROCMON_WINDOW_CLASS"xor
$s8texto"Key%C"
$s9texto"AutoEx%C"xor
$s10texto"MSO~"
$s11texto"MDE~"
$s12texto"DNS PLUGIN, Step %d"xor
$s13texto"rundll32.exe \"%s\",StartUI"

Condición

(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and $d and 5 of ( $s* )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 5 patrones de ( $s* ).
  • Depende de la regla ESET_Invisimole_Blob_PRIVATE.
  • El patrón $d debe estar presente.

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: ESET Research

Repositorio de origen: ESET malware-ioc @ 17baf44964

Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)

“BSD 2-Clause”

Aviso de copyright: Copyright (c) 2014-2018 ESET spol. s r.o.

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: 1caa6c8b-3798-556e-835e-885b7f3f4511

Metadatos

version1

Etiquetas:FILE

Más reglas de Invisimole