Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Badhatch_Auto

autogenerated rule brought to you by yara-signator

MalwareBadhatchMalpedia 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: Badhatch.

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

Summary generated from the rule's metadata and condition.

Rule source

win-badhatch-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Badhatch_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "09b51d46-6dc1-5e9a-8bb9-1dc7429848c4"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.badhatch"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.badhatch_auto.yar#L1-L130"
		license_url = "N/A"
		logic_hash = "5c3f60af302817c6a58c82b4927ad610ae6b882e60ab23578f05f3ec21be4793"
		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 = { 5f c3 55 8bec 83ec2c 8b450c 53 }
		$sequence_1 = { 57 57 6a01 ff7508 897df0 }
		$sequence_2 = { 58 6a53 668945f4 58 668945f6 33c0 668945f8 }
		$sequence_3 = { 8bec 53 56 57 be54010000 56 33ff }
		$sequence_4 = { 6a02 5b 53 ff15???????? 8945b8 83f801 0f85ff060000 }
		$sequence_5 = { ff75f4 ff75fc e8???????? 83c410 6800800000 }
		$sequence_6 = { 57 57 57 6aff ff15???????? 8906 3bc7 }
		$sequence_7 = { c7470401000000 89770c 8936 895f3c ff7024 b001 e8???????? }
		$sequence_8 = { 5e 8bc1 5b 8be5 5d c20400 51 }
		$sequence_9 = { 55 8bec 83ec14 53 8d45f8 50 68???????? }

	condition:
		7 of them and filesize < 156672
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 5f c3 55 8bec 83ec2c 8b450c 53 }
$sequence_1hex{ 57 57 6a01 ff7508 897df0 }
$sequence_2hex{ 58 6a53 668945f4 58 668945f6 33c0 668945f8 }
$sequence_3hex{ 8bec 53 56 57 be54010000 56 33ff }
$sequence_4hex{ 6a02 5b 53 ff15???????? 8945b8 83f801 0f85ff060000 }
$sequence_5hex{ ff75f4 ff75fc e8???????? 83c410 6800800000 }
$sequence_6hex{ 57 57 57 6aff ff15???????? 8906 3bc7 }
$sequence_7hex{ c7470401000000 89770c 8936 895f3c ff7024 b001 e8???????? }
$sequence_8hex{ 5e 8bc1 5b 8be5 5d c20400 51 }
$sequence_9hex{ 55 8bec 83ec14 53 8d45f8 50 68???????? }

Condition

7 of them and filesize < 156672

In plain words (Heuristic)

  • The file must be smaller than 156672 (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: 09b51d46-6dc1-5e9a-8bb9-1dc7429848c4

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