Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Wannacryptor_Auto

autogenerated rule brought to you by yara-signator

MalwareWannacryptorMalpedia 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: Wannacryptor.

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

Summary generated from the rule's metadata and condition.

Rule source

win-wannacryptor-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Wannacryptor_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "1452a822-68f1-555c-a131-812c2b3d3b47"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.wannacryptor"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.wannacryptor_auto.yar#L1-L113"
		license_url = "N/A"
		logic_hash = "4e95f36de2f2a8220a615ebdc12f79bdab2eac9d47b80bff14057dcba87bcc3d"
		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 = { 56 8bf1 50 e8???????? 8b4c240c 8b542410 51 }
		$sequence_1 = { 7d14 8b4204 85c0 7c0d 3b4154 7d08 }
		$sequence_2 = { 8b5500 03cf 8a0417 50 }
		$sequence_3 = { 7d0d 8b5168 8b7960 03d7 }
		$sequence_4 = { 83ec54 56 8bf1 57 8a4658 }
		$sequence_5 = { 8d78c0 0fafd7 8916 8b796c }
		$sequence_6 = { 8b4620 6821010000 6a00 6a00 }
		$sequence_7 = { 50 51 885c243c e8???????? }
		$sequence_8 = { 8bd8 8b5500 03cf 8a4411ff 8bcd 50 57 }
		$sequence_9 = { 7507 8bce e8???????? 8d54241c }

	condition:
		7 of them and filesize < 540672
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 56 8bf1 50 e8???????? 8b4c240c 8b542410 51 }
$sequence_1hex{ 7d14 8b4204 85c0 7c0d 3b4154 7d08 }
$sequence_2hex{ 8b5500 03cf 8a0417 50 }
$sequence_3hex{ 7d0d 8b5168 8b7960 03d7 }
$sequence_4hex{ 83ec54 56 8bf1 57 8a4658 }
$sequence_5hex{ 8d78c0 0fafd7 8916 8b796c }
$sequence_6hex{ 8b4620 6821010000 6a00 6a00 }
$sequence_7hex{ 50 51 885c243c e8???????? }
$sequence_8hex{ 8bd8 8b5500 03cf 8a4411ff 8bcd 50 57 }
$sequence_9hex{ 7507 8bce e8???????? 8d54241c }

Condition

7 of them and filesize < 540672

In plain words (Heuristic)

  • The file must be smaller than 540672 (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: 1452a822-68f1-555c-a131-812c2b3d3b47

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