Actor(s): Sofacy
There is no description at this point.
rule win_zebrocy_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2020-12-22" version = "1" description = "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.zebrocy" malpedia_rule_date = "20201222" malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130" malpedia_version = "20201023" 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 = { e8???????? 83c40c eb07 8b16 895508 891e } // n = 6, score = 100 // e8???????? | // 83c40c | add esp, 0xc // eb07 | jmp 9 // 8b16 | mov edx, dword ptr [esi] // 895508 | mov dword ptr [ebp + 8], edx // 891e | mov dword ptr [esi], ebx $sequence_1 = { 8d45b8 8b5598 0fbe1c10 83eb10 8d759c e8???????? } // n = 6, score = 100 // 8d45b8 | lea eax, [ebp - 0x48] // 8b5598 | mov edx, dword ptr [ebp - 0x68] // 0fbe1c10 | movsx ebx, byte ptr [eax + edx] // 83eb10 | sub ebx, 0x10 // 8d759c | lea esi, [ebp - 0x64] // e8???????? | $sequence_2 = { 8bf8 be???????? e8???????? 5f 8bc6 } // n = 5, score = 100 // 8bf8 | mov edi, eax // be???????? | // e8???????? | // 5f | pop edi // 8bc6 | mov eax, esi $sequence_3 = { 55 89e5 83ec10 c645ff01 } // n = 4, score = 100 // 55 | push ebp // 89e5 | mov ebp, esp // 83ec10 | sub esp, 0x10 // c645ff01 | mov byte ptr [ebp - 1], 1 $sequence_4 = { 89f9 83ec1c e8???????? 85f6 } // n = 4, score = 100 // 89f9 | mov ecx, edi // 83ec1c | sub esp, 0x1c // e8???????? | // 85f6 | test esi, esi $sequence_5 = { 8d3c8b 8b8f6c080000 85c9 894e08 7403 89710c 8b4de0 } // n = 7, score = 100 // 8d3c8b | lea edi, [ebx + ecx*4] // 8b8f6c080000 | mov ecx, dword ptr [edi + 0x86c] // 85c9 | test ecx, ecx // 894e08 | mov dword ptr [esi + 8], ecx // 7403 | je 5 // 89710c | mov dword ptr [ecx + 0xc], esi // 8b4de0 | mov ecx, dword ptr [ebp - 0x20] $sequence_6 = { 33db 6a02 68???????? 8d8db0f7ffff 51 } // n = 5, score = 100 // 33db | xor ebx, ebx // 6a02 | push 2 // 68???????? | // 8d8db0f7ffff | lea ecx, [ebp - 0x850] // 51 | push ecx $sequence_7 = { 7f10 ba00000800 89d9 e8???????? 89c7 } // n = 5, score = 100 // 7f10 | jg 0x12 // ba00000800 | mov edx, 0x80000 // 89d9 | mov ecx, ebx // e8???????? | // 89c7 | mov edi, eax $sequence_8 = { 85c0 0f8585000000 8bf3 8d4e02 8d642400 668b06 } // n = 6, score = 100 // 85c0 | test eax, eax // 0f8585000000 | jne 0x8b // 8bf3 | mov esi, ebx // 8d4e02 | lea ecx, [esi + 2] // 8d642400 | lea esp, [esp] // 668b06 | mov ax, word ptr [esi] $sequence_9 = { e8???????? ba???????? 89c3 e8???????? } // n = 4, score = 100 // e8???????? | // ba???????? | // 89c3 | mov ebx, eax // e8???????? | $sequence_10 = { 83c002 99 f7f9 c1e002 8945e4 } // n = 5, score = 100 // 83c002 | add eax, 2 // 99 | cdq // f7f9 | idiv ecx // c1e002 | shl eax, 2 // 8945e4 | mov dword ptr [ebp - 0x1c], eax $sequence_11 = { e8???????? 83ff17 7403 47 ebdf 84db } // n = 6, score = 100 // e8???????? | // 83ff17 | cmp edi, 0x17 // 7403 | je 5 // 47 | inc edi // ebdf | jmp 0xffffffe1 // 84db | test bl, bl $sequence_12 = { 5d c21000 8b4d14 51 56 ff15???????? } // n = 6, score = 100 // 5d | pop ebp // c21000 | ret 0x10 // 8b4d14 | mov ecx, dword ptr [ebp + 0x14] // 51 | push ecx // 56 | push esi // ff15???????? | $sequence_13 = { 7410 89f1 890424 ba???????? e8???????? } // n = 5, score = 100 // 7410 | je 0x12 // 89f1 | mov ecx, esi // 890424 | mov dword ptr [esp], eax // ba???????? | // e8???????? | $sequence_14 = { b001 e9???????? 57 ff15???????? } // n = 4, score = 100 // b001 | mov al, 1 // e9???????? | // 57 | push edi // ff15???????? | $sequence_15 = { 8b4508 33c9 3b04cdc0844200 7413 41 83f92d } // n = 6, score = 100 // 8b4508 | mov eax, dword ptr [ebp + 8] // 33c9 | xor ecx, ecx // 3b04cdc0844200 | cmp eax, dword ptr [ecx*8 + 0x4284c0] // 7413 | je 0x15 // 41 | inc ecx // 83f92d | cmp ecx, 0x2d condition: 7 of them and filesize < 393216 }
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