Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Hamweq_Auto

autogenerated rule brought to you by yara-signator

MalwareHamweqMalpedia 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: Hamweq.

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

Summary generated from the rule's metadata and condition.

Rule source

win-hamweq-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Hamweq_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "2e021414-7f19-5bad-bdf3-a58acfeef825"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.hamweq"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.hamweq_auto.yar#L1-L124"
		license_url = "N/A"
		logic_hash = "926f2e39a4bfc4a89fdc4cd6c55e635055d85786284c6186d54479233cd9a22a"
		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 = { ff35???????? 898554ffffff ff75f8 ffd6 }
		$sequence_1 = { 8945a4 53 ffd6 ff35???????? 8945a8 53 ffd6 }
		$sequence_2 = { ffb118010000 8d8dfcfdffff 51 ff5048 8b06 }
		$sequence_3 = { ffb188010000 8d8dfcfeffff 51 ff5048 8b4e08 8b06 ffb180010000 }
		$sequence_4 = { 83a5d8fdffff00 53 56 57 6a49 33c0 59 }
		$sequence_5 = { 8d45e0 8b0e 50 8d459c 50 53 53 }
		$sequence_6 = { 76d2 80240700 5f 5e }
		$sequence_7 = { e9???????? 8b4e08 8b06 ffb188000000 ff33 ff504c 8b4e08 }
		$sequence_8 = { 51 ff5048 8b4e08 8b06 ff7108 8d8decfeffff }
		$sequence_9 = { ff742414 e8???????? 83c40c 85c0 7511 8b4e08 }

	condition:
		7 of them and filesize < 24576
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ ff35???????? 898554ffffff ff75f8 ffd6 }
$sequence_1hex{ 8945a4 53 ffd6 ff35???????? 8945a8 53 ffd6 }
$sequence_2hex{ ffb118010000 8d8dfcfdffff 51 ff5048 8b06 }
$sequence_3hex{ ffb188010000 8d8dfcfeffff 51 ff5048 8b4e08 8b06 ffb180010000 }
$sequence_4hex{ 83a5d8fdffff00 53 56 57 6a49 33c0 59 }
$sequence_5hex{ 8d45e0 8b0e 50 8d459c 50 53 53 }
$sequence_6hex{ 76d2 80240700 5f 5e }
$sequence_7hex{ e9???????? 8b4e08 8b06 ffb188000000 ff33 ff504c 8b4e08 }
$sequence_8hex{ 51 ff5048 8b4e08 8b06 ff7108 8d8decfeffff }
$sequence_9hex{ ff742414 e8???????? 83c40c 85c0 7511 8b4e08 }

Condition

7 of them and filesize < 24576

In plain words (Heuristic)

  • The file must be smaller than 24576 (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: 2e021414-7f19-5bad-bdf3-a58acfeef825

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