Actor(s): Molerats
There is no description at this point.
rule win_molerat_loader_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.molerat_loader." 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.molerat_loader" malpedia_rule_date = "20230705" malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41" malpedia_version = "20230715" 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 = { 50 8b4204 ffd0 c645fc0a 8b45e8 83c0f0 } // n = 6, score = 100 // 50 | push eax // 8b4204 | mov eax, dword ptr [edx + 4] // ffd0 | call eax // c645fc0a | mov byte ptr [ebp - 4], 0xa // 8b45e8 | mov eax, dword ptr [ebp - 0x18] // 83c0f0 | add eax, -0x10 $sequence_1 = { ff15???????? 5d c20400 c20400 6a00 } // n = 5, score = 100 // ff15???????? | // 5d | pop ebp // c20400 | ret 4 // c20400 | ret 4 // 6a00 | push 0 $sequence_2 = { 8b4204 ffd0 837de401 7f05 e8???????? 8b45e0 } // n = 6, score = 100 // 8b4204 | mov eax, dword ptr [edx + 4] // ffd0 | call eax // 837de401 | cmp dword ptr [ebp - 0x1c], 1 // 7f05 | jg 7 // e8???????? | // 8b45e0 | mov eax, dword ptr [ebp - 0x20] $sequence_3 = { 8d5588 52 c645fc18 e8???????? 8b00 8b35???????? } // n = 6, score = 100 // 8d5588 | lea edx, [ebp - 0x78] // 52 | push edx // c645fc18 | mov byte ptr [ebp - 4], 0x18 // e8???????? | // 8b00 | mov eax, dword ptr [eax] // 8b35???????? | $sequence_4 = { e8???????? 8b4d58 e8???????? 8d4d28 e8???????? 8d4d08 e9???????? } // n = 7, score = 100 // e8???????? | // 8b4d58 | mov ecx, dword ptr [ebp + 0x58] // e8???????? | // 8d4d28 | lea ecx, [ebp + 0x28] // e8???????? | // 8d4d08 | lea ecx, [ebp + 8] // e9???????? | $sequence_5 = { 8bff 55 8bec 8b4508 33c9 3b04cdf03d4400 7413 } // n = 7, score = 100 // 8bff | mov edi, edi // 55 | push ebp // 8bec | mov ebp, esp // 8b4508 | mov eax, dword ptr [ebp + 8] // 33c9 | xor ecx, ecx // 3b04cdf03d4400 | cmp eax, dword ptr [ecx*8 + 0x443df0] // 7413 | je 0x15 $sequence_6 = { c645fc32 e8???????? 68???????? 8d4db4 c645fc33 e8???????? } // n = 6, score = 100 // c645fc32 | mov byte ptr [ebp - 4], 0x32 // e8???????? | // 68???????? | // 8d4db4 | lea ecx, [ebp - 0x4c] // c645fc33 | mov byte ptr [ebp - 4], 0x33 // e8???????? | $sequence_7 = { c645fc08 e8???????? 8b4540 83c0f0 83caff 8d480c } // n = 6, score = 100 // c645fc08 | mov byte ptr [ebp - 4], 8 // e8???????? | // 8b4540 | mov eax, dword ptr [ebp + 0x40] // 83c0f0 | add eax, -0x10 // 83caff | or edx, 0xffffffff // 8d480c | lea ecx, [eax + 0xc] $sequence_8 = { 68???????? e8???????? e8???????? 83c404 8d4d00 e8???????? 8b5578 } // n = 7, score = 100 // 68???????? | // e8???????? | // e8???????? | // 83c404 | add esp, 4 // 8d4d00 | lea ecx, [ebp] // e8???????? | // 8b5578 | mov edx, dword ptr [ebp + 0x78] $sequence_9 = { 8d4c2410 56 51 e8???????? 83c40c b302 } // n = 6, score = 100 // 8d4c2410 | lea ecx, [esp + 0x10] // 56 | push esi // 51 | push ecx // e8???????? | // 83c40c | add esp, 0xc // b302 | mov bl, 2 condition: 7 of them and filesize < 688128 }
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