Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_NET_GUID_Njrat

Detects VB.NET red/black-team tools via typelibguid

Herramienta ofensivaNjratSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Arnim Rupp (https://github.com/ruppde)
Fecha
2020-12-30
Modificada
2025-08-15
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects VB.NET red/black-team tools via typelibguid

Familia de malware asociada: Njrat.

Objetivos: PE de Windows.

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

hktl-net-guid-njrat.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_NET_GUID_Njrat : FILE
{
	meta:
		description = "Detects VB.NET red/black-team tools via typelibguid"
		author = "Arnim Rupp (https://github.com/ruppde)"
		id = "2140d69e-fb15-50a2-ba85-b7c8293003fb"
		date = "2020-12-30"
		modified = "2025-08-15"
		reference = "https://github.com/mwsrc/njRAT"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L3982-L4000"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "fc54c34e2d908e617781ffe8b4c5538304830cfec317ed2eab4157f72bbbf059"
		score = 75
		quality = 85
		tags = "FILE"
		license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"

	strings:
		$typelibguid0lo = "5a542c1b-2d36-4c31-b039-26a88d3967da" ascii wide
		$typelibguid1lo = "6b07082a-9256-42c3-999a-665e9de49f33" ascii wide
		$typelibguid2lo = "c0a9a70f-63e8-42ca-965d-73a1bc903e62" ascii wide
		$typelibguid3lo = "70bd11de-7da1-4a89-b459-8daacc930c20" ascii wide
		$typelibguid4lo = "fc790ee5-163a-40f9-a1e2-9863c290ff8b" ascii wide
		$typelibguid5lo = "cb3c28b2-2a4f-4114-941c-ce929fec94d3" ascii wide

	condition:
		( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$typelibguid0lotexto"5a542c1b-2d36-4c31-b039-26a88d3967da"ascii wide
$typelibguid1lotexto"6b07082a-9256-42c3-999a-665e9de49f33"ascii wide
$typelibguid2lotexto"c0a9a70f-63e8-42ca-965d-73a1bc903e62"ascii wide
$typelibguid3lotexto"70bd11de-7da1-4a89-b459-8daacc930c20"ascii wide
$typelibguid4lotexto"fc790ee5-163a-40f9-a1e2-9863c290ff8b"ascii wide
$typelibguid5lotexto"cb3c28b2-2a4f-4114-941c-ce929fec94d3"ascii wide

Condición

( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) 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.

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: Arnim Rupp (https://github.com/ruppde)

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licencia: Detection Rule License 1.1 (indicada en los metadatos de la regla)

“Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE”

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: 2140d69e-fb15-50a2-ba85-b7c8293003fb

Etiquetas:FILE

Más reglas de Njrat