Saltar al contenido

YARA · ESET malware-ioc

ESET_Apt_Windows_Invisimole_C2

InvisiMole C&C servers

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

Qué detecta esta regla

InvisiMole C&C servers

Familia de malware asociada: Invisimole.

Objetivos: PE de Windows.

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

YARA-X dice: warning[duplicate_pattern_value]: duplicate pattern value

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-c2.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_C2 : FILE
{
	meta:
		description = "InvisiMole C&C servers"
		author = "ESET Research"
		id = "9279c8cd-2c16-5f90-a7f5-e668d57c805b"
		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#L257-L297"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "aff8456ce7a9ebe875c02e51c09b77ee7b1fddfc11d4ad236e12c8c5240a01a8"
		score = 75
		quality = 78
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$s1 = "46.165.220.228" ascii wide
		$s2 = "80.255.3.66" ascii wide
		$s3 = "85.17.26.174" ascii wide
		$s4 = "185.193.38.55" ascii wide
		$s5 = "194.187.249.157" ascii wide
		$s6 = "195.154.255.211" ascii wide
		$s7 = "153.re" ascii wide fullword
		$s8 = "adstat.red" ascii wide
		$s9 = "adtrax.net" ascii wide
		$s10 = "akamai.sytes.net" ascii wide
		$s11 = "amz-eu401.com" ascii wide
		$s12 = "blabla234342.sytes.net" ascii wide
		$s13 = "mx1.be" ascii wide fullword
		$s14 = "statad.de" ascii wide
		$s15 = "time.servehttp.com" ascii wide
		$s16 = "upd.re" ascii wide fullword
		$s17 = "update.xn--6frz82g" ascii wide
		$s18 = "updatecloud.sytes.net" ascii wide
		$s19 = "updchecking.sytes.net" ascii wide
		$s20 = "wlsts.net" ascii wide
		$s21 = "ro2.host" ascii wide fullword
		$s22 = "2ld.xyz" ascii wide fullword
		$s23 = "the-haba.com" ascii wide
		$s24 = "82.202.172.134" ascii wide
		$s25 = "update.xn--6frz82g" ascii wide

	condition:
		(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and $s21 and any of them
}

Cadenas (25 patrones)

IdentificadorTipoValorModificadores
$s1texto"46.165.220.228"ascii wide
$s2texto"80.255.3.66"ascii wide
$s3texto"85.17.26.174"ascii wide
$s4texto"185.193.38.55"ascii wide
$s5texto"194.187.249.157"ascii wide
$s6texto"195.154.255.211"ascii wide
$s7texto"153.re"ascii wide fullword
$s8texto"adstat.red"ascii wide
$s9texto"adtrax.net"ascii wide
$s10texto"akamai.sytes.net"ascii wide
$s11texto"amz-eu401.com"ascii wide
$s12texto"blabla234342.sytes.net"ascii wide
$s13texto"mx1.be"ascii wide fullword
$s14texto"statad.de"ascii wide
$s15texto"time.servehttp.com"ascii wide
$s16texto"upd.re"ascii wide fullword
$s17texto"update.xn--6frz82g"ascii wide
$s18texto"updatecloud.sytes.net"ascii wide
$s19texto"updchecking.sytes.net"ascii wide
$s20texto"wlsts.net"ascii wide
$s21texto"ro2.host"ascii wide fullword
$s22texto"2ld.xyz"ascii wide fullword
$s23texto"the-haba.com"ascii wide
$s24texto"82.202.172.134"ascii wide
$s25texto"update.xn--6frz82g"ascii wide

Condición

(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and $s21 and any of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Debe coincidir al menos un patrón de la regla.
  • Depende de la regla ESET_Invisimole_Blob_PRIVATE.
  • El patrón $s21 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: 9279c8cd-2c16-5f90-a7f5-e668d57c805b

Metadatos

version1

Etiquetas:FILE

Más reglas de Invisimole