Actor(s): SNOWGLOBE
There is no description at this point.
rule win_babar_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.babar." 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.babar" 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 = { 0101 c9 c3 56 8bf1 } // n = 5, score = 400 // 0101 | add dword ptr [ecx], eax // c9 | leave // c3 | ret // 56 | push esi // 8bf1 | mov esi, ecx $sequence_1 = { 0138 668bc7 5f 5e } // n = 4, score = 400 // 0138 | add dword ptr [eax], edi // 668bc7 | mov ax, di // 5f | pop edi // 5e | pop esi $sequence_2 = { 46 e8???????? 8bc6 eb06 4f 381e 7434 } // n = 7, score = 400 // 46 | inc esi // e8???????? | // 8bc6 | mov eax, esi // eb06 | jmp 8 // 4f | dec edi // 381e | cmp byte ptr [esi], bl // 7434 | je 0x36 $sequence_3 = { 0103 83530400 8b4728 894634 } // n = 4, score = 400 // 0103 | add dword ptr [ebx], eax // 83530400 | adc dword ptr [ebx + 4], 0 // 8b4728 | mov eax, dword ptr [edi + 0x28] // 894634 | mov dword ptr [esi + 0x34], eax $sequence_4 = { 0137 2933 33c0 40 } // n = 4, score = 400 // 0137 | add dword ptr [edi], esi // 2933 | sub dword ptr [ebx], esi // 33c0 | xor eax, eax // 40 | inc eax $sequence_5 = { 010a 8b16 390c82 1bc9 } // n = 4, score = 400 // 010a | add dword ptr [edx], ecx // 8b16 | mov edx, dword ptr [esi] // 390c82 | cmp dword ptr [edx + eax*4], ecx // 1bc9 | sbb ecx, ecx $sequence_6 = { 0107 8b3f 57 897d08 } // n = 4, score = 400 // 0107 | add dword ptr [edi], eax // 8b3f | mov edi, dword ptr [edi] // 57 | push edi // 897d08 | mov dword ptr [ebp + 8], edi $sequence_7 = { 0108 015dfc 8b45fc 3b450c } // n = 4, score = 400 // 0108 | add dword ptr [eax], ecx // 015dfc | add dword ptr [ebp - 4], ebx // 8b45fc | mov eax, dword ptr [ebp - 4] // 3b450c | cmp eax, dword ptr [ebp + 0xc] $sequence_8 = { 51 e8???????? 83c40c 385c2428 0f842e010000 8b35???????? } // n = 6, score = 200 // 51 | push ecx // e8???????? | // 83c40c | add esp, 0xc // 385c2428 | cmp byte ptr [esp + 0x28], bl // 0f842e010000 | je 0x134 // 8b35???????? | $sequence_9 = { 3bc7 a3???????? 0f846f010000 a1???????? 50 e8???????? 83c404 } // n = 7, score = 200 // 3bc7 | cmp eax, edi // a3???????? | // 0f846f010000 | je 0x175 // a1???????? | // 50 | push eax // e8???????? | // 83c404 | add esp, 4 $sequence_10 = { 8d0424 50 a1???????? 8d4c2408 51 8b0d???????? 52 } // n = 7, score = 200 // 8d0424 | lea eax, [esp] // 50 | push eax // a1???????? | // 8d4c2408 | lea ecx, [esp + 8] // 51 | push ecx // 8b0d???????? | // 52 | push edx $sequence_11 = { 0fb658fa c1e208 0bd3 83f910 895428f0 0f827affffff } // n = 6, score = 200 // 0fb658fa | movzx ebx, byte ptr [eax - 6] // c1e208 | shl edx, 8 // 0bd3 | or edx, ebx // 83f910 | cmp ecx, 0x10 // 895428f0 | mov dword ptr [eax + ebp - 0x10], edx // 0f827affffff | jb 0xffffff80 $sequence_12 = { 51 ffd7 50 8b06 8d94243c010000 } // n = 5, score = 200 // 51 | push ecx // ffd7 | call edi // 50 | push eax // 8b06 | mov eax, dword ptr [esi] // 8d94243c010000 | lea edx, [esp + 0x13c] $sequence_13 = { 85c0 7562 68???????? 68???????? ff15???????? 8b0d???????? 51 } // n = 7, score = 200 // 85c0 | test eax, eax // 7562 | jne 0x64 // 68???????? | // 68???????? | // ff15???????? | // 8b0d???????? | // 51 | push ecx $sequence_14 = { 7420 6a00 8d442414 50 8d34fdbc730110 ff36 e8???????? } // n = 7, score = 200 // 7420 | je 0x22 // 6a00 | push 0 // 8d442414 | lea eax, [esp + 0x14] // 50 | push eax // 8d34fdbc730110 | lea esi, [edi*8 + 0x100173bc] // ff36 | push dword ptr [esi] // e8???????? | $sequence_15 = { 33c0 e8???????? 81c468040000 c3 57 } // n = 5, score = 200 // 33c0 | xor eax, eax // e8???????? | // 81c468040000 | add esp, 0x468 // c3 | ret // 57 | push edi condition: 7 of them and filesize < 1294336 }
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