Actor(s): Lazarus Group
Malware observed in the SnatchCrypto campaign, attributed by Kaspersky Labs to BlueNoroff with high confidence.
rule win_snatchcrypto_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.snatchcrypto." 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.snatchcrypto" 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 = { 7441 e8???????? ba01000000 488bcb ff15???????? 85c0 7821 } // n = 7, score = 200 // 7441 | je 0x2ca // e8???????? | // ba01000000 | mov ecx, eax // 488bcb | dec eax // ff15???????? | // 85c0 | add ecx, dword ptr [esp + 0x90] // 7821 | jne 0x6ea $sequence_1 = { 488d05b2650200 488d15474a0200 480f45d0 4c8d0553ac0200 488d05bd050300 4885db 4d8bc8 } // n = 7, score = 200 // 488d05b2650200 | mov ecx, esi // 488d15474a0200 | mov dword ptr [esp + 0xe0], ebp // 480f45d0 | dec esp // 4c8d0553ac0200 | mov eax, dword ptr [esp + 0x78] // 488d05bd050300 | dec eax // 4885db | lea edx, [0x1e3d6] // 4d8bc8 | mov dword ptr [esp + 0xe0], ebp $sequence_2 = { 488b5310 488b83c8030000 4c8d8c24b0000000 4883c275 4d8bc6 488bcb 4889442420 } // n = 7, score = 200 // 488b5310 | jmp 0x1e00 // 488b83c8030000 | xor eax, eax // 4c8d8c24b0000000 | cmp byte ptr [ebx + 0x38c], 0 // 4883c275 | je 0x1e2c // 4d8bc6 | cmp byte ptr [ebx + 0x3a0], 0 // 488bcb | je 0x1e2c // 4889442420 | mov eax, dword ptr [ebx + 0x388] $sequence_3 = { e8???????? 488d4c2430 448bc7 498bd4 e8???????? 488d15ae880600 488d4c2430 } // n = 7, score = 200 // e8???????? | // 488d4c2430 | xor ebp, dword ptr [eax + ecx*4] // 448bc7 | inc ebp // 498bd4 | xor ebp, dword ptr [eax + eax*4 + 0xc00] // e8???????? | // 488d15ae880600 | mov eax, ebx // 488d4c2430 | inc esp $sequence_4 = { 488b9340050000 488d0d32090300 e8???????? 4889442450 48898630030000 4885c0 0f845cffffff } // n = 7, score = 200 // 488b9340050000 | inc edx // 488d0d32090300 | mov byte ptr [esp + eax], al // e8???????? | // 4889442450 | inc ecx // 48898630030000 | movzx eax, byte ptr [eax + ebp + 0x87929] // 4885c0 | dec eax // 0f845cffffff | dec eax $sequence_5 = { 4f8b8cca80550800 4c8d05ed390200 488d8b60080000 baff3f0000 89442420 e8???????? 4533c9 } // n = 7, score = 200 // 4f8b8cca80550800 | jmp 0x51f // 4c8d05ed390200 | cmp dword ptr [ebx + 0x468], 0 // 488d8b60080000 | dec esp // baff3f0000 | mov eax, dword ptr [ebp + 0x5a8] // 89442420 | dec eax // e8???????? | // 4533c9 | lea eax, [0x2636b] $sequence_6 = { 8bc2 c3 ba9e010000 8bc2 c3 baa0010000 8bc2 } // n = 7, score = 200 // 8bc2 | dec eax // c3 | mov edx, esi // ba9e010000 | inc ecx // 8bc2 | mov eax, dword ptr [edi + 0x88] // c3 | dec esp // baa0010000 | mov ecx, dword ptr [esp + 0xe8] // 8bc2 | dec eax $sequence_7 = { 80f901 7517 b8ffdf0000 888b7f020000 6623d0 66899394030000 eb0b } // n = 7, score = 200 // 80f901 | inc ecx // 7517 | mov esp, 0x100 // b8ffdf0000 | xor edx, edx // 888b7f020000 | inc ecx // 6623d0 | mov eax, 0x206 // 66899394030000 | inc ecx // eb0b | mov edi, esi $sequence_8 = { 488d5590 488d4d80 e8???????? 488d0d7f650100 4d8bc5 488bd3 e8???????? } // n = 7, score = 200 // 488d5590 | lea eax, [0x30cc2] // 488d4d80 | ret // e8???????? | // 488d0d7f650100 | dec eax // 4d8bc5 | lea eax, [0x30c9a] // 488bd3 | ret // e8???????? | $sequence_9 = { 488d05745b0600 4c3bd0 7405 e8???????? 488bc3 eb02 33c0 } // n = 7, score = 200 // 488d05745b0600 | jne 0x2b7 // 4c3bd0 | dec eax // 7405 | lea edx, [0x22f83] // e8???????? | // 488bc3 | inc ebp // eb02 | mov eax, ecx // 33c0 | dec ecx condition: 7 of them and filesize < 1400832 }
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