Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Cosmicduke_Auto

autogenerated rule brought to you by yara-signator

MalwareCosmicdukeMalpedia 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: Cosmicduke.

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

Summary generated from the rule's metadata and condition.

Rule source

win-cosmicduke-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Cosmicduke_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "667294d1-93ba-5cf4-adb7-c6352a178500"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cosmicduke"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.cosmicduke_auto.yar#L1-L132"
		license_url = "N/A"
		logic_hash = "4042c496399421d8bce6159a837dd6fc589749e08d3bb625b03ef4999159b211"
		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 = { 50 68905b0100 8d8554a4feff 50 ff75f4 ff15???????? 8bd8 }
		$sequence_1 = { ff5108 ebaa 837c242028 8b442414 8b08 7d33 }
		$sequence_2 = { 7f4b 3bf3 7508 c744241001000000 017c2410 391d???????? 7509 }
		$sequence_3 = { 8365f400 53 56 57 8bf0 8d45f8 50 }
		$sequence_4 = { e8???????? 68???????? e8???????? 59 834dfcff 8b4df4 b8???????? }
		$sequence_5 = { 57 e8???????? 83c40c 84c0 0f84f3020000 8b742428 d1ee }
		$sequence_6 = { 8b0437 ebf2 85ff 743a 837c240400 7433 8b8680080000 }
		$sequence_7 = { e9???????? 8d8568efffff 50 e8???????? c3 8db558efffff }
		$sequence_8 = { 53 53 6a1c 53 ffd6 85c0 750b }
		$sequence_9 = { eb8a 8b45e4 8b08 8d55e0 52 68???????? 50 }

	condition:
		7 of them and filesize < 456704
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 50 68905b0100 8d8554a4feff 50 ff75f4 ff15???????? 8bd8 }
$sequence_1hex{ ff5108 ebaa 837c242028 8b442414 8b08 7d33 }
$sequence_2hex{ 7f4b 3bf3 7508 c744241001000000 017c2410 391d???????? 7509 }
$sequence_3hex{ 8365f400 53 56 57 8bf0 8d45f8 50 }
$sequence_4hex{ e8???????? 68???????? e8???????? 59 834dfcff 8b4df4 b8???????? }
$sequence_5hex{ 57 e8???????? 83c40c 84c0 0f84f3020000 8b742428 d1ee }
$sequence_6hex{ 8b0437 ebf2 85ff 743a 837c240400 7433 8b8680080000 }
$sequence_7hex{ e9???????? 8d8568efffff 50 e8???????? c3 8db558efffff }
$sequence_8hex{ 53 53 6a1c 53 ffd6 85c0 750b }
$sequence_9hex{ eb8a 8b45e4 8b08 8d55e0 52 68???????? 50 }

Condition

7 of them and filesize < 456704

In plain words (Heuristic)

  • The file must be smaller than 456704 (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: 667294d1-93ba-5cf4-adb7-c6352a178500

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