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 = "2026-09-17" 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 = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" 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 = { ff75fc e8???????? 8325????????00 59 } // n = 4, score = 300 // ff75fc | push dword ptr [ebp - 4] // e8???????? | // 8325????????00 | // 59 | pop ecx $sequence_1 = { 8bd0 881a 42 49 75fa 5b } // n = 6, score = 300 // 8bd0 | mov edx, eax // 881a | mov byte ptr [edx], bl // 42 | inc edx // 49 | dec ecx // 75fa | jne 0xfffffffc // 5b | pop ebx $sequence_2 = { 4b ebdc 64a130000000 895de0 8b400c c745d803000000 8b4014 } // n = 7, score = 300 // 4b | dec ebx // ebdc | jmp 0xffffffde // 64a130000000 | mov eax, dword ptr fs:[0x30] // 895de0 | mov dword ptr [ebp - 0x20], ebx // 8b400c | mov eax, dword ptr [eax + 0xc] // c745d803000000 | mov dword ptr [ebp - 0x28], 3 // 8b4014 | mov eax, dword ptr [eax + 0x14] $sequence_3 = { eb02 33db 0fb6fc 6bff0c 81c7???????? 56 } // n = 6, score = 300 // eb02 | jmp 4 // 33db | xor ebx, ebx // 0fb6fc | movzx edi, ah // 6bff0c | imul edi, edi, 0xc // 81c7???????? | // 56 | push esi $sequence_4 = { e9???????? 807b0101 0f85f6000000 33c0 89450c 884301 8a4303 } // n = 7, score = 300 // e9???????? | // 807b0101 | cmp byte ptr [ebx + 1], 1 // 0f85f6000000 | jne 0xfc // 33c0 | xor eax, eax // 89450c | mov dword ptr [ebp + 0xc], eax // 884301 | mov byte ptr [ebx + 1], al // 8a4303 | mov al, byte ptr [ebx + 3] $sequence_5 = { 7ce2 8b5d08 8d043e c6041800 8d45e4 } // n = 5, score = 300 // 7ce2 | jl 0xffffffe4 // 8b5d08 | mov ebx, dword ptr [ebp + 8] // 8d043e | lea eax, [esi + edi] // c6041800 | mov byte ptr [eax + ebx], 0 // 8d45e4 | lea eax, [ebp - 0x1c] $sequence_6 = { 68???????? c605????????00 c605????????00 e8???????? 59 59 } // n = 6, score = 300 // 68???????? | // c605????????00 | // c605????????00 | // e8???????? | // 59 | pop ecx // 59 | pop ecx $sequence_7 = { 50 57 ffd3 85c0 7e0d 6a05 6a00 } // n = 7, score = 300 // 50 | push eax // 57 | push edi // ffd3 | call ebx // 85c0 | test eax, eax // 7e0d | jle 0xf // 6a05 | push 5 // 6a00 | push 0 $sequence_8 = { 6a00 68e3000000 ff75fc 13f2 } // n = 4, score = 300 // 6a00 | push 0 // 68e3000000 | push 0xe3 // ff75fc | push dword ptr [ebp - 4] // 13f2 | adc esi, edx $sequence_9 = { 803e00 894dfc 7405 8d7e01 ebbb 5f } // n = 6, score = 300 // 803e00 | cmp byte ptr [esi], 0 // 894dfc | mov dword ptr [ebp - 4], ecx // 7405 | je 7 // 8d7e01 | lea edi, [esi + 1] // ebbb | jmp 0xffffffbd // 5f | pop edi 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. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY