Skip to content

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Ransom_Win_Blackcat

Detecting variants of Windows BlackCat malware

MalwareBlackcatTrellix Advanced Research CenterApache License 2.0Compiles with YARA-X
Author
Trellix ATR
Date
2022-01-06
Modified
2022-01-19
Score / Quality
75 / 70

What this rule detects

Detecting variants of Windows BlackCat malware

Associated malware family: Blackcat.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

ransom-win-blackcat.yarApache License 2.0
rule TRELLIX_ARC_Ransom_Win_Blackcat : RANSOMWARE FILE
{
	meta:
		description = "Detecting variants of Windows BlackCat malware"
		author = " Trellix ATR"
		id = "65483ffb-6b10-5fd5-8a5f-fc885a5f2e98"
		date = "2022-01-06"
		modified = "2022-01-19"
		reference = "https://github.com/advanced-threat-research/Yara-Rules/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/Ransom_Win_BlackCat_public.yar#L2-L24"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		logic_hash = "8faad28ab26690221f6e2130c886446615dbd505f76490cfaf999d130d0de6e3"
		score = 75
		quality = 70
		tags = "RANSOMWARE, FILE"
		malware_type = "Ransomware"
		detection_name = "Ransom_Win_BlackCat"
		actor_group = "Unknown"

	strings:
		$URL1 = "zujgzbu5y64xbmvc42addp4lxkoosb4tslf5mehnh7pvqjpwxn5gokyd.onion" ascii wide
		$URL2 = "mu75ltv3lxd24dbyu6gtvmnwybecigs5auki7fces437xvvflzva2nqd.onion" ascii wide
		$API = { 3a 7c d8 3f }

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 3500KB and 1 of ( $URL* ) and $API
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$URL1text"zujgzbu5y64xbmvc42addp4lxkoosb4tslf5mehnh7pvqjpwxn5gokyd.onion"ascii wide
$URL2text"mu75ltv3lxd24dbyu6gtvmnwybecigs5auki7fces437xvvflzva2nqd.onion"ascii wide
$APIhex{ 3a 7c d8 3f }

Condition

uint16( 0 ) == 0x5a4d and filesize < 3500KB and 1 of ( $URL* ) and $API

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 3500KB (a cheap guard that skips large files).
  • At least 1 patterns in ( $URL* ) must match.
  • Pattern $API must be present.

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: Trellix ATR

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: 65483ffb-6b10-5fd5-8a5f-fc885a5f2e98

Metadata

malware_typeRansomware
detection_nameRansom_Win_BlackCat
actor_groupUnknown

Tags:RANSOMWAREFILE

More Blackcat rules