Actor(s): Pirate Panda
Steve Miller pointed out that it is proxy-aware (Tencent) for C&C communication and uses wolfSSL, which makes it stick out.
rule win_tclient_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.tclient." 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.tclient" 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 = { 0345e0 0345f8 894304 8b45e0 c1c010 03c6 c1c210 } // n = 7, score = 100 // 0345e0 | add eax, dword ptr [ebp - 0x20] // 0345f8 | add eax, dword ptr [ebp - 8] // 894304 | mov dword ptr [ebx + 4], eax // 8b45e0 | mov eax, dword ptr [ebp - 0x20] // c1c010 | rol eax, 0x10 // 03c6 | add eax, esi // c1c210 | rol edx, 0x10 $sequence_1 = { 8d442410 56 57 8bf2 89442410 8bd1 8d7c2418 } // n = 7, score = 100 // 8d442410 | lea eax, [esp + 0x10] // 56 | push esi // 57 | push edi // 8bf2 | mov esi, edx // 89442410 | mov dword ptr [esp + 0x10], eax // 8bd1 | mov edx, ecx // 8d7c2418 | lea edi, [esp + 0x18] $sequence_2 = { 8b4d08 e8???????? 8b5624 51 8b4d08 e8???????? 59 } // n = 7, score = 100 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // e8???????? | // 8b5624 | mov edx, dword ptr [esi + 0x24] // 51 | push ecx // 8b4d08 | mov ecx, dword ptr [ebp + 8] // e8???????? | // 59 | pop ecx $sequence_3 = { ffb508ffffff 33f0 33fa ffb518ffffff e8???????? 8b8d2cffffff 33f0 } // n = 7, score = 100 // ffb508ffffff | push dword ptr [ebp - 0xf8] // 33f0 | xor esi, eax // 33fa | xor edi, edx // ffb518ffffff | push dword ptr [ebp - 0xe8] // e8???????? | // 8b8d2cffffff | mov ecx, dword ptr [ebp - 0xd4] // 33f0 | xor esi, eax $sequence_4 = { 85c0 7554 8b4e0c 81c12c020000 74c5 8b4624 89416c } // n = 7, score = 100 // 85c0 | test eax, eax // 7554 | jne 0x56 // 8b4e0c | mov ecx, dword ptr [esi + 0xc] // 81c12c020000 | add ecx, 0x22c // 74c5 | je 0xffffffc7 // 8b4624 | mov eax, dword ptr [esi + 0x24] // 89416c | mov dword ptr [ecx + 0x6c], eax $sequence_5 = { 7f3e 018eac000000 2bc1 8986a8000000 39bea8000000 779e 80beb400000000 } // n = 7, score = 100 // 7f3e | jg 0x40 // 018eac000000 | add dword ptr [esi + 0xac], ecx // 2bc1 | sub eax, ecx // 8986a8000000 | mov dword ptr [esi + 0xa8], eax // 39bea8000000 | cmp dword ptr [esi + 0xa8], edi // 779e | ja 0xffffffa0 // 80beb400000000 | cmp byte ptr [esi + 0xb4], 0 $sequence_6 = { 7408 83ceff e9???????? 80bb260300000a 7317 6a0a 6a02 } // n = 7, score = 100 // 7408 | je 0xa // 83ceff | or esi, 0xffffffff // e9???????? | // 80bb260300000a | cmp byte ptr [ebx + 0x326], 0xa // 7317 | jae 0x19 // 6a0a | push 0xa // 6a02 | push 2 $sequence_7 = { 899530ffffff 03c2 898d04ffffff 898534ffffff 898558ffffff 8b8514ffffff 13c1 } // n = 7, score = 100 // 899530ffffff | mov dword ptr [ebp - 0xd0], edx // 03c2 | add eax, edx // 898d04ffffff | mov dword ptr [ebp - 0xfc], ecx // 898534ffffff | mov dword ptr [ebp - 0xcc], eax // 898558ffffff | mov dword ptr [ebp - 0xa8], eax // 8b8514ffffff | mov eax, dword ptr [ebp - 0xec] // 13c1 | adc eax, ecx $sequence_8 = { 8bf0 85f6 7528 8b55ec 8d4b20 8d5220 e8???????? } // n = 7, score = 100 // 8bf0 | mov esi, eax // 85f6 | test esi, esi // 7528 | jne 0x2a // 8b55ec | mov edx, dword ptr [ebp - 0x14] // 8d4b20 | lea ecx, [ebx + 0x20] // 8d5220 | lea edx, [edx + 0x20] // e8???????? | $sequence_9 = { 8b7148 e8???????? 8bce 85f6 75f2 8324bb00 47 } // n = 7, score = 100 // 8b7148 | mov esi, dword ptr [ecx + 0x48] // e8???????? | // 8bce | mov ecx, esi // 85f6 | test esi, esi // 75f2 | jne 0xfffffff4 // 8324bb00 | and dword ptr [ebx + edi*4], 0 // 47 | inc edi condition: 7 of them and filesize < 1063936 }
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