Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Blackcoffee_Auto

autogenerated rule brought to you by yara-signator

MalwareBlackcoffeeMalpedia signator rulesCreative Commons Attribution-ShareAlike 4.0Compiles with YARA-X
Author
Felix Bilstein - yara-signator at cocacoding dot com
Date
2026-05-04
Modified
2026-05-18
Score / Quality
75 / 75

What this rule detects

autogenerated rule brought to you by yara-signator

Associated malware family: Blackcoffee.

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

Summary generated from the rule's metadata and condition.

Rule source

win-blackcoffee-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Blackcoffee_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "24f9c95a-158c-55ab-a4f3-f8cabc725f0c"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.blackcoffee"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.blackcoffee_auto.yar#L1-L122"
		license_url = "N/A"
		logic_hash = "2b394e9c3cd7e94e4e6651b202e65799c90db4156d7541937f1cbeb7cbc47c4b"
		score = 75
		quality = 75
		tags = "FILE"
		version = "1"
		tool = "yara-signator v0.6.0"
		signator_config = "callsandjumps;datarefs;binvalue"
		malpedia_rule_date = "20260422"
		malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
		malpedia_version = "20260504"
		malpedia_license = "CC BY-SA 4.0"
		malpedia_sharing = "TLP:WHITE"

	strings:
		$sequence_0 = { 89461c 8b45f8 894618 8b461c 83c00c 894610 }
		$sequence_1 = { e8???????? 8bf0 8d8500fcffff 83c604 33d2 6a08 8bca }
		$sequence_2 = { 59 ff15???????? 0faf4608 ff4508 83c704 837d081e }
		$sequence_3 = { ff742414 e8???????? 8bf0 85f6 7411 6888130000 ff15???????? }
		$sequence_4 = { 8365fc00 66ab aa 80a508f0ffff00 }
		$sequence_5 = { 7620 0fb6543904 8bd8 81e3ff000000 33d3 c1e808 }
		$sequence_6 = { 6804010000 50 8d4708 50 ffd3 83c418 }
		$sequence_7 = { e8???????? 8806 8d45b0 50 }
		$sequence_8 = { 83c00c 0107 8b37 03f3 e8???????? 6854414449 }
		$sequence_9 = { 750b ff15???????? 89460c eb28 57 57 }

	condition:
		7 of them and filesize < 118784
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 89461c 8b45f8 894618 8b461c 83c00c 894610 }
$sequence_1hex{ e8???????? 8bf0 8d8500fcffff 83c604 33d2 6a08 8bca }
$sequence_2hex{ 59 ff15???????? 0faf4608 ff4508 83c704 837d081e }
$sequence_3hex{ ff742414 e8???????? 8bf0 85f6 7411 6888130000 ff15???????? }
$sequence_4hex{ 8365fc00 66ab aa 80a508f0ffff00 }
$sequence_5hex{ 7620 0fb6543904 8bd8 81e3ff000000 33d3 c1e808 }
$sequence_6hex{ 6804010000 50 8d4708 50 ffd3 83c418 }
$sequence_7hex{ e8???????? 8806 8d45b0 50 }
$sequence_8hex{ 83c00c 0107 8b37 03f3 e8???????? 6854414449 }
$sequence_9hex{ 750b ff15???????? 89460c eb28 57 57 }

Condition

7 of them and filesize < 118784

In plain words (Heuristic)

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

Licence & attribution

Author: Felix Bilstein - yara-signator at cocacoding dot com

Source repository: Malpedia signator rules @ c901f97b7d

Licence: Creative Commons Attribution-ShareAlike 4.0 (repository licence)

Original rule

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

Rule id: 24f9c95a-158c-55ab-a4f3-f8cabc725f0c

Metadata

version1
toolyara-signator v0.6.0
signator_configcallsandjumps;datarefs;binvalue
malpedia_rule_date20260422
malpedia_hasha182e35da64e6d71cb55f125c4d4225196523f14
malpedia_version20260504
malpedia_licenseCC BY-SA 4.0
malpedia_sharingTLP:WHITE

Tags:FILE