There is no description at this point.
rule win_magala_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-05-16" version = "1" description = "Detects win.magala." 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.magala" malpedia_rule_date = "20220513" malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26" malpedia_version = "20220516" 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 = { 7442 8b4df0 b853d9de75 2bcb f7e9 c1fa08 8bc2 } // n = 7, score = 200 // 7442 | je 0x44 // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // b853d9de75 | mov eax, 0x75ded953 // 2bcb | sub ecx, ebx // f7e9 | imul ecx // c1fa08 | sar edx, 8 // 8bc2 | mov eax, edx $sequence_1 = { 3bdf 0f849d000000 33c0 c745e800000000 } // n = 4, score = 200 // 3bdf | cmp ebx, edi // 0f849d000000 | je 0xa3 // 33c0 | xor eax, eax // c745e800000000 | mov dword ptr [ebp - 0x18], 0 $sequence_2 = { c645fc08 8b45ec 83f810 7242 8b4dd8 40 3d00100000 } // n = 7, score = 200 // c645fc08 | mov byte ptr [ebp - 4], 8 // 8b45ec | mov eax, dword ptr [ebp - 0x14] // 83f810 | cmp eax, 0x10 // 7242 | jb 0x44 // 8b4dd8 | mov ecx, dword ptr [ebp - 0x28] // 40 | inc eax // 3d00100000 | cmp eax, 0x1000 $sequence_3 = { 7422 ff75e8 8b35???????? ffd6 ff75e4 ffd6 e9???????? } // n = 7, score = 200 // 7422 | je 0x24 // ff75e8 | push dword ptr [ebp - 0x18] // 8b35???????? | // ffd6 | call esi // ff75e4 | push dword ptr [ebp - 0x1c] // ffd6 | call esi // e9???????? | $sequence_4 = { 8b4f14 3bc8 744f 731c 50 8bcf e8???????? } // n = 7, score = 200 // 8b4f14 | mov ecx, dword ptr [edi + 0x14] // 3bc8 | cmp ecx, eax // 744f | je 0x51 // 731c | jae 0x1e // 50 | push eax // 8bcf | mov ecx, edi // e8???????? | $sequence_5 = { e8???????? 837dbc08 8d5da8 0f435da8 85db 7450 8bcb } // n = 7, score = 200 // e8???????? | // 837dbc08 | cmp dword ptr [ebp - 0x44], 8 // 8d5da8 | lea ebx, [ebp - 0x58] // 0f435da8 | cmovae ebx, dword ptr [ebp - 0x58] // 85db | test ebx, ebx // 7450 | je 0x52 // 8bcb | mov ecx, ebx $sequence_6 = { 50 68???????? a3???????? e8???????? 83c408 833d????????00 7419 } // n = 7, score = 200 // 50 | push eax // 68???????? | // a3???????? | // e8???????? | // 83c408 | add esp, 8 // 833d????????00 | // 7419 | je 0x1b $sequence_7 = { 0fb609 51 8d0c1e 51 e8???????? 8b5dfc 8b0b } // n = 7, score = 200 // 0fb609 | movzx ecx, byte ptr [ecx] // 51 | push ecx // 8d0c1e | lea ecx, [esi + ebx] // 51 | push ecx // e8???????? | // 8b5dfc | mov ebx, dword ptr [ebp - 4] // 8b0b | mov ecx, dword ptr [ebx] $sequence_8 = { 0f8787000000 03c0 3d00100000 721a f6c11f 757e 8b41fc } // n = 7, score = 200 // 0f8787000000 | ja 0x8d // 03c0 | add eax, eax // 3d00100000 | cmp eax, 0x1000 // 721a | jb 0x1c // f6c11f | test cl, 0x1f // 757e | jne 0x80 // 8b41fc | mov eax, dword ptr [ecx - 4] $sequence_9 = { e8???????? 8bc8 51 e8???????? 83c404 8b7d24 8b5d20 } // n = 7, score = 200 // e8???????? | // 8bc8 | mov ecx, eax // 51 | push ecx // e8???????? | // 83c404 | add esp, 4 // 8b7d24 | mov edi, dword ptr [ebp + 0x24] // 8b5d20 | mov ebx, dword ptr [ebp + 0x20] condition: 7 of them and filesize < 589824 }
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