Actor(s): APT 30
There is no description at this point.
rule win_milkmaid_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.milkmaid." 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.milkmaid" malpedia_rule_date = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 6a1a 6a00 ff15???????? 6aff } // n = 4, score = 100 // 6a1a | push 0x1a // 6a00 | push 0 // ff15???????? | // 6aff | push -1 $sequence_1 = { 53 6801100000 51 8d4c2420 c68424e828010001 e8???????? 85c0 } // n = 7, score = 100 // 53 | push ebx // 6801100000 | push 0x1001 // 51 | push ecx // 8d4c2420 | lea ecx, [esp + 0x20] // c68424e828010001 | mov byte ptr [esp + 0x128e8], 1 // e8???????? | // 85c0 | test eax, eax $sequence_2 = { 81e1ff0f0000 33db 84c0 8a5c2918 895c2428 } // n = 5, score = 100 // 81e1ff0f0000 | and ecx, 0xfff // 33db | xor ebx, ebx // 84c0 | test al, al // 8a5c2918 | mov bl, byte ptr [ecx + ebp + 0x18] // 895c2428 | mov dword ptr [esp + 0x28], ebx $sequence_3 = { 64a100000000 6aff 68???????? 50 b8c8280100 } // n = 5, score = 100 // 64a100000000 | mov eax, dword ptr fs:[0] // 6aff | push -1 // 68???????? | // 50 | push eax // b8c8280100 | mov eax, 0x128c8 $sequence_4 = { 53 53 8d4c2434 89542454 } // n = 4, score = 100 // 53 | push ebx // 53 | push ebx // 8d4c2434 | lea ecx, [esp + 0x34] // 89542454 | mov dword ptr [esp + 0x54], edx $sequence_5 = { 7504 33d2 eb05 8b5708 2bd1 8b5c2428 } // n = 6, score = 100 // 7504 | jne 6 // 33d2 | xor edx, edx // eb05 | jmp 7 // 8b5708 | mov edx, dword ptr [edi + 8] // 2bd1 | sub edx, ecx // 8b5c2428 | mov ebx, dword ptr [esp + 0x28] $sequence_6 = { 6800010000 8d4c2408 c744241801000000 e8???????? 50 6a00 6a00 } // n = 7, score = 100 // 6800010000 | push 0x100 // 8d4c2408 | lea ecx, [esp + 8] // c744241801000000 | mov dword ptr [esp + 0x18], 1 // e8???????? | // 50 | push eax // 6a00 | push 0 // 6a00 | push 0 $sequence_7 = { 8b8c24d4280100 5f 5e 5b 64890d00000000 } // n = 5, score = 100 // 8b8c24d4280100 | mov ecx, dword ptr [esp + 0x128d4] // 5f | pop edi // 5e | pop esi // 5b | pop ebx // 64890d00000000 | mov dword ptr fs:[0], ecx condition: 7 of them and filesize < 65536 }
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