Ransomware written in Go.
rule win_decaf_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.decaf." 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.decaf" 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 = { 488b9c2490000000 e9???????? b801000000 488b6c2478 4883ec80 c3 488d05850d1400 } // n = 7, score = 100 // 488b9c2490000000 | mov byte ptr [eax + 9], dl // e9???????? | // b801000000 | movzx edx, byte ptr [esp + 0x46] // 488b6c2478 | inc esp // 4883ec80 | sub edx, eax // c3 | mov byte ptr [eax + 8], dl // 488d05850d1400 | movzx edx, byte ptr [esp + 0x45] $sequence_1 = { eb11 488d7818 488b8c24701a0000 e8???????? 488b8c2480030000 48894808 833d????????00 } // n = 7, score = 100 // eb11 | mov edx, 0x5a7000bb // 488d7818 | faddp st(5) // 488b8c24701a0000 | cdq // e8???????? | // 488b8c2480030000 | dec eax // 48894808 | mov dword ptr [esp + 0x98], edx // 833d????????00 | $sequence_2 = { c600dd 488d050c4a0700 e8???????? 4889442428 48c70000000000 488d0574b00700 e8???????? } // n = 7, score = 100 // c600dd | dec eax // 488d050c4a0700 | lea ecx, [0xb4] // e8???????? | // 4889442428 | dec eax // 48c70000000000 | mov dword ptr [eax], ecx // 488d0574b00700 | jne 0x6b8 // e8???????? | $sequence_3 = { 488d05328b1b00 48890424 e8???????? 450f57ff 654c8b342528000000 4d8bb600000000 488b05???????? } // n = 7, score = 100 // 488d05328b1b00 | inc esp // 48890424 | xor edx, eax // e8???????? | // 450f57ff | mov byte ptr [eax + 0x11], dl // 654c8b342528000000 | movzx edx, byte ptr [esp + 0x5d] // 4d8bb600000000 | inc esp // 488b05???????? | $sequence_4 = { e8???????? 488b0d???????? 48894c2450 488d0516941300 e8???????? 833d????????00 750b } // n = 7, score = 100 // e8???????? | // 488b0d???????? | // 48894c2450 | dec eax // 488d0516941300 | lea ebx, [0x323c95] // e8???????? | // 833d????????00 | // 750b | nop $sequence_5 = { e8???????? 488d3d4b401f00 e8???????? e8???????? 4889842428140000 48899c2480080000 488b0d???????? } // n = 7, score = 100 // e8???????? | // 488d3d4b401f00 | dec eax // e8???????? | // e8???????? | // 4889842428140000 | mov dword ptr [eax], ecx // 48899c2480080000 | dec eax // 488b0d???????? | $sequence_6 = { 4c8d4303 4c39c6 7339 4c89442460 488d058ea80700 4889d9 } // n = 6, score = 100 // 4c8d4303 | dec eax // 4c39c6 | mov ebp, dword ptr [esp + 0xb8] // 7339 | dec eax // 4c89442460 | lea eax, [0x1c11c7] // 488d058ea80700 | mov ebx, 0x1b // 4889d9 | nop $sequence_7 = { eb1c 4889c7 488b8c24b8110000 e8???????? 488d3d2b501f00 e8???????? e8???????? } // n = 7, score = 100 // eb1c | mov edx, 0xcc61fe7a // 4889c7 | xor dword ptr [edx - 0x52], eax // 488b8c24b8110000 | loopne 0x9f // e8???????? | // 488d3d2b501f00 | mov dword ptr [esp + 0x36], edx // e8???????? | // e8???????? | $sequence_8 = { c6441f023e b909000000 0f1f440000 e9???????? 4983f809 7548 4c8d4301 } // n = 7, score = 100 // c6441f023e | dec eax // b909000000 | lea ecx, [0x15eb02] // 0f1f440000 | dec eax // e9???????? | // 4983f809 | lea eax, [0xca7c0] // 7548 | dec eax // 4c8d4301 | mov ecx, ebx $sequence_9 = { eb11 488d7818 488b8c2400010000 e8???????? 48c7401017000000 488d0d18b41500 48894808 } // n = 7, score = 100 // eb11 | mov edx, 0x1a062018 // 488d7818 | add eax, 0xba48111a // 488b8c2400010000 | push ss // e8???????? | // 48c7401017000000 | pop eax // 488d0d18b41500 | setbe ah // 48894808 | pop edi condition: 7 of them and filesize < 7193600 }
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