Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Shadowhammer_Auto

autogenerated rule brought to you by yara-signator

MalwareShadowhammerMalpedia 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: Shadowhammer.

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

Summary generated from the rule's metadata and condition.

Rule source

win-shadowhammer-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Shadowhammer_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "297b3240-9669-5c2f-9f70-bac21eea5e4b"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.shadowhammer"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.shadowhammer_auto.yar#L1-L125"
		license_url = "N/A"
		logic_hash = "910985146f49579376d7edf79ed10031d031e34957a06d7ed180548cab7651ac"
		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 = { 56 57 33f6 bfa8a24000 833cf55490400001 751d 8d04f550904000 }
		$sequence_1 = { 6a69 668945ae 58 6a49 59 6a44 }
		$sequence_2 = { 897e70 c686c800000043 c6864b01000043 c7466818934000 6a0d }
		$sequence_3 = { 5f c3 56 8b35???????? 68287c4000 57 ffd6 }
		$sequence_4 = { c3 55 8bec 81ec4c030000 c785e4fcffff00b006c7 c785e8fcffffdab6ace6 c785ecfcffffc25c3799 }
		$sequence_5 = { 3d40984000 741b 3998b4000000 7513 50 e8???????? }
		$sequence_6 = { ff45fc 8b45fc 3b45f4 7cb7 ebae 8b45f0 ebab }
		$sequence_7 = { 897e14 897e70 c686c800000043 c6864b01000043 c7466818934000 }
		$sequence_8 = { 817de00c714000 7311 8b45e0 8b00 85c0 7402 ffd0 }
		$sequence_9 = { 8b401c 8b08 3bc8 7439 }

	condition:
		7 of them and filesize < 49152
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 56 57 33f6 bfa8a24000 833cf55490400001 751d 8d04f550904000 }
$sequence_1hex{ 6a69 668945ae 58 6a49 59 6a44 }
$sequence_2hex{ 897e70 c686c800000043 c6864b01000043 c7466818934000 6a0d }
$sequence_3hex{ 5f c3 56 8b35???????? 68287c4000 57 ffd6 }
$sequence_4hex{ c3 55 8bec 81ec4c030000 c785e4fcffff00b006c7 c785e8fcffffdab6ace6 c785ecfcffffc25c3799 }
$sequence_5hex{ 3d40984000 741b 3998b4000000 7513 50 e8???????? }
$sequence_6hex{ ff45fc 8b45fc 3b45f4 7cb7 ebae 8b45f0 ebab }
$sequence_7hex{ 897e14 897e70 c686c800000043 c6864b01000043 c7466818934000 }
$sequence_8hex{ 817de00c714000 7311 8b45e0 8b00 85c0 7402 ffd0 }
$sequence_9hex{ 8b401c 8b08 3bc8 7439 }

Condition

7 of them and filesize < 49152

In plain words (Heuristic)

  • The file must be smaller than 49152 (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: 297b3240-9669-5c2f-9f70-bac21eea5e4b

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