Ransomware.
rule win_mrac_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.mrac." info = "autogenerated rule brought to you by yara-signator" tool = "yara-signator v0.6.0" signator_config = "callsandjumps;datarefs;binvalue" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.mrac" malpedia_rule_date = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" /* DISCLAIMER * The strings used in this rule have been automatically selected from the * disassembly of memory dumps and unpacked files, using YARA-Signator. * The code and documentation is published here: * https://github.com/fxb-cocacoding/yara-signator * As Malpedia is used as data source, please note that for a given * number of families, only single samples are documented. * This likely impacts the degree of generalization these rules will offer. * Take the described generation method also into consideration when you * apply the rules in your use cases and assign them confidence levels. */ strings: $sequence_0 = { 3473 8d8c2448030000 6a05 88842454030000 e8???????? 3474 8d8c2448030000 } // n = 7, score = 200 // 3473 | xor al, 0x73 // 8d8c2448030000 | lea ecx, [esp + 0x348] // 6a05 | push 5 // 88842454030000 | mov byte ptr [esp + 0x354], al // e8???????? | // 3474 | xor al, 0x74 // 8d8c2448030000 | lea ecx, [esp + 0x348] $sequence_1 = { e8???????? 0473 8d8c2438010000 6a30 88842440010000 e8???????? } // n = 6, score = 200 // e8???????? | // 0473 | add al, 0x73 // 8d8c2438010000 | lea ecx, [esp + 0x138] // 6a30 | push 0x30 // 88842440010000 | mov byte ptr [esp + 0x140], al // e8???????? | $sequence_2 = { 64a300000000 6a02 68???????? e8???????? 68???????? c745fc00000000 } // n = 6, score = 200 // 64a300000000 | mov dword ptr fs:[0], eax // 6a02 | push 2 // 68???????? | // e8???????? | // 68???????? | // c745fc00000000 | mov dword ptr [ebp - 4], 0 $sequence_3 = { e8???????? 346e 8d8c24d8150000 6a01 888424e0150000 e8???????? 3465 } // n = 7, score = 200 // e8???????? | // 346e | xor al, 0x6e // 8d8c24d8150000 | lea ecx, [esp + 0x15d8] // 6a01 | push 1 // 888424e0150000 | mov byte ptr [esp + 0x15e0], al // e8???????? | // 3465 | xor al, 0x65 $sequence_4 = { e8???????? 0474 8d4c2410 6a04 88442416 e8???????? } // n = 6, score = 200 // e8???????? | // 0474 | add al, 0x74 // 8d4c2410 | lea ecx, [esp + 0x10] // 6a04 | push 4 // 88442416 | mov byte ptr [esp + 0x16], al // e8???????? | $sequence_5 = { 343d 8885e1fbffff 8b85a8fbffff 0436 3475 8885e2fbffff 8b85a8fbffff } // n = 7, score = 200 // 343d | xor al, 0x3d // 8885e1fbffff | mov byte ptr [ebp - 0x41f], al // 8b85a8fbffff | mov eax, dword ptr [ebp - 0x458] // 0436 | add al, 0x36 // 3475 | xor al, 0x75 // 8885e2fbffff | mov byte ptr [ebp - 0x41e], al // 8b85a8fbffff | mov eax, dword ptr [ebp - 0x458] $sequence_6 = { c68424531300005d c68424541300000d c68424551300007b c684245613000048 c684245713000048 c68424581300004c c684245913000040 } // n = 7, score = 200 // c68424531300005d | mov byte ptr [esp + 0x1353], 0x5d // c68424541300000d | mov byte ptr [esp + 0x1354], 0xd // c68424551300007b | mov byte ptr [esp + 0x1355], 0x7b // c684245613000048 | mov byte ptr [esp + 0x1356], 0x48 // c684245713000048 | mov byte ptr [esp + 0x1357], 0x48 // c68424581300004c | mov byte ptr [esp + 0x1358], 0x4c // c684245913000040 | mov byte ptr [esp + 0x1359], 0x40 $sequence_7 = { 8d8c2480010000 6a66 88842491010000 e8???????? 0472 8d8c2480010000 6a66 } // n = 7, score = 200 // 8d8c2480010000 | lea ecx, [esp + 0x180] // 6a66 | push 0x66 // 88842491010000 | mov byte ptr [esp + 0x191], al // e8???????? | // 0472 | add al, 0x72 // 8d8c2480010000 | lea ecx, [esp + 0x180] // 6a66 | push 0x66 $sequence_8 = { 3445 88442417 8b442408 040c 3450 88442418 8b442408 } // n = 7, score = 200 // 3445 | xor al, 0x45 // 88442417 | mov byte ptr [esp + 0x17], al // 8b442408 | mov eax, dword ptr [esp + 8] // 040c | add al, 0xc // 3450 | xor al, 0x50 // 88442418 | mov byte ptr [esp + 0x18], al // 8b442408 | mov eax, dword ptr [esp + 8] $sequence_9 = { 0420 6a05 8d8c24f4000000 888424fc000000 e8???????? 0477 8d8c24f0000000 } // n = 7, score = 200 // 0420 | add al, 0x20 // 6a05 | push 5 // 8d8c24f4000000 | lea ecx, [esp + 0xf4] // 888424fc000000 | mov byte ptr [esp + 0xfc], al // e8???????? | // 0477 | add al, 0x77 // 8d8c24f0000000 | lea ecx, [esp + 0xf0] condition: 7 of them and filesize < 745472 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY