Actor(s): TeleBots
There is no description at this point.
rule win_credraptor_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.credraptor." 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.credraptor" 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 = { a900100000 0f8564020000 a900010000 740d 33ff 897dd8 897dd4 } // n = 7, score = 100 // a900100000 | test eax, 0x1000 // 0f8564020000 | jne 0x26a // a900010000 | test eax, 0x100 // 740d | je 0xf // 33ff | xor edi, edi // 897dd8 | mov dword ptr [ebp - 0x28], edi // 897dd4 | mov dword ptr [ebp - 0x2c], edi $sequence_1 = { 884dff 7429 8d1480 8d34d7 3bfe 0f8397000000 8d4900 } // n = 7, score = 100 // 884dff | mov byte ptr [ebp - 1], cl // 7429 | je 0x2b // 8d1480 | lea edx, [eax + eax*4] // 8d34d7 | lea esi, [edi + edx*8] // 3bfe | cmp edi, esi // 0f8397000000 | jae 0x9d // 8d4900 | lea ecx, [ecx] $sequence_2 = { e8???????? 8b7dbc 3b7038 7e06 897038 89583c 837d9c00 } // n = 7, score = 100 // e8???????? | // 8b7dbc | mov edi, dword ptr [ebp - 0x44] // 3b7038 | cmp esi, dword ptr [eax + 0x38] // 7e06 | jle 8 // 897038 | mov dword ptr [eax + 0x38], esi // 89583c | mov dword ptr [eax + 0x3c], ebx // 837d9c00 | cmp dword ptr [ebp - 0x64], 0 $sequence_3 = { 85c0 0f85cc000000 8b750c 8b5624 52 53 e8???????? } // n = 7, score = 100 // 85c0 | test eax, eax // 0f85cc000000 | jne 0xd2 // 8b750c | mov esi, dword ptr [ebp + 0xc] // 8b5624 | mov edx, dword ptr [esi + 0x24] // 52 | push edx // 53 | push ebx // e8???????? | $sequence_4 = { e8???????? 83c404 33c0 8be5 5d c3 8b55fc } // n = 7, score = 100 // e8???????? | // 83c404 | add esp, 4 // 33c0 | xor eax, eax // 8be5 | mov esp, ebp // 5d | pop ebp // c3 | ret // 8b55fc | mov edx, dword ptr [ebp - 4] $sequence_5 = { e8???????? 894724 837f2400 5e 752c b860240000 6685471c } // n = 7, score = 100 // e8???????? | // 894724 | mov dword ptr [edi + 0x24], eax // 837f2400 | cmp dword ptr [edi + 0x24], 0 // 5e | pop esi // 752c | jne 0x2e // b860240000 | mov eax, 0x2460 // 6685471c | test word ptr [edi + 0x1c], ax $sequence_6 = { 8bc8 b8cdcccccc f7e1 8b45b8 c1ea04 895054 895e04 } // n = 7, score = 100 // 8bc8 | mov ecx, eax // b8cdcccccc | mov eax, 0xcccccccd // f7e1 | mul ecx // 8b45b8 | mov eax, dword ptr [ebp - 0x48] // c1ea04 | shr edx, 4 // 895054 | mov dword ptr [eax + 0x54], edx // 895e04 | mov dword ptr [esi + 4], ebx $sequence_7 = { c786b401000010b84100 89b6b8010000 89bebc010000 89bee4010000 3bc7 740a 50 } // n = 7, score = 100 // c786b401000010b84100 | mov dword ptr [esi + 0x1b4], 0x41b810 // 89b6b8010000 | mov dword ptr [esi + 0x1b8], esi // 89bebc010000 | mov dword ptr [esi + 0x1bc], edi // 89bee4010000 | mov dword ptr [esi + 0x1e4], edi // 3bc7 | cmp eax, edi // 740a | je 0xc // 50 | push eax $sequence_8 = { 8d7c1f0c 8b9d3cfcffff 3bbd40fcffff 0f8232fdffff 53 e8???????? 83c404 } // n = 7, score = 100 // 8d7c1f0c | lea edi, [edi + ebx + 0xc] // 8b9d3cfcffff | mov ebx, dword ptr [ebp - 0x3c4] // 3bbd40fcffff | cmp edi, dword ptr [ebp - 0x3c0] // 0f8232fdffff | jb 0xfffffd38 // 53 | push ebx // e8???????? | // 83c404 | add esp, 4 $sequence_9 = { ff15???????? 8b45f8 8b5508 83c404 c6460a00 8b4dfc 47 } // n = 7, score = 100 // ff15???????? | // 8b45f8 | mov eax, dword ptr [ebp - 8] // 8b5508 | mov edx, dword ptr [ebp + 8] // 83c404 | add esp, 4 // c6460a00 | mov byte ptr [esi + 0xa], 0 // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 47 | inc edi condition: 7 of them and filesize < 1728512 }
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