Actor(s): OilRig
There is no description at this point.
rule win_sidetwist_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.sidetwist." 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.sidetwist" 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 = { 53 4883ec20 488d05d47c0300 488901 4889cb 488d4910 e8???????? } // n = 7, score = 100 // 53 | lea ecx, [0x466ac] // 4883ec20 | inc ebp // 488d05d47c0300 | xor eax, eax // 488901 | xor edx, edx // 4889cb | dec eax // 488d4910 | mov ecx, ebx // e8???????? | $sequence_1 = { 4839d0 0f8563040000 488b4310 48c7c2ffffffff 488b7828 4885ff 740c } // n = 7, score = 100 // 4839d0 | mov ecx, eax // 0f8563040000 | dec eax // 488b4310 | mov dword ptr [ebp - 8], eax // 48c7c2ffffffff | dec eax // 488b7828 | lea eax, [ebp - 0x52] // 4885ff | dec eax // 740c | cmp edx, eax $sequence_2 = { 488906 488b05???????? 8b10 85d2 0f857e030000 83430801 488d05864d0a00 } // n = 7, score = 100 // 488906 | dec eax // 488b05???????? | // 8b10 | mov ebx, ecx // 85d2 | setne al // 0f857e030000 | mov dword ptr [ecx + 8], eax // 83430801 | dec eax // 488d05864d0a00 | lea eax, [0x1f125] $sequence_3 = { 66480f6eea 488d1d259c0400 660f6cc2 488d151f9c0400 0f1180a0000000 66480f6ec1 66480f6eca } // n = 7, score = 100 // 66480f6eea | lea ebp, [esp + 0x30] // 488d1d259c0400 | dec eax // 660f6cc2 | mov dword ptr [ebp + 0x20], ecx // 488d151f9c0400 | dec eax // 0f1180a0000000 | mov dword ptr [ebp + 0x28], edx // 66480f6ec1 | dec eax // 66480f6eca | mov eax, dword ptr [ebp + 0x28] $sequence_4 = { 4889c1 e8???????? 4885c0 0f94c0 84c0 7434 488d45f7 } // n = 7, score = 100 // 4889c1 | dec eax // e8???????? | // 4885c0 | mov dword ptr [ebx + 0xe0], eax // 0f94c0 | dec eax // 84c0 | lea eax, [0x43821] // 7434 | dec eax // 488d45f7 | lea edi, [ebx + 0x18] $sequence_5 = { 66480f6ee2 488d3d4d950400 660f6cc1 488d1554950400 0f118090000000 66480f6ec3 } // n = 6, score = 100 // 66480f6ee2 | mov dword ptr [ebx + 0x40], esi // 488d3d4d950400 | dec eax // 660f6cc1 | mov dword ptr [ebx], eax // 488d1554950400 | mov eax, 0xffffffff // 0f118090000000 | dec eax // 66480f6ec3 | mov dword ptr [ecx - 8], 0 $sequence_6 = { 4883ec20 488d05c4ba0400 488901 488b4120 4889cb 488b4918 48c7401800000000 } // n = 7, score = 100 // 4883ec20 | dec eax // 488d05c4ba0400 | mov dword ptr [ebx + 0x10], eax // 488901 | dec eax // 488b4120 | lea ecx, [ebx + 0x60] // 4889cb | dec eax // 488b4918 | add eax, 0x50 // 48c7401800000000 | dec eax $sequence_7 = { 488d0d69fa0900 c70011000000 48894808 c3 488d0d57fa0900 c70010000000 48894808 } // n = 7, score = 100 // 488d0d69fa0900 | dec eax // c70011000000 | lea ecx, [ecx + 0x10] // 48894808 | dec eax // c3 | mov ecx, ebx // 488d0d57fa0900 | dec eax // c70010000000 | add esp, 0x20 // 48894808 | dec eax $sequence_8 = { 41395f58 0f85e8faffff 488b8c2440010000 4889f2 e8???????? e9???????? 488b4110 } // n = 7, score = 100 // 41395f58 | je 0x167 // 0f85e8faffff | dec eax // 488b8c2440010000 | mov eax, dword ptr [esi] // 4889f2 | dec eax // e8???????? | // e9???????? | // 488b4110 | lea edx, [0xfffe8a6b] $sequence_9 = { 7421 4531c9 4c8d05dc1f0100 488d15750d0100 e8???????? 4885c0 740b } // n = 7, score = 100 // 7421 | add eax, 0x50 // 4531c9 | dec eax // 4c8d05dc1f0100 | mov ebx, ecx // 488d15750d0100 | dec eax // e8???????? | // 4885c0 | lea ecx, [ecx + 0x18] // 740b | dec eax condition: 7 of them and filesize < 2002944 }
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