Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Matryoshka_Rat_Auto

autogenerated rule brought to you by yara-signator

MalwareMatryoshka RatMalpedia 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: Matryoshka Rat.

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

Summary generated from the rule's metadata and condition.

Rule source

win-matryoshka-rat-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Matryoshka_Rat_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "fb937428-323e-544f-9cc3-77d10cbe0095"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.matryoshka_rat"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.matryoshka_rat_auto.yar#L1-L137"
		license_url = "N/A"
		logic_hash = "749a716a130cb8b1e5551df113ff2ffd19723d7b3814e09eb67af73d228e3912"
		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 = { b037 c3 b073 c3 }
		$sequence_1 = { b06f c3 b063 c3 }
		$sequence_2 = { 750b 488d05da2c0000 48894138 488b4940 }
		$sequence_3 = { 750b 48832700 b802000000 eb7b }
		$sequence_4 = { 750b 488d05d4140300 48894348 4c8b4348 }
		$sequence_5 = { 8b55e4 3bf3 8b75d0 8b5dec }
		$sequence_6 = { 750b 837f0402 7505 395f08 }
		$sequence_7 = { 8b55e8 0345f0 894204 8b8704010000 }
		$sequence_8 = { 8b55e4 8d45e8 51 51 }
		$sequence_9 = { 8b55e0 8b7dec 8b5de4 394d24 }
		$sequence_10 = { 8b55dc 0fb7844330270300 c1e804 8b8483a00e0300 0345a4 8945cc 83fa02 }
		$sequence_11 = { 750b 488bd3 488bcf e8???????? 488bc3 }
		$sequence_12 = { 750a b9b4000000 e8???????? 85f6 7507 }
		$sequence_13 = { 8b55e8 2bc6 c1f802 83c420 }

	condition:
		7 of them and filesize < 843776
}

Strings (14 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ b037 c3 b073 c3 }
$sequence_1hex{ b06f c3 b063 c3 }
$sequence_2hex{ 750b 488d05da2c0000 48894138 488b4940 }
$sequence_3hex{ 750b 48832700 b802000000 eb7b }
$sequence_4hex{ 750b 488d05d4140300 48894348 4c8b4348 }
$sequence_5hex{ 8b55e4 3bf3 8b75d0 8b5dec }
$sequence_6hex{ 750b 837f0402 7505 395f08 }
$sequence_7hex{ 8b55e8 0345f0 894204 8b8704010000 }
$sequence_8hex{ 8b55e4 8d45e8 51 51 }
$sequence_9hex{ 8b55e0 8b7dec 8b5de4 394d24 }
$sequence_10hex{ 8b55dc 0fb7844330270300 c1e804 8b8483a00e0300 0345a4 8945cc 83fa02 }
$sequence_11hex{ 750b 488bd3 488bcf e8???????? 488bc3 }
$sequence_12hex{ 750a b9b4000000 e8???????? 85f6 7507 }
$sequence_13hex{ 8b55e8 2bc6 c1f802 83c420 }

Condition

7 of them and filesize < 843776

In plain words (Heuristic)

  • The file must be smaller than 843776 (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: fb937428-323e-544f-9cc3-77d10cbe0095

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