Ransomware.
rule win_satan_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.satan." 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.satan" 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 = { 8b45ec 6a2c 6a01 ff7004 e8???????? 83c40c 6a00 } // n = 7, score = 100 // 8b45ec | mov eax, dword ptr [ebp - 0x14] // 6a2c | push 0x2c // 6a01 | push 1 // ff7004 | push dword ptr [eax + 4] // e8???????? | // 83c40c | add esp, 0xc // 6a00 | push 0 $sequence_1 = { 890e 8b45f0 8b7004 395e08 } // n = 4, score = 100 // 890e | mov dword ptr [esi], ecx // 8b45f0 | mov eax, dword ptr [ebp - 0x10] // 8b7004 | mov esi, dword ptr [eax + 4] // 395e08 | cmp dword ptr [esi + 8], ebx $sequence_2 = { 7417 85f6 7404 3bd6 750f c70000000000 8b01 } // n = 7, score = 100 // 7417 | je 0x19 // 85f6 | test esi, esi // 7404 | je 6 // 3bd6 | cmp edx, esi // 750f | jne 0x11 // c70000000000 | mov dword ptr [eax], 0 // 8b01 | mov eax, dword ptr [ecx] $sequence_3 = { 8d4dac c6470c01 e8???????? 8d4de0 e8???????? 8bc7 } // n = 6, score = 100 // 8d4dac | lea ecx, [ebp - 0x54] // c6470c01 | mov byte ptr [edi + 0xc], 1 // e8???????? | // 8d4de0 | lea ecx, [ebp - 0x20] // e8???????? | // 8bc7 | mov eax, edi $sequence_4 = { 8d4dd4 c745fc05000000 e8???????? 8d4dd4 e8???????? 8ac3 } // n = 6, score = 100 // 8d4dd4 | lea ecx, [ebp - 0x2c] // c745fc05000000 | mov dword ptr [ebp - 4], 5 // e8???????? | // 8d4dd4 | lea ecx, [ebp - 0x2c] // e8???????? | // 8ac3 | mov al, bl $sequence_5 = { 48 894108 51 ff7514 8b4de0 e8???????? 8d4d0c } // n = 7, score = 100 // 48 | dec eax // 894108 | mov dword ptr [ecx + 8], eax // 51 | push ecx // ff7514 | push dword ptr [ebp + 0x14] // 8b4de0 | mov ecx, dword ptr [ebp - 0x20] // e8???????? | // 8d4d0c | lea ecx, [ebp + 0xc] $sequence_6 = { c1fa06 8b45fc 8b08 8b01 83e03f 6bc830 8b149540e04700 } // n = 7, score = 100 // c1fa06 | sar edx, 6 // 8b45fc | mov eax, dword ptr [ebp - 4] // 8b08 | mov ecx, dword ptr [eax] // 8b01 | mov eax, dword ptr [ecx] // 83e03f | and eax, 0x3f // 6bc830 | imul ecx, eax, 0x30 // 8b149540e04700 | mov edx, dword ptr [edx*4 + 0x47e040] $sequence_7 = { c7432400000000 0f8238010000 8b4314 e9???????? 8b4104 3b4808 7505 } // n = 7, score = 100 // c7432400000000 | mov dword ptr [ebx + 0x24], 0 // 0f8238010000 | jb 0x13e // 8b4314 | mov eax, dword ptr [ebx + 0x14] // e9???????? | // 8b4104 | mov eax, dword ptr [ecx + 4] // 3b4808 | cmp ecx, dword ptr [eax + 8] // 7505 | jne 7 $sequence_8 = { 85f6 7456 83fe01 7251 837f1810 8d4704 894508 } // n = 7, score = 100 // 85f6 | test esi, esi // 7456 | je 0x58 // 83fe01 | cmp esi, 1 // 7251 | jb 0x53 // 837f1810 | cmp dword ptr [edi + 0x18], 0x10 // 8d4704 | lea eax, [edi + 4] // 894508 | mov dword ptr [ebp + 8], eax $sequence_9 = { 837dfc00 7d04 33c0 eb69 8b4dfc 8b14cd24e44600 8955f8 } // n = 7, score = 100 // 837dfc00 | cmp dword ptr [ebp - 4], 0 // 7d04 | jge 6 // 33c0 | xor eax, eax // eb69 | jmp 0x6b // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 8b14cd24e44600 | mov edx, dword ptr [ecx*8 + 0x46e424] // 8955f8 | mov dword ptr [ebp - 8], edx condition: 7 of them and filesize < 1163264 }
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