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:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "09b51d46-6dc1-5e9a-8bb9-1dc7429848c4"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.badhatch"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.badhatch_auto.yar#L1-L130"
= "N/A"
= "5c3f60af302817c6a58c82b4927ad610ae6b882e60ab23578f05f3ec21be4793"
= 75
= 75
= "FILE"
= "1"
= "yara-signator v0.6.0"
= "callsandjumps;datarefs;binvalue"
= "20260422"
= "a182e35da64e6d71cb55f125c4d4225196523f14"
= "20260504"
= "CC BY-SA 4.0"
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 5f c3 55 8bec 83ec2c 8b450c 53 } | |
| $sequence_1 | hex | { 57 57 6a01 ff7508 897df0 } | |
| $sequence_2 | hex | { 58 6a53 668945f4 58 668945f6 33c0 668945f8 } | |
| $sequence_3 | hex | { 8bec 53 56 57 be54010000 56 33ff } | |
| $sequence_4 | hex | { 6a02 5b 53 ff15???????? 8945b8 83f801 0f85ff060000 } | |
| $sequence_5 | hex | { ff75f4 ff75fc e8???????? 83c410 6800800000 } | |
| $sequence_6 | hex | { 57 57 57 6aff ff15???????? 8906 3bc7 } | |
| $sequence_7 | hex | { c7470401000000 89770c 8936 895f3c ff7024 b001 e8???????? } | |
| $sequence_8 | hex | { 5e 8bc1 5b 8be5 5d c20400 51 } | |
| $sequence_9 | hex | { 55 8bec 83ec14 53 8d45f8 50 68???????? } |
Condition
7 of them and filesize < 156672In 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.
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)
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
| 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 |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04