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 = "2026-09-17" 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 = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" 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 = { 8d5584 52 c645fc16 e8???????? 83c40c 68???????? } // n = 6, score = 100 // 8d5584 | lea edx, [ebp - 0x7c] // 52 | push edx // c645fc16 | mov byte ptr [ebp - 4], 0x16 // e8???????? | // 83c40c | add esp, 0xc // 68???????? | $sequence_1 = { 33cd e8???????? 81c5ec030000 8be5 5d c3 8b4da8 } // n = 7, score = 100 // 33cd | xor ecx, ebp // e8???????? | // 81c5ec030000 | add ebp, 0x3ec // 8be5 | mov esp, ebp // 5d | pop ebp // c3 | ret // 8b4da8 | mov ecx, dword ptr [ebp - 0x58] $sequence_2 = { 8b542410 8b42f4 85c0 0f84ba000000 8b4c2440 8d442414 50 } // n = 7, score = 100 // 8b542410 | mov edx, dword ptr [esp + 0x10] // 8b42f4 | mov eax, dword ptr [edx - 0xc] // 85c0 | test eax, eax // 0f84ba000000 | je 0xc0 // 8b4c2440 | mov ecx, dword ptr [esp + 0x40] // 8d442414 | lea eax, [esp + 0x14] // 50 | push eax $sequence_3 = { c744241c00000000 c744243401000000 8b442440 8378f400 750e 68???????? 8d4c2444 } // n = 7, score = 100 // c744241c00000000 | mov dword ptr [esp + 0x1c], 0 // c744243401000000 | mov dword ptr [esp + 0x34], 1 // 8b442440 | mov eax, dword ptr [esp + 0x40] // 8378f400 | cmp dword ptr [eax - 0xc], 0 // 750e | jne 0x10 // 68???????? | // 8d4c2444 | lea ecx, [esp + 0x44] $sequence_4 = { 68???????? 8d55d8 52 c745d89cb64300 e8???????? 8b4508 8b4dec } // n = 7, score = 100 // 68???????? | // 8d55d8 | lea edx, [ebp - 0x28] // 52 | push edx // c745d89cb64300 | mov dword ptr [ebp - 0x28], 0x43b69c // e8???????? | // 8b4508 | mov eax, dword ptr [ebp + 8] // 8b4dec | mov ecx, dword ptr [ebp - 0x14] $sequence_5 = { 7f0a 8b08 8b11 50 8b4204 ffd0 c645fc4a } // n = 7, score = 100 // 7f0a | jg 0xc // 8b08 | mov ecx, dword ptr [eax] // 8b11 | mov edx, dword ptr [ecx] // 50 | push eax // 8b4204 | mov eax, dword ptr [edx + 4] // ffd0 | call eax // c645fc4a | mov byte ptr [ebp - 4], 0x4a $sequence_6 = { 83c40c c645fc31 8b8548feffff 83c0f0 8d480c 83caff } // n = 6, score = 100 // 83c40c | add esp, 0xc // c645fc31 | mov byte ptr [ebp - 4], 0x31 // 8b8548feffff | mov eax, dword ptr [ebp - 0x1b8] // 83c0f0 | add eax, -0x10 // 8d480c | lea ecx, [eax + 0xc] // 83caff | or edx, 0xffffffff $sequence_7 = { 8bc6 c1f805 8b048520924400 83e61f c1e606 8d443004 } // n = 6, score = 100 // 8bc6 | mov eax, esi // c1f805 | sar eax, 5 // 8b048520924400 | mov eax, dword ptr [eax*4 + 0x449220] // 83e61f | and esi, 0x1f // c1e606 | shl esi, 6 // 8d443004 | lea eax, [eax + esi + 4] $sequence_8 = { 7f0a 8b08 8b11 50 8b4204 ffd0 b36c } // n = 7, score = 100 // 7f0a | jg 0xc // 8b08 | mov ecx, dword ptr [eax] // 8b11 | mov edx, dword ptr [ecx] // 50 | push eax // 8b4204 | mov eax, dword ptr [edx + 4] // ffd0 | call eax // b36c | mov bl, 0x6c $sequence_9 = { 83c0f0 c78424c80000000f000000 c78424c400000000000000 c68424b400000000 8d480c 83caff f00fc111 } // n = 7, score = 100 // 83c0f0 | add eax, -0x10 // c78424c80000000f000000 | mov dword ptr [esp + 0xc8], 0xf // c78424c400000000000000 | mov dword ptr [esp + 0xc4], 0 // c68424b400000000 | mov byte ptr [esp + 0xb4], 0 // 8d480c | lea ecx, [eax + 0xc] // 83caff | or edx, 0xffffffff // f00fc111 | lock xadd dword ptr [ecx], edx 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. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY