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 = "2022-04-08" 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 = "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 = { 3bc6 740e 8d4e04 3bc1 } // n = 4, score = 400 // 3bc6 | cmp eax, esi // 740e | je 0x10 // 8d4e04 | lea ecx, dword ptr [esi + 4] // 3bc1 | cmp eax, ecx $sequence_1 = { 3bc6 740a 50 e8???????? 59 89775c } // n = 6, score = 400 // 3bc6 | cmp eax, esi // 740a | je 0xc // 50 | push eax // e8???????? | // 59 | pop ecx // 89775c | mov dword ptr [edi + 0x5c], esi $sequence_2 = { 3bc6 7405 8b4df8 8908 ff75f4 } // n = 5, score = 400 // 3bc6 | cmp eax, esi // 7405 | je 7 // 8b4df8 | mov ecx, dword ptr [ebp - 8] // 8908 | mov dword ptr [eax], ecx // ff75f4 | push dword ptr [ebp - 0xc] $sequence_3 = { 40 eb65 7608 83662400 } // n = 4, score = 400 // 40 | inc eax // eb65 | jmp 0x67 // 7608 | jbe 0xa // 83662400 | and dword ptr [esi + 0x24], 0 $sequence_4 = { 3bc6 740b 53 8d4de4 } // n = 4, score = 400 // 3bc6 | cmp eax, esi // 740b | je 0xd // 53 | push ebx // 8d4de4 | lea ecx, dword ptr [ebp - 0x1c] $sequence_5 = { 3bc6 731a 8bc6 2b45f0 8bcf } // n = 5, score = 400 // 3bc6 | cmp eax, esi // 731a | jae 0x1c // 8bc6 | mov eax, esi // 2b45f0 | sub eax, dword ptr [ebp - 0x10] // 8bcf | mov ecx, edi $sequence_6 = { 3bc6 740c 56 56 6a15 } // n = 5, score = 400 // 3bc6 | cmp eax, esi // 740c | je 0xe // 56 | push esi // 56 | push esi // 6a15 | push 0x15 $sequence_7 = { 3bc6 7407 8b4df0 8908 eb05 ff75f0 ffd3 } // n = 7, score = 400 // 3bc6 | cmp eax, esi // 7407 | je 9 // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // 8908 | mov dword ptr [eax], ecx // eb05 | jmp 7 // ff75f0 | push dword ptr [ebp - 0x10] // ffd3 | call ebx $sequence_8 = { 8b7c2410 6a00 6a00 6a03 6a00 6a01 6800000080 } // n = 7, score = 200 // 8b7c2410 | mov edi, dword ptr [esp + 0x10] // 6a00 | push 0 // 6a00 | push 0 // 6a03 | push 3 // 6a00 | push 0 // 6a01 | push 1 // 6800000080 | push 0x80000000 $sequence_9 = { 8b0d???????? eb5f 68???????? 68???????? } // n = 4, score = 200 // 8b0d???????? | // eb5f | jmp 0x61 // 68???????? | // 68???????? | $sequence_10 = { 8b74241c 8b3d???????? 752f 6804010000 56 68???????? } // n = 6, score = 200 // 8b74241c | mov esi, dword ptr [esp + 0x1c] // 8b3d???????? | // 752f | jne 0x31 // 6804010000 | push 0x104 // 56 | push esi // 68???????? | $sequence_11 = { b8???????? 0fb71d???????? 53 0fb71d???????? 53 0fb71d???????? } // n = 6, score = 200 // b8???????? | // 0fb71d???????? | // 53 | push ebx // 0fb71d???????? | // 53 | push ebx // 0fb71d???????? | $sequence_12 = { 52 ff15???????? 33ff e9???????? 8b8c24d0000000 } // n = 5, score = 200 // 52 | push edx // ff15???????? | // 33ff | xor edi, edi // e9???????? | // 8b8c24d0000000 | mov ecx, dword ptr [esp + 0xd0] $sequence_13 = { 803c065c 7409 83ee01 803c065c } // n = 4, score = 200 // 803c065c | cmp byte ptr [esi + eax], 0x5c // 7409 | je 0xb // 83ee01 | sub esi, 1 // 803c065c | cmp byte ptr [esi + eax], 0x5c $sequence_14 = { ff15???????? 85c0 752b 8d4c2410 51 56 } // n = 6, score = 200 // ff15???????? | // 85c0 | test eax, eax // 752b | jne 0x2d // 8d4c2410 | lea ecx, dword ptr [esp + 0x10] // 51 | push ecx // 56 | push esi $sequence_15 = { 81ca00ffffff 42 0fb6ca 8a1c01 885c2424 0fb6db 03de } // n = 7, score = 200 // 81ca00ffffff | or edx, 0xffffff00 // 42 | inc edx // 0fb6ca | movzx ecx, dl // 8a1c01 | mov bl, byte ptr [ecx + eax] // 885c2424 | mov byte ptr [esp + 0x24], bl // 0fb6db | movzx ebx, bl // 03de | add ebx, esi 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