There is no description at this point.
rule win_sage_ransom_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.sage_ransom." 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.sage_ransom" 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 = { 83c438 833d????????00 7513 e8???????? 50 a3???????? e8???????? } // n = 7, score = 300 // 83c438 | add esp, 0x38 // 833d????????00 | // 7513 | jne 0x15 // e8???????? | // 50 | push eax // a3???????? | // e8???????? | $sequence_1 = { 6a00 6a00 57 e8???????? 83c428 e8???????? 5f } // n = 7, score = 300 // 6a00 | push 0 // 6a00 | push 0 // 57 | push edi // e8???????? | // 83c428 | add esp, 0x28 // e8???????? | // 5f | pop edi $sequence_2 = { ff15???????? 85c0 0f8574ffffff 5f 5e 5d 5b } // n = 7, score = 300 // ff15???????? | // 85c0 | test eax, eax // 0f8574ffffff | jne 0xffffff7a // 5f | pop edi // 5e | pop esi // 5d | pop ebp // 5b | pop ebx $sequence_3 = { 6a02 ff15???????? 8bf0 8d471c 01442410 ff15???????? 8bc8 } // n = 7, score = 300 // 6a02 | push 2 // ff15???????? | // 8bf0 | mov esi, eax // 8d471c | lea eax, [edi + 0x1c] // 01442410 | add dword ptr [esp + 0x10], eax // ff15???????? | // 8bc8 | mov ecx, eax $sequence_4 = { e8???????? 83c404 85c0 793f 68???????? 68???????? } // n = 6, score = 300 // e8???????? | // 83c404 | add esp, 4 // 85c0 | test eax, eax // 793f | jns 0x41 // 68???????? | // 68???????? | $sequence_5 = { 51 e8???????? 8d542410 6a03 52 } // n = 5, score = 300 // 51 | push ecx // e8???????? | // 8d542410 | lea edx, [esp + 0x10] // 6a03 | push 3 // 52 | push edx $sequence_6 = { 50 8d4c241c 51 e8???????? 83c41c 85c0 7907 } // n = 7, score = 300 // 50 | push eax // 8d4c241c | lea ecx, [esp + 0x1c] // 51 | push ecx // e8???????? | // 83c41c | add esp, 0x1c // 85c0 | test eax, eax // 7907 | jns 9 $sequence_7 = { 8b4004 66833864 755b 6683780200 } // n = 4, score = 300 // 8b4004 | mov eax, dword ptr [eax + 4] // 66833864 | cmp word ptr [eax], 0x64 // 755b | jne 0x5d // 6683780200 | cmp word ptr [eax + 2], 0 $sequence_8 = { 014114 8b4318 014118 8b431c } // n = 4, score = 200 // 014114 | add dword ptr [ecx + 0x14], eax // 8b4318 | mov eax, dword ptr [ebx + 0x18] // 014118 | add dword ptr [ecx + 0x18], eax // 8b431c | mov eax, dword ptr [ebx + 0x1c] $sequence_9 = { 014110 8b4314 014114 8b4318 } // n = 4, score = 200 // 014110 | add dword ptr [ecx + 0x10], eax // 8b4314 | mov eax, dword ptr [ebx + 0x14] // 014114 | add dword ptr [ecx + 0x14], eax // 8b4318 | mov eax, dword ptr [ebx + 0x18] $sequence_10 = { 014108 8b430c 01410c 8b4310 } // n = 4, score = 200 // 014108 | add dword ptr [ecx + 8], eax // 8b430c | mov eax, dword ptr [ebx + 0xc] // 01410c | add dword ptr [ecx + 0xc], eax // 8b4310 | mov eax, dword ptr [ebx + 0x10] $sequence_11 = { 891424 ff9688000000 31f6 83ec10 85c0 7405 } // n = 6, score = 200 // 891424 | mov dword ptr [esp], edx // ff9688000000 | call dword ptr [esi + 0x88] // 31f6 | xor esi, esi // 83ec10 | sub esp, 0x10 // 85c0 | test eax, eax // 7405 | je 7 $sequence_12 = { 013c13 83c102 46 ebd3 } // n = 4, score = 200 // 013c13 | add dword ptr [ebx + edx], edi // 83c102 | add ecx, 2 // 46 | inc esi // ebd3 | jmp 0xffffffd5 $sequence_13 = { 0101 8b4304 014104 8b4308 014108 } // n = 5, score = 200 // 0101 | add dword ptr [ecx], eax // 8b4304 | mov eax, dword ptr [ebx + 4] // 014104 | add dword ptr [ecx + 4], eax // 8b4308 | mov eax, dword ptr [ebx + 8] // 014108 | add dword ptr [ecx + 8], eax $sequence_14 = { 01410c 8b4310 014110 8b4314 } // n = 4, score = 200 // 01410c | add dword ptr [ecx + 0xc], eax // 8b4310 | mov eax, dword ptr [ebx + 0x10] // 014110 | add dword ptr [ecx + 0x10], eax // 8b4314 | mov eax, dword ptr [ebx + 0x14] $sequence_15 = { 0119 117104 83c110 83c210 } // n = 4, score = 200 // 0119 | add dword ptr [ecx], ebx // 117104 | adc dword ptr [ecx + 4], esi // 83c110 | add ecx, 0x10 // 83c210 | add edx, 0x10 condition: 7 of them and filesize < 335872 }
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