Actor(s): Void Manticore
A Windows version of the BiBi wiper that was found by BlackBerry.
rule win_bibi_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.bibi." 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.bibi" 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 = { 8bda 4c8d05a25a0100 488bf9 488d1538470100 b904000000 e8???????? 8bd3 } // n = 7, score = 100 // 8bda | mov eax, edi // 4c8d05a25a0100 | dec ecx // 488bf9 | mov edx, esi // 488d1538470100 | inc ecx // b904000000 | mov ecx, esp // e8???????? | // 8bd3 | dec eax $sequence_1 = { 7403 48ffcf 410fb6d3 4c8d0d07f10000 83f201 03d2 8bc2 } // n = 7, score = 100 // 7403 | mov word ptr [esp + 0x38], si // 48ffcf | dec eax // 410fb6d3 | mov edx, dword ptr [esp + 0xb0] // 4c8d0d07f10000 | dec eax // 83f201 | cmp edx, 8 // 03d2 | jb 0x3d0 // 8bc2 | dec eax $sequence_2 = { 8bc7 f00fc14108 83f801 0f8540f4ffff } // n = 4, score = 100 // 8bc7 | nop // f00fc14108 | mov ecx, edx // 83f801 | dec ebp // 0f8540f4ffff | lea eax, [eax + 4] $sequence_3 = { 66f3ab 498d0410 6645892441 eb0b 4c8bca 488bce e8???????? } // n = 7, score = 100 // 66f3ab | dec eax // 498d0410 | mov eax, dword ptr [ebp - 0x31] // 6645892441 | dec ecx // eb0b | cmove eax, edi // 4c8bca | dec eax // 488bce | mov dword ptr [ebp - 0x31], eax // e8???????? | $sequence_4 = { 4883ec20 33f6 4533f6 4863ce 488d3db8e70100 } // n = 5, score = 100 // 4883ec20 | sub esp, 0x38 // 33f6 | dec esp // 4533f6 | arpl cx, bp // 4863ce | dec esp // 488d3db8e70100 | lea ecx, [0xfffebee9] $sequence_5 = { c5fb102d???????? c4e2c9abe9 f2410f1004c1 488d15a2bf0000 } // n = 4, score = 100 // c5fb102d???????? | // c4e2c9abe9 | add eax, 0x24 // f2410f1004c1 | jne 0x20 // 488d15a2bf0000 | dec eax $sequence_6 = { e8???????? 33c0 884548 b801000000 864548 458bf5 } // n = 6, score = 100 // e8???????? | // 33c0 | mov dword ptr [esp + 0x30], ebx // 884548 | inc ebp // b801000000 | xor ecx, ecx // 864548 | mov ecx, dword ptr [esp + 0x48] // 458bf5 | lea edx, [eax + 1] $sequence_7 = { 488d41f8 4883f81f 773e 498bc8 e8???????? 4d896710 49c7471807000000 } // n = 7, score = 100 // 488d41f8 | jb 0x1db // 4883f81f | dec eax // 773e | lea edi, [ecx + 5] // 498bc8 | dec eax // e8???????? | // 4d896710 | mov dword ptr [esp + 0x48], edi // 49c7471807000000 | dec eax $sequence_8 = { 488bcb 48837b1808 7208 488b0b 0f1f440000 48ffc0 66833c4100 } // n = 7, score = 100 // 488bcb | dec eax // 48837b1808 | mov ecx, ebx // 7208 | dec eax // 488b0b | lea edx, [0x192c6] // 0f1f440000 | dec eax // 48ffc0 | mov ecx, ebx // 66833c4100 | mov eax, 8 $sequence_9 = { 44897c2420 0f57c0 0f1145c7 f30f7f45b7 4c897dc7 } // n = 5, score = 100 // 44897c2420 | lea ecx, [edi + 0x28] // 0f57c0 | dec eax // 0f1145c7 | lea edx, [ebx + 0x28] // f30f7f45b7 | movups xmmword ptr [eax + 0x10], xmm1 // 4c897dc7 | dec eax condition: 7 of them and filesize < 462848 }
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