Actor(s): TA410
Keylogger.
rule win_unidentified_096_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.unidentified_096." 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.unidentified_096" malpedia_rule_date = "20230705" malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41" malpedia_version = "20230715" 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 = { e8???????? 83c418 c3 84c0 7418 } // n = 5, score = 100 // e8???????? | // 83c418 | add esp, 0x18 // c3 | ret // 84c0 | test al, al // 7418 | je 0x1a $sequence_1 = { a2???????? eb3b b025 a2???????? eb32 b05e } // n = 6, score = 100 // a2???????? | // eb3b | jmp 0x3d // b025 | mov al, 0x25 // a2???????? | // eb32 | jmp 0x34 // b05e | mov al, 0x5e $sequence_2 = { 25ffff0000 83c0d0 83f809 776a ff2485a4164000 b029 a2???????? } // n = 7, score = 100 // 25ffff0000 | and eax, 0xffff // 83c0d0 | add eax, -0x30 // 83f809 | cmp eax, 9 // 776a | ja 0x6c // ff2485a4164000 | jmp dword ptr [eax*4 + 0x4016a4] // b029 | mov al, 0x29 // a2???????? | $sequence_3 = { eb08 85ff 8ac1 7c02 } // n = 4, score = 100 // eb08 | jmp 0xa // 85ff | test edi, edi // 8ac1 | mov al, cl // 7c02 | jl 4 $sequence_4 = { 51 6a00 6803000010 53 } // n = 4, score = 100 // 51 | push ecx // 6a00 | push 0 // 6803000010 | push 0x10000003 // 53 | push ebx $sequence_5 = { 85ff 8ac1 7dd6 2c60 eb0b } // n = 5, score = 100 // 85ff | test edi, edi // 8ac1 | mov al, cl // 7dd6 | jge 0xffffffd8 // 2c60 | sub al, 0x60 // eb0b | jmp 0xd $sequence_6 = { 8bc8 8b442428 83c408 3d00010000 890d???????? c605????????00 } // n = 6, score = 100 // 8bc8 | mov ecx, eax // 8b442428 | mov eax, dword ptr [esp + 0x28] // 83c408 | add esp, 8 // 3d00010000 | cmp eax, 0x100 // 890d???????? | // c605????????00 | $sequence_7 = { 83c404 85f6 751f 8b44241c 8b4c2414 } // n = 5, score = 100 // 83c404 | add esp, 4 // 85f6 | test esi, esi // 751f | jne 0x21 // 8b44241c | mov eax, dword ptr [esp + 0x1c] // 8b4c2414 | mov ecx, dword ptr [esp + 0x14] $sequence_8 = { 56 e8???????? 8b4c2420 8b542418 } // n = 4, score = 100 // 56 | push esi // e8???????? | // 8b4c2420 | mov ecx, dword ptr [esp + 0x20] // 8b542418 | mov edx, dword ptr [esp + 0x18] $sequence_9 = { 83c424 8b4c242a 6683f930 0f8283000000 6683f939 777d } // n = 6, score = 100 // 83c424 | add esp, 0x24 // 8b4c242a | mov ecx, dword ptr [esp + 0x2a] // 6683f930 | cmp cx, 0x30 // 0f8283000000 | jb 0x89 // 6683f939 | cmp cx, 0x39 // 777d | ja 0x7f condition: 7 of them and filesize < 25648 }
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