There is no description at this point.
rule win_sanny_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.sanny." 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.sanny" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 66a1???????? 8d4c2414 68???????? 51 c744241800000000 89542424 6689442428 } // n = 7, score = 100 // 66a1???????? | // 8d4c2414 | lea ecx, [esp + 0x14] // 68???????? | // 51 | push ecx // c744241800000000 | mov dword ptr [esp + 0x18], 0 // 89542424 | mov dword ptr [esp + 0x24], edx // 6689442428 | mov word ptr [esp + 0x28], ax $sequence_1 = { 50 ff15???????? 85c0 898614c50000 0f84ed000000 6a00 8dbe08c50000 } // n = 7, score = 100 // 50 | push eax // ff15???????? | // 85c0 | test eax, eax // 898614c50000 | mov dword ptr [esi + 0xc514], eax // 0f84ed000000 | je 0xf3 // 6a00 | push 0 // 8dbe08c50000 | lea edi, [esi + 0xc508] $sequence_2 = { 889424c8010000 f3ab 66ab aa b907000000 33c0 8dbc24e9010000 } // n = 7, score = 100 // 889424c8010000 | mov byte ptr [esp + 0x1c8], dl // f3ab | rep stosd dword ptr es:[edi], eax // 66ab | stosw word ptr es:[edi], ax // aa | stosb byte ptr es:[edi], al // b907000000 | mov ecx, 7 // 33c0 | xor eax, eax // 8dbc24e9010000 | lea edi, [esp + 0x1e9] $sequence_3 = { 0f8503010000 6689842418040000 668984241a040000 8a44241c 3c01 } // n = 5, score = 100 // 0f8503010000 | jne 0x109 // 6689842418040000 | mov word ptr [esp + 0x418], ax // 668984241a040000 | mov word ptr [esp + 0x41a], ax // 8a44241c | mov al, byte ptr [esp + 0x1c] // 3c01 | cmp al, 1 $sequence_4 = { 5e 8d0c8d28634100 3bc1 7305 395004 7402 33c0 } // n = 7, score = 100 // 5e | pop esi // 8d0c8d28634100 | lea ecx, [ecx*4 + 0x416328] // 3bc1 | cmp eax, ecx // 7305 | jae 7 // 395004 | cmp dword ptr [eax + 4], edx // 7402 | je 4 // 33c0 | xor eax, eax $sequence_5 = { 8bd0 48 83fa01 898424b4000000 7504 8ac2 eb02 } // n = 7, score = 100 // 8bd0 | mov edx, eax // 48 | dec eax // 83fa01 | cmp edx, 1 // 898424b4000000 | mov dword ptr [esp + 0xb4], eax // 7504 | jne 6 // 8ac2 | mov al, dl // eb02 | jmp 4 $sequence_6 = { 57 8bce e8???????? 85c0 7513 8b442410 8bce } // n = 7, score = 100 // 57 | push edi // 8bce | mov ecx, esi // e8???????? | // 85c0 | test eax, eax // 7513 | jne 0x15 // 8b442410 | mov eax, dword ptr [esp + 0x10] // 8bce | mov ecx, esi $sequence_7 = { 03c3 8d9c0844eabea4 8b442414 c1c304 03de 8bcb 33ce } // n = 7, score = 100 // 03c3 | add eax, ebx // 8d9c0844eabea4 | lea ebx, [eax + ecx - 0x5b4115bc] // 8b442414 | mov eax, dword ptr [esp + 0x14] // c1c304 | rol ebx, 4 // 03de | add ebx, esi // 8bcb | mov ecx, ebx // 33ce | xor ecx, esi $sequence_8 = { f2ae f7d1 2bf9 8d9424a0020000 } // n = 4, score = 100 // f2ae | repne scasb al, byte ptr es:[edi] // f7d1 | not ecx // 2bf9 | sub edi, ecx // 8d9424a0020000 | lea edx, [esp + 0x2a0] $sequence_9 = { 50 8d8c2424010000 e8???????? 8d8c24900a0000 51 e8???????? 56 } // n = 7, score = 100 // 50 | push eax // 8d8c2424010000 | lea ecx, [esp + 0x124] // e8???????? | // 8d8c24900a0000 | lea ecx, [esp + 0xa90] // 51 | push ecx // e8???????? | // 56 | push esi condition: 7 of them and filesize < 253952 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY