Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Mokes_Auto

autogenerated rule brought to you by yara-signator

MalwareMokesMalpedia 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: Mokes.

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

Summary generated from the rule's metadata and condition.

Rule source

win-mokes-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Mokes_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "335218d6-cb44-5cf3-8b98-d13b75bd5fa6"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.mokes"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.mokes_auto.yar#L1-L134"
		license_url = "N/A"
		logic_hash = "de29443f85d97d36c782d0775fdc17aebc27c9a0f2516ba5bc9ebc6f5848757a"
		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 = { f20f594618 f20f595638 f20f107c2418 f20f58f8 0f28c1 f20f594628 f20f58da }
		$sequence_1 = { ffd0 84c0 0f85cf000000 c7879400000003000000 e9???????? 6a00 8d8f80000000 }
		$sequence_2 = { f30f10809c000000 f30f114c2418 0f28ce f30f58c8 f30f5cf0 0f28d1 f30f58d5 }
		$sequence_3 = { ff9088000000 b001 5f 5e 5b 8be5 5d }
		$sequence_4 = { ff7624 e9???????? 8b4e08 6a00 6800000400 8b01 ff507c }
		$sequence_5 = { ff10 3d???????? 742a 8b00 85c0 75f3 8b7740 }
		$sequence_6 = { f20f11442450 f20f118c2448010000 0f28c2 f20f11542428 f20f59c1 f20f11442458 dd442458 }
		$sequence_7 = { f20f104808 f20f58c2 f20f11542438 f20f114c2440 f20f114c2450 f20f11542468 f20f11442448 }
		$sequence_8 = { ff5008 8bc8 33c0 85c9 0f98c0 e9???????? 83fb02 }
		$sequence_9 = { ff750c 8d4508 50 e8???????? 8bf0 8975e8 c745fc00000000 }

	condition:
		7 of them and filesize < 17990656
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ f20f594618 f20f595638 f20f107c2418 f20f58f8 0f28c1 f20f594628 f20f58da }
$sequence_1hex{ ffd0 84c0 0f85cf000000 c7879400000003000000 e9???????? 6a00 8d8f80000000 }
$sequence_2hex{ f30f10809c000000 f30f114c2418 0f28ce f30f58c8 f30f5cf0 0f28d1 f30f58d5 }
$sequence_3hex{ ff9088000000 b001 5f 5e 5b 8be5 5d }
$sequence_4hex{ ff7624 e9???????? 8b4e08 6a00 6800000400 8b01 ff507c }
$sequence_5hex{ ff10 3d???????? 742a 8b00 85c0 75f3 8b7740 }
$sequence_6hex{ f20f11442450 f20f118c2448010000 0f28c2 f20f11542428 f20f59c1 f20f11442458 dd442458 }
$sequence_7hex{ f20f104808 f20f58c2 f20f11542438 f20f114c2440 f20f114c2450 f20f11542468 f20f11442448 }
$sequence_8hex{ ff5008 8bc8 33c0 85c9 0f98c0 e9???????? 83fb02 }
$sequence_9hex{ ff750c 8d4508 50 e8???????? 8bf0 8975e8 c745fc00000000 }

Condition

7 of them and filesize < 17990656

In plain words (Heuristic)

  • The file must be smaller than 17990656 (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: 335218d6-cb44-5cf3-8b98-d13b75bd5fa6

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