Actor(s): Earth Lusca
A custom loader for CobaltStrike.
rule win_fishmaster_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.fishmaster." 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.fishmaster" 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 = { 4c8bcb 49c7c0ffffffff 48c744242000000000 488bd7 488b08 4883c901 ff15???????? } // n = 7, score = 100 // 4c8bcb | cmp esi, 0x10 // 49c7c0ffffffff | dec eax // 48c744242000000000 | mov ecx, eax // 488bd7 | dec eax // 488b08 | test eax, eax // 4883c901 | je 0x1ab // ff15???????? | $sequence_1 = { 448b7f10 48897310 48c743180f000000 408833 4533c0 488d15d5300000 } // n = 6, score = 100 // 448b7f10 | movups xmmword ptr [esp + 0x70], xmm0 // 48897310 | dec eax // 48c743180f000000 | mov dword ptr [ebp - 0x78], 0xf // 408833 | jmp 0x9d // 4533c0 | dec ecx // 488d15d5300000 | mov ebx, esi $sequence_2 = { 8bbc2498000000 4180f82f 410f44fa c1ff04 c0e202 } // n = 5, score = 100 // 8bbc2498000000 | jb 0x7ad // 4180f82f | dec eax // 410f44fa | mov dword ptr [esp + 0x40], edi // c1ff04 | dec esp // c0e202 | mov dword ptr [esp + 0x48], esp $sequence_3 = { ff15???????? 4533f6 4489742420 4533c9 4533c0 418d5601 } // n = 6, score = 100 // ff15???????? | // 4533f6 | dec eax // 4489742420 | cmovae edx, dword ptr [esp + 0x40] // 4533c9 | dec eax // 4533c0 | lea ecx, [esp + 0x40] // 418d5601 | dec eax $sequence_4 = { 48837f1810 7203 488b07 488d4c2438 4983fe10 } // n = 5, score = 100 // 48837f1810 | mov eax, 0x3f // 7203 | cmp al, 0x19 // 488b07 | ja 0x1a1 // 488d4c2438 | inc esp // 4983fe10 | lea esp, [ecx - 0x41] $sequence_5 = { eb26 ff15???????? cc 488bd6 e8???????? } // n = 5, score = 100 // eb26 | jne 0x91 // ff15???????? | // cc | mov edx, edi // 488bd6 | jmp 0x9f // e8???????? | $sequence_6 = { 488d0d922c0000 e8???????? 85c0 742e 32c0 eb33 } // n = 6, score = 100 // 488d0d922c0000 | cmove eax, edx // e8???????? | // 85c0 | inc esp // 742e | mov esp, edi // 32c0 | jmp 0x776 // eb33 | cmp cl, 0x2f $sequence_7 = { 4883ec18 4c8bc1 b84d5a0000 6639051dcbffff } // n = 4, score = 100 // 4883ec18 | dec eax // 4c8bc1 | add eax, 0x27 // b84d5a0000 | dec eax // 6639051dcbffff | and eax, 0xffffffe0 $sequence_8 = { 42880409 488d542440 48837c245810 480f43542440 488d4c2440 } // n = 5, score = 100 // 42880409 | dec ebp // 488d542440 | mov eax, esi // 48837c245810 | dec esp // 480f43542440 | mov dword ptr [esi + 0x10], edi // 488d4c2440 | dec esi $sequence_9 = { 8d71b9 eb1c 8d41d0 3c09 } // n = 4, score = 100 // 8d71b9 | jl 0x96 // eb1c | dec eax // 8d41d0 | lea eax, [ebp + 0x80] // 3c09 | dec eax condition: 7 of them and filesize < 812032 }
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