Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Pe_Stealer_Scarletstealer_Strings

ScarletStealer strings

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

What this rule detects

ScarletStealer strings

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

pe-stealer-scarletstealer-strings.yarDetection Rule License 1.1
rule SEKOIA_Pe_Stealer_Scarletstealer_Strings : FILE
{
	meta:
		description = "ScarletStealer strings"
		author = "Sekoia.io"
		id = "ca930851-513f-44e5-abb4-ca0edfde3428"
		date = "2023-12-15"
		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_scarletstealer_strings.yar#L1-L33"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "308055cbe960614112682585b5709a62c2639752df07661d6b2bb13e390b3b08"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "Scarlet Client" wide
		$s2 = "] PC NAME:   (" wide
		$s3 = "] IP:   (" wide
		$s4 = " - Wallets -" wide
		$s5 = "] Exodus:  (" wide
		$s6 = "] Electrum:  (" wide
		$s7 = "] Atomic:  (" wide
		$s8 = "] Guarda:  (" wide
		$s9 = "] Coinomi: (" wide
		$s10 = "] Monero:  (" wide
		$s11 = "] Ledger:  (" wide
		$s12 = "] Bitbox:  (" wide
		$s13 = "] Trezor:  (" wide
		$s14 = ") Support: PointX@exploit.im - @isPointX" wide
		$a2 = "/config/tk.txt" wide
		$a3 = "/config/chatid.txt" wide
		$a1 = "telebyt.com" wide

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

Strings (17 patterns)

IdentifierTypeValueModifiers
$s1text"Scarlet Client"wide
$s2text"] PC NAME: ("wide
$s3text"] IP: ("wide
$s4text" - Wallets -"wide
$s5text"] Exodus: ("wide
$s6text"] Electrum: ("wide
$s7text"] Atomic: ("wide
$s8text"] Guarda: ("wide
$s9text"] Coinomi: ("wide
$s10text"] Monero: ("wide
$s11text"] Ledger: ("wide
$s12text"] Bitbox: ("wide
$s13text"] Trezor: ("wide
$s14text") Support: PointX@exploit.im - @isPointX"wide
$a2text"/config/tk.txt"wide
$a3text"/config/chatid.txt"wide
$a1text"telebyt.com"wide

Condition

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

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 2MB (a cheap guard that skips large files).
  • The file must be larger than 50KB.
  • At least 13 patterns in ( $s* ) must match.
  • At least 2 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: ca930851-513f-44e5-abb4-ca0edfde3428

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE