There is no description at this point.
rule win_batel_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-29" version = "1" description = "Detects win.batel." 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.batel" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 33c0 5b c21000 3b0d???????? 7502 f3c3 e9???????? } // n = 7, score = 200 // 33c0 | xor eax, eax // 5b | pop ebx // c21000 | ret 0x10 // 3b0d???????? | // 7502 | jne 4 // f3c3 | ret // e9???????? | $sequence_1 = { 83ff5a 7ccd 5f 5e 5d 33c0 } // n = 6, score = 100 // 83ff5a | cmp edi, 0x5a // 7ccd | jl 0xffffffcf // 5f | pop edi // 5e | pop esi // 5d | pop ebp // 33c0 | xor eax, eax $sequence_2 = { 68404c5827 ff15???????? 47 81fff42f0000 } // n = 4, score = 100 // 68404c5827 | push 0x27584c40 // ff15???????? | // 47 | inc edi // 81fff42f0000 | cmp edi, 0x2ff4 $sequence_3 = { 7cec 56 57 6a40 6800100000 689e020000 } // n = 6, score = 100 // 7cec | jl 0xffffffee // 56 | push esi // 57 | push edi // 6a40 | push 0x40 // 6800100000 | push 0x1000 // 689e020000 | push 0x29e $sequence_4 = { 689d020000 8d8561fdffff 6a00 50 c68560fdffff00 e8???????? 83c40c } // n = 7, score = 100 // 689d020000 | push 0x29d // 8d8561fdffff | lea eax, [ebp - 0x29f] // 6a00 | push 0 // 50 | push eax // c68560fdffff00 | mov byte ptr [ebp - 0x2a0], 0 // e8???????? | // 83c40c | add esp, 0xc $sequence_5 = { 7412 ffd0 56 ffd3 } // n = 4, score = 100 // 7412 | je 0x14 // ffd0 | call eax // 56 | push esi // ffd3 | call ebx $sequence_6 = { 81eca0020000 68ee020000 ff15???????? 689d020000 } // n = 4, score = 100 // 81eca0020000 | sub esp, 0x2a0 // 68ee020000 | push 0x2ee // ff15???????? | // 689d020000 | push 0x29d $sequence_7 = { 33c9 b8???????? 8a10 88940d60fdffff 83c003 41 3d???????? } // n = 7, score = 100 // 33c9 | xor ecx, ecx // b8???????? | // 8a10 | mov dl, byte ptr [eax] // 88940d60fdffff | mov byte ptr [ebp + ecx - 0x2a0], dl // 83c003 | add eax, 3 // 41 | inc ecx // 3d???????? | $sequence_8 = { 56 ffd3 68005c2605 ffd5 47 } // n = 5, score = 100 // 56 | push esi // ffd3 | call ebx // 68005c2605 | push 0x5265c00 // ffd5 | call ebp // 47 | inc edi $sequence_9 = { 75eb b90b010000 66398818002300 75dd } // n = 4, score = 100 // 75eb | jne 0xffffffed // b90b010000 | mov ecx, 0x10b // 66398818002300 | cmp word ptr [eax + 0x230018], cx // 75dd | jne 0xffffffdf $sequence_10 = { 68a00f0000 ffd5 8b1d???????? bf01000000 } // n = 4, score = 100 // 68a00f0000 | push 0xfa0 // ffd5 | call ebp // 8b1d???????? | // bf01000000 | mov edi, 1 $sequence_11 = { 33c0 40 c20c00 55 8bec 81eca0020000 } // n = 6, score = 100 // 33c0 | xor eax, eax // 40 | inc eax // c20c00 | ret 0xc // 55 | push ebp // 8bec | mov ebp, esp // 81eca0020000 | sub esp, 0x2a0 $sequence_12 = { ffd5 47 83ff5a 7ccd } // n = 4, score = 100 // ffd5 | call ebp // 47 | inc edi // 83ff5a | cmp edi, 0x5a // 7ccd | jl 0xffffffcf $sequence_13 = { 6a40 6800100000 689e020000 6a00 ff15???????? 8bf8 b9a7000000 } // n = 7, score = 100 // 6a40 | push 0x40 // 6800100000 | push 0x1000 // 689e020000 | push 0x29e // 6a00 | push 0 // ff15???????? | // 8bf8 | mov edi, eax // b9a7000000 | mov ecx, 0xa7 $sequence_14 = { ff15???????? 8bf8 b9a7000000 8db560fdffff f3a5 66a5 } // n = 6, score = 100 // ff15???????? | // 8bf8 | mov edi, eax // b9a7000000 | mov ecx, 0xa7 // 8db560fdffff | lea esi, [ebp - 0x2a0] // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // 66a5 | movsw word ptr es:[edi], word ptr [esi] $sequence_15 = { f3a5 66a5 ffd0 5f } // n = 4, score = 100 // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // 66a5 | movsw word ptr es:[edi], word ptr [esi] // ffd0 | call eax // 5f | pop edi $sequence_16 = { 6800002300 e8???????? a3???????? 391d???????? 755c 50 } // n = 6, score = 100 // 6800002300 | push 0x230000 // e8???????? | // a3???????? | // 391d???????? | // 755c | jne 0x5e // 50 | push eax $sequence_17 = { 56 ff15???????? 85c0 7419 ffd0 } // n = 5, score = 100 // 56 | push esi // ff15???????? | // 85c0 | test eax, eax // 7419 | je 0x1b // ffd0 | call eax $sequence_18 = { 56 57 68a00f0000 ffd5 } // n = 4, score = 100 // 56 | push esi // 57 | push edi // 68a00f0000 | push 0xfa0 // ffd5 | call ebp $sequence_19 = { e8???????? 833d????????00 750c 68c6172300 ff15???????? 59 } // n = 6, score = 100 // e8???????? | // 833d????????00 | // 750c | jne 0xe // 68c6172300 | push 0x2317c6 // ff15???????? | // 59 | pop ecx $sequence_20 = { 8d642400 68???????? ff15???????? 8bf0 85f6 7422 } // n = 6, score = 100 // 8d642400 | lea esp, [esp] // 68???????? | // ff15???????? | // 8bf0 | mov esi, eax // 85f6 | test esi, esi // 7422 | je 0x24 $sequence_21 = { 57 ff15???????? 391d???????? 7419 6880332300 e8???????? } // n = 6, score = 100 // 57 | push edi // ff15???????? | // 391d???????? | // 7419 | je 0x1b // 6880332300 | push 0x233380 // e8???????? | $sequence_22 = { 6818302300 ff15???????? 83c414 a3???????? 85c0 } // n = 5, score = 100 // 6818302300 | push 0x233018 // ff15???????? | // 83c414 | add esp, 0x14 // a3???????? | // 85c0 | test eax, eax condition: 7 of them and filesize < 49152 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY