There is no description at this point.
rule win_lock_pos_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-04-08" 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 = "20220405" malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a" malpedia_version = "20220411" 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 = { 6a00 6a23 6a00 ff15???????? 8d8df8fdffff } // n = 5, score = 300 // 6a00 | push 0 // 6a23 | push 0x23 // 6a00 | push 0 // ff15???????? | // 8d8df8fdffff | lea ecx, dword ptr [ebp - 0x208] $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 = { 8d85f8fdffff 50 6a00 6a00 6a23 } // n = 5, score = 300 // 8d85f8fdffff | lea eax, dword ptr [ebp - 0x208] // 50 | push eax // 6a00 | push 0 // 6a00 | push 0 // 6a23 | push 0x23 $sequence_5 = { 33c9 8945e8 894dec 8b552c } // n = 4, score = 200 // 33c9 | xor ecx, ecx // 8945e8 | mov dword ptr [ebp - 0x18], eax // 894dec | mov dword ptr [ebp - 0x14], ecx // 8b552c | mov edx, dword ptr [ebp + 0x2c] $sequence_6 = { 7406 837d0c00 7502 eb61 c745fc00000000 eb09 } // n = 6, score = 200 // 7406 | je 8 // 837d0c00 | cmp dword ptr [ebp + 0xc], 0 // 7502 | jne 4 // eb61 | jmp 0x63 // c745fc00000000 | mov dword ptr [ebp - 4], 0 // eb09 | jmp 0xb $sequence_7 = { 0fb75106 8955ec 8b45ec 8b4dec 83e901 } // n = 5, score = 200 // 0fb75106 | movzx edx, word ptr [ecx + 6] // 8955ec | mov dword ptr [ebp - 0x14], edx // 8b45ec | mov eax, dword ptr [ebp - 0x14] // 8b4dec | mov ecx, dword ptr [ebp - 0x14] // 83e901 | sub ecx, 1 $sequence_8 = { 83f8ff 7509 8bcf e8???????? c9 c3 33c9 } // n = 7, score = 200 // 83f8ff | cmp eax, -1 // 7509 | jne 0xb // 8bcf | mov ecx, edi // e8???????? | // c9 | leave // c3 | ret // 33c9 | xor ecx, ecx $sequence_9 = { 837d0800 56 57 0f848e000000 837d0c00 0f8484000000 ff750c } // n = 7, score = 200 // 837d0800 | cmp dword ptr [ebp + 8], 0 // 56 | push esi // 57 | push edi // 0f848e000000 | je 0x94 // 837d0c00 | cmp dword ptr [ebp + 0xc], 0 // 0f8484000000 | je 0x8a // ff750c | push dword ptr [ebp + 0xc] $sequence_10 = { 6a06 e8???????? 50 e8???????? 83c40c 8be5 } // n = 6, score = 200 // 6a06 | push 6 // e8???????? | // 50 | push eax // e8???????? | // 83c40c | add esp, 0xc // 8be5 | mov esp, ebp $sequence_11 = { c686a000000001 8b4518 56 e8???????? 59 c645fe01 5e } // n = 7, score = 200 // c686a000000001 | mov byte ptr [esi + 0xa0], 1 // 8b4518 | mov eax, dword ptr [ebp + 0x18] // 56 | push esi // e8???????? | // 59 | pop ecx // c645fe01 | mov byte ptr [ebp - 2], 1 // 5e | pop esi $sequence_12 = { 6a00 6a00 6a00 6a04 8b95f4fdffff 52 ff15???????? } // n = 7, score = 200 // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 // 6a04 | push 4 // 8b95f4fdffff | mov edx, dword ptr [ebp - 0x20c] // 52 | push edx // ff15???????? | 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.
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