Actor(s): Guru Spider
There is no description at this point.
rule win_quantloader_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.quantloader." 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.quantloader" 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 = { 89e5 83ec28 c745fc01000000 8d45f8 89442408 } // n = 5, score = 500 // 89e5 | mov ebp, esp // 83ec28 | sub esp, 0x28 // c745fc01000000 | mov dword ptr [ebp - 4], 1 // 8d45f8 | lea eax, [ebp - 8] // 89442408 | mov dword ptr [esp + 8], eax $sequence_1 = { c744240800000000 8b4510 89442404 8b45fc 890424 } // n = 5, score = 500 // c744240800000000 | mov dword ptr [esp + 8], 0 // 8b4510 | mov eax, dword ptr [ebp + 0x10] // 89442404 | mov dword ptr [esp + 4], eax // 8b45fc | mov eax, dword ptr [ebp - 4] // 890424 | mov dword ptr [esp], eax $sequence_2 = { 89442410 c744240c19010200 c744240800000000 8b450c 89442404 8b4508 890424 } // n = 7, score = 500 // 89442410 | mov dword ptr [esp + 0x10], eax // c744240c19010200 | mov dword ptr [esp + 0xc], 0x20119 // c744240800000000 | mov dword ptr [esp + 8], 0 // 8b450c | mov eax, dword ptr [ebp + 0xc] // 89442404 | mov dword ptr [esp + 4], eax // 8b4508 | mov eax, dword ptr [ebp + 8] // 890424 | mov dword ptr [esp], eax $sequence_3 = { c744240800040000 c7442404???????? 8b45f8 890424 e8???????? 83ec10 } // n = 6, score = 500 // c744240800040000 | mov dword ptr [esp + 8], 0x400 // c7442404???????? | // 8b45f8 | mov eax, dword ptr [ebp - 8] // 890424 | mov dword ptr [esp], eax // e8???????? | // 83ec10 | sub esp, 0x10 $sequence_4 = { 817d0c00704000 7467 8b4508 803800 } // n = 4, score = 500 // 817d0c00704000 | cmp dword ptr [ebp + 0xc], 0x407000 // 7467 | je 0x69 // 8b4508 | mov eax, dword ptr [ebp + 8] // 803800 | cmp byte ptr [eax], 0 $sequence_5 = { e8???????? c744240800010000 c744240400000000 c70424???????? e8???????? e8???????? 89442404 } // n = 7, score = 500 // e8???????? | // c744240800010000 | mov dword ptr [esp + 8], 0x100 // c744240400000000 | mov dword ptr [esp + 4], 0 // c70424???????? | // e8???????? | // e8???????? | // 89442404 | mov dword ptr [esp + 4], eax $sequence_6 = { e8???????? 0fb6c0 83f801 7527 8d85f8fdffff 890424 } // n = 6, score = 500 // e8???????? | // 0fb6c0 | movzx eax, al // 83f801 | cmp eax, 1 // 7527 | jne 0x29 // 8d85f8fdffff | lea eax, [ebp - 0x208] // 890424 | mov dword ptr [esp], eax $sequence_7 = { c7042401000080 e8???????? c744240400000000 c70424???????? e8???????? } // n = 5, score = 500 // c7042401000080 | mov dword ptr [esp], 0x80000001 // e8???????? | // c744240400000000 | mov dword ptr [esp + 4], 0 // c70424???????? | // e8???????? | $sequence_8 = { c3 60 ff553c 8bd8 8b7554 8b4558 } // n = 6, score = 100 // c3 | ret // 60 | pushal // ff553c | call dword ptr [ebp + 0x3c] // 8bd8 | mov ebx, eax // 8b7554 | mov esi, dword ptr [ebp + 0x54] // 8b4558 | mov eax, dword ptr [ebp + 0x58] $sequence_9 = { 4e ebec 8d5efe 84ff 75f0 8b763a 66ba5045 } // n = 7, score = 100 // 4e | dec esi // ebec | jmp 0xffffffee // 8d5efe | lea ebx, [esi - 2] // 84ff | test bh, bh // 75f0 | jne 0xfffffff2 // 8b763a | mov esi, dword ptr [esi + 0x3a] // 66ba5045 | mov dx, 0x4550 $sequence_10 = { ff30 6800100000 57 81042400100000 ff550c ff550c 5a } // n = 7, score = 100 // ff30 | push dword ptr [eax] // 6800100000 | push 0x1000 // 57 | push edi // 81042400100000 | add dword ptr [esp], 0x1000 // ff550c | call dword ptr [ebp + 0xc] // ff550c | call dword ptr [ebp + 0xc] // 5a | pop edx $sequence_11 = { 60 837d5400 740f e8???????? 8b7d5c 85ff 7403 } // n = 7, score = 100 // 60 | pushal // 837d5400 | cmp dword ptr [ebp + 0x54], 0 // 740f | je 0x11 // e8???????? | // 8b7d5c | mov edi, dword ptr [ebp + 0x5c] // 85ff | test edi, edi // 7403 | je 5 $sequence_12 = { 89442420 8bf8 8d0cbd08000000 64a118000000 8b702c 51 6808000c00 } // n = 7, score = 100 // 89442420 | mov dword ptr [esp + 0x20], eax // 8bf8 | mov edi, eax // 8d0cbd08000000 | lea ecx, [edi*4 + 8] // 64a118000000 | mov eax, dword ptr fs:[0x18] // 8b702c | mov esi, dword ptr [eax + 0x2c] // 51 | push ecx // 6808000c00 | push 0xc0008 $sequence_13 = { ff5518 81c424020000 8974241c 61 c3 60 } // n = 6, score = 100 // ff5518 | call dword ptr [ebp + 0x18] // 81c424020000 | add esp, 0x224 // 8974241c | mov dword ptr [esp + 0x1c], esi // 61 | popal // c3 | ret // 60 | pushal $sequence_14 = { 8f4550 e8???????? 8f411c 61 c3 } // n = 5, score = 100 // 8f4550 | pop dword ptr [ebp + 0x50] // e8???????? | // 8f411c | pop dword ptr [ecx + 0x1c] // 61 | popal // c3 | ret $sequence_15 = { 50 ff742414 ff5508 ab ebe0 } // n = 5, score = 100 // 50 | push eax // ff742414 | push dword ptr [esp + 0x14] // ff5508 | call dword ptr [ebp + 8] // ab | stosd dword ptr es:[edi], eax // ebe0 | jmp 0xffffffe2 condition: 7 of them and filesize < 155648 }
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