Saltar al contenido

YARA · Mandiant red team tool countermeasures

FIREEYE_RT_APT_Backdoor_Macos_GORAT_1

This rule is looking for specific strings associated with network activity found within the MacOS generated variant of GORAT

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

Qué detecta esta regla

This rule is looking for specific strings associated with network activity found within the MacOS generated variant of GORAT

Objetivos: Mach-O de macOS.

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

apt-backdoor-macos-gorat-1.yarBSD 2-Clause License
rule FIREEYE_RT_APT_Backdoor_Macos_GORAT_1 : FILE
{
	meta:
		description = "This rule is looking for specific strings associated with network activity found within the MacOS generated variant of GORAT"
		author = "FireEye"
		id = "4646eadb-7acf-582f-9ad6-00f012ceed8a"
		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_MacOS_GORAT_1.yar#L4-L19"
		license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
		hash = "68acf11f5e456744262ff31beae58526"
		logic_hash = "2df5f87d44968670511880d21ad184779d0561c7c426a5d6426bcefd0904a9b7"
		score = 75
		quality = 75
		tags = "FILE"
		rev = 3

	strings:
		$s1 = "SID1=%s" ascii wide
		$s2 = "http/http.dylib" ascii wide
		$s3 = "Mozilla/" ascii wide
		$s4 = "User-Agent" ascii wide
		$s5 = "Cookie" ascii wide

	condition:
		(( uint32( 0 ) == 0xBEBAFECA ) or ( uint32( 0 ) == 0xFEEDFACE ) or ( uint32( 0 ) == 0xFEEDFACF ) or ( uint32( 0 ) == 0xCEFAEDFE ) ) and all of them
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$s1texto"SID1=%s"ascii wide
$s2texto"http/http.dylib"ascii wide
$s3texto"Mozilla/"ascii wide
$s4texto"User-Agent"ascii wide
$s5texto"Cookie"ascii wide

Condición

(( uint32( 0 ) == 0xBEBAFECA ) or ( uint32( 0 ) == 0xFEEDFACE ) or ( uint32( 0 ) == 0xFEEDFACF ) or ( uint32( 0 ) == 0xCEFAEDFE ) ) and all of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por una firma Mach-O / fat: un ejecutable de macOS.
  • Deben coincidir todos los patrones 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

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).

  • 68acf11f5e456744262ff31beae58526

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: 4646eadb-7acf-582f-9ad6-00f012ceed8a

Metadatos

rev3

Etiquetas:FILE