Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_MAL_EXFIL_Stealer_Output_Characteristics_Sep22_1

Detects typical stealer output files as created by RedLine or Racoon stealer

Sospechoso / huntingRedLineSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Florian Roth (Nextron Systems)
Fecha
2022-09-17
Modificada
2023-12-05
Puntuación / Calidad
70 / 85

Qué detecta esta regla

Detects typical stealer output files as created by RedLine or Racoon stealer

Familia de malware asociada: RedLine.

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

susp-mal-exfil-stealer-output-characteristics-sep22-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_MAL_EXFIL_Stealer_Output_Characteristics_Sep22_1 : FILE
{
	meta:
		description = "Detects typical stealer output files as created by RedLine or Racoon stealer"
		author = "Florian Roth (Nextron Systems)"
		id = "c1cab3c3-c4f3-5a19-9ea3-9e4242238359"
		date = "2022-09-17"
		modified = "2023-12-05"
		reference = "https://twitter.com/cglyer/status/1570965878480719873"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_stealer_exfil_zip.yar#L2-L30"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "8ce14c6b720281f43c75ce52e23ec13d08e7b2be1c5fbc2d704238f1fdd1a07f"
		hash = "011c19d18fa446a2619b3a2512dacb2694e1da99a2c2ea7828769f1373ecd8fe"
		hash = "418530bc7210f74ada8e7f16b41ea2033054e99f0c4423ce1d3ebf973c89e3a3"
		hash = "aa6e2c8447f66527f9b6f4d54f57edc6cabe56095df94dc0656dca02e11356ab"
		hash = "bbfb608061931565debac405ffebe3c4bb5dac8042443fe4e80aa03395955bd2"
		hash = "c15107beecf3301fb12d140690034717e16bd5312a746e7ff43a7925e5533260"
		logic_hash = "197bb4b837cdd635f9340547b10a90c3a2a17f0113076c5ccbc0a91b7ae18eeb"
		score = 70
		quality = 85
		tags = "FILE"

	strings:
		$sa1 = "passwords.txt" ascii
		$sa2 = "autofills/" ascii
		$sa3 = "browsers/cookies/" ascii
		$sa4 = "wallets/" ascii
		$sb1 = "Passwords.txt" ascii
		$sb2 = "Autofills/" ascii
		$sb3 = "Browsers/Cookies/" ascii
		$sb4 = "Wallets/" ascii

	condition:
		uint16( 0 ) == 0x4b50 and filesize < 5000KB and ( 2 of ( $sa* ) or 2 of ( $sb* ) )
}

Cadenas (8 patrones)

IdentificadorTipoValorModificadores
$sa1texto"passwords.txt"ascii
$sa2texto"autofills/"ascii
$sa3texto"browsers/cookies/"ascii
$sa4texto"wallets/"ascii
$sb1texto"Passwords.txt"ascii
$sb2texto"Autofills/"ascii
$sb3texto"Browsers/Cookies/"ascii
$sb4texto"Wallets/"ascii

Condición

uint16( 0 ) == 0x4b50 and filesize < 5000KB and ( 2 of ( $sa* ) or 2 of ( $sb* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «PK»: un ZIP (también Office Open XML, JAR, APK).
  • El archivo debe ocupar menos de 5000KB (un límite barato que descarta archivos grandes).
  • Deben coincidir al menos 2 patrones de ( $sa* ).
  • Deben coincidir al menos 2 patrones de ( $sb* ).

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

  • 8ce14c6b720281f43c75ce52e23ec13d08e7b2be1c5fbc2d704238f1fdd1a07f
  • 011c19d18fa446a2619b3a2512dacb2694e1da99a2c2ea7828769f1373ecd8fe
  • 418530bc7210f74ada8e7f16b41ea2033054e99f0c4423ce1d3ebf973c89e3a3
  • aa6e2c8447f66527f9b6f4d54f57edc6cabe56095df94dc0656dca02e11356ab
  • bbfb608061931565debac405ffebe3c4bb5dac8042443fe4e80aa03395955bd2
  • c15107beecf3301fb12d140690034717e16bd5312a746e7ff43a7925e5533260

Licencia y atribución

Autor: Florian Roth (Nextron Systems)

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: c1cab3c3-c4f3-5a19-9ea3-9e4242238359

Etiquetas:FILE

Más reglas de RedLine