Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Pe_Stealer_Axilestealer_Strings

AxileStealer strings

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

What this rule detects

AxileStealer strings

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

pe-stealer-axilestealer-strings.yarDetection Rule License 1.1
rule SEKOIA_Pe_Stealer_Axilestealer_Strings : FILE
{
	meta:
		description = "AxileStealer strings"
		author = "Sekoia.io"
		id = "412bfc3e-6bb7-4b0d-8bb3-96eae0cc9782"
		date = "2023-12-13"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/pe_stealer_axilestealer_strings.yar#L1-L28"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "829b80c07ed4d9439d66956dbb106aa0cc9961dd2e5c05ffbe6c67e516613590"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "http://ip-api.com/line/?fields=query,country,countryCode,city,regionName,zip,isp" wide
		$s2 = "Axile.su" wide
		$s3 = "Unknown Tokens.txt" wide
		$a1 = "[ <b>General</b> ]" wide
		$a2 = "[ <b>Browsers</b> ]" wide
		$a3 = "[ <b>Wallets</b> ]" wide
		$a4 = "[ <b>Messengers</b> ]" wide
		$a5 = "[ <b>Applications</b> ]" wide
		$a6 = "[ <b>Games</b> ]" wide
		$a7 = "[ <b>Mails</b> ]" wide
		$a8 = "[ <b>VPNs</b> ]" wide
		$a9 = "[ <b>FTPs</b> ]" wide

	condition:
		uint16be( 0 ) == 0x4d5a and filesize > 50KB and filesize < 200KB and 2 of ( $s* ) and 7 of ( $a* )
}

Strings (12 patterns)

IdentifierTypeValueModifiers
$s1text"http://ip-api.com/line/?fields=query,country,countryCode,city,regionName,zip,isp"wide
$s2text"Axile.su"wide
$s3text"Unknown Tokens.txt"wide
$a1text"[ <b>General</b> ]"wide
$a2text"[ <b>Browsers</b> ]"wide
$a3text"[ <b>Wallets</b> ]"wide
$a4text"[ <b>Messengers</b> ]"wide
$a5text"[ <b>Applications</b> ]"wide
$a6text"[ <b>Games</b> ]"wide
$a7text"[ <b>Mails</b> ]"wide
$a8text"[ <b>VPNs</b> ]"wide
$a9text"[ <b>FTPs</b> ]"wide

Condition

uint16be( 0 ) == 0x4d5a and filesize > 50KB and filesize < 200KB and 2 of ( $s* ) and 7 of ( $a* )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 200KB (a cheap guard that skips large files).
  • The file must be larger than 50KB.
  • At least 2 patterns in ( $s* ) must match.
  • At least 7 patterns in ( $a* ) 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: 412bfc3e-6bb7-4b0d-8bb3-96eae0cc9782

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE