Actor(s): APT32
There is no description at this point.
rule win_cuegoe_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.cuegoe." 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.cuegoe" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { 8bce d3e3 895520 2bdf 23c3 89442428 e9???????? } // n = 7, score = 200 // 8bce | mov ecx, esi // d3e3 | shl ebx, cl // 895520 | mov dword ptr [ebp + 0x20], edx // 2bdf | sub ebx, edi // 23c3 | and eax, ebx // 89442428 | mov dword ptr [esp + 0x28], eax // e9???????? | $sequence_1 = { 897db0 897db4 e8???????? 59 397d94 7409 ff7594 } // n = 7, score = 200 // 897db0 | mov dword ptr [ebp - 0x50], edi // 897db4 | mov dword ptr [ebp - 0x4c], edi // e8???????? | // 59 | pop ecx // 397d94 | cmp dword ptr [ebp - 0x6c], edi // 7409 | je 0xb // ff7594 | push dword ptr [ebp - 0x6c] $sequence_2 = { 8d44243c c644247802 e8???????? 33f6 c644247801 39742460 740a } // n = 7, score = 200 // 8d44243c | lea eax, [esp + 0x3c] // c644247802 | mov byte ptr [esp + 0x78], 2 // e8???????? | // 33f6 | xor esi, esi // c644247801 | mov byte ptr [esp + 0x78], 1 // 39742460 | cmp dword ptr [esp + 0x60], esi // 740a | je 0xc $sequence_3 = { c645fc0c e8???????? 53 6a01 8db58c000000 c645fc0b e8???????? } // n = 7, score = 200 // c645fc0c | mov byte ptr [ebp - 4], 0xc // e8???????? | // 53 | push ebx // 6a01 | push 1 // 8db58c000000 | lea esi, [ebp + 0x8c] // c645fc0b | mov byte ptr [ebp - 4], 0xb // e8???????? | $sequence_4 = { 6a00 53 8d4d08 e8???????? 6a00 53 } // n = 6, score = 200 // 6a00 | push 0 // 53 | push ebx // 8d4d08 | lea ecx, [ebp + 8] // e8???????? | // 6a00 | push 0 // 53 | push ebx $sequence_5 = { 83c424 c3 5f 5e 5d b001 5b } // n = 7, score = 200 // 83c424 | add esp, 0x24 // c3 | ret // 5f | pop edi // 5e | pop esi // 5d | pop ebp // b001 | mov al, 1 // 5b | pop ebx $sequence_6 = { 6639459c 774b 8bc6 e8???????? 0fb74d9c 0fb7c0 83c109 } // n = 7, score = 200 // 6639459c | cmp word ptr [ebp - 0x64], ax // 774b | ja 0x4d // 8bc6 | mov eax, esi // e8???????? | // 0fb74d9c | movzx ecx, word ptr [ebp - 0x64] // 0fb7c0 | movzx eax, ax // 83c109 | add ecx, 9 $sequence_7 = { 8b4004 8b443828 897de0 85c0 7408 } // n = 5, score = 200 // 8b4004 | mov eax, dword ptr [eax + 4] // 8b443828 | mov eax, dword ptr [eax + edi + 0x28] // 897de0 | mov dword ptr [ebp - 0x20], edi // 85c0 | test eax, eax // 7408 | je 0xa $sequence_8 = { 8d442418 6a40 50 e8???????? 83c410 50 } // n = 6, score = 200 // 8d442418 | lea eax, [esp + 0x18] // 6a40 | push 0x40 // 50 | push eax // e8???????? | // 83c410 | add esp, 0x10 // 50 | push eax $sequence_9 = { e8???????? 8b30 8b7804 8d45e0 8bcb e8???????? 57 } // n = 7, score = 200 // e8???????? | // 8b30 | mov esi, dword ptr [eax] // 8b7804 | mov edi, dword ptr [eax + 4] // 8d45e0 | lea eax, [ebp - 0x20] // 8bcb | mov ecx, ebx // e8???????? | // 57 | push edi condition: 7 of them and filesize < 540672 }
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