YARA · Malpedia signator rules
MALPEDIA_Win_Hamweq_Auto
autogenerated rule brought to you by yara-signator
- 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: Hamweq.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-hamweq-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Hamweq_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "2e021414-7f19-5bad-bdf3-a58acfeef825"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.hamweq"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.hamweq_auto.yar#L1-L124"
= "N/A"
= "926f2e39a4bfc4a89fdc4cd6c55e635055d85786284c6186d54479233cd9a22a"
= 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 = { ff35???????? 898554ffffff ff75f8 ffd6 }
$sequence_1 = { 8945a4 53 ffd6 ff35???????? 8945a8 53 ffd6 }
$sequence_2 = { ffb118010000 8d8dfcfdffff 51 ff5048 8b06 }
$sequence_3 = { ffb188010000 8d8dfcfeffff 51 ff5048 8b4e08 8b06 ffb180010000 }
$sequence_4 = { 83a5d8fdffff00 53 56 57 6a49 33c0 59 }
$sequence_5 = { 8d45e0 8b0e 50 8d459c 50 53 53 }
$sequence_6 = { 76d2 80240700 5f 5e }
$sequence_7 = { e9???????? 8b4e08 8b06 ffb188000000 ff33 ff504c 8b4e08 }
$sequence_8 = { 51 ff5048 8b4e08 8b06 ff7108 8d8decfeffff }
$sequence_9 = { ff742414 e8???????? 83c40c 85c0 7511 8b4e08 }
condition:
7 of them and filesize < 24576
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { ff35???????? 898554ffffff ff75f8 ffd6 } | |
| $sequence_1 | hex | { 8945a4 53 ffd6 ff35???????? 8945a8 53 ffd6 } | |
| $sequence_2 | hex | { ffb118010000 8d8dfcfdffff 51 ff5048 8b06 } | |
| $sequence_3 | hex | { ffb188010000 8d8dfcfeffff 51 ff5048 8b4e08 8b06 ffb180010000 } | |
| $sequence_4 | hex | { 83a5d8fdffff00 53 56 57 6a49 33c0 59 } | |
| $sequence_5 | hex | { 8d45e0 8b0e 50 8d459c 50 53 53 } | |
| $sequence_6 | hex | { 76d2 80240700 5f 5e } | |
| $sequence_7 | hex | { e9???????? 8b4e08 8b06 ffb188000000 ff33 ff504c 8b4e08 } | |
| $sequence_8 | hex | { 51 ff5048 8b4e08 8b06 ff7108 8d8decfeffff } | |
| $sequence_9 | hex | { ff742414 e8???????? 83c40c 85c0 7511 8b4e08 } |
Condition
7 of them and filesize < 24576In plain words (Heuristic)
- The file must be smaller than 24576 (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: 2e021414-7f19-5bad-bdf3-a58acfeef825
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