Skip to content

YARA · Trellix Advanced Research Center

TRELLIX_ARC_RANSOM_Wastedlocker

Rule to detect unpacked samples of WastedLocker

MalwareWastedLockerTrellix Advanced Research CenterApache License 2.0Compiles with YARA-X
Author
McAfee ATR Team
Date
2020-07-27
Modified
2020-10-12
Score / Quality
75 / 70

What this rule detects

Rule to detect unpacked samples of WastedLocker

Associated malware family: WastedLocker.

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

Summary generated from the rule's metadata and condition.

Rule source

ransom-wastedlocker.yarApache License 2.0
rule TRELLIX_ARC_RANSOM_Wastedlocker : RANSOMWARE FILE
{
	meta:
		description = "Rule to detect unpacked samples of WastedLocker"
		author = "McAfee ATR Team"
		id = "900923cf-75c0-5342-858d-fe1ffa9486bd"
		date = "2020-07-27"
		modified = "2020-10-12"
		reference = "https://github.com/advanced-threat-research/Yara-Rules/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_wastedlocker.yar#L1-L32"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		hash = "ae255679f487e2e9075ffd5e8c7836dd425229c1e3bd40cfc46fbbceceec7cf4"
		logic_hash = "c5adf88a46c34c8683d0e3d70529b352c77209f004e6c638ff079ea025921781"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		rule_version = "v1"
		malware_type = "ransomware"
		malware_family = "Ransom:W32/WastedLocker"
		actor_type = "Cybercrime"
		actor_group = "Unknown"

	strings:
		$pattern_0 = { 8d45fc 50 53 53 6a19 ff75f8 }
		$pattern_1 = { 66833b00 8bf3 0f8485000000 8b7d10 8b472c 85c0 7410 }
		$pattern_2 = { e8???????? 8b4d08 8b4518 8d0441 6683600200 83c40c 837d1400 }
		$pattern_3 = { 8701 e9???????? 8bc7 5f 5e 5b }
		$pattern_4 = { 8bf8 3bfb 742f 53 8d45fc 50 56 }
		$pattern_5 = { 6a10 8d45f0 6a00 50 e8???????? 83c40c 5e }
		$pattern_6 = { 5f 5d c20800 55 8bec }
		$pattern_7 = { 8d7e04 ff15???????? 85c0 8945e8 740e 2b4510 }
		$pattern_8 = { ff15???????? 8b45dc 8b4dbc 69c00d661900 055ff36e3c 8945dc }
		$pattern_9 = { 8b4d08 8b19 03d8 f7d0 c1c60f 03f2 0bc6 }

	condition:
		7 of them and filesize < 1806288
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$pattern_0hex{ 8d45fc 50 53 53 6a19 ff75f8 }
$pattern_1hex{ 66833b00 8bf3 0f8485000000 8b7d10 8b472c 85c0 7410 }
$pattern_2hex{ e8???????? 8b4d08 8b4518 8d0441 6683600200 83c40c 837d1400 }
$pattern_3hex{ 8701 e9???????? 8bc7 5f 5e 5b }
$pattern_4hex{ 8bf8 3bfb 742f 53 8d45fc 50 56 }
$pattern_5hex{ 6a10 8d45f0 6a00 50 e8???????? 83c40c 5e }
$pattern_6hex{ 5f 5d c20800 55 8bec }
$pattern_7hex{ 8d7e04 ff15???????? 85c0 8945e8 740e 2b4510 }
$pattern_8hex{ ff15???????? 8b45dc 8b4dbc 69c00d661900 055ff36e3c 8945dc }
$pattern_9hex{ 8b4d08 8b19 03d8 f7d0 c1c60f 03f2 0bc6 }

Condition

7 of them and filesize < 1806288

In plain words (Heuristic)

  • The file must be smaller than 1806288 (a cheap guard that skips large files).
  • At least 7 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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • ae255679f487e2e9075ffd5e8c7836dd425229c1e3bd40cfc46fbbceceec7cf4

Licence & attribution

Author: 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: 900923cf-75c0-5342-858d-fe1ffa9486bd

Metadata

rule_versionv1
malware_typeransomware
malware_familyRansom:W32/WastedLocker
actor_typeCybercrime
actor_groupUnknown

Tags:RANSOMWAREFILE