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-09-17" 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 = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" 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 | test eax, eax // 4c8d05a25a0100 | test al, al // 488bf9 | jne 0x1a1 // 488d1538470100 | dec ecx // b904000000 | lea ecx, [ebp + 0x28] // e8???????? | // 8bd3 | test eax, eax $sequence_1 = { ff15???????? 488d15c0920100 488bcb 488905???????? ff15???????? } // n = 5, score = 100 // ff15???????? | // 488d15c0920100 | dec esp // 488bcb | mov dword ptr [eax + 8], ebp // 488905???????? | // ff15???????? | $sequence_2 = { 488d4f20 48837f3808 7204 488b4f20 41b809000000 488d9424f0020000 e8???????? } // n = 7, score = 100 // 488d4f20 | ret // 48837f3808 | ret // 7204 | dec eax // 488b4f20 | mov dword ptr [esp + 8], ebx // 41b809000000 | push ebp // 488d9424f0020000 | dec eax // e8???????? | $sequence_3 = { 664489742430 458d4601 488d159c940200 488d4c2430 e8???????? 90 488d542430 } // n = 7, score = 100 // 664489742430 | mov dword ptr [esp + 0x1a0], esp // 458d4601 | inc ebp // 488d159c940200 | lea eax, [esp + 4] // 488d4c2430 | dec eax // e8???????? | // 90 | lea edx, [0x28c84] // 488d542430 | dec eax $sequence_4 = { 49895008 41894020 41f6c204 7427 0fb60a 83e10f 4a0fbe841970390200 } // n = 7, score = 100 // 49895008 | mov eax, ebx // 41894020 | dec eax // 41f6c204 | add esp, 0x20 // 7427 | dec eax // 0fb60a | lea ecx, [eax + 8] // 83e10f | dec eax // 4a0fbe841970390200 | mov edx, edi $sequence_5 = { 498bc8 e8???????? 488d059dff0100 48897b38 48c7434007000000 488d4b08 66897b28 } // n = 7, score = 100 // 498bc8 | dec eax // e8???????? | // 488d059dff0100 | lea ecx, [ebp - 0x78] // 48897b38 | int3 // 48c7434007000000 | dec eax // 488d4b08 | lea ecx, [ebp - 0x71] // 66897b28 | dec ebp $sequence_6 = { 428a8c3180390200 4c2bc2 418b50fc d3ea 41895314 488b5c2410 4c2bc7 } // n = 7, score = 100 // 428a8c3180390200 | dec eax // 4c2bc2 | add ecx, eax // 418b50fc | dec eax // d3ea | inc edi // 41895314 | dec eax // 488b5c2410 | inc ecx // 4c2bc7 | dec eax $sequence_7 = { 48635708 4c8d3d2c24ffff 48035508 0fb60a 83e10f 4a0fbe843970390200 } // n = 6, score = 100 // 48635708 | mov dword ptr [esp + 0x28], eax // 4c8d3d2c24ffff | dec eax // 48035508 | mov dword ptr [esp + 0x20], ecx // 0fb60a | dec ecx // 83e10f | mov ecx, dword ptr [esp] // 4a0fbe843970390200 | inc ecx $sequence_8 = { 488d158a640200 488d4dbf e8???????? 488d4dbf } // n = 4, score = 100 // 488d158a640200 | mov ecx, dword ptr [esp + 0x248] // 488d4dbf | dec eax // e8???????? | // 488d4dbf | test ecx, ecx $sequence_9 = { 41bf01000000 4c89a42498000000 4c89a424a8000000 48c78424b000000007000000 48c78424c802000005000000 } // n = 5, score = 100 // 41bf01000000 | lea ecx, [0x15bc8] // 4c89a42498000000 | xor ecx, ecx // 4c89a424a8000000 | inc eax // 48c78424b000000007000000 | push ebx // 48c78424c802000005000000 | 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