There is no description at this point.
rule win_petya_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-05-16" version = "1" description = "Detects win.petya." 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.petya" malpedia_rule_date = "20220513" malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26" malpedia_version = "20220516" 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 = { ff7510 56 ff7508 e8???????? 8bf8 85f6 7505 } // n = 7, score = 600 // ff7510 | push dword ptr [ebp + 0x10] // 56 | push esi // ff7508 | push dword ptr [ebp + 8] // e8???????? | // 8bf8 | mov edi, eax // 85f6 | test esi, esi // 7505 | jne 7 $sequence_1 = { 8bc6 8bca 0fa4c117 8bda c1e60e c1e017 33ff } // n = 7, score = 600 // 8bc6 | mov eax, esi // 8bca | mov ecx, edx // 0fa4c117 | shld ecx, eax, 0x17 // 8bda | mov ebx, edx // c1e60e | shl esi, 0xe // c1e017 | shl eax, 0x17 // 33ff | xor edi, edi $sequence_2 = { 83c050 03c7 53 50 e8???????? 83c40c } // n = 6, score = 600 // 83c050 | add eax, 0x50 // 03c7 | add eax, edi // 53 | push ebx // 50 | push eax // e8???????? | // 83c40c | add esp, 0xc $sequence_3 = { 8b4604 83c40c 8b4e08 c1e002 } // n = 4, score = 600 // 8b4604 | mov eax, dword ptr [esi + 4] // 83c40c | add esp, 0xc // 8b4e08 | mov ecx, dword ptr [esi + 8] // c1e002 | shl eax, 2 $sequence_4 = { 31542424 33d2 0fa4c119 c1ee07 } // n = 4, score = 600 // 31542424 | xor dword ptr [esp + 0x24], edx // 33d2 | xor edx, edx // 0fa4c119 | shld ecx, eax, 0x19 // c1ee07 | shr esi, 7 $sequence_5 = { 8bc6 8bca c1e303 0facc110 } // n = 4, score = 600 // 8bc6 | mov eax, esi // 8bca | mov ecx, edx // c1e303 | shl ebx, 3 // 0facc110 | shrd ecx, eax, 0x10 $sequence_6 = { 0f42f2 6a04 56 e8???????? 8bd8 } // n = 5, score = 600 // 0f42f2 | cmovb esi, edx // 6a04 | push 4 // 56 | push esi // e8???????? | // 8bd8 | mov ebx, eax $sequence_7 = { 3bf2 53 0f42f2 6a04 56 e8???????? 8bd8 } // n = 7, score = 600 // 3bf2 | cmp esi, edx // 53 | push ebx // 0f42f2 | cmovb esi, edx // 6a04 | push 4 // 56 | push esi // e8???????? | // 8bd8 | mov ebx, eax $sequence_8 = { 83c40c 8d5750 8bcf e8???????? 035c2410 } // n = 5, score = 600 // 83c40c | add esp, 0xc // 8d5750 | lea edx, [edi + 0x50] // 8bcf | mov ecx, edi // e8???????? | // 035c2410 | add ebx, dword ptr [esp + 0x10] $sequence_9 = { 57 33ff 8d0486 8bd8 2bde 83c303 c1eb02 } // n = 7, score = 600 // 57 | push edi // 33ff | xor edi, edi // 8d0486 | lea eax, [esi + eax*4] // 8bd8 | mov ebx, eax // 2bde | sub ebx, esi // 83c303 | add ebx, 3 // c1eb02 | shr ebx, 2 condition: 7 of them and filesize < 229376 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY