YARA · Malpedia signator rules
MALPEDIA_Win_Moontag_Auto
autogenerated rule brought to you by yara-signator
MalwareMoontagMalpedia 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: Moontag.
It defines 16 patterns (0 text, 16 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-moontag-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Moontag_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "a29dbcf4-d3cd-56b7-84a6-7101c3b54311"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.moontag"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.moontag_auto.yar#L1-L168"
= "N/A"
= "484ced89483984d52a45f1adfdfe4856f8950f05e6c0d6c06cf6f7db7aa5a27e"
= 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 = { 7408 488d58ff 48895db8 4885f6 7407 }
$sequence_1 = { 4d85c0 7454 4885d2 744f 41f7401800020000 750f 498b4838 }
$sequence_2 = { 0f8396010000 4c8b4210 48ffc0 48894218 }
$sequence_3 = { 488bf2 488bf9 4885c9 0f8494000000 4885d2 0f848b000000 48895c2430 }
$sequence_4 = { 7708 0fb6c1 8d48c9 eb11 8d419f 3c05 0f87ef000000 }
$sequence_5 = { 81c7204e0000 833d????????00 758a b801000000 488b8c2430010000 4833cc e8???????? }
$sequence_6 = { 7f13 0f8cff040000 0fb744244c 3bc2 0f8cf2040000 33d2 }
$sequence_7 = { 493bc0 4c8b4718 4c0f42f8 4d3bfe }
$sequence_8 = { 03c1 68???????? 50 ffd3 83c40c 85c0 }
$sequence_9 = { 03c2 3bf8 0f838f010000 8b0d???????? }
$sequence_10 = { 03c1 3bf8 0f42f8 33c9 8bc7 83c001 56 }
$sequence_11 = { 033d???????? 837d8400 0f4e3d???????? 83c734 }
$sequence_12 = { 03c1 50 898570ecffff 8d8574ecffff }
$sequence_13 = { 03c1 8b0d???????? a3???????? 3bc1 }
$sequence_14 = { 014e08 b801000000 5f 5e 5b 8b4c2458 }
$sequence_15 = { 03421c 03c6 3bc8 760c }
condition:
7 of them and filesize < 203776
}
Strings (16 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 7408 488d58ff 48895db8 4885f6 7407 } | |
| $sequence_1 | hex | { 4d85c0 7454 4885d2 744f 41f7401800020000 750f 498b4838 } | |
| $sequence_2 | hex | { 0f8396010000 4c8b4210 48ffc0 48894218 } | |
| $sequence_3 | hex | { 488bf2 488bf9 4885c9 0f8494000000 4885d2 0f848b000000 48895c2430 } | |
| $sequence_4 | hex | { 7708 0fb6c1 8d48c9 eb11 8d419f 3c05 0f87ef000000 } | |
| $sequence_5 | hex | { 81c7204e0000 833d????????00 758a b801000000 488b8c2430010000 4833cc e8???????? } | |
| $sequence_6 | hex | { 7f13 0f8cff040000 0fb744244c 3bc2 0f8cf2040000 33d2 } | |
| $sequence_7 | hex | { 493bc0 4c8b4718 4c0f42f8 4d3bfe } | |
| $sequence_8 | hex | { 03c1 68???????? 50 ffd3 83c40c 85c0 } | |
| $sequence_9 | hex | { 03c2 3bf8 0f838f010000 8b0d???????? } | |
| $sequence_10 | hex | { 03c1 3bf8 0f42f8 33c9 8bc7 83c001 56 } | |
| $sequence_11 | hex | { 033d???????? 837d8400 0f4e3d???????? 83c734 } | |
| $sequence_12 | hex | { 03c1 50 898570ecffff 8d8574ecffff } | |
| $sequence_13 | hex | { 03c1 8b0d???????? a3???????? 3bc1 } | |
| $sequence_14 | hex | { 014e08 b801000000 5f 5e 5b 8b4c2458 } | |
| $sequence_15 | hex | { 03421c 03c6 3bc8 760c } |
Condition
7 of them and filesize < 203776In plain words (Heuristic)
- The file must be smaller than 203776 (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: a29dbcf4-d3cd-56b7-84a6-7101c3b54311
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