There is no description at this point.
rule win_pay2key_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.pay2key." 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.pay2key" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { 8d8de4feffff 50 ffb5e4feffff e8???????? 8b85e0feffff c785f8feffff0f000000 c785f4feffff00000000 } // n = 7, score = 300 // 8d8de4feffff | lea ecx, [ebp - 0x11c] // 50 | push eax // ffb5e4feffff | push dword ptr [ebp - 0x11c] // e8???????? | // 8b85e0feffff | mov eax, dword ptr [ebp - 0x120] // c785f8feffff0f000000 | mov dword ptr [ebp - 0x108], 0xf // c785f4feffff00000000 | mov dword ptr [ebp - 0x10c], 0 $sequence_1 = { c7420401000000 c7420801000000 c702???????? 85c9 7405 } // n = 5, score = 300 // c7420401000000 | mov dword ptr [edx + 4], 1 // c7420801000000 | mov dword ptr [edx + 8], 1 // c702???????? | // 85c9 | test ecx, ecx // 7405 | je 7 $sequence_2 = { a1???????? 33c5 50 8d45f4 64a300000000 8b5d08 895dec } // n = 7, score = 300 // a1???????? | // 33c5 | xor eax, ebp // 50 | push eax // 8d45f4 | lea eax, [ebp - 0xc] // 64a300000000 | mov dword ptr fs:[0], eax // 8b5d08 | mov ebx, dword ptr [ebp + 8] // 895dec | mov dword ptr [ebp - 0x14], ebx $sequence_3 = { e8???????? c787e400000000000000 c787e800000000000000 c787ec00000000000000 8b8fd8000000 85c9 } // n = 6, score = 300 // e8???????? | // c787e400000000000000 | mov dword ptr [edi + 0xe4], 0 // c787e800000000000000 | mov dword ptr [edi + 0xe8], 0 // c787ec00000000000000 | mov dword ptr [edi + 0xec], 0 // 8b8fd8000000 | mov ecx, dword ptr [edi + 0xd8] // 85c9 | test ecx, ecx $sequence_4 = { e8???????? 8b4510 8b4d0c 0fb600 50 83ec0c 8bd4 } // n = 7, score = 300 // e8???????? | // 8b4510 | mov eax, dword ptr [ebp + 0x10] // 8b4d0c | mov ecx, dword ptr [ebp + 0xc] // 0fb600 | movzx eax, byte ptr [eax] // 50 | push eax // 83ec0c | sub esp, 0xc // 8bd4 | mov edx, esp $sequence_5 = { e8???????? 6a18 57 e8???????? 83c40c 5e } // n = 6, score = 300 // e8???????? | // 6a18 | push 0x18 // 57 | push edi // e8???????? | // 83c40c | add esp, 0xc // 5e | pop esi $sequence_6 = { ff5008 c745fc01000000 8b1f 8b7708 83c604 837b0800 7517 } // n = 7, score = 300 // ff5008 | call dword ptr [eax + 8] // c745fc01000000 | mov dword ptr [ebp - 4], 1 // 8b1f | mov ebx, dword ptr [edi] // 8b7708 | mov esi, dword ptr [edi + 8] // 83c604 | add esi, 4 // 837b0800 | cmp dword ptr [ebx + 8], 0 // 7517 | jne 0x19 $sequence_7 = { 85f6 7436 c745fc00000000 8b7620 85f6 7421 83cbff } // n = 7, score = 300 // 85f6 | test esi, esi // 7436 | je 0x38 // c745fc00000000 | mov dword ptr [ebp - 4], 0 // 8b7620 | mov esi, dword ptr [esi + 0x20] // 85f6 | test esi, esi // 7421 | je 0x23 // 83cbff | or ebx, 0xffffffff $sequence_8 = { e8???????? 8b8760050000 8db74c050000 83f810 720b 40 8bce } // n = 7, score = 300 // e8???????? | // 8b8760050000 | mov eax, dword ptr [edi + 0x560] // 8db74c050000 | lea esi, [edi + 0x54c] // 83f810 | cmp eax, 0x10 // 720b | jb 0xd // 40 | inc eax // 8bce | mov ecx, esi $sequence_9 = { c60000 8d4520 6a00 50 e8???????? 6aff } // n = 6, score = 300 // c60000 | mov byte ptr [eax], 0 // 8d4520 | lea eax, [ebp + 0x20] // 6a00 | push 0 // 50 | push eax // e8???????? | // 6aff | push -1 condition: 7 of them and filesize < 2252800 }
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