Actor(s): Turla Group
A keylogger used by Turla.
rule win_ksl0t_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2020-12-22" version = "1" description = "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.ksl0t" malpedia_rule_date = "20201222" malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130" malpedia_version = "20201023" 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 = { e9???????? 488b05???????? 4839442460 0f8428040000 488b442460 488905???????? 488d8c2480080000 } // n = 7, score = 200 // e9???????? | // 488b05???????? | // 4839442460 | mov byte ptr [esp + 0xa6], 0x38 // 0f8428040000 | dec eax // 488b442460 | cmp dword ptr [esp + 0x60], eax // 488905???????? | // 488d8c2480080000 | je 0x42e $sequence_1 = { c68424a10000003c c68424a200000039 c68424a300000030 c68424a400000001 c68424a50000003c c68424a600000038 } // n = 6, score = 200 // c68424a10000003c | lea edx, [0xc67d] // c68424a200000039 | mov byte ptr [esp + 0xa1], 0x3c // c68424a300000030 | mov byte ptr [esp + 0xa2], 0x39 // c68424a400000001 | mov byte ptr [esp + 0xa3], 0x30 // c68424a50000003c | mov byte ptr [esp + 0xa4], 1 // c68424a600000038 | mov byte ptr [esp + 0xa5], 0x3c $sequence_2 = { 8d44241c 50 55 ffd7 8d4c242c 8bd8 } // n = 6, score = 200 // 8d44241c | nop // 50 | push 0x1c // 55 | push edi // ffd7 | add esp, 0xc // 8d4c242c | mov esi, 0x1c // 8bd8 | mov dword ptr [ebp - 0x1c], esi $sequence_3 = { ff15???????? 85c0 0f853c010000 8b8424f4080000 488b4c2448 } // n = 5, score = 200 // ff15???????? | // 85c0 | mov byte ptr [esp + 0x6b], 6 // 0f853c010000 | movzx eax, byte ptr [ecx + eax + 0x387c] // 8b8424f4080000 | mov eax, dword ptr [ecx + eax*4 + 0x37a0] // 488b4c2448 | dec eax $sequence_4 = { 0fb684017c380000 8b8481a0370000 4803c1 ffe0 } // n = 4, score = 200 // 0fb684017c380000 | lea ecx, [esp + 0x8b0] // 8b8481a0370000 | dec esp // 4803c1 | mov eax, eax // ffe0 | mov byte ptr [esp + 0x23f], 2 $sequence_5 = { 88842499000000 88842482000000 c68424c900000031 c68424ca00000039 } // n = 4, score = 200 // 88842499000000 | mov ecx, dword ptr [esp + 0x48] // 88842482000000 | jne 0xb // c68424c900000031 | dec eax // c68424ca00000039 | lea ecx, [0x45e2] $sequence_6 = { 6a1c 68???????? 57 ff15???????? 83c40c be1c000000 8975e4 } // n = 7, score = 200 // 6a1c | call edi // 68???????? | // 57 | lea ecx, [esp + 0x110] // ff15???????? | // 83c40c | push ecx // be1c000000 | push ebx // 8975e4 | mov ecx, 0x3f $sequence_7 = { c684243f02000002 c684244002000055 c644246812 c644246930 c644246a21 c644246b06 } // n = 6, score = 200 // c684243f02000002 | mov eax, dword ptr [esp + 0x14b4] // c684244002000055 | dec eax // c644246812 | lea edx, [0xcaff] // c644246930 | dec eax // c644246a21 | lea ecx, [esp + 0x8b0] // c644246b06 | dec eax $sequence_8 = { 448b8424b4140000 488d15ffca0000 488d8c24b0080000 ff15???????? 488d8c24b0080000 ff15???????? 4c8bc0 } // n = 7, score = 200 // 448b8424b4140000 | dec eax // 488d15ffca0000 | mov eax, dword ptr [esp + 0x60] // 488d8c24b0080000 | dec eax // ff15???????? | // 488d8c24b0080000 | lea ecx, [esp + 0x880] // ff15???????? | // 4c8bc0 | inc esp $sequence_9 = { 8d8c2410010000 51 53 894674 ffd7 894678 8d942428030000 } // n = 7, score = 200 // 8d8c2410010000 | xor eax, eax // 51 | mov ecx, 0x3fe // 53 | rep stosb byte ptr es:[edi], al // 894674 | test eax, eax // ffd7 | jne 0x144 // 894678 | mov eax, dword ptr [esp + 0x8f4] // 8d942428030000 | dec eax $sequence_10 = { b93f000000 bf???????? bb???????? bd???????? b8???????? } // n = 5, score = 200 // b93f000000 | lea edx, [esp + 0x328] // bf???????? | // bb???????? | // bd???????? | // b8???????? | $sequence_11 = { ff15???????? 3bc7 7534 ff15???????? } // n = 4, score = 200 // ff15???????? | // 3bc7 | mov byte ptr [esp + 0x99], al // 7534 | mov byte ptr [esp + 0x82], al // ff15???????? | $sequence_12 = { ff15???????? c705????????01000000 eb28 488d157dc60000 } // n = 4, score = 200 // ff15???????? | // c705????????01000000 | // eb28 | jmp 0x2a // 488d157dc60000 | dec eax $sequence_13 = { 72f3 33c0 90 308c0480000000 } // n = 4, score = 200 // 72f3 | jmp 4 // 33c0 | xor ecx, ecx // 90 | lea ecx, [esp + 0x110] // 308c0480000000 | push ecx $sequence_14 = { 488dbc24a2100000 33c0 b9fe030000 f3aa } // n = 4, score = 200 // 488dbc24a2100000 | mov byte ptr [esp + 0x240], 0x55 // 33c0 | mov byte ptr [esp + 0x68], 0x12 // b9fe030000 | mov byte ptr [esp + 0x69], 0x30 // f3aa | mov byte ptr [esp + 0x6a], 0x21 $sequence_15 = { 88942429010000 8894242a010000 c684242b0100003e c684242c01000010 c684242d0100002d 888c242e010000 c68424cc01000006 } // n = 7, score = 200 // 88942429010000 | cmp eax, edi // 8894242a010000 | jne 0x38 // c684242b0100003e | xor byte ptr [esp + eax + 0x17c], cl // c684242c01000010 | inc eax // c684242d0100002d | cmp eax, 0x11 // 888c242e010000 | jb 0xfffffff8 // c68424cc01000006 | xor eax, eax condition: 7 of them and filesize < 196608 }
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