There is no description at this point.
rule win_goldenspy_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.goldenspy." 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.goldenspy" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { ff500c 85c0 b914020090 5e 0f45c8 8bc1 5d } // n = 7, score = 100 // ff500c | call dword ptr [eax + 0xc] // 85c0 | test eax, eax // b914020090 | mov ecx, 0x90000214 // 5e | pop esi // 0f45c8 | cmovne ecx, eax // 8bc1 | mov eax, ecx // 5d | pop ebp $sequence_1 = { 7442 8b474c 33f6 85c0 742d 3bc3 7311 } // n = 7, score = 100 // 7442 | je 0x44 // 8b474c | mov eax, dword ptr [edi + 0x4c] // 33f6 | xor esi, esi // 85c0 | test eax, eax // 742d | je 0x2f // 3bc3 | cmp eax, ebx // 7311 | jae 0x13 $sequence_2 = { 8b5d08 56 8bf1 57 8b4e10 3bd9 767b } // n = 7, score = 100 // 8b5d08 | mov ebx, dword ptr [ebp + 8] // 56 | push esi // 8bf1 | mov esi, ecx // 57 | push edi // 8b4e10 | mov ecx, dword ptr [esi + 0x10] // 3bd9 | cmp ebx, ecx // 767b | jbe 0x7d $sequence_3 = { 7424 6a00 8d45f0 50 33c0 85ff } // n = 6, score = 100 // 7424 | je 0x26 // 6a00 | push 0 // 8d45f0 | lea eax, [ebp - 0x10] // 50 | push eax // 33c0 | xor eax, eax // 85ff | test edi, edi $sequence_4 = { 52 51 e8???????? 83c408 8bb510feffff 837e2010 8d560c } // n = 7, score = 100 // 52 | push edx // 51 | push ecx // e8???????? | // 83c408 | add esp, 8 // 8bb510feffff | mov esi, dword ptr [ebp - 0x1f0] // 837e2010 | cmp dword ptr [esi + 0x20], 0x10 // 8d560c | lea edx, [esi + 0xc] $sequence_5 = { 8b5c2438 8b4c243c 03cb 3bd9 730e 8b550c } // n = 6, score = 100 // 8b5c2438 | mov ebx, dword ptr [esp + 0x38] // 8b4c243c | mov ecx, dword ptr [esp + 0x3c] // 03cb | add ecx, ebx // 3bd9 | cmp ebx, ecx // 730e | jae 0x10 // 8b550c | mov edx, dword ptr [ebp + 0xc] $sequence_6 = { 7413 8a02 8d4a01 894f48 8bd1 3c2a 7505 } // n = 7, score = 100 // 7413 | je 0x15 // 8a02 | mov al, byte ptr [edx] // 8d4a01 | lea ecx, [edx + 1] // 894f48 | mov dword ptr [edi + 0x48], ecx // 8bd1 | mov edx, ecx // 3c2a | cmp al, 0x2a // 7505 | jne 7 $sequence_7 = { ff15???????? 85c0 7870 6a2c e8???????? 8bf0 } // n = 6, score = 100 // ff15???????? | // 85c0 | test eax, eax // 7870 | js 0x72 // 6a2c | push 0x2c // e8???????? | // 8bf0 | mov esi, eax $sequence_8 = { c645d800 eb10 68???????? e8???????? 83c404 83ceff 8d8d50ffffff } // n = 7, score = 100 // c645d800 | mov byte ptr [ebp - 0x28], 0 // eb10 | jmp 0x12 // 68???????? | // e8???????? | // 83c404 | add esp, 4 // 83ceff | or esi, 0xffffffff // 8d8d50ffffff | lea ecx, [ebp - 0xb0] $sequence_9 = { 83c408 85c0 741a 837e1410 8bd6 } // n = 5, score = 100 // 83c408 | add esp, 8 // 85c0 | test eax, eax // 741a | je 0x1c // 837e1410 | cmp dword ptr [esi + 0x14], 0x10 // 8bd6 | mov edx, esi condition: 7 of them and filesize < 1081344 }
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