Ransomware.
rule win_prestige_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.prestige." 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.prestige" 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 = { e8???????? 83c404 8b4df4 c7461000000000 c746140f000000 c60600 5f } // n = 7, score = 100 // e8???????? | // 83c404 | add esp, 4 // 8b4df4 | mov ecx, dword ptr [ebp - 0xc] // c7461000000000 | mov dword ptr [esi + 0x10], 0 // c746140f000000 | mov dword ptr [esi + 0x14], 0xf // c60600 | mov byte ptr [esi], 0 // 5f | pop edi $sequence_1 = { 83cb04 eb8d 8b45e8 8b4de0 83c0ff 8945e8 } // n = 6, score = 100 // 83cb04 | or ebx, 4 // eb8d | jmp 0xffffff8f // 8b45e8 | mov eax, dword ptr [ebp - 0x18] // 8b4de0 | mov ecx, dword ptr [ebp - 0x20] // 83c0ff | add eax, -1 // 8945e8 | mov dword ptr [ebp - 0x18], eax $sequence_2 = { 894530 895d58 8bc8 837d38ff 8b35???????? 8b3d???????? 0f858c000000 } // n = 7, score = 100 // 894530 | mov dword ptr [ebp + 0x30], eax // 895d58 | mov dword ptr [ebp + 0x58], ebx // 8bc8 | mov ecx, eax // 837d38ff | cmp dword ptr [ebp + 0x38], -1 // 8b35???????? | // 8b3d???????? | // 0f858c000000 | jne 0x92 $sequence_3 = { 0f433d???????? 0f93c1 033d???????? 84c9 0f4535???????? 84ed 897518 } // n = 7, score = 100 // 0f433d???????? | // 0f93c1 | setae cl // 033d???????? | // 84c9 | test cl, cl // 0f4535???????? | // 84ed | test ch, ch // 897518 | mov dword ptr [ebp + 0x18], esi $sequence_4 = { 895df4 eb0d c745e890334700 8d45e8 895dec 50 8d4df8 } // n = 7, score = 100 // 895df4 | mov dword ptr [ebp - 0xc], ebx // eb0d | jmp 0xf // c745e890334700 | mov dword ptr [ebp - 0x18], 0x473390 // 8d45e8 | lea eax, [ebp - 0x18] // 895dec | mov dword ptr [ebp - 0x14], ebx // 50 | push eax // 8d4df8 | lea ecx, [ebp - 8] $sequence_5 = { 84c0 0f852b010000 ff75e0 885d13 56 e8???????? 8b4de8 } // n = 7, score = 100 // 84c0 | test al, al // 0f852b010000 | jne 0x131 // ff75e0 | push dword ptr [ebp - 0x20] // 885d13 | mov byte ptr [ebp + 0x13], bl // 56 | push esi // e8???????? | // 8b4de8 | mov ecx, dword ptr [ebp - 0x18] $sequence_6 = { 8bc6 5d 5b 5f 5e c20800 b816000000 } // n = 7, score = 100 // 8bc6 | mov eax, esi // 5d | pop ebp // 5b | pop ebx // 5f | pop edi // 5e | pop esi // c20800 | ret 8 // b816000000 | mov eax, 0x16 $sequence_7 = { 8bfe f3aa 56 e8???????? 8b442424 83c404 8903 } // n = 7, score = 100 // 8bfe | mov edi, esi // f3aa | rep stosb byte ptr es:[edi], al // 56 | push esi // e8???????? | // 8b442424 | mov eax, dword ptr [esp + 0x24] // 83c404 | add esp, 4 // 8903 | mov dword ptr [ebx], eax $sequence_8 = { 742b 8b5dd4 8bc7 2bc6 3bc3 0f8c6cfbffff 85d2 } // n = 7, score = 100 // 742b | je 0x2d // 8b5dd4 | mov ebx, dword ptr [ebp - 0x2c] // 8bc7 | mov eax, edi // 2bc6 | sub eax, esi // 3bc3 | cmp eax, ebx // 0f8c6cfbffff | jl 0xfffffb72 // 85d2 | test edx, edx $sequence_9 = { 33c0 eb0e 0f57c0 660f134594 8b4598 8b5594 8b4de4 } // n = 7, score = 100 // 33c0 | xor eax, eax // eb0e | jmp 0x10 // 0f57c0 | xorps xmm0, xmm0 // 660f134594 | movlpd qword ptr [ebp - 0x6c], xmm0 // 8b4598 | mov eax, dword ptr [ebp - 0x68] // 8b5594 | mov edx, dword ptr [ebp - 0x6c] // 8b4de4 | mov ecx, dword ptr [ebp - 0x1c] condition: 7 of them and filesize < 1518592 }
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