Actor(s): Mofang
There is no description at this point.
rule win_shimrat_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.shimrat." 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.shimrat" 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 = { ff15???????? 8bce 899ec0000000 e8???????? 85c0 750e 8d4de8 } // n = 7, score = 100 // ff15???????? | // 8bce | mov ecx, esi // 899ec0000000 | mov dword ptr [esi + 0xc0], ebx // e8???????? | // 85c0 | test eax, eax // 750e | jne 0x10 // 8d4de8 | lea ecx, [ebp - 0x18] $sequence_1 = { 0fb7c0 53 56 8945fc 0fb7c0 } // n = 5, score = 100 // 0fb7c0 | movzx eax, ax // 53 | push ebx // 56 | push esi // 8945fc | mov dword ptr [ebp - 4], eax // 0fb7c0 | movzx eax, ax $sequence_2 = { 6a04 6a00 8d45a8 50 8d4df0 } // n = 5, score = 100 // 6a04 | push 4 // 6a00 | push 0 // 8d45a8 | lea eax, [ebp - 0x58] // 50 | push eax // 8d4df0 | lea ecx, [ebp - 0x10] $sequence_3 = { 7506 5d e9???????? 83f804 7506 5d e9???????? } // n = 7, score = 100 // 7506 | jne 8 // 5d | pop ebp // e9???????? | // 83f804 | cmp eax, 4 // 7506 | jne 8 // 5d | pop ebp // e9???????? | $sequence_4 = { 85c0 0f856dffffff 8d45dc 50 8d4f30 e8???????? 85c0 } // n = 7, score = 100 // 85c0 | test eax, eax // 0f856dffffff | jne 0xffffff73 // 8d45dc | lea eax, [ebp - 0x24] // 50 | push eax // 8d4f30 | lea ecx, [edi + 0x30] // e8???????? | // 85c0 | test eax, eax $sequence_5 = { e8???????? 6a04 5b 85c0 7427 395dfc } // n = 6, score = 100 // e8???????? | // 6a04 | push 4 // 5b | pop ebx // 85c0 | test eax, eax // 7427 | je 0x29 // 395dfc | cmp dword ptr [ebp - 4], ebx $sequence_6 = { 83662000 837d1800 7407 8bce e8???????? 33c0 } // n = 6, score = 100 // 83662000 | and dword ptr [esi + 0x20], 0 // 837d1800 | cmp dword ptr [ebp + 0x18], 0 // 7407 | je 9 // 8bce | mov ecx, esi // e8???????? | // 33c0 | xor eax, eax $sequence_7 = { c705????????02000000 c705????????03000000 8935???????? 8935???????? 8935???????? 8935???????? e8???????? } // n = 7, score = 100 // c705????????02000000 | // c705????????03000000 | // 8935???????? | // 8935???????? | // 8935???????? | // 8935???????? | // e8???????? | $sequence_8 = { 50 6a08 8d45f4 50 8d4d08 } // n = 5, score = 100 // 50 | push eax // 6a08 | push 8 // 8d45f4 | lea eax, [ebp - 0xc] // 50 | push eax // 8d4d08 | lea ecx, [ebp + 8] $sequence_9 = { 8d4d30 e8???????? 56 8d85b0e7ffff 50 8d4d30 e8???????? } // n = 7, score = 100 // 8d4d30 | lea ecx, [ebp + 0x30] // e8???????? | // 56 | push esi // 8d85b0e7ffff | lea eax, [ebp - 0x1850] // 50 | push eax // 8d4d30 | lea ecx, [ebp + 0x30] // e8???????? | condition: 7 of them and filesize < 65536 }
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