Actor(s): APT41
There is no description at this point.
rule win_moonwalk_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.moonwalk." 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.moonwalk" 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 = { c1e808 c1ee08 45338c8c00020100 0fb6c8 410fb6c0 45338c8c00fa0000 45338c84301e0100 } // n = 7, score = 100 // c1e808 | mov dword ptr [esp + 0x24], edx // c1ee08 | dec eax // 45338c8c00020100 | lea eax, [ecx + 0x80a0] // 0fb6c8 | jmp 0x1cae // 410fb6c0 | dec esp // 45338c8c00fa0000 | mov eax, dword ptr [ecx + 0x10] // 45338c84301e0100 | dec eax $sequence_1 = { 49f7f0 488955d8 420fb6040a 33d2 304317 b818000000 49f7f0 } // n = 7, score = 100 // 49f7f0 | dec ecx // 488955d8 | div eax // 420fb6040a | inc edx // 33d2 | movzx eax, byte ptr [edx + ecx] // 304317 | xor edx, edx // b818000000 | xor byte ptr [edi + 0x2d], al // 49f7f0 | mov eax, 0x2e $sequence_2 = { 8bc3 e9???????? 418bd9 8bc3 e9???????? 4c8b6c2438 33f6 } // n = 7, score = 100 // 8bc3 | mov esp, edi // e9???????? | // 418bd9 | inc esp // 8bc3 | sub edi, ebp // e9???????? | // 4c8b6c2438 | dec eax // 33f6 | inc edi $sequence_3 = { 4903fe 0fb62b 48ffc3 8bf5 448bf5 48c1ee04 } // n = 6, score = 100 // 4903fe | inc esp // 0fb62b | sub edi, eax // 48ffc3 | add ebx, edx // 8bf5 | mov eax, ecx // 448bf5 | shl eax, 0x19 // 48c1ee04 | mov ecx, esi $sequence_4 = { 884706 418bc7 c1e810 0fb6c8 418bc6 48c1e818 418b948d00060100 } // n = 7, score = 100 // 884706 | cmp dword ptr [eax], 4 // 418bc7 | je 0x6fa // c1e810 | mov eax, 1 // 0fb6c8 | dec esp // 418bc6 | lea ebx, [esp + 0x70] // 48c1e818 | dec ecx // 418b948d00060100 | mov ebx, dword ptr [ebx + 0x10] $sequence_5 = { 4889b42420010000 488d742430 490f45f0 4889bc2428010000 0f11442430 4c89a424f0000000 41bc20000000 } // n = 7, score = 100 // 4889b42420010000 | jb 0x778 // 488d742430 | mov byte ptr [edi], 0xf0 // 490f45f0 | dec eax // 4889bc2428010000 | mov ecx, edi // 0f11442430 | dec eax // 4c89a424f0000000 | cmp edi, edx // 41bc20000000 | jae 0x751 $sequence_6 = { e8???????? 488bf0 4885c0 0f849b000000 488b0d???????? 4533c9 48895c2450 } // n = 7, score = 100 // e8???????? | // 488bf0 | dec eax // 4885c0 | mov edi, dword ptr [esp + 0x40] // 0f849b000000 | mov ecx, 0xffffffff // 488b0d???????? | // 4533c9 | dec eax // 48895c2450 | test eax, eax $sequence_7 = { 41884101 8bc3 c1f810 41884102 8bc1 c1f808 41884104 } // n = 7, score = 100 // 41884101 | mov eax, ebx // 8bc3 | inc esp // c1f810 | sub eax, esi // 41884102 | dec eax // 8bc1 | mov ebx, dword ptr [esp + 0xa0] // c1f808 | inc ecx // 41884104 | lea ecx, [eax + 0xf0] $sequence_8 = { 48ffc1 4133c0 4469c093010001 483bca 72eb 4e8d0c36 bac59d1c81 } // n = 7, score = 100 // 48ffc1 | mov eax, dword ptr [ebx] // 4133c0 | dec ecx // 4469c093010001 | cmp ebx, edi // 483bca | jae 0x2df // 72eb | nop dword ptr [eax + eax] // 4e8d0c36 | dec eax // bac59d1c81 | mov eax, dword ptr [ecx] $sequence_9 = { c1e918 884354 884b53 8b4b04 8bc1 c1e808 884355 } // n = 7, score = 100 // c1e918 | mov ecx, dword ptr [ecx] // 884354 | dec eax // 884b53 | mov ebp, edx // 8b4b04 | mov edx, dword ptr [esi + 4] // 8bc1 | lea eax, [ecx + edi] // c1e808 | and eax, 0x1fffffff // 884355 | mov dword ptr [esi], eax condition: 7 of them and filesize < 179200 }
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