Actor(s): TA428
There is no description at this point.
rule win_ncctrojan_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.ncctrojan." 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.ncctrojan" 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 = { 68???????? e9???????? 83f801 750a 68???????? e9???????? 83f802 } // n = 7, score = 500 // 68???????? | // e9???????? | // 83f801 | cmp eax, 1 // 750a | jne 0xc // 68???????? | // e9???????? | // 83f802 | cmp eax, 2 $sequence_1 = { 83f805 7536 8b85e8feffff 85c0 750a 68???????? e9???????? } // n = 7, score = 500 // 83f805 | cmp eax, 5 // 7536 | jne 0x38 // 8b85e8feffff | mov eax, dword ptr [ebp - 0x118] // 85c0 | test eax, eax // 750a | jne 0xc // 68???????? | // e9???????? | $sequence_2 = { 50 e8???????? 83c40c 8d842418050000 50 8d84247c460000 } // n = 6, score = 400 // 50 | push eax // e8???????? | // 83c40c | add esp, 0xc // 8d842418050000 | lea eax, [esp + 0x518] // 50 | push eax // 8d84247c460000 | lea eax, [esp + 0x467c] $sequence_3 = { 6800400000 85c0 8d85ecbdffff 6a00 } // n = 4, score = 400 // 6800400000 | push 0x4000 // 85c0 | test eax, eax // 8d85ecbdffff | lea eax, [ebp - 0x4214] // 6a00 | push 0 $sequence_4 = { 50 e8???????? 83c410 8d4606 } // n = 4, score = 400 // 50 | push eax // e8???????? | // 83c410 | add esp, 0x10 // 8d4606 | lea eax, [esi + 6] $sequence_5 = { 8d85f4bfffff 6800400000 50 e8???????? 8d45f4 } // n = 5, score = 400 // 8d85f4bfffff | lea eax, [ebp - 0x400c] // 6800400000 | push 0x4000 // 50 | push eax // e8???????? | // 8d45f4 | lea eax, [ebp - 0xc] $sequence_6 = { 84c0 75f9 eb47 e8???????? 68???????? } // n = 5, score = 400 // 84c0 | test al, al // 75f9 | jne 0xfffffffb // eb47 | jmp 0x49 // e8???????? | // 68???????? | $sequence_7 = { 75f5 2bca d1f9 8d4101 50 e8???????? 8b542410 } // n = 7, score = 400 // 75f5 | jne 0xfffffff7 // 2bca | sub ecx, edx // d1f9 | sar ecx, 1 // 8d4101 | lea eax, [ecx + 1] // 50 | push eax // e8???????? | // 8b542410 | mov edx, dword ptr [esp + 0x10] $sequence_8 = { 8b8d70fffeff e9???????? 8d8d80fffeff e9???????? } // n = 4, score = 300 // 8b8d70fffeff | mov ecx, dword ptr [ebp - 0x10090] // e9???????? | // 8d8d80fffeff | lea ecx, [ebp - 0x10080] // e9???????? | $sequence_9 = { 837d1c10 8d4508 0f434508 50 ff15???????? } // n = 5, score = 300 // 837d1c10 | cmp dword ptr [ebp + 0x1c], 0x10 // 8d4508 | lea eax, [ebp + 8] // 0f434508 | cmovae eax, dword ptr [ebp + 8] // 50 | push eax // ff15???????? | $sequence_10 = { 8b9580fffeff 8d5218 e8???????? 8d8578fffeff } // n = 4, score = 300 // 8b9580fffeff | mov edx, dword ptr [ebp - 0x10080] // 8d5218 | lea edx, [edx + 0x18] // e8???????? | // 8d8578fffeff | lea eax, [ebp - 0x10088] $sequence_11 = { 50 ff15???????? 8b4518 8d4d08 } // n = 4, score = 300 // 50 | push eax // ff15???????? | // 8b4518 | mov eax, dword ptr [ebp + 0x18] // 8d4d08 | lea ecx, [ebp + 8] $sequence_12 = { 0f84b8000000 6a14 59 8bf3 8d7dac f3a5 } // n = 6, score = 300 // 0f84b8000000 | je 0xbe // 6a14 | push 0x14 // 59 | pop ecx // 8bf3 | mov esi, ebx // 8d7dac | lea edi, [ebp - 0x54] // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] $sequence_13 = { 8b8a2cf8ffff 33c8 e8???????? 8b4afc 33c8 e8???????? b8???????? } // n = 7, score = 300 // 8b8a2cf8ffff | mov ecx, dword ptr [edx - 0x7d4] // 33c8 | xor ecx, eax // e8???????? | // 8b4afc | mov ecx, dword ptr [edx - 4] // 33c8 | xor ecx, eax // e8???????? | // b8???????? | $sequence_14 = { 837d1c10 8b7518 0f437d08 ff15???????? } // n = 4, score = 300 // 837d1c10 | cmp dword ptr [ebp + 0x1c], 0x10 // 8b7518 | mov esi, dword ptr [ebp + 0x18] // 0f437d08 | cmovae edi, dword ptr [ebp + 8] // ff15???????? | $sequence_15 = { 50 51 8d4d08 e8???????? 56 } // n = 5, score = 300 // 50 | push eax // 51 | push ecx // 8d4d08 | lea ecx, [ebp + 8] // e8???????? | // 56 | push esi condition: 7 of them and filesize < 1160192 }
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