Skip to content

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Rietspoof_Loader

Rule to detect the Rietspoof loader

MalwareRietspoofTrellix Advanced Research CenterApache License 2.0Compiles with YARA-X
Author
Marc Rivero | McAfee ATR Team
Date
2026-09-01
Modified
2020-08-14
Score / Quality
75 / 70

What this rule detects

Rule to detect the Rietspoof loader

Associated malware family: Rietspoof.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

rietspoof-loader.yarApache License 2.0
rule TRELLIX_ARC_Rietspoof_Loader : RANSOMWARE FILE
{
	meta:
		description = "Rule to detect the Rietspoof loader"
		author = "Marc Rivero | McAfee ATR Team"
		id = "f306e381-e2ae-528e-937b-aced72356d77"
		date = "2026-09-01"
		modified = "2020-08-14"
		reference = "https://blog.avast.com/rietspoof-malware-increases-activity"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_rietspoof_loader.yar#L1-L22"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		logic_hash = "d72b58ff452070e03d0b25bc433ef5c677df77dd440adc1ecdb592cee24235fb"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		malware_type = "ransomware"
		malware_family = "Loader:W32/Rietspoof"
		actor_type = "Cybercrime"
		actor_group = "Unknown"

	strings:
		$x1 = "\\Work\\d2Od7s43\\techloader\\loader" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and all of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$x1text"\\Work\\d2Od7s43\\techloader\\loader"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All 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: Marc Rivero | McAfee ATR Team

Source repository: Trellix Advanced Research Center @ 1919562a59

Licence: Apache License 2.0 (repository licence)

Original rule

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

Rule id: f306e381-e2ae-528e-937b-aced72356d77

Metadata

malware_typeransomware
malware_familyLoader:W32/Rietspoof
actor_typeCybercrime
actor_groupUnknown

Tags:RANSOMWAREFILE