Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Phoenix

Finds Phoenix Stealer samples based on specific strings

MalwarePhoenixSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-06-20
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Finds Phoenix Stealer samples based on specific strings

Associated malware family: Phoenix.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

infostealer-win-phoenix.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Phoenix : FILE
{
	meta:
		description = "Finds Phoenix Stealer samples based on specific strings"
		author = "Sekoia.io"
		id = "d63a8fcf-f897-4c36-a6ce-4bd4ae0154e5"
		date = "2023-06-20"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_phoenix.yar#L1-L33"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "c8a3a9a36c978cfc28fc6e21af10894161279dfd2e2ad665c3296fda10f6303d"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "nkbihfbeogaeaoehlefnkodbefgpgknn" ascii
		$str02 = "Discord\\Tokens.txt" ascii
		$str03 = "SOFTWARE\\OpenVP" ascii
		$str04 = "config_dir" ascii
		$str05 = "| Last Login:" ascii
		$str06 = "| Games:" ascii
		$str07 = "| Host:" ascii
		$str08 = "| Port:" ascii
		$str09 = "| User:" ascii
		$str10 = "| Pass:" ascii
		$str11 = "Grabber.rar" ascii
		$str12 = "\\GHISLER\\wcx_ftp.ini" ascii
		$str13 = "Clipboard.txt" ascii
		$str14 = "PROCESSOR_ARCHITECTURE" ascii
		$str15 = "PROCESSOR_IDENTIFIER" ascii
		$str16 = "Log.txt" ascii
		$str17 = "xXxXxXxXxXx" ascii
		$str18 = "hq101ejedmwcvvasd02kw" ascii

	condition:
		uint16( 0 ) == 0x5a4d and 15 of them and filesize > 500KB
}

Strings (18 patterns)

IdentifierTypeValueModifiers
$str01text"nkbihfbeogaeaoehlefnkodbefgpgknn"ascii
$str02text"Discord\\Tokens.txt"ascii
$str03text"SOFTWARE\\OpenVP"ascii
$str04text"config_dir"ascii
$str05text"| Last Login:"ascii
$str06text"| Games:"ascii
$str07text"| Host:"ascii
$str08text"| Port:"ascii
$str09text"| User:"ascii
$str10text"| Pass:"ascii
$str11text"Grabber.rar"ascii
$str12text"\\GHISLER\\wcx_ftp.ini"ascii
$str13text"Clipboard.txt"ascii
$str14text"PROCESSOR_ARCHITECTURE"ascii
$str15text"PROCESSOR_IDENTIFIER"ascii
$str16text"Log.txt"ascii
$str17text"xXxXxXxXxXx"ascii
$str18text"hq101ejedmwcvvasd02kw"ascii

Condition

uint16( 0 ) == 0x5a4d and 15 of them and filesize > 500KB

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be larger than 500KB.
  • 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

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: d63a8fcf-f897-4c36-a6ce-4bd4ae0154e5

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE

More Phoenix rules