Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Bernhardpos_Auto

autogenerated rule brought to you by yara-signator

MalwareBernhardposMalpedia 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: Bernhardpos.

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

Summary generated from the rule's metadata and condition.

Rule source

win-bernhardpos-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Bernhardpos_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "73619bab-eb2e-58bd-b80e-9b55f0bc14d1"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.bernhardpos"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.bernhardpos_auto.yar#L1-L118"
		license_url = "N/A"
		logic_hash = "2f13c921af91c79ccbd30a2cdd5ffa742762642d6c7b9bd20077ad70bdffc8bf"
		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 = { c1e806 83e03f 8b4d0c 034df4 8a9020544100 }
		$sequence_1 = { 8b4d08 03483c 894df4 b808000000 }
		$sequence_2 = { e8???????? 83c404 8d85c4feffff 50 ff15???????? }
		$sequence_3 = { 8d45d8 50 ff15???????? a3???????? 8d45d8 50 e8???????? }
		$sequence_4 = { ff15???????? 81bdccfdffffd8010000 0f85d2000000 6a40 8d45a8 }
		$sequence_5 = { 8bec 83ec48 53 56 57 c745fc00000000 c745f800000000 }
		$sequence_6 = { 83e863 5f 5e 5b }
		$sequence_7 = { 50 6a04 6a40 b904000000 }
		$sequence_8 = { e8???????? a3???????? 68a86b4aa0 a1???????? 50 e8???????? }
		$sequence_9 = { b801000000 6bc800 81c1???????? 898d58feffff 6a65 ff15???????? 8b8d58feffff }

	condition:
		7 of them and filesize < 368640
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ c1e806 83e03f 8b4d0c 034df4 8a9020544100 }
$sequence_1hex{ 8b4d08 03483c 894df4 b808000000 }
$sequence_2hex{ e8???????? 83c404 8d85c4feffff 50 ff15???????? }
$sequence_3hex{ 8d45d8 50 ff15???????? a3???????? 8d45d8 50 e8???????? }
$sequence_4hex{ ff15???????? 81bdccfdffffd8010000 0f85d2000000 6a40 8d45a8 }
$sequence_5hex{ 8bec 83ec48 53 56 57 c745fc00000000 c745f800000000 }
$sequence_6hex{ 83e863 5f 5e 5b }
$sequence_7hex{ 50 6a04 6a40 b904000000 }
$sequence_8hex{ e8???????? a3???????? 68a86b4aa0 a1???????? 50 e8???????? }
$sequence_9hex{ b801000000 6bc800 81c1???????? 898d58feffff 6a65 ff15???????? 8b8d58feffff }

Condition

7 of them and filesize < 368640

In plain words (Heuristic)

  • The file must be smaller than 368640 (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: 73619bab-eb2e-58bd-b80e-9b55f0bc14d1

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