Actor(s): Kimsuky
There is no description at this point.
rule win_mechanical_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.mechanical." 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.mechanical" 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 = { 03c7 3bca 72ed 5f } // n = 4, score = 200 // 03c7 | add esi, dword ptr [eax*4 + 0x42e5c0] // 3bca | mov dword ptr [ebp - 0x1c], 1 // 72ed | xor ebx, ebx // 5f | cmp dword ptr [esi + 8], ebx $sequence_1 = { 83f85c 0f8778010000 4898 0fb68428d4590100 } // n = 4, score = 200 // 83f85c | dec eax // 0f8778010000 | lea edx, [esp + 0x5680] // 4898 | dec eax // 0fb68428d4590100 | mov ecx, edi $sequence_2 = { 4585c0 0f84d0010000 488d942440300000 458bc8 66666690 } // n = 5, score = 200 // 4585c0 | jne 0xfffffff6 // 0f84d0010000 | dec eax // 488d942440300000 | lea ecx, [esp + 0x5240] // 458bc8 | dec ebp // 66666690 | mov eax, esp $sequence_3 = { 03c1 1bc9 0bc1 59 e9???????? e8???????? ff742404 } // n = 7, score = 200 // 03c1 | push 0xfa0 // 1bc9 | add esi, dword ptr [eax*4 + 0x42e5c0] // 0bc1 | mov dword ptr [ebp - 0x1c], 1 // 59 | xor ebx, ebx // e9???????? | // e8???????? | // ff742404 | cmp dword ptr [esi + 8], ebx $sequence_4 = { 488d9424001b0000 458bc8 66666690 0fb602 458bc4 3c41 } // n = 6, score = 200 // 488d9424001b0000 | inc ebp // 458bc8 | mov ecx, eax // 66666690 | nop // 0fb602 | nop // 458bc4 | dec eax // 3c41 | lea edx, [esp + 0x1b00] $sequence_5 = { 0401 3cbe 8844240b 76e2 } // n = 4, score = 200 // 0401 | add ecx, esi // 3cbe | mov byte ptr [esp + ecx + 0x138], 0 // 8844240b | lea eax, [esp + 0x5ca0] // 76e2 | xor esi, esi $sequence_6 = { 488905???????? e8???????? 4c8d1d5cd40100 498bcc } // n = 4, score = 200 // 488905???????? | // e8???????? | // 4c8d1d5cd40100 | nop // 498bcc | movzx eax, byte ptr [ecx] $sequence_7 = { 03ce c6840c3801000000 8d8424a05c0000 33f6 } // n = 4, score = 200 // 03ce | jne 0x38 // c6840c3801000000 | add esi, dword ptr [eax*4 + 0x42e5c0] // 8d8424a05c0000 | mov dword ptr [ebp - 0x1c], 1 // 33f6 | xor ebx, ebx $sequence_8 = { 00686c 42 0023 d18a0688078a } // n = 4, score = 200 // 00686c | lea edx, [esp + 0x3040] // 42 | inc ebp // 0023 | mov ecx, eax // d18a0688078a | nop $sequence_9 = { 4488a424401f0000 488905???????? e8???????? 4c8d1da5120200 } // n = 4, score = 200 // 4488a424401f0000 | inc ebp // 488905???????? | // e8???????? | // 4c8d1da5120200 | mov ecx, eax $sequence_10 = { 030495c0e54200 eb05 b8???????? f6400420 } // n = 4, score = 200 // 030495c0e54200 | dec esp // eb05 | lea eax, [esp + 0x70] // b8???????? | // f6400420 | inc ecx $sequence_11 = { 033485c0e54200 8b45e4 8b00 8906 } // n = 4, score = 200 // 033485c0e54200 | push 2 // 8b45e4 | add eax, dword ptr [edx*4 + 0x42e5c0] // 8b00 | jmp 7 // 8906 | test byte ptr [eax + 4], 0x20 $sequence_12 = { 033485c0e54200 c745e401000000 33db 395e08 } // n = 4, score = 200 // 033485c0e54200 | add esi, dword ptr [eax*4 + 0x42e5c0] // c745e401000000 | mov eax, dword ptr [ebp - 0x1c] // 33db | mov eax, dword ptr [eax] // 395e08 | mov dword ptr [esi], eax $sequence_13 = { 88840c400e0000 75ed 488d8c24400e0000 4d8bc4 6690 } // n = 5, score = 200 // 88840c400e0000 | mov byte ptr [esp + ecx + 0xe40], al // 75ed | jne 0xffffffef // 488d8c24400e0000 | dec eax // 4d8bc4 | lea ecx, [esp + 0xe40] // 6690 | dec ebp $sequence_14 = { 0f84b6010000 488d9424e0070000 458bc8 66666690 66666690 } // n = 5, score = 200 // 0f84b6010000 | mov eax, esp // 488d9424e0070000 | nop // 458bc8 | je 0x1bc // 66666690 | dec eax // 66666690 | lea edx, [esp + 0x7e0] $sequence_15 = { 488d942480560000 488bcf ff15???????? 85c0 8903 } // n = 5, score = 200 // 488d942480560000 | mov byte ptr [esp + 0x1f40], ah // 488bcf | dec esp // ff15???????? | // 85c0 | lea ebx, [0x212a5] // 8903 | mov byte ptr [esp + ecx + 0x5240], al condition: 7 of them and filesize < 434176 }
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