Skip to content

YARA · Trellix Advanced Research Center

TRELLIX_ARC_RANSOM_Makop

Rule to detect the unpacked Makop ransomware samples

MalwareMakopTrellix Advanced Research CenterApache License 2.0Compiles with YARA-X
Author
Marc Rivero | McAfee ATR Team
Date
2020-07-19
Modified
2020-08-14
Score / Quality
75 / 70

What this rule detects

Rule to detect the unpacked Makop ransomware samples

Associated malware family: Makop.

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

Summary generated from the rule's metadata and condition.

Rule source

ransom-makop.yarApache License 2.0
rule TRELLIX_ARC_RANSOM_Makop : RANSOMWARE FILE
{
	meta:
		description = "Rule to detect the unpacked Makop ransomware samples"
		author = "Marc Rivero | McAfee ATR Team"
		id = "2828f2f9-4702-5cef-8b4e-7e98146c0332"
		date = "2020-07-19"
		modified = "2020-08-14"
		reference = "https://github.com/advanced-threat-research/Yara-Rules/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_makop.yar#L1-L32"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		hash = "008e4c327875110b96deef1dd8ef65cefa201fef60ca1cbb9ab51b5304e66fe1"
		logic_hash = "2b4f8b90d46530421b66dbb04df6e84d268709fbee884536d8acc91e1b85f8a4"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		rule_version = "v1"
		malware_type = "ransomware"
		malware_family = "Ransom:W32/Makop"
		actor_type = "Cybercrime"
		actor_group = "Unknown"

	strings:
		$pattern_0 = { 50 8d7c2420 e8???????? 84c0 0f84a6020000 8b742460 ba???????? }
		$pattern_1 = { 51 52 53 ffd5 85c0 746d 8b4c240c }
		$pattern_2 = { 7521 68000000f0 6a18 6a00 6a00 56 ff15???????? }
		$pattern_3 = { 83c40c 8d4e0c 51 66c7060802 66c746041066 c6460820 }
		$pattern_4 = { 51 ffd3 50 ffd7 8b4628 85c0 }
		$pattern_5 = { 85c9 741e 8b4508 8b4d0c 8a11 }
		$pattern_6 = { 83c002 6685c9 75f5 2bc6 d1f8 66390c46 8d3446 }
		$pattern_7 = { 895a2c 8b7f04 85ff 0f85f7feffff 55 6a00 }
		$pattern_8 = { 8b3d???????? 6a01 6a00 ffd7 50 ff15???????? }
		$pattern_9 = { 85c0 7407 50 ff15???????? }

	condition:
		7 of them and filesize < 237568
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$pattern_0hex{ 50 8d7c2420 e8???????? 84c0 0f84a6020000 8b742460 ba???????? }
$pattern_1hex{ 51 52 53 ffd5 85c0 746d 8b4c240c }
$pattern_2hex{ 7521 68000000f0 6a18 6a00 6a00 56 ff15???????? }
$pattern_3hex{ 83c40c 8d4e0c 51 66c7060802 66c746041066 c6460820 }
$pattern_4hex{ 51 ffd3 50 ffd7 8b4628 85c0 }
$pattern_5hex{ 85c9 741e 8b4508 8b4d0c 8a11 }
$pattern_6hex{ 83c002 6685c9 75f5 2bc6 d1f8 66390c46 8d3446 }
$pattern_7hex{ 895a2c 8b7f04 85ff 0f85f7feffff 55 6a00 }
$pattern_8hex{ 8b3d???????? 6a01 6a00 ffd7 50 ff15???????? }
$pattern_9hex{ 85c0 7407 50 ff15???????? }

Condition

7 of them and filesize < 237568

In plain words (Heuristic)

  • The file must be smaller than 237568 (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).

  • 008e4c327875110b96deef1dd8ef65cefa201fef60ca1cbb9ab51b5304e66fe1

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: 2828f2f9-4702-5cef-8b4e-7e98146c0332

Metadata

rule_versionv1
malware_typeransomware
malware_familyRansom:W32/Makop
actor_typeCybercrime
actor_groupUnknown

Tags:RANSOMWAREFILE