Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Shellcode_Apihashing_FIN8_1

Detects FIN8 Shellcode APIHashing

GenéricaSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Frank Boldewin (@r3c0nst)
Fecha
2021-03-16
Modificada
2023-12-05
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects FIN8 Shellcode APIHashing

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

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

Código de la regla

shellcode-apihashing-fin8-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Shellcode_Apihashing_FIN8_1
{
	meta:
		description = "Detects FIN8 Shellcode APIHashing"
		author = "Frank Boldewin (@r3c0nst)"
		id = "bca5601c-2998-545b-8dd0-ec3c861e6291"
		date = "2021-03-16"
		modified = "2023-12-05"
		reference = "https://www.bitdefender.com/files/News/CaseStudies/study/394/Bitdefender-PR-Whitepaper-BADHATCH-creat5237-en-EN.pdf"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_fin8.yar#L1-L19"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "5d47119a588aa69b3e241618d6dbb9df6117a6751bbff39a1f95340bc26611a7"
		score = 75
		quality = 85
		tags = ""

	strings:
		$APIHashing32bit1 = {81 F7 99 5D 52 69 81 F3 30 D7 00 AB}
		$APIHashing32bit2 = {68 F2 55 03 88 68 65 19 6D 1E}
		$APIHashing32bit3 = {68 9B 59 27 21 C1 E9 17 33 4C 24 10 68 37 5C 32 F4}
		$APIHashing64bit1 = {49 BF 65 19 6D 1E F2 55 03 88 49 BE 37 5C 32 F4 9B 59 27 21}
		$APIHashing64bit2 = {48 B8 99 5D 52 69 30 D7 00 AB}

	condition:
		all of ( $APIHashing32bit* ) or all of ( $APIHashing64bit* )
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$APIHashing32bit1hex{81 F7 99 5D 52 69 81 F3 30 D7 00 AB}
$APIHashing32bit2hex{68 F2 55 03 88 68 65 19 6D 1E}
$APIHashing32bit3hex{68 9B 59 27 21 C1 E9 17 33 4C 24 10 68 37 5C 32 F4}
$APIHashing64bit1hex{49 BF 65 19 6D 1E F2 55 03 88 49 BE 37 5C 32 F4 9B 59 27 21}
$APIHashing64bit2hex{48 B8 99 5D 52 69 30 D7 00 AB}

Condición

all of ( $APIHashing32bit* ) or all of ( $APIHashing64bit* )

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $APIHashing32bit* ).
  • Deben coincidir todos los patrones de ( $APIHashing64bit* ).

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: Frank Boldewin (@r3c0nst)

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: bca5601c-2998-545b-8dd0-ec3c861e6291