There is no description at this point.
rule win_lock_pos_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.lock_pos." 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.lock_pos" 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 = { 55 8bec 8b4508 8b0d???????? 8b0481 } // n = 5, score = 400 // 55 | push ebp // 8bec | mov ebp, esp // 8b4508 | mov eax, dword ptr [ebp + 8] // 8b0d???????? | // 8b0481 | mov eax, dword ptr [ecx + eax*4] $sequence_1 = { 8bec 837d0800 7704 33c0 } // n = 4, score = 400 // 8bec | mov ebp, esp // 837d0800 | cmp dword ptr [ebp + 8], 0 // 7704 | ja 6 // 33c0 | xor eax, eax $sequence_2 = { 8d85f8fdffff 50 6a00 6a00 6a23 } // n = 5, score = 300 // 8d85f8fdffff | lea eax, [ebp - 0x208] // 50 | push eax // 6a00 | push 0 // 6a00 | push 0 // 6a23 | push 0x23 $sequence_3 = { 55 8bec 81eca4040000 56 } // n = 4, score = 300 // 55 | push ebp // 8bec | mov ebp, esp // 81eca4040000 | sub esp, 0x4a4 // 56 | push esi $sequence_4 = { 6a00 6a23 6a00 ff15???????? 8d8df8fdffff } // n = 5, score = 300 // 6a00 | push 0 // 6a23 | push 0x23 // 6a00 | push 0 // ff15???????? | // 8d8df8fdffff | lea ecx, [ebp - 0x208] $sequence_5 = { 50 e8???????? 83c404 8945f0 837df000 741b } // n = 6, score = 200 // 50 | push eax // e8???????? | // 83c404 | add esp, 4 // 8945f0 | mov dword ptr [ebp - 0x10], eax // 837df000 | cmp dword ptr [ebp - 0x10], 0 // 741b | je 0x1d $sequence_6 = { 3b4d0c 7332 8b5508 0355fc 0fbe02 } // n = 5, score = 200 // 3b4d0c | cmp ecx, dword ptr [ebp + 0xc] // 7332 | jae 0x34 // 8b5508 | mov edx, dword ptr [ebp + 8] // 0355fc | add edx, dword ptr [ebp - 4] // 0fbe02 | movsx eax, byte ptr [edx] $sequence_7 = { 037df8 ff15???????? 394708 7415 8d5f0c 53 } // n = 6, score = 200 // 037df8 | add edi, dword ptr [ebp - 8] // ff15???????? | // 394708 | cmp dword ptr [edi + 8], eax // 7415 | je 0x17 // 8d5f0c | lea ebx, [edi + 0xc] // 53 | push ebx $sequence_8 = { 53 8bd8 56 8bcb e8???????? 8bd0 03d2 } // n = 7, score = 200 // 53 | push ebx // 8bd8 | mov ebx, eax // 56 | push esi // 8bcb | mov ecx, ebx // e8???????? | // 8bd0 | mov edx, eax // 03d2 | add edx, edx $sequence_9 = { 8b45fc 8b4de4 0308 894de8 8b55fc 8b4204 83e808 } // n = 7, score = 200 // 8b45fc | mov eax, dword ptr [ebp - 4] // 8b4de4 | mov ecx, dword ptr [ebp - 0x1c] // 0308 | add ecx, dword ptr [eax] // 894de8 | mov dword ptr [ebp - 0x18], ecx // 8b55fc | mov edx, dword ptr [ebp - 4] // 8b4204 | mov eax, dword ptr [edx + 4] // 83e808 | sub eax, 8 $sequence_10 = { 0f847b010000 57 6a04 5f 8d75b4 } // n = 5, score = 200 // 0f847b010000 | je 0x181 // 57 | push edi // 6a04 | push 4 // 5f | pop edi // 8d75b4 | lea esi, [ebp - 0x4c] $sequence_11 = { 8945c8 8955cc 8b550c 33c0 } // n = 4, score = 200 // 8945c8 | mov dword ptr [ebp - 0x38], eax // 8955cc | mov dword ptr [ebp - 0x34], edx // 8b550c | mov edx, dword ptr [ebp + 0xc] // 33c0 | xor eax, eax $sequence_12 = { 99 8945e0 8955e4 6a04 8d4dc8 } // n = 5, score = 200 // 99 | cdq // 8945e0 | mov dword ptr [ebp - 0x20], eax // 8955e4 | mov dword ptr [ebp - 0x1c], edx // 6a04 | push 4 // 8d4dc8 | lea ecx, [ebp - 0x38] condition: 7 of them and filesize < 319488 }
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