Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Xenostealer_Strings

Finds XenoStealer standalone samples based on the strings

GenericSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-10-30
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Finds XenoStealer standalone samples based on the strings

Targets: Windows PE.

It defines 19 patterns (19 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

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
}

Strings (19 patterns)

IdentifierTypeValueModifiers
$str01text"XenoStealer"ascii wide
$str02text"$d05de59c-9ee5-4e7e-abb5-8f2cc3f72cd1"ascii
$str03text"SteamInfo"ascii
$str04text"TelegramInfo"ascii
$str05text"NgrokInfo"ascii
$str06text"pAuthInfo"ascii
$str07text"FoxMailInfo"ascii
$str08text"_hasNitro"ascii
$str09text"_games"ascii
$str10text"_profiles"ascii
$str11text"_cookies"ascii
$str12text"_creditCards"ascii
$str13text"_cryptoExtensions"ascii
$str14text"_passwordManagerExtensions"ascii
$str15text"ChromiumBrowsersLikelyLocations"ascii
$str16text"EdgeCryptoExtensions"ascii
$str17text"ChromePasswordManagerExtensions"ascii
$str18text"GeckoBrowserOptions"ascii
$str19text"get_programFiles"ascii

Condition

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

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 15 patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • b74733d68e95220ab0630a68ddf973b0c959fd421628e639c1b91e465ba9299b

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 0a41788b-1fa7-44ff-af85-9c1ff1892aad

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE