Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Ragestealer

Detect Rage / Priv8 infostealer

MalwareRagestealerditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekShen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

Detect Rage / Priv8 infostealer

Associated malware family: Ragestealer.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-ragestealer.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Ragestealer : FILE
{
	meta:
		description = "Detect Rage / Priv8 infostealer"
		author = "ditekShen"
		id = "dfc1abaa-d975-5e6a-ad4d-344031b0c40c"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10507-L10522"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "a26b86845bcd62d4a360a8dae9cfa56b5d96ebc521f224c18a01cc0a2bd958e9"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "\\RageStealer\\obj\\" ascii
		$x2 = "Priv8 Stealer" wide
		$s1 = "\\Screen.png" wide
		$s2 = "Content-Disposition: form-data; name=\"document\"; filename=\"{1}\"" wide
		$s3 = "NEW LOG FROM" wide
		$s4 = "GRABBED SOFTWARE" wide
		$s5 = "DOMAINS DETECTED" wide
		$s6 = "snder" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) and 4 of ( $s* ) )
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$x1text"\\RageStealer\\obj\\"ascii
$x2text"Priv8 Stealer"wide
$s1text"\\Screen.png"wide
$s2text"Content-Disposition: form-data; name=\"document\"; filename=\"{1}\""wide
$s3text"NEW LOG FROM"wide
$s4text"GRABBED SOFTWARE"wide
$s5text"DOMAINS DETECTED"wide
$s6text"snder"ascii

Condition

uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) and 4 of ( $s* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 patterns in ( $x* ) must match.
  • At least 4 patterns in ( $s* ) 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: ditekShen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

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

Rule id: dfc1abaa-d975-5e6a-ad4d-344031b0c40c

Tags:FILE