Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Dharma_Auto

autogenerated rule brought to you by yara-signator

MalwareDharmaMalpedia 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: Dharma.

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

Summary generated from the rule's metadata and condition.

Rule source

win-dharma-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Dharma_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "4720aa65-06c6-5947-9f64-0e6e4c6fa6b3"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.dharma"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.dharma_auto.yar#L1-L128"
		license_url = "N/A"
		logic_hash = "b0b6d51a97d98215c57e3431ac6a9847a7b10c82ae7c50a6f3e8fdae2224bb3f"
		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 = { 8b5508 52 e8???????? 83c410 8945e8 8b45fc 83c001 }
		$sequence_1 = { 51 e8???????? 83c404 8b5508 8b4a04 8b5508 8b12 }
		$sequence_2 = { 8b0c88 51 e8???????? 83c404 8b55f0 83c202 8955f4 }
		$sequence_3 = { 8b55b4 83ca01 8955b4 8b45f8 50 }
		$sequence_4 = { 894dec eba3 837df800 7e0a }
		$sequence_5 = { 8d8d5cfeffff 51 8d9550feffff 52 e8???????? 83c40c }
		$sequence_6 = { 894df8 eb02 eb02 ebc7 33d2 8b45f4 668910 }
		$sequence_7 = { 8b55ec 8b4208 c1e002 50 e8???????? 83c404 8b4dec }
		$sequence_8 = { 8b55f8 c1ea10 81e2ff000000 8b0c95b8bf4000 81e10000ff00 33c1 8b55f8 }
		$sequence_9 = { 83ec20 c745e400000000 c745f400000000 8b450c 8945f8 8b4d10 894df0 }

	condition:
		7 of them and filesize < 204800
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 8b5508 52 e8???????? 83c410 8945e8 8b45fc 83c001 }
$sequence_1hex{ 51 e8???????? 83c404 8b5508 8b4a04 8b5508 8b12 }
$sequence_2hex{ 8b0c88 51 e8???????? 83c404 8b55f0 83c202 8955f4 }
$sequence_3hex{ 8b55b4 83ca01 8955b4 8b45f8 50 }
$sequence_4hex{ 894dec eba3 837df800 7e0a }
$sequence_5hex{ 8d8d5cfeffff 51 8d9550feffff 52 e8???????? 83c40c }
$sequence_6hex{ 894df8 eb02 eb02 ebc7 33d2 8b45f4 668910 }
$sequence_7hex{ 8b55ec 8b4208 c1e002 50 e8???????? 83c404 8b4dec }
$sequence_8hex{ 8b55f8 c1ea10 81e2ff000000 8b0c95b8bf4000 81e10000ff00 33c1 8b55f8 }
$sequence_9hex{ 83ec20 c745e400000000 c745f400000000 8b450c 8945f8 8b4d10 894df0 }

Condition

7 of them and filesize < 204800

In plain words (Heuristic)

  • The file must be smaller than 204800 (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: 4720aa65-06c6-5947-9f64-0e6e4c6fa6b3

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