Malware family observed in conjunction with PlugX infrastructure in 2013.
rule win_bee_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.bee." 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.bee" 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 = { 3beb 7cb8 8b07 8b5004 8bcf ffd2 5f } // n = 7, score = 100 // 3beb | cmp ebp, ebx // 7cb8 | jl 0xffffffba // 8b07 | mov eax, dword ptr [edi] // 8b5004 | mov edx, dword ptr [eax + 4] // 8bcf | mov ecx, edi // ffd2 | call edx // 5f | pop edi $sequence_1 = { 8bda e8???????? 8b542424 8b4210 8b5510 50 56 } // n = 7, score = 100 // 8bda | mov ebx, edx // e8???????? | // 8b542424 | mov edx, dword ptr [esp + 0x24] // 8b4210 | mov eax, dword ptr [edx + 0x10] // 8b5510 | mov edx, dword ptr [ebp + 0x10] // 50 | push eax // 56 | push esi $sequence_2 = { ff15???????? 85db 0f845affffff 8b8e98000000 51 ff15???????? 85c0 } // n = 7, score = 100 // ff15???????? | // 85db | test ebx, ebx // 0f845affffff | je 0xffffff60 // 8b8e98000000 | mov ecx, dword ptr [esi + 0x98] // 51 | push ecx // ff15???????? | // 85c0 | test eax, eax $sequence_3 = { 898868010000 8b7e10 397e0c 7605 e8???????? 8b5e0c 8b2e } // n = 7, score = 100 // 898868010000 | mov dword ptr [eax + 0x168], ecx // 8b7e10 | mov edi, dword ptr [esi + 0x10] // 397e0c | cmp dword ptr [esi + 0xc], edi // 7605 | jbe 7 // e8???????? | // 8b5e0c | mov ebx, dword ptr [esi + 0xc] // 8b2e | mov ebp, dword ptr [esi] $sequence_4 = { 57 a1???????? 33c4 50 8d442424 64a300000000 807c243400 } // n = 7, score = 100 // 57 | push edi // a1???????? | // 33c4 | xor eax, esp // 50 | push eax // 8d442424 | lea eax, [esp + 0x24] // 64a300000000 | mov dword ptr fs:[0], eax // 807c243400 | cmp byte ptr [esp + 0x34], 0 $sequence_5 = { 83c404 396c2474 7304 8d4c2460 8d542478 52 e8???????? } // n = 7, score = 100 // 83c404 | add esp, 4 // 396c2474 | cmp dword ptr [esp + 0x74], ebp // 7304 | jae 6 // 8d4c2460 | lea ecx, [esp + 0x60] // 8d542478 | lea edx, [esp + 0x78] // 52 | push edx // e8???????? | $sequence_6 = { 57 8bf9 8b4f1c 2b4f18 } // n = 4, score = 100 // 57 | push edi // 8bf9 | mov edi, ecx // 8b4f1c | mov ecx, dword ptr [edi + 0x1c] // 2b4f18 | sub ecx, dword ptr [edi + 0x18] $sequence_7 = { 8b542424 56 6a00 52 e8???????? 8b7c2434 83c40c } // n = 7, score = 100 // 8b542424 | mov edx, dword ptr [esp + 0x24] // 56 | push esi // 6a00 | push 0 // 52 | push edx // e8???????? | // 8b7c2434 | mov edi, dword ptr [esp + 0x34] // 83c40c | add esp, 0xc $sequence_8 = { 56 8bf0 57 3bf5 0f8417010000 8b4510 8b550c } // n = 7, score = 100 // 56 | push esi // 8bf0 | mov esi, eax // 57 | push edi // 3bf5 | cmp esi, ebp // 0f8417010000 | je 0x11d // 8b4510 | mov eax, dword ptr [ebp + 0x10] // 8b550c | mov edx, dword ptr [ebp + 0xc] $sequence_9 = { 51 c744242c94e24100 e8???????? 8b5508 8b12 66893410 830102 } // n = 7, score = 100 // 51 | push ecx // c744242c94e24100 | mov dword ptr [esp + 0x2c], 0x41e294 // e8???????? | // 8b5508 | mov edx, dword ptr [ebp + 8] // 8b12 | mov edx, dword ptr [edx] // 66893410 | mov word ptr [eax + edx], si // 830102 | add dword ptr [ecx], 2 condition: 7 of them and filesize < 394240 }
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