Skip to content

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:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "a29dbcf4-d3cd-56b7-84a6-7101c3b54311"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.moontag"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.moontag_auto.yar#L1-L168"
		license_url = "N/A"
		logic_hash = "484ced89483984d52a45f1adfdfe4856f8950f05e6c0d6c06cf6f7db7aa5a27e"
		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 = { 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)

IdentifierTypeValueModifiers
$sequence_0hex{ 7408 488d58ff 48895db8 4885f6 7407 }
$sequence_1hex{ 4d85c0 7454 4885d2 744f 41f7401800020000 750f 498b4838 }
$sequence_2hex{ 0f8396010000 4c8b4210 48ffc0 48894218 }
$sequence_3hex{ 488bf2 488bf9 4885c9 0f8494000000 4885d2 0f848b000000 48895c2430 }
$sequence_4hex{ 7708 0fb6c1 8d48c9 eb11 8d419f 3c05 0f87ef000000 }
$sequence_5hex{ 81c7204e0000 833d????????00 758a b801000000 488b8c2430010000 4833cc e8???????? }
$sequence_6hex{ 7f13 0f8cff040000 0fb744244c 3bc2 0f8cf2040000 33d2 }
$sequence_7hex{ 493bc0 4c8b4718 4c0f42f8 4d3bfe }
$sequence_8hex{ 03c1 68???????? 50 ffd3 83c40c 85c0 }
$sequence_9hex{ 03c2 3bf8 0f838f010000 8b0d???????? }
$sequence_10hex{ 03c1 3bf8 0f42f8 33c9 8bc7 83c001 56 }
$sequence_11hex{ 033d???????? 837d8400 0f4e3d???????? 83c734 }
$sequence_12hex{ 03c1 50 898570ecffff 8d8574ecffff }
$sequence_13hex{ 03c1 8b0d???????? a3???????? 3bc1 }
$sequence_14hex{ 014e08 b801000000 5f 5e 5b 8b4c2458 }
$sequence_15hex{ 03421c 03c6 3bc8 760c }

Condition

7 of them and filesize < 203776

In 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.

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: a29dbcf4-d3cd-56b7-84a6-7101c3b54311

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