Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Harnig_Auto

autogenerated rule brought to you by yara-signator

MalwareHarnigMalpedia 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: Harnig.

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

Summary generated from the rule's metadata and condition.

Rule source

win-harnig-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Harnig_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "9abf1275-be08-57a2-b590-38e4b33996cd"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.harnig"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.harnig_auto.yar#L1-L126"
		license_url = "N/A"
		logic_hash = "87f18fe78ccecf6b99a233ae62c504e49ba2ae60d8433aec1b3aa385be172cee"
		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 = { ebba be0cfb1473 56 6a03 e8???????? ff7508 }
		$sequence_1 = { be0cfb1473 56 6a03 e8???????? ff7508 ffd0 56 }
		$sequence_2 = { e8???????? 6a04 8d4df8 51 6a06 ff750c ffd0 }
		$sequence_3 = { 6a06 56 68???????? e8???????? 56 8d85b8fdffff }
		$sequence_4 = { ffd0 bb30ef0298 53 6a01 e8???????? 57 }
		$sequence_5 = { 33ff 8945d0 68d34ee485 8d85b8fdffff 6a04 c745c03c000000 897dc8 }
		$sequence_6 = { ffd7 6a06 56 68???????? e8???????? }
		$sequence_7 = { e8???????? 56 8d85e0fdffff 50 ffd3 e8???????? }
		$sequence_8 = { f3ab e8???????? 8d4df0 51 8d4dac 51 }
		$sequence_9 = { 68d34ee485 8d85b8fdffff 6a04 c745c03c000000 897dc8 c745cc6c104000 }

	condition:
		7 of them and filesize < 49152
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ ebba be0cfb1473 56 6a03 e8???????? ff7508 }
$sequence_1hex{ be0cfb1473 56 6a03 e8???????? ff7508 ffd0 56 }
$sequence_2hex{ e8???????? 6a04 8d4df8 51 6a06 ff750c ffd0 }
$sequence_3hex{ 6a06 56 68???????? e8???????? 56 8d85b8fdffff }
$sequence_4hex{ ffd0 bb30ef0298 53 6a01 e8???????? 57 }
$sequence_5hex{ 33ff 8945d0 68d34ee485 8d85b8fdffff 6a04 c745c03c000000 897dc8 }
$sequence_6hex{ ffd7 6a06 56 68???????? e8???????? }
$sequence_7hex{ e8???????? 56 8d85e0fdffff 50 ffd3 e8???????? }
$sequence_8hex{ f3ab e8???????? 8d4df0 51 8d4dac 51 }
$sequence_9hex{ 68d34ee485 8d85b8fdffff 6a04 c745c03c000000 897dc8 c745cc6c104000 }

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: 9abf1275-be08-57a2-b590-38e4b33996cd

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