There is no description at this point.
rule win_kasperagent_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.kasperagent." 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.kasperagent" 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 = { 8947f4 52 8bcb c6043800 e8???????? } // n = 5, score = 200 // 8947f4 | mov dword ptr [edi - 0xc], eax // 52 | push edx // 8bcb | mov ecx, ebx // c6043800 | mov byte ptr [eax + edi], 0 // e8???????? | $sequence_1 = { 8bf9 85db 7470 8b2d???????? 6a00 6a00 6a00 } // n = 7, score = 200 // 8bf9 | mov edi, ecx // 85db | test ebx, ebx // 7470 | je 0x72 // 8b2d???????? | // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 $sequence_2 = { 8bf1 8b7c241c e8???????? 33c9 85c0 0f95c1 85c9 } // n = 7, score = 200 // 8bf1 | mov esi, ecx // 8b7c241c | mov edi, dword ptr [esp + 0x1c] // e8???????? | // 33c9 | xor ecx, ecx // 85c0 | test eax, eax // 0f95c1 | setne cl // 85c9 | test ecx, ecx $sequence_3 = { 40 5e 5d c3 833d????????00 7515 68???????? } // n = 7, score = 200 // 40 | inc eax // 5e | pop esi // 5d | pop ebp // c3 | ret // 833d????????00 | // 7515 | jne 0x17 // 68???????? | $sequence_4 = { 8b4500 3b70f8 7f17 8970f4 8b5500 } // n = 5, score = 200 // 8b4500 | mov eax, dword ptr [ebp] // 3b70f8 | cmp esi, dword ptr [eax - 8] // 7f17 | jg 0x19 // 8970f4 | mov dword ptr [eax - 0xc], esi // 8b5500 | mov edx, dword ptr [ebp] $sequence_5 = { e8???????? 8b542424 8b4620 6a00 52 6a27 50 } // n = 7, score = 200 // e8???????? | // 8b542424 | mov edx, dword ptr [esp + 0x24] // 8b4620 | mov eax, dword ptr [esi + 0x20] // 6a00 | push 0 // 52 | push edx // 6a27 | push 0x27 // 50 | push eax $sequence_6 = { 663b44243c 750b b801000000 5f 5e } // n = 5, score = 200 // 663b44243c | cmp ax, word ptr [esp + 0x3c] // 750b | jne 0xd // b801000000 | mov eax, 1 // 5f | pop edi // 5e | pop esi $sequence_7 = { 56 57 8bf9 85db 7470 8b2d???????? 6a00 } // n = 7, score = 200 // 56 | push esi // 57 | push edi // 8bf9 | mov edi, ecx // 85db | test ebx, ebx // 7470 | je 0x72 // 8b2d???????? | // 6a00 | push 0 $sequence_8 = { 8bc7 5e 83c420 c20800 b801000000 894708 8bc7 } // n = 7, score = 200 // 8bc7 | mov eax, edi // 5e | pop esi // 83c420 | add esp, 0x20 // c20800 | ret 8 // b801000000 | mov eax, 1 // 894708 | mov dword ptr [edi + 8], eax // 8bc7 | mov eax, edi $sequence_9 = { 85c0 0f848a000000 56 8d4c2424 } // n = 4, score = 200 // 85c0 | test eax, eax // 0f848a000000 | je 0x90 // 56 | push esi // 8d4c2424 | lea ecx, [esp + 0x24] condition: 7 of them and filesize < 1605632 }
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