There is no description at this point.
rule win_confucius_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.confucius." 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.confucius" 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 = { 56 8bf8 e8???????? 83c438 c686ec02000001 8bc7 5f } // n = 7, score = 100 // 56 | push esi // 8bf8 | mov edi, eax // e8???????? | // 83c438 | add esp, 0x38 // c686ec02000001 | mov byte ptr [esi + 0x2ec], 1 // 8bc7 | mov eax, edi // 5f | pop edi $sequence_1 = { 83c444 c3 6a03 53 e8???????? 83c408 89442458 } // n = 7, score = 100 // 83c444 | add esp, 0x44 // c3 | ret // 6a03 | push 3 // 53 | push ebx // e8???????? | // 83c408 | add esp, 8 // 89442458 | mov dword ptr [esp + 0x58], eax $sequence_2 = { 56 53 55 e8???????? 83c40c 85c0 0f85da050000 } // n = 7, score = 100 // 56 | push esi // 53 | push ebx // 55 | push ebp // e8???????? | // 83c40c | add esp, 0xc // 85c0 | test eax, eax // 0f85da050000 | jne 0x5e0 $sequence_3 = { 53 53 53 8d45c8 50 ff15???????? ffd6 } // n = 7, score = 100 // 53 | push ebx // 53 | push ebx // 53 | push ebx // 8d45c8 | lea eax, [ebp - 0x38] // 50 | push eax // ff15???????? | // ffd6 | call esi $sequence_4 = { 68???????? ff75fc e8???????? 8345fc08 8bf7 8d7e04 } // n = 6, score = 100 // 68???????? | // ff75fc | push dword ptr [ebp - 4] // e8???????? | // 8345fc08 | add dword ptr [ebp - 4], 8 // 8bf7 | mov esi, edi // 8d7e04 | lea edi, [esi + 4] $sequence_5 = { 68c2000000 ff750c ffd7 ff750c ff15???????? 381d???????? 740c } // n = 7, score = 100 // 68c2000000 | push 0xc2 // ff750c | push dword ptr [ebp + 0xc] // ffd7 | call edi // ff750c | push dword ptr [ebp + 0xc] // ff15???????? | // 381d???????? | // 740c | je 0xe $sequence_6 = { 68???????? 56 e8???????? 5e c20400 56 8b74240c } // n = 7, score = 100 // 68???????? | // 56 | push esi // e8???????? | // 5e | pop esi // c20400 | ret 4 // 56 | push esi // 8b74240c | mov esi, dword ptr [esp + 0xc] $sequence_7 = { 740c c645fe01 391d???????? 7503 885dfe 391d???????? 7414 } // n = 7, score = 100 // 740c | je 0xe // c645fe01 | mov byte ptr [ebp - 2], 1 // 391d???????? | // 7503 | jne 5 // 885dfe | mov byte ptr [ebp - 2], bl // 391d???????? | // 7414 | je 0x16 $sequence_8 = { 50 e8???????? 891d???????? 391d???????? 742d 381d???????? 0f85a0000000 } // n = 7, score = 100 // 50 | push eax // e8???????? | // 891d???????? | // 391d???????? | // 742d | je 0x2f // 381d???????? | // 0f85a0000000 | jne 0xa6 $sequence_9 = { 5d 5b 83c408 c3 8b4650 c6464e00 85c0 } // n = 7, score = 100 // 5d | pop ebp // 5b | pop ebx // 83c408 | add esp, 8 // c3 | ret // 8b4650 | mov eax, dword ptr [esi + 0x50] // c6464e00 | mov byte ptr [esi + 0x4e], 0 // 85c0 | test eax, eax $sequence_10 = { 52 803a3c 7507 68???????? eb05 68???????? 51 } // n = 7, score = 100 // 52 | push edx // 803a3c | cmp byte ptr [edx], 0x3c // 7507 | jne 9 // 68???????? | // eb05 | jmp 7 // 68???????? | // 51 | push ecx $sequence_11 = { 5f 5e 5d 5b 81c49c090000 c3 8d9424a8000000 } // n = 7, score = 100 // 5f | pop edi // 5e | pop esi // 5d | pop ebp // 5b | pop ebx // 81c49c090000 | add esp, 0x99c // c3 | ret // 8d9424a8000000 | lea edx, [esp + 0xa8] $sequence_12 = { 6a00 53 e8???????? 8d442420 57 50 8d4c2440 } // n = 7, score = 100 // 6a00 | push 0 // 53 | push ebx // e8???????? | // 8d442420 | lea eax, [esp + 0x20] // 57 | push edi // 50 | push eax // 8d4c2440 | lea ecx, [esp + 0x40] $sequence_13 = { 53 ff7510 57 50 ff15???????? eb12 } // n = 6, score = 100 // 53 | push ebx // ff7510 | push dword ptr [ebp + 0x10] // 57 | push edi // 50 | push eax // ff15???????? | // eb12 | jmp 0x14 $sequence_14 = { 7421 6800040000 57 8d8500f8ffff 50 e8???????? 8d8500f8ffff } // n = 7, score = 100 // 7421 | je 0x23 // 6800040000 | push 0x400 // 57 | push edi // 8d8500f8ffff | lea eax, [ebp - 0x800] // 50 | push eax // e8???????? | // 8d8500f8ffff | lea eax, [ebp - 0x800] $sequence_15 = { 6a0f 50 e8???????? 8d4c241c 6a0e 8d942458040000 51 } // n = 7, score = 100 // 6a0f | push 0xf // 50 | push eax // e8???????? | // 8d4c241c | lea ecx, [esp + 0x1c] // 6a0e | push 0xe // 8d942458040000 | lea edx, [esp + 0x458] // 51 | push ecx condition: 7 of them and filesize < 598016 }
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