Actor(s): Lazarus Group
A downloader that uses Windows messages to control its execution flow.
rule win_scout_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.scout." 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.scout" 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 = { 488b00 488901 33f6 8bfe 488d4df0 } // n = 5, score = 100 // 488b00 | dec eax // 488901 | lea eax, [0x13192] // 33f6 | add eax, eax // 8bfe | sub ecx, eax // 488d4df0 | je 0xfffffbdf $sequence_1 = { 4c8bc1 b84d5a0000 663905c5ccffff 7578 } // n = 4, score = 100 // 4c8bc1 | mov edx, ebp // b84d5a0000 | dec eax // 663905c5ccffff | mov esi, ebp // 7578 | dec eax $sequence_2 = { 498784f6c0090200 eb1e 488bc3 498784f6c0090200 4885c0 } // n = 5, score = 100 // 498784f6c0090200 | dec eax // eb1e | mov dword ptr [ebp + 0x1490], eax // 488bc3 | dec eax // 498784f6c0090200 | lea ebx, [0x20c73] // 4885c0 | dec eax $sequence_3 = { 498b9cf6c0090200 4885db 740e 483bdf } // n = 4, score = 100 // 498b9cf6c0090200 | je 0x310 // 4885db | dec eax // 740e | mov eax, ebx // 483bdf | dec esp $sequence_4 = { 4c8d45b8 ba88140000 488d4df0 e8???????? 41b888140000 488d55f0 } // n = 6, score = 100 // 4c8d45b8 | dec eax // ba88140000 | cmp dword ptr [ecx + 0x138], ebx // 488d4df0 | jne 0x35f // e8???????? | // 41b888140000 | dec eax // 488d55f0 | lea eax, [0xf6e3] $sequence_5 = { e8???????? e9???????? 33ff 897c2430 8bdf } // n = 5, score = 100 // e8???????? | // e9???????? | // 33ff | movsd xmm2, qword ptr [edx + eax*8] // 897c2430 | vaddsd xmm2, xmm2, xmm5 // 8bdf | vaddsd xmm0, xmm0, xmm2 $sequence_6 = { 48395c2430 7ce4 e9???????? 488b0d???????? } // n = 4, score = 100 // 48395c2430 | dec eax // 7ce4 | add ebx, 8 // e9???????? | // 488b0d???????? | $sequence_7 = { 4c8d055fa10100 ba04010000 488d8c2480000000 e8???????? 488d842480000000 49c7c0ffffffff 49ffc0 } // n = 7, score = 100 // 4c8d055fa10100 | dec eax // ba04010000 | cmp dword ptr [esp + 0x30], ebx // 488d8c2480000000 | jl 0x1315 // e8???????? | // 488d842480000000 | xor edi, edi // 49c7c0ffffffff | dec eax // 49ffc0 | test ecx, ecx $sequence_8 = { 488d542440 e8???????? 83f804 750a } // n = 4, score = 100 // 488d542440 | dec eax // e8???????? | // 83f804 | add ebx, dword ptr [esp + 0x30] // 750a | dec eax $sequence_9 = { 4885c0 0f84b8030000 48895c2468 4889742470 4c896c2478 4c89742438 } // n = 6, score = 100 // 4885c0 | dec eax // 0f84b8030000 | cmp ecx, eax // 48895c2468 | jb 0x8e6 // 4889742470 | cmp word ptr [ecx + eax*2], si // 4c896c2478 | jne 0x912 // 4c89742438 | dec eax condition: 7 of them and filesize < 315392 }
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