Actor(s): TA505
There is no description at this point.
rule win_sdbbot_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-05-16" version = "1" description = "Detects win.sdbbot." 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.sdbbot" malpedia_rule_date = "20220513" malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26" malpedia_version = "20220516" 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 = { 8955ec 8945e4 85d2 0f8560ffffff 8b5df0 } // n = 5, score = 700 // 8955ec | mov dword ptr [ebp - 0x14], edx // 8945e4 | mov dword ptr [ebp - 0x1c], eax // 85d2 | test edx, edx // 0f8560ffffff | jne 0xffffff66 // 8b5df0 | mov ebx, dword ptr [ebp - 0x10] $sequence_1 = { 8945e8 746e 0fb710 4b } // n = 4, score = 700 // 8945e8 | mov dword ptr [ebp - 0x18], eax // 746e | je 0x70 // 0fb710 | movzx edx, word ptr [eax] // 4b | dec ebx $sequence_2 = { 8b55fc 03f2 8b7f10 03fa 833f00 } // n = 5, score = 700 // 8b55fc | mov edx, dword ptr [ebp - 4] // 03f2 | add esi, edx // 8b7f10 | mov edi, dword ptr [edi + 0x10] // 03fa | add edi, edx // 833f00 | cmp dword ptr [edi], 0 $sequence_3 = { 8b5dfc bf04000000 8b7310 8b463c 8b443078 03c6 } // n = 6, score = 700 // 8b5dfc | mov ebx, dword ptr [ebp - 4] // bf04000000 | mov edi, 4 // 8b7310 | mov esi, dword ptr [ebx + 0x10] // 8b463c | mov eax, dword ptr [esi + 0x3c] // 8b443078 | mov eax, dword ptr [eax + esi + 0x78] // 03c6 | add eax, esi $sequence_4 = { 8b55ec 8b4804 eb03 8b45e4 } // n = 4, score = 700 // 8b55ec | mov edx, dword ptr [ebp - 0x14] // 8b4804 | mov ecx, dword ptr [eax + 4] // eb03 | jmp 5 // 8b45e4 | mov eax, dword ptr [ebp - 0x1c] $sequence_5 = { 88440fff 83ea01 75f2 0fb77b14 } // n = 4, score = 700 // 88440fff | mov byte ptr [edi + ecx - 1], al // 83ea01 | sub edx, 1 // 75f2 | jne 0xfffffff4 // 0fb77b14 | movzx edi, word ptr [ebx + 0x14] $sequence_6 = { 8bfe 2b7b34 8955ec 85d2 0f84ae000000 8b83a0000000 } // n = 6, score = 700 // 8bfe | mov edi, esi // 2b7b34 | sub edi, dword ptr [ebx + 0x34] // 8955ec | mov dword ptr [ebp - 0x14], edx // 85d2 | test edx, edx // 0f84ae000000 | je 0xb4 // 8b83a0000000 | mov eax, dword ptr [ebx + 0xa0] $sequence_7 = { 03c6 8945dc 8b5820 8b4024 } // n = 4, score = 700 // 03c6 | add eax, esi // 8945dc | mov dword ptr [ebp - 0x24], eax // 8b5820 | mov ebx, dword ptr [eax + 0x20] // 8b4024 | mov eax, dword ptr [eax + 0x24] $sequence_8 = { c3 803d????????00 750c c605????????01 e8???????? } // n = 5, score = 400 // c3 | ret // 803d????????00 | // 750c | jne 0xe // c605????????01 | // e8???????? | $sequence_9 = { 4903ce 41ffd5 488bf0 4885c0 7474 8b7d10 8b5d00 } // n = 7, score = 300 // 4903ce | dec ecx // 41ffd5 | add ecx, esi // 488bf0 | inc ecx // 4885c0 | call ebp // 7474 | dec eax // 8b7d10 | mov esi, eax // 8b5d00 | dec eax $sequence_10 = { ba01000000 498bce ffd3 488b7c2438 488bc3 4883c450 415f } // n = 7, score = 300 // ba01000000 | lea edx, [eax - 8] // 498bce | dec ebp // ffd3 | add eax, esi // 488b7c2438 | dec esp // 488bc3 | lea ebx, [ebx + 8] // 4883c450 | dec ecx // 415f | shr edx, 1 $sequence_11 = { 48894c2408 53 4156 4157 4883ec50 } // n = 5, score = 300 // 48894c2408 | movzx edx, dx // 53 | mov ecx, dword ptr [eax + esi + 0x88] // 4156 | mov eax, dword ptr [ecx + esi + 0x10] // 4157 | mov ecx, dword ptr [ecx + esi + 0x1c] // 4883ec50 | dec eax $sequence_12 = { 4803c6 eb10 488b17 488bce } // n = 4, score = 300 // 4803c6 | lea eax, [ebx + 8] // eb10 | inc esp // 488b17 | mov eax, dword ptr [ebx] // 488bce | dec esp $sequence_13 = { 4885f6 740a 4885ed 7405 4885db 750c } // n = 6, score = 300 // 4885f6 | inc ecx // 740a | push esi // 4885ed | inc ecx // 7405 | push edi // 4885db | dec eax // 750c | sub esp, 0x50 $sequence_14 = { 0fb7d2 8b8c3088000000 8b443110 8b4c311c 482bd0 } // n = 5, score = 300 // 0fb7d2 | dec eax // 8b8c3088000000 | add edi, 8 // 8b443110 | dec eax // 8b4c311c | test ebx, ebx // 482bd0 | dec eax $sequence_15 = { 448b03 4c8d50f8 4d03c6 4c8d5b08 49d1ea } // n = 5, score = 300 // 448b03 | add edx, esi // 4c8d50f8 | inc ecx // 4d03c6 | call esp // 4c8d5b08 | dec eax // 49d1ea | mov dword ptr [edi], eax $sequence_16 = { 4883c202 4903d6 41ffd4 488907 4883c708 4885db 488d4308 } // n = 7, score = 300 // 4883c202 | test eax, eax // 4903d6 | je 0x76 // 41ffd4 | mov edi, dword ptr [ebp + 0x10] // 488907 | mov ebx, dword ptr [ebp] // 4883c708 | dec eax // 4885db | add edx, 2 // 488d4308 | dec ecx condition: 7 of them and filesize < 1015808 }
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