Keylogger.
rule win_aytoke_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.aytoke." 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.aytoke" 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 = { 40 84c9 75f9 2bc2 03f0 33ff 0fbe0e } // n = 7, score = 200 // 40 | inc eax // 84c9 | test cl, cl // 75f9 | jne 0xfffffffb // 2bc2 | sub eax, edx // 03f0 | add esi, eax // 33ff | xor edi, edi // 0fbe0e | movsx ecx, byte ptr [esi] $sequence_1 = { 1e 1f 2021 2223 244d 4d 4d } // n = 7, score = 200 // 1e | push ds // 1f | pop ds // 2021 | and byte ptr [ecx], ah // 2223 | and ah, byte ptr [ebx] // 244d | and al, 0x4d // 4d | dec ebp // 4d | dec ebp $sequence_2 = { 8d85ecfcffff 8d5001 8a08 40 84c9 } // n = 5, score = 200 // 8d85ecfcffff | lea eax, [ebp - 0x314] // 8d5001 | lea edx, [eax + 1] // 8a08 | mov cl, byte ptr [eax] // 40 | inc eax // 84c9 | test cl, cl $sequence_3 = { 68???????? e8???????? be01000000 83c404 } // n = 4, score = 200 // 68???????? | // e8???????? | // be01000000 | mov esi, 1 // 83c404 | add esp, 4 $sequence_4 = { e9???????? 33c0 8bff 0fb78884384100 } // n = 4, score = 200 // e9???????? | // 33c0 | xor eax, eax // 8bff | mov edi, edi // 0fb78884384100 | movzx ecx, word ptr [eax + 0x413884] $sequence_5 = { 33f6 a1???????? 8b0d???????? 8b15???????? 8985a8f9ffff 8d85bcf9ffff } // n = 6, score = 200 // 33f6 | xor esi, esi // a1???????? | // 8b0d???????? | // 8b15???????? | // 8985a8f9ffff | mov dword ptr [ebp - 0x658], eax // 8d85bcf9ffff | lea eax, [ebp - 0x644] $sequence_6 = { 881438 46 47 ebd7 8b8dd8fbffff } // n = 5, score = 200 // 881438 | mov byte ptr [eax + edi], dl // 46 | inc esi // 47 | inc edi // ebd7 | jmp 0xffffffd9 // 8b8dd8fbffff | mov ecx, dword ptr [ebp - 0x428] $sequence_7 = { 8d55ec 52 b902000000 56 8945f0 66894dec ff15???????? } // n = 7, score = 200 // 8d55ec | lea edx, [ebp - 0x14] // 52 | push edx // b902000000 | mov ecx, 2 // 56 | push esi // 8945f0 | mov dword ptr [ebp - 0x10], eax // 66894dec | mov word ptr [ebp - 0x14], cx // ff15???????? | $sequence_8 = { 40 83f816 72ee 33c0 5d c3 8b04c54c494100 } // n = 7, score = 200 // 40 | inc eax // 83f816 | cmp eax, 0x16 // 72ee | jb 0xfffffff0 // 33c0 | xor eax, eax // 5d | pop ebp // c3 | ret // 8b04c54c494100 | mov eax, dword ptr [eax*8 + 0x41494c] $sequence_9 = { 83e61f 8d3c8d00c44100 8b0f c1e606 833c0eff 7535 } // n = 6, score = 200 // 83e61f | and esi, 0x1f // 8d3c8d00c44100 | lea edi, [ecx*4 + 0x41c400] // 8b0f | mov ecx, dword ptr [edi] // c1e606 | shl esi, 6 // 833c0eff | cmp dword ptr [esi + ecx], -1 // 7535 | jne 0x37 condition: 7 of them and filesize < 425984 }
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