Actor(s): Poseidon Group
There is no description at this point.
rule win_makadocs_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.makadocs." 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.makadocs" 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 = { 47 46 803f00 7593 c60600 8b03 8b48f8 } // n = 7, score = 100 // 47 | inc edi // 46 | inc esi // 803f00 | cmp byte ptr [edi], 0 // 7593 | jne 0xffffff95 // c60600 | mov byte ptr [esi], 0 // 8b03 | mov eax, dword ptr [ebx] // 8b48f8 | mov ecx, dword ptr [eax - 8] $sequence_1 = { 807c241600 0f846ffbffff 807c241700 7412 8b5c2424 8b84249c000000 e8???????? } // n = 7, score = 100 // 807c241600 | cmp byte ptr [esp + 0x16], 0 // 0f846ffbffff | je 0xfffffb75 // 807c241700 | cmp byte ptr [esp + 0x17], 0 // 7412 | je 0x14 // 8b5c2424 | mov ebx, dword ptr [esp + 0x24] // 8b84249c000000 | mov eax, dword ptr [esp + 0x9c] // e8???????? | $sequence_2 = { 8965f0 6a18 e8???????? 8bf0 83c404 8975ec c745fc01000000 } // n = 7, score = 100 // 8965f0 | mov dword ptr [ebp - 0x10], esp // 6a18 | push 0x18 // e8???????? | // 8bf0 | mov esi, eax // 83c404 | add esp, 4 // 8975ec | mov dword ptr [ebp - 0x14], esi // c745fc01000000 | mov dword ptr [ebp - 4], 1 $sequence_3 = { 89442452 6689442456 8944243a 8944243e 89442442 6689442446 6689542428 } // n = 7, score = 100 // 89442452 | mov dword ptr [esp + 0x52], eax // 6689442456 | mov word ptr [esp + 0x56], ax // 8944243a | mov dword ptr [esp + 0x3a], eax // 8944243e | mov dword ptr [esp + 0x3e], eax // 89442442 | mov dword ptr [esp + 0x42], eax // 6689442446 | mov word ptr [esp + 0x46], ax // 6689542428 | mov word ptr [esp + 0x28], dx $sequence_4 = { 83ec0c 53 8b1d???????? 56 57 8b3d???????? 8d442410 } // n = 7, score = 100 // 83ec0c | sub esp, 0xc // 53 | push ebx // 8b1d???????? | // 56 | push esi // 57 | push edi // 8b3d???????? | // 8d442410 | lea eax, [esp + 0x10] $sequence_5 = { 50 e8???????? 83c408 85c0 7403 2b06 c3 } // n = 7, score = 100 // 50 | push eax // e8???????? | // 83c408 | add esp, 8 // 85c0 | test eax, eax // 7403 | je 5 // 2b06 | sub eax, dword ptr [esi] // c3 | ret $sequence_6 = { 896c2424 6a00 c644243403 8b44243c 8b58f4 8b3d???????? 6a00 } // n = 7, score = 100 // 896c2424 | mov dword ptr [esp + 0x24], ebp // 6a00 | push 0 // c644243403 | mov byte ptr [esp + 0x34], 3 // 8b44243c | mov eax, dword ptr [esp + 0x3c] // 8b58f4 | mov ebx, dword ptr [eax - 0xc] // 8b3d???????? | // 6a00 | push 0 $sequence_7 = { b31a 50 889c24b4000000 e8???????? 83c410 c68424a40000001b } // n = 6, score = 100 // b31a | mov bl, 0x1a // 50 | push eax // 889c24b4000000 | mov byte ptr [esp + 0xb4], bl // e8???????? | // 83c410 | add esp, 0x10 // c68424a40000001b | mov byte ptr [esp + 0xa4], 0x1b $sequence_8 = { 8d4c2418 68???????? 51 e8???????? 83c408 8d5c2410 c644243003 } // n = 7, score = 100 // 8d4c2418 | lea ecx, [esp + 0x18] // 68???????? | // 51 | push ecx // e8???????? | // 83c408 | add esp, 8 // 8d5c2410 | lea ebx, [esp + 0x10] // c644243003 | mov byte ptr [esp + 0x30], 3 $sequence_9 = { 3c09 0fb6c0 7605 83c037 eb03 83c030 8806 } // n = 7, score = 100 // 3c09 | cmp al, 9 // 0fb6c0 | movzx eax, al // 7605 | jbe 7 // 83c037 | add eax, 0x37 // eb03 | jmp 5 // 83c030 | add eax, 0x30 // 8806 | mov byte ptr [esi], al condition: 7 of them and filesize < 344064 }
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