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 = "2026-05-04" 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 = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 3bd6 7503 8d5014 895010 8931 8b4810 8931 } // n = 7, score = 400 // 3bd6 | cmp edx, esi // 7503 | jne 5 // 8d5014 | lea edx, [eax + 0x14] // 895010 | mov dword ptr [eax + 0x10], edx // 8931 | mov dword ptr [ecx], esi // 8b4810 | mov ecx, dword ptr [eax + 0x10] // 8931 | mov dword ptr [ecx], esi $sequence_1 = { 46 e8???????? 0137 2933 33c0 } // n = 5, score = 400 // 46 | inc esi // e8???????? | // 0137 | add dword ptr [edi], esi // 2933 | sub dword ptr [ebx], esi // 33c0 | xor eax, eax $sequence_2 = { 3bd7 7305 e8???????? 8bd0 2bd1 8d0c3a } // n = 6, score = 400 // 3bd7 | cmp edx, edi // 7305 | jae 7 // e8???????? | // 8bd0 | mov edx, eax // 2bd1 | sub edx, ecx // 8d0c3a | lea ecx, [edx + edi] $sequence_3 = { 3bd7 7215 7704 3bc3 } // n = 4, score = 400 // 3bd7 | cmp edx, edi // 7215 | jb 0x17 // 7704 | ja 6 // 3bc3 | cmp eax, ebx $sequence_4 = { 3bd7 7305 e8???????? 03c7 3bd8 0f83be000000 } // n = 6, score = 400 // 3bd7 | cmp edx, edi // 7305 | jae 7 // e8???????? | // 03c7 | add eax, edi // 3bd8 | cmp ebx, eax // 0f83be000000 | jae 0xc4 $sequence_5 = { 3bd6 7505 8d55d8 eb16 } // n = 4, score = 400 // 3bd6 | cmp edx, esi // 7505 | jne 7 // 8d55d8 | lea edx, [ebp - 0x28] // eb16 | jmp 0x18 $sequence_6 = { 3bd7 0f8440010000 397e14 0f8437010000 } // n = 4, score = 400 // 3bd7 | cmp edx, edi // 0f8440010000 | je 0x146 // 397e14 | cmp dword ptr [esi + 0x14], edi // 0f8437010000 | je 0x13d $sequence_7 = { 3bd6 7505 8d55e0 eb16 } // n = 4, score = 400 // 3bd6 | cmp edx, esi // 7505 | jne 7 // 8d55e0 | lea edx, [ebp - 0x20] // eb16 | jmp 0x18 $sequence_8 = { 8906 7518 5f 5e 5b } // n = 5, score = 200 // 8906 | mov dword ptr [esi], eax // 7518 | jne 0x1a // 5f | pop edi // 5e | pop esi // 5b | pop ebx $sequence_9 = { a1???????? 83c414 85c0 7432 50 ff15???????? 8d443001 } // n = 7, score = 200 // a1???????? | // 83c414 | add esp, 0x14 // 85c0 | test eax, eax // 7432 | je 0x34 // 50 | push eax // ff15???????? | // 8d443001 | lea eax, [eax + esi + 1] $sequence_10 = { 5d 33c0 5b 83c414 c3 6a00 6a00 } // n = 7, score = 200 // 5d | pop ebp // 33c0 | xor eax, eax // 5b | pop ebx // 83c414 | add esp, 0x14 // c3 | ret // 6a00 | push 0 // 6a00 | push 0 $sequence_11 = { 83c414 85ff 752d 6a0c e8???????? 68???????? 8bf0 } // n = 7, score = 200 // 83c414 | add esp, 0x14 // 85ff | test edi, edi // 752d | jne 0x2f // 6a0c | push 0xc // e8???????? | // 68???????? | // 8bf0 | mov esi, eax $sequence_12 = { 03fe e8???????? 8bd8 83c408 85db 0f84a8000000 3bdf } // n = 7, score = 200 // 03fe | add edi, esi // e8???????? | // 8bd8 | mov ebx, eax // 83c408 | add esp, 8 // 85db | test ebx, ebx // 0f84a8000000 | je 0xae // 3bdf | cmp ebx, edi $sequence_13 = { 6801000080 e8???????? 8d442424 50 8d4c242c 51 53 } // n = 7, score = 200 // 6801000080 | push 0x80000001 // e8???????? | // 8d442424 | lea eax, [esp + 0x24] // 50 | push eax // 8d4c242c | lea ecx, [esp + 0x2c] // 51 | push ecx // 53 | push ebx $sequence_14 = { b801000000 83c408 c3 8b0c24 53 } // n = 5, score = 200 // b801000000 | mov eax, 1 // 83c408 | add esp, 8 // c3 | ret // 8b0c24 | mov ecx, dword ptr [esp] // 53 | push ebx $sequence_15 = { 59 5e c3 56 57 33f6 ff74240c } // n = 7, score = 200 // 59 | pop ecx // 5e | pop esi // c3 | ret // 56 | push esi // 57 | push edi // 33f6 | xor esi, esi // ff74240c | push dword ptr [esp + 0xc] 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. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY