Actor(s): Anunak
There is no description at this point.
rule win_socksbot_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.socksbot." 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.socksbot" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { ff7510 ff35???????? e8???????? 57 } // n = 4, score = 300 // ff7510 | push dword ptr [ebp + 0x10] // ff35???????? | // e8???????? | // 57 | push edi $sequence_1 = { 66895df0 e8???????? 668945f2 ff7508 } // n = 4, score = 300 // 66895df0 | mov word ptr [ebp - 0x10], bx // e8???????? | // 668945f2 | mov word ptr [ebp - 0xe], ax // ff7508 | push dword ptr [ebp + 8] $sequence_2 = { 8d45fc 50 57 ffd6 8d85fcfdffff 50 68???????? } // n = 7, score = 300 // 8d45fc | lea eax, [ebp - 4] // 50 | push eax // 57 | push edi // ffd6 | call esi // 8d85fcfdffff | lea eax, [ebp - 0x204] // 50 | push eax // 68???????? | $sequence_3 = { 5f c9 c20400 55 8bec 81ec0c030000 33c9 } // n = 7, score = 300 // 5f | pop edi // c9 | leave // c20400 | ret 4 // 55 | push ebp // 8bec | mov ebp, esp // 81ec0c030000 | sub esp, 0x30c // 33c9 | xor ecx, ecx $sequence_4 = { 8b5d08 88041e 8d4201 99 f73d???????? } // n = 5, score = 300 // 8b5d08 | mov ebx, dword ptr [ebp + 8] // 88041e | mov byte ptr [esi + ebx], al // 8d4201 | lea eax, [edx + 1] // 99 | cdq // f73d???????? | $sequence_5 = { 3b5dec 7cc2 8975f4 897df0 8d5df7 33d2 0fb603 } // n = 7, score = 300 // 3b5dec | cmp ebx, dword ptr [ebp - 0x14] // 7cc2 | jl 0xffffffc4 // 8975f4 | mov dword ptr [ebp - 0xc], esi // 897df0 | mov dword ptr [ebp - 0x10], edi // 8d5df7 | lea ebx, [ebp - 9] // 33d2 | xor edx, edx // 0fb603 | movzx eax, byte ptr [ebx] $sequence_6 = { ff15???????? 85c0 0f8583010000 53 57 803d????????00 0f8572010000 } // n = 7, score = 300 // ff15???????? | // 85c0 | test eax, eax // 0f8583010000 | jne 0x189 // 53 | push ebx // 57 | push edi // 803d????????00 | // 0f8572010000 | jne 0x178 $sequence_7 = { 8975f4 897df0 8d5df7 33d2 0fb603 8bc8 } // n = 6, score = 300 // 8975f4 | mov dword ptr [ebp - 0xc], esi // 897df0 | mov dword ptr [ebp - 0x10], edi // 8d5df7 | lea ebx, [ebp - 9] // 33d2 | xor edx, edx // 0fb603 | movzx eax, byte ptr [ebx] // 8bc8 | mov ecx, eax $sequence_8 = { 83c614 837e0c00 758d b001 } // n = 4, score = 300 // 83c614 | add esi, 0x14 // 837e0c00 | cmp dword ptr [esi + 0xc], 0 // 758d | jne 0xffffff8f // b001 | mov al, 1 $sequence_9 = { 83c120 c6041000 43 803e00 894dfc 7405 8d7e01 } // n = 7, score = 300 // 83c120 | add ecx, 0x20 // c6041000 | mov byte ptr [eax + edx], 0 // 43 | inc ebx // 803e00 | cmp byte ptr [esi], 0 // 894dfc | mov dword ptr [ebp - 4], ecx // 7405 | je 7 // 8d7e01 | lea edi, [esi + 1] condition: 7 of them and filesize < 73728 }
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