Actor(s): DragonOK
There is no description at this point.
rule win_new_ct_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.new_ct." 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.new_ct" 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 = { 8d95b0faffff 52 68???????? 8d857cf8ffff 50 } // n = 5, score = 200 // 8d95b0faffff | lea edx, [ebp - 0x550] // 52 | push edx // 68???????? | // 8d857cf8ffff | lea eax, [ebp - 0x784] // 50 | push eax $sequence_1 = { c1e902 f3a5 8bca 83e103 f3a4 039dc8fdffff 899de0feffff } // n = 7, score = 200 // c1e902 | shr ecx, 2 // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // 8bca | mov ecx, edx // 83e103 | and ecx, 3 // f3a4 | rep movsb byte ptr es:[edi], byte ptr [esi] // 039dc8fdffff | add ebx, dword ptr [ebp - 0x238] // 899de0feffff | mov dword ptr [ebp - 0x120], ebx $sequence_2 = { 7905 4a 83cafc 42 40 } // n = 5, score = 200 // 7905 | jns 7 // 4a | dec edx // 83cafc | or edx, 0xfffffffc // 42 | inc edx // 40 | inc eax $sequence_3 = { 8d7c2459 8b9c24cc9f0100 f3ab 66ab aa } // n = 5, score = 200 // 8d7c2459 | lea edi, [esp + 0x59] // 8b9c24cc9f0100 | mov ebx, dword ptr [esp + 0x19fcc] // f3ab | rep stosd dword ptr es:[edi], eax // 66ab | stosw word ptr es:[edi], ax // aa | stosb byte ptr es:[edi], al $sequence_4 = { 81ec30060000 53 56 57 8965e8 c685e4fbffff00 b9ff000000 } // n = 7, score = 200 // 81ec30060000 | sub esp, 0x630 // 53 | push ebx // 56 | push esi // 57 | push edi // 8965e8 | mov dword ptr [ebp - 0x18], esp // c685e4fbffff00 | mov byte ptr [ebp - 0x41c], 0 // b9ff000000 | mov ecx, 0xff $sequence_5 = { 8bf8 83c408 85ff 0f84ab000000 6a00 } // n = 5, score = 200 // 8bf8 | mov edi, eax // 83c408 | add esp, 8 // 85ff | test edi, edi // 0f84ab000000 | je 0xb1 // 6a00 | push 0 $sequence_6 = { 8d8c2460020000 50 51 53 } // n = 4, score = 200 // 8d8c2460020000 | lea ecx, [esp + 0x260] // 50 | push eax // 51 | push ecx // 53 | push ebx $sequence_7 = { eb54 8bbc247c0f0000 83c9ff 33c0 f2ae } // n = 5, score = 200 // eb54 | jmp 0x56 // 8bbc247c0f0000 | mov edi, dword ptr [esp + 0xf7c] // 83c9ff | or ecx, 0xffffffff // 33c0 | xor eax, eax // f2ae | repne scasb al, byte ptr es:[edi] $sequence_8 = { 33ff 897c2414 8b8680030000 8d542414 52 03c7 } // n = 6, score = 200 // 33ff | xor edi, edi // 897c2414 | mov dword ptr [esp + 0x14], edi // 8b8680030000 | mov eax, dword ptr [esi + 0x380] // 8d542414 | lea edx, [esp + 0x14] // 52 | push edx // 03c7 | add eax, edi $sequence_9 = { e8???????? 85c0 7e1a 6a40 bb01000000 68???????? 68???????? } // n = 7, score = 200 // e8???????? | // 85c0 | test eax, eax // 7e1a | jle 0x1c // 6a40 | push 0x40 // bb01000000 | mov ebx, 1 // 68???????? | // 68???????? | condition: 7 of them and filesize < 122880 }
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