Ransomware.
rule win_gibberish_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.gibberish." 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.gibberish" 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 = { 8d5e02 8bfa eb1b 3acd 7411 6a3f 59 } // n = 7, score = 100 // 8d5e02 | lea ebx, [esi + 2] // 8bfa | mov edi, edx // eb1b | jmp 0x1d // 3acd | cmp cl, ch // 7411 | je 0x13 // 6a3f | push 0x3f // 59 | pop ecx $sequence_1 = { 330cc5e2a14700 314c2414 8b4c2424 c1e908 0fb6c3 c1eb08 8b0ccde3a14700 } // n = 7, score = 100 // 330cc5e2a14700 | xor ecx, dword ptr [eax*8 + 0x47a1e2] // 314c2414 | xor dword ptr [esp + 0x14], ecx // 8b4c2424 | mov ecx, dword ptr [esp + 0x24] // c1e908 | shr ecx, 8 // 0fb6c3 | movzx eax, bl // c1eb08 | shr ebx, 8 // 8b0ccde3a14700 | mov ecx, dword ptr [ecx*8 + 0x47a1e3] $sequence_2 = { e9???????? 83e904 e9???????? 3b0d???????? f27502 } // n = 5, score = 100 // e9???????? | // 83e904 | sub ecx, 4 // e9???????? | // 3b0d???????? | // f27502 | bnd jne 5 $sequence_3 = { 0f849a000000 68???????? 8d85c4f9ffff 50 ff15???????? 85c0 7467 } // n = 7, score = 100 // 0f849a000000 | je 0xa0 // 68???????? | // 8d85c4f9ffff | lea eax, [ebp - 0x63c] // 50 | push eax // ff15???????? | // 85c0 | test eax, eax // 7467 | je 0x69 $sequence_4 = { 57 8d1c85d8b54700 8b03 90 8b15???????? 83cfff } // n = 6, score = 100 // 57 | push edi // 8d1c85d8b54700 | lea ebx, [eax*4 + 0x47b5d8] // 8b03 | mov eax, dword ptr [ebx] // 90 | nop // 8b15???????? | // 83cfff | or edi, 0xffffffff $sequence_5 = { ffd3 8b45d8 8d3446 33c0 83c602 663906 75c3 } // n = 7, score = 100 // ffd3 | call ebx // 8b45d8 | mov eax, dword ptr [ebp - 0x28] // 8d3446 | lea esi, [esi + eax*2] // 33c0 | xor eax, eax // 83c602 | add esi, 2 // 663906 | cmp word ptr [esi], ax // 75c3 | jne 0xffffffc5 $sequence_6 = { 8bf8 59 85ff 7465 8b859cfeffff 6a00 } // n = 6, score = 100 // 8bf8 | mov edi, eax // 59 | pop ecx // 85ff | test edi, edi // 7465 | je 0x67 // 8b859cfeffff | mov eax, dword ptr [ebp - 0x164] // 6a00 | push 0 $sequence_7 = { 83ec0c a1???????? 33c5 8945fc 53 56 33db } // n = 7, score = 100 // 83ec0c | sub esp, 0xc // a1???????? | // 33c5 | xor eax, ebp // 8945fc | mov dword ptr [ebp - 4], eax // 53 | push ebx // 56 | push esi // 33db | xor ebx, ebx $sequence_8 = { 6a00 51 ff731c 8bcb c7432000000000 ff5014 } // n = 6, score = 100 // 6a00 | push 0 // 51 | push ecx // ff731c | push dword ptr [ebx + 0x1c] // 8bcb | mov ecx, ebx // c7432000000000 | mov dword ptr [ebx + 0x20], 0 // ff5014 | call dword ptr [eax + 0x14] $sequence_9 = { 8d8da0feffff e8???????? 8d4de0 e8???????? 8d4dcc c745dcc4944500 e8???????? } // n = 7, score = 100 // 8d8da0feffff | lea ecx, [ebp - 0x160] // e8???????? | // 8d4de0 | lea ecx, [ebp - 0x20] // e8???????? | // 8d4dcc | lea ecx, [ebp - 0x34] // c745dcc4944500 | mov dword ptr [ebp - 0x24], 0x4594c4 // e8???????? | condition: 7 of them and filesize < 1068032 }
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