Saltar al contenido

YARA · Mandiant red team tool countermeasures

FIREEYE_RT_APT_Backdoor_Win_Gorat_Memory

Identifies GoRat malware in memory based on strings.

APT / actorMandiant red team tool countermeasuresBSD 2-Clause LicenseCompila con YARA-X (con avisos)
Autor
FireEye
Fecha
2020-12-08
Modificada
2020-12-09
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Identifies GoRat malware in memory based on strings.

Define 13 patrones (13 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.yarBSD 2-Clause License
rule FIREEYE_RT_APT_Backdoor_Win_Gorat_Memory
{
	meta:
		description = "Identifies GoRat malware in memory based on strings."
		author = "FireEye"
		id = "16fb1db7-711c-5d8d-9203-738c94f253fe"
		date = "2020-12-08"
		modified = "2020-12-09"
		reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
		source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/APT_Backdoor_Win_GoRat_Memory.yar#L4-L27"
		license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
		hash = "3b926b5762e13ceec7ac3a61e85c93bb"
		logic_hash = "88272e59325d106f96d6b6f1d57daf968823c1e760067dee0334c66c521ce8c2"
		score = 75
		quality = 75
		tags = ""
		rev = 1

	strings:
		$murica = "murica" fullword
		$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 #murica > 10 or 3 of ( $rat* )
}

Cadenas (13 patrones)

IdentificadorTipoValorModificadores
$muricatexto"murica"fullword
$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 #murica > 10 or 3 of ( $rat* )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 3 patrones de ( $rat* ).
  • El patrón $murica debe aparecer > 10 veces.
  • 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: Mandiant red team tool countermeasures @ 3561b71724

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright (c) 2023, MANDIANT

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: 16fb1db7-711c-5d8d-9203-738c94f253fe

Metadatos

rev1