There is no description at this point.
rule win_pay2key_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" 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 = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 8d45f4 64a300000000 c745fc00000000 8b7110 85f6 7421 83cfff } // n = 7, score = 300 // 8d45f4 | lea eax, [ebp - 0xc] // 64a300000000 | mov dword ptr fs:[0], eax // c745fc00000000 | mov dword ptr [ebp - 4], 0 // 8b7110 | mov esi, dword ptr [ecx + 0x10] // 85f6 | test esi, esi // 7421 | je 0x23 // 83cfff | or edi, 0xffffffff $sequence_1 = { 8bf1 57 8b4604 85c0 7408 8b4004 } // n = 6, score = 300 // 8bf1 | mov esi, ecx // 57 | push edi // 8b4604 | mov eax, dword ptr [esi + 4] // 85c0 | test eax, eax // 7408 | je 0xa // 8b4004 | mov eax, dword ptr [eax + 4] $sequence_2 = { c74608???????? 8b4dfc b001 5f 33cd 5e e8???????? } // n = 7, score = 300 // c74608???????? | // 8b4dfc | mov ecx, dword ptr [ebp - 4] // b001 | mov al, 1 // 5f | pop edi // 33cd | xor ecx, ebp // 5e | pop esi // e8???????? | $sequence_3 = { ff75ec ff15???????? 8d4d90 e8???????? 8b4df4 64890d00000000 } // n = 6, score = 300 // ff75ec | push dword ptr [ebp - 0x14] // ff15???????? | // 8d4d90 | lea ecx, [ebp - 0x70] // e8???????? | // 8b4df4 | mov ecx, dword ptr [ebp - 0xc] // 64890d00000000 | mov dword ptr fs:[0], ecx $sequence_4 = { 8b01 eb02 8bc1 33d2 6aff 668910 8d85c4000000 } // n = 7, score = 300 // 8b01 | mov eax, dword ptr [ecx] // eb02 | jmp 4 // 8bc1 | mov eax, ecx // 33d2 | xor edx, edx // 6aff | push -1 // 668910 | mov word ptr [eax], dx // 8d85c4000000 | lea eax, [ebp + 0xc4] $sequence_5 = { 8b4d0c 8d45e4 50 e8???????? 8d4de4 c745fcffffffff } // n = 6, score = 300 // 8b4d0c | mov ecx, dword ptr [ebp + 0xc] // 8d45e4 | lea eax, [ebp - 0x1c] // 50 | push eax // e8???????? | // 8d4de4 | lea ecx, [ebp - 0x1c] // c745fcffffffff | mov dword ptr [ebp - 4], 0xffffffff $sequence_6 = { f30f7e00 660fd606 8b4008 894608 8b44241c 57 } // n = 6, score = 300 // f30f7e00 | movq xmm0, qword ptr [eax] // 660fd606 | movq qword ptr [esi], xmm0 // 8b4008 | mov eax, dword ptr [eax + 8] // 894608 | mov dword ptr [esi + 8], eax // 8b44241c | mov eax, dword ptr [esp + 0x1c] // 57 | push edi $sequence_7 = { eba9 807f0c00 740c 53 8bcf c6470c00 e8???????? } // n = 7, score = 300 // eba9 | jmp 0xffffffab // 807f0c00 | cmp byte ptr [edi + 0xc], 0 // 740c | je 0xe // 53 | push ebx // 8bcf | mov ecx, edi // c6470c00 | mov byte ptr [edi + 0xc], 0 // e8???????? | $sequence_8 = { e8???????? 84c0 7520 8b4d0c 8d45e4 50 e8???????? } // n = 7, score = 300 // e8???????? | // 84c0 | test al, al // 7520 | jne 0x22 // 8b4d0c | mov ecx, dword ptr [ebp + 0xc] // 8d45e4 | lea eax, [ebp - 0x1c] // 50 | push eax // e8???????? | $sequence_9 = { 8b32 8975f0 85db 7404 f0ff4304 8b7704 } // n = 6, score = 300 // 8b32 | mov esi, dword ptr [edx] // 8975f0 | mov dword ptr [ebp - 0x10], esi // 85db | test ebx, ebx // 7404 | je 6 // f0ff4304 | lock inc dword ptr [ebx + 4] // 8b7704 | mov esi, dword ptr [edi + 4] 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. 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