Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Xenostealer_Strings

Finds XenoStealer standalone samples based on the strings

GenéricaSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-10-30
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Finds XenoStealer standalone samples based on the strings

Objetivos: PE de Windows.

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

infostealer-win-xenostealer-strings.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Xenostealer_Strings : FILE
{
	meta:
		description = "Finds XenoStealer standalone samples based on the strings"
		author = "Sekoia.io"
		id = "0a41788b-1fa7-44ff-af85-9c1ff1892aad"
		date = "2024-10-30"
		modified = "2024-12-19"
		reference = "https://github.com/moom825/XenoStealer/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_xenostealer_strings.yar#L1-L35"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "b74733d68e95220ab0630a68ddf973b0c959fd421628e639c1b91e465ba9299b"
		logic_hash = "1c48b15b8e9648c1c4d2f9c0a9ee3f4c48605fa44772b87a03ad81923e5adf15"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "XenoStealer" ascii wide
		$str02 = "$d05de59c-9ee5-4e7e-abb5-8f2cc3f72cd1" ascii
		$str03 = "SteamInfo" ascii
		$str04 = "TelegramInfo" ascii
		$str05 = "NgrokInfo" ascii
		$str06 = "pAuthInfo" ascii
		$str07 = "FoxMailInfo" ascii
		$str08 = "_hasNitro" ascii
		$str09 = "_games" ascii
		$str10 = "_profiles" ascii
		$str11 = "_cookies" ascii
		$str12 = "_creditCards" ascii
		$str13 = "_cryptoExtensions" ascii
		$str14 = "_passwordManagerExtensions" ascii
		$str15 = "ChromiumBrowsersLikelyLocations" ascii
		$str16 = "EdgeCryptoExtensions" ascii
		$str17 = "ChromePasswordManagerExtensions" ascii
		$str18 = "GeckoBrowserOptions" ascii
		$str19 = "get_programFiles" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 15 of them
}

Cadenas (19 patrones)

IdentificadorTipoValorModificadores
$str01texto"XenoStealer"ascii wide
$str02texto"$d05de59c-9ee5-4e7e-abb5-8f2cc3f72cd1"ascii
$str03texto"SteamInfo"ascii
$str04texto"TelegramInfo"ascii
$str05texto"NgrokInfo"ascii
$str06texto"pAuthInfo"ascii
$str07texto"FoxMailInfo"ascii
$str08texto"_hasNitro"ascii
$str09texto"_games"ascii
$str10texto"_profiles"ascii
$str11texto"_cookies"ascii
$str12texto"_creditCards"ascii
$str13texto"_cryptoExtensions"ascii
$str14texto"_passwordManagerExtensions"ascii
$str15texto"ChromiumBrowsersLikelyLocations"ascii
$str16texto"EdgeCryptoExtensions"ascii
$str17texto"ChromePasswordManagerExtensions"ascii
$str18texto"GeckoBrowserOptions"ascii
$str19texto"get_programFiles"ascii

Condición

uint16( 0 ) == 0x5A4D and 15 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 15 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).

  • b74733d68e95220ab0630a68ddf973b0c959fd421628e639c1b91e465ba9299b

Licencia y atribución

Autor: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

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: 0a41788b-1fa7-44ff-af85-9c1ff1892aad

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE