A downloader trojan with some infostealer capabilities focused on the browser. Previously observed as part of RigEK campaigns.
rule win_snatch_loader_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.snatch_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.snatch_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 = { a3???????? 85c0 7403 57 } // n = 4, score = 600 // a3???????? | // 85c0 | test eax, eax // 7403 | je 5 // 57 | push edi $sequence_1 = { 33f6 8bd9 57 85c0 7522 } // n = 5, score = 600 // 33f6 | xor esi, esi // 8bd9 | mov ebx, ecx // 57 | push edi // 85c0 | test eax, eax // 7522 | jne 0x24 $sequence_2 = { eb0d 53 53 53 53 } // n = 5, score = 600 // eb0d | jmp 0xf // 53 | push ebx // 53 | push ebx // 53 | push ebx // 53 | push ebx $sequence_3 = { eb05 53 56 57 ffd0 } // n = 5, score = 600 // eb05 | jmp 7 // 53 | push ebx // 56 | push esi // 57 | push edi // ffd0 | call eax $sequence_4 = { 32c3 43 8802 42 83e901 75f2 } // n = 6, score = 600 // 32c3 | xor al, bl // 43 | inc ebx // 8802 | mov byte ptr [edx], al // 42 | inc edx // 83e901 | sub ecx, 1 // 75f2 | jne 0xfffffff4 $sequence_5 = { 744b 33c0 66894606 a1???????? 85c0 } // n = 5, score = 600 // 744b | je 0x4d // 33c0 | xor eax, eax // 66894606 | mov word ptr [esi + 6], ax // a1???????? | // 85c0 | test eax, eax $sequence_6 = { a3???????? 85c0 7406 57 6a00 56 ffd0 } // n = 7, score = 600 // a3???????? | // 85c0 | test eax, eax // 7406 | je 8 // 57 | push edi // 6a00 | push 0 // 56 | push esi // ffd0 | call eax $sequence_7 = { ffd0 8bf0 a1???????? 85c0 751d 33c9 } // n = 6, score = 600 // ffd0 | call eax // 8bf0 | mov esi, eax // a1???????? | // 85c0 | test eax, eax // 751d | jne 0x1f // 33c9 | xor ecx, ecx $sequence_8 = { eb03 83c704 83c304 41 } // n = 4, score = 500 // eb03 | jmp 5 // 83c704 | add edi, 4 // 83c304 | add ebx, 4 // 41 | inc ecx $sequence_9 = { 55 8bec 83c4fc 53 33db 837d0800 } // n = 6, score = 500 // 55 | push ebp // 8bec | mov ebp, esp // 83c4fc | add esp, -4 // 53 | push ebx // 33db | xor ebx, ebx // 837d0800 | cmp dword ptr [ebp + 8], 0 $sequence_10 = { c9 c20c00 42 46 3bf3 76d8 } // n = 6, score = 500 // c9 | leave // c20c00 | ret 0xc // 42 | inc edx // 46 | inc esi // 3bf3 | cmp esi, ebx // 76d8 | jbe 0xffffffda $sequence_11 = { 33d2 33c9 8a0431 0ac0 741f } // n = 5, score = 500 // 33d2 | xor edx, edx // 33c9 | xor ecx, ecx // 8a0431 | mov al, byte ptr [ecx + esi] // 0ac0 | or al, al // 741f | je 0x21 $sequence_12 = { 33c0 48 5a 59 5f 5e } // n = 6, score = 500 // 33c0 | xor eax, eax // 48 | dec eax // 5a | pop edx // 59 | pop ecx // 5f | pop edi // 5e | pop esi $sequence_13 = { 3a0439 7514 41 3b4df8 } // n = 4, score = 500 // 3a0439 | cmp al, byte ptr [ecx + edi] // 7514 | jne 0x16 // 41 | inc ecx // 3b4df8 | cmp ecx, dword ptr [ebp - 8] $sequence_14 = { 7454 394508 734f ff7510 e8???????? 8945f8 0bc0 } // n = 7, score = 500 // 7454 | je 0x56 // 394508 | cmp dword ptr [ebp + 8], eax // 734f | jae 0x51 // ff7510 | push dword ptr [ebp + 0x10] // e8???????? | // 8945f8 | mov dword ptr [ebp - 8], eax // 0bc0 | or eax, eax $sequence_15 = { 0bc0 7454 394508 734f } // n = 4, score = 500 // 0bc0 | or eax, eax // 7454 | je 0x56 // 394508 | cmp dword ptr [ebp + 8], eax // 734f | jae 0x51 condition: 7 of them and filesize < 262144 }
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