Small shellcode downloader, likely used by APT29.
rule win_unidentified_107_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.unidentified_107." 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.unidentified_107" 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 = { 8b13 4883f80b 0f8f33010000 8b03 } // n = 4, score = 300 // 8b13 | jne 0x2ba // 4883f80b | mov eax, ebx // 0f8f33010000 | test al, al // 8b03 | jne 0x2c5 $sequence_1 = { 0f856e010000 e8???????? 4989d8 ba01000000 4c89e9 e8???????? 4189c6 } // n = 7, score = 300 // 0f856e010000 | je 0xb0e // e8???????? | // 4989d8 | nop // ba01000000 | dec ecx // 4c89e9 | arpl ax, si // e8???????? | // 4189c6 | dec esp $sequence_2 = { 0f8e16010000 488b05???????? 4531c9 4883c018 } // n = 4, score = 300 // 0f8e16010000 | je 0xb3 // 488b05???????? | // 4531c9 | je 0x2f9 // 4883c018 | inc ecx $sequence_3 = { 0f83d6fdffff 4c8b35???????? 8b7304 448b2b } // n = 4, score = 300 // 0f83d6fdffff | nop dword ptr [eax] // 4c8b35???????? | // 8b7304 | mov eax, ebx // 448b2b | dec eax $sequence_4 = { 48c7c164bd357e e8???????? 4989c7 48c7c164bd357e e8???????? 4883c464 488b4c2408 } // n = 7, score = 300 // 48c7c164bd357e | mov ecx, dword ptr [esp + 0x28] // e8???????? | // 4989c7 | dec esp // 48c7c164bd357e | mov ecx, esp // e8???????? | // 4883c464 | dec eax // 488b4c2408 | test eax, eax $sequence_5 = { 4889f8 f04c0fb12b 4989c4 4885c0 75e9 488b3d???????? } // n = 6, score = 300 // 4889f8 | dec eax // f04c0fb12b | mov dword ptr [esp + 0x40], eax // 4989c4 | dec eax // 4885c0 | mov eax, 0x175c5054 // 75e9 | inc ebp // 488b3d???????? | $sequence_6 = { 85c0 0f8e9bfeffff 83e801 488b1d???????? 4531e4 } // n = 5, score = 300 // 85c0 | mov ecx, dword ptr [esp + 0x48] // 0f8e9bfeffff | dec eax // 83e801 | cmp dword ptr [esp + 0x30], 0 // 488b1d???????? | // 4531e4 | cmp eax, 1 $sequence_7 = { 48c7c12f398d13 e8???????? 4883c464 488b4c2408 } // n = 4, score = 300 // 48c7c12f398d13 | dec eax // e8???????? | // 4883c464 | mov ecx, eax // 488b4c2408 | dec eax $sequence_8 = { 4c89442418 4c894c2420 4883ec64 48b96eccba8000000000 e8???????? } // n = 5, score = 300 // 4c89442418 | dec eax // 4c894c2420 | mov edx, eax // 4883ec64 | dec eax // 48b96eccba8000000000 | lea ebp, [esp + 0x80] // e8???????? | $sequence_9 = { 4885c0 741b 48894308 488d8000010000 48894310 } // n = 5, score = 300 // 4885c0 | cmp dword ptr [ebp - 8], 0x13 // 741b | jbe 0x31a // 48894308 | nop // 488d8000010000 | nop // 48894310 | dec eax condition: 7 of them and filesize < 254976 }
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