Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Onhat_Auto

autogenerated rule brought to you by yara-signator

MalwareOnhatMalpedia 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: Onhat.

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

Summary generated from the rule's metadata and condition.

Rule source

win-onhat-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Onhat_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "6dce6c1d-a93f-5ee5-a8df-5c366e8725c5"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.onhat"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.onhat_auto.yar#L1-L119"
		license_url = "N/A"
		logic_hash = "5052a02b00a0f491dbaa34d01141432dea6bf40f962a86bc547bf1288bc0e657"
		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 = { 53 68???????? e8???????? 8b44244c 83c42c }
		$sequence_1 = { 6689442432 e8???????? 83c414 85c0 }
		$sequence_2 = { 888c24a8010000 c68424a901000020 889424aa010000 c68424ac01000073 c68424ad01000020 c68424ae01000041 }
		$sequence_3 = { b020 884c241a b253 b145 88442417 }
		$sequence_4 = { e8???????? 85c0 7f0e 5f b803000080 5e 81c404010000 }
		$sequence_5 = { c68424ed0000004e c68424ee00000054 c68424ef00000041 c68424f000000048 889c24f1000000 c68424f200000045 c68424f30000004e }
		$sequence_6 = { 0f87bc010000 ff2485c8444000 8b542444 6685d2 }
		$sequence_7 = { 81c40c010000 c3 8b842420010000 8b8c241c010000 25ffff0000 }
		$sequence_8 = { 8d7c2409 88542408 f3ab 8b8c240c200000 88542406 66ab }
		$sequence_9 = { c3 b814110000 e8???????? 8b8c2420110000 b8d34d6210 f7e1 }

	condition:
		7 of them and filesize < 57344
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 53 68???????? e8???????? 8b44244c 83c42c }
$sequence_1hex{ 6689442432 e8???????? 83c414 85c0 }
$sequence_2hex{ 888c24a8010000 c68424a901000020 889424aa010000 c68424ac01000073 c68424ad01000020 c68424ae01000041 }
$sequence_3hex{ b020 884c241a b253 b145 88442417 }
$sequence_4hex{ e8???????? 85c0 7f0e 5f b803000080 5e 81c404010000 }
$sequence_5hex{ c68424ed0000004e c68424ee00000054 c68424ef00000041 c68424f000000048 889c24f1000000 c68424f200000045 c68424f30000004e }
$sequence_6hex{ 0f87bc010000 ff2485c8444000 8b542444 6685d2 }
$sequence_7hex{ 81c40c010000 c3 8b842420010000 8b8c241c010000 25ffff0000 }
$sequence_8hex{ 8d7c2409 88542408 f3ab 8b8c240c200000 88542406 66ab }
$sequence_9hex{ c3 b814110000 e8???????? 8b8c2420110000 b8d34d6210 f7e1 }

Condition

7 of them and filesize < 57344

In plain words (Heuristic)

  • The file must be smaller than 57344 (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: 6dce6c1d-a93f-5ee5-a8df-5c366e8725c5

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