There is no description at this point.
rule win_taintedscribe_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.taintedscribe." 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.taintedscribe" malpedia_rule_date = "20230705" malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41" malpedia_version = "20230715" 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 = { 5e b800020000 5b 5d c20c00 c6461401 } // n = 6, score = 500 // 5e | pop esi // b800020000 | mov eax, 0x200 // 5b | pop ebx // 5d | pop ebp // c20c00 | ret 0xc // c6461401 | mov byte ptr [esi + 0x14], 1 $sequence_1 = { 895634 0fb755e4 894630 894638 894640 0fb745e8 c1e210 } // n = 7, score = 500 // 895634 | mov dword ptr [esi + 0x34], edx // 0fb755e4 | movzx edx, word ptr [ebp - 0x1c] // 894630 | mov dword ptr [esi + 0x30], eax // 894638 | mov dword ptr [esi + 0x38], eax // 894640 | mov dword ptr [esi + 0x40], eax // 0fb745e8 | movzx eax, word ptr [ebp - 0x18] // c1e210 | shl edx, 0x10 $sequence_2 = { 8bf8 f3a5 8b4b28 83c414 85c9 7518 5f } // n = 7, score = 500 // 8bf8 | mov edi, eax // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // 8b4b28 | mov ecx, dword ptr [ebx + 0x28] // 83c414 | add esp, 0x14 // 85c9 | test ecx, ecx // 7518 | jne 0x1a // 5f | pop edi $sequence_3 = { 017e54 57 53 50 e8???????? 83c418 } // n = 6, score = 500 // 017e54 | add dword ptr [esi + 0x54], edi // 57 | push edi // 53 | push ebx // 50 | push eax // e8???????? | // 83c418 | add esp, 0x18 $sequence_4 = { 81cf00000040 eb06 81cf00000080 81cf00000001 897da4 85c0 } // n = 6, score = 500 // 81cf00000040 | or edi, 0x40000000 // eb06 | jmp 8 // 81cf00000080 | or edi, 0x80000000 // 81cf00000001 | or edi, 0x1000000 // 897da4 | mov dword ptr [ebp - 0x5c], edi // 85c0 | test eax, eax $sequence_5 = { 8bc2 d3e0 83c40c 098658af0100 8d0419 89865caf0100 83f810 } // n = 7, score = 500 // 8bc2 | mov eax, edx // d3e0 | shl eax, cl // 83c40c | add esp, 0xc // 098658af0100 | or dword ptr [esi + 0x1af58], eax // 8d0419 | lea eax, [ecx + ebx] // 89865caf0100 | mov dword ptr [esi + 0x1af5c], eax // 83f810 | cmp eax, 0x10 $sequence_6 = { 668985ecfbffff e8???????? 83c40c 85db 7410 } // n = 5, score = 500 // 668985ecfbffff | mov word ptr [ebp - 0x414], ax // e8???????? | // 83c40c | add esp, 0xc // 85db | test ebx, ebx // 7410 | je 0x12 $sequence_7 = { 83c418 894310 895314 8bb57cffffff 85f6 7421 8d55a4 } // n = 7, score = 500 // 83c418 | add esp, 0x18 // 894310 | mov dword ptr [ebx + 0x10], eax // 895314 | mov dword ptr [ebx + 0x14], edx // 8bb57cffffff | mov esi, dword ptr [ebp - 0x84] // 85f6 | test esi, esi // 7421 | je 0x23 // 8d55a4 | lea edx, [ebp - 0x5c] $sequence_8 = { 7d06 89b588fbffff 8b5350 8b4b2c 8b7b38 89958cfbffff } // n = 6, score = 500 // 7d06 | jge 8 // 89b588fbffff | mov dword ptr [ebp - 0x478], esi // 8b5350 | mov edx, dword ptr [ebx + 0x50] // 8b4b2c | mov ecx, dword ptr [ebx + 0x2c] // 8b7b38 | mov edi, dword ptr [ebx + 0x38] // 89958cfbffff | mov dword ptr [ebp - 0x474], edx $sequence_9 = { 7407 3d50450000 7507 814da400004000 8b7da4 8b5d9c 8b4580 } // n = 7, score = 500 // 7407 | je 9 // 3d50450000 | cmp eax, 0x4550 // 7507 | jne 9 // 814da400004000 | or dword ptr [ebp - 0x5c], 0x400000 // 8b7da4 | mov edi, dword ptr [ebp - 0x5c] // 8b5d9c | mov ebx, dword ptr [ebp - 0x64] // 8b4580 | mov eax, dword ptr [ebp - 0x80] condition: 7 of them and filesize < 524288 }
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