Skip to content

YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)

BLACKBERRY_Headertip

Detects HeaderTip

Author
BlackBerry Threat Research Team
Date
2022-04-06
Modified
2022-07-06
Score / Quality
75 / 85

What this rule detects

Detects HeaderTip

Associated malware family: Headertip.

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

Summary generated from the rule's metadata and condition.

Rule source

headertip.yarApache License 2.0
rule BLACKBERRY_Headertip : FILE
{
	meta:
		description = "Detects HeaderTip"
		author = "BlackBerry Threat Research Team"
		id = "8569fed8-0fa8-515a-8ca2-ca4c2a959bbe"
		date = "2022-04-06"
		modified = "2022-07-06"
		reference = "https://blogs.blackberry.com/en/2022/04/threat-thursday-headertip-backdoor-shows-attackers-from-china-preying-on-ukraine"
		source_url = "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/HeaderTip.yar#L1-L18"
		license_url = "N/A"
		logic_hash = "426c6ebd4ebf85cc4b13d47dc77ae2648fba2b0ccdb7eeaea6b96f19a46c2d4e"
		score = 75
		quality = 85
		tags = "FILE"
		license = "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"

	strings:
		$s1 = "type %temp%\\officecleaner.dat >> %objfile%"
		$s2 = "product2020.mrbasic.com" wide

	condition:
		filesize < 750KB and all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$s1text"type %temp%\\officecleaner.dat >> %objfile%"
$s2text"product2020.mrbasic.com"wide

Condition

filesize < 750KB and all of them

In plain words (Heuristic)

  • The file must be smaller than 750KB (a cheap guard that skips large files).
  • 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: BlackBerry Threat Research Team

Source repository: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767

Licence: Apache License 2.0 (stated in the rule's own meta)

“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”

Original rule

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

Rule id: 8569fed8-0fa8-515a-8ca2-ca4c2a959bbe

Tags:FILE

More Headertip rules