Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_Backdoor_Win_Gorat_Memory_1

Identifies GoRat malware in memory based on strings.

APT / actorSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X (con avisos)
Autor
FireEye
Fecha
2020-12-08
Modificada
2025-02-12
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Identifies GoRat malware in memory based on strings.

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

apt-backdoor-win-gorat-memory-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_Backdoor_Win_Gorat_Memory_1
{
	meta:
		description = "Identifies GoRat malware in memory based on strings."
		author = "FireEye"
		id = "4fcdd98f-1873-58e1-a9f5-73ee0aa5a69f"
		date = "2020-12-08"
		modified = "2025-02-12"
		reference = "https://www.fireeye.com/blog/products-and-services/2020/12/fireeye-shares-details-of-recent-cyber-attack-actions-to-protect-community.html"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_fireeye_redteam_tools.yar#L1013-L1039"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "3b926b5762e13ceec7ac3a61e85c93bb"
		logic_hash = "bf8d80b7a7d35c1bcb353ff66d10bc95c2e6502043acc6554887465a467cdcf7"
		score = 75
		quality = 85
		tags = ""

	strings:
		$rat1 = "rat/modules/socks.(*HTTPProxyClient).beacon" fullword
		$rat2 = "rat.(*Core).generateBeacon" fullword
		$rat3 = "rat.gJitter" fullword
		$rat4 = "rat/comms.(*protectedChannel).SendCmdResponse" fullword
		$rat5 = "rat/modules/filemgmt.(*acquire).NewCommandExecution" fullword
		$rat6 = "rat/modules/latlisten.(*latlistensrv).handleCmd" fullword
		$rat7 = "rat/modules/netsweeper.(*netsweeperRunner).runSweep" fullword
		$rat8 = "rat/modules/netsweeper.(*Pinger).listen" fullword
		$rat9 = "rat/modules/socks.(*HTTPProxyClient).beacon" fullword
		$rat10 = "rat/platforms/win/dyloader.(*memoryLoader).ExecutePluginFunction" fullword
		$rat11 = "rat/platforms/win/modules/namedpipe.(*dummy).Open" fullword
		$winblows = "rat/platforms/win.(*winblows).GetStage" fullword

	condition:
		$winblows or 3 of ( $rat* )
}

Cadenas (12 patrones)

IdentificadorTipoValorModificadores
$rat1texto"rat/modules/socks.(*HTTPProxyClient).beacon"fullword
$rat2texto"rat.(*Core).generateBeacon"fullword
$rat3texto"rat.gJitter"fullword
$rat4texto"rat/comms.(*protectedChannel).SendCmdResponse"fullword
$rat5texto"rat/modules/filemgmt.(*acquire).NewCommandExecution"fullword
$rat6texto"rat/modules/latlisten.(*latlistensrv).handleCmd"fullword
$rat7texto"rat/modules/netsweeper.(*netsweeperRunner).runSweep"fullword
$rat8texto"rat/modules/netsweeper.(*Pinger).listen"fullword
$rat9texto"rat/modules/socks.(*HTTPProxyClient).beacon"fullword
$rat10texto"rat/platforms/win/dyloader.(*memoryLoader).ExecutePluginFunction"fullword
$rat11texto"rat/platforms/win/modules/namedpipe.(*dummy).Open"fullword
$winblowstexto"rat/platforms/win.(*winblows).GetStage"fullword

Condición

$winblows or 3 of ( $rat* )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 3 patrones de ( $rat* ).
  • El patrón $winblows 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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • 3b926b5762e13ceec7ac3a61e85c93bb

Licencia y atribución

Autor: FireEye

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: 4fcdd98f-1873-58e1-a9f5-73ee0aa5a69f