Adware that shows advertisements using plugin techniques for popular browsers
rule win_chinad_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.chinad." 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.chinad" 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 = { 0facc31a c1f81a 8945ec 8bc1 8b4de8 0500000002 899d38ffffff } // n = 7, score = 200 // 0facc31a | shrd ebx, eax, 0x1a // c1f81a | sar eax, 0x1a // 8945ec | mov dword ptr [ebp - 0x14], eax // 8bc1 | mov eax, ecx // 8b4de8 | mov ecx, dword ptr [ebp - 0x18] // 0500000002 | add eax, 0x2000000 // 899d38ffffff | mov dword ptr [ebp - 0xc8], ebx $sequence_1 = { ff15???????? a1???????? 8b08 894dec 8b55ec 8955fc eb08 } // n = 7, score = 200 // ff15???????? | // a1???????? | // 8b08 | mov ecx, dword ptr [eax] // 894dec | mov dword ptr [ebp - 0x14], ecx // 8b55ec | mov edx, dword ptr [ebp - 0x14] // 8955fc | mov dword ptr [ebp - 4], edx // eb08 | jmp 0xa $sequence_2 = { ffb534ffffff 13da 03b5e8feffff ffb548ffffff 139d40ffffff 0500000002 57 } // n = 7, score = 200 // ffb534ffffff | push dword ptr [ebp - 0xcc] // 13da | adc ebx, edx // 03b5e8feffff | add esi, dword ptr [ebp - 0x118] // ffb548ffffff | push dword ptr [ebp - 0xb8] // 139d40ffffff | adc ebx, dword ptr [ebp - 0xc0] // 0500000002 | add eax, 0x2000000 // 57 | push edi $sequence_3 = { 8985dcfeffff 8b8ddcfeffff 8b11 52 e8???????? 83c404 } // n = 6, score = 200 // 8985dcfeffff | mov dword ptr [ebp - 0x124], eax // 8b8ddcfeffff | mov ecx, dword ptr [ebp - 0x124] // 8b11 | mov edx, dword ptr [ecx] // 52 | push edx // e8???????? | // 83c404 | add esp, 4 $sequence_4 = { 50 51 e8???????? ff75d8 0145fc ff75e0 } // n = 6, score = 200 // 50 | push eax // 51 | push ecx // e8???????? | // ff75d8 | push dword ptr [ebp - 0x28] // 0145fc | add dword ptr [ebp - 4], eax // ff75e0 | push dword ptr [ebp - 0x20] $sequence_5 = { 8bf1 0bb51cfdffff 8b9524fdffff 0b9530fdffff 238d1cfdffff 239520fdffff 8b8524fdffff } // n = 7, score = 200 // 8bf1 | mov esi, ecx // 0bb51cfdffff | or esi, dword ptr [ebp - 0x2e4] // 8b9524fdffff | mov edx, dword ptr [ebp - 0x2dc] // 0b9530fdffff | or edx, dword ptr [ebp - 0x2d0] // 238d1cfdffff | and ecx, dword ptr [ebp - 0x2e4] // 239520fdffff | and edx, dword ptr [ebp - 0x2e0] // 8b8524fdffff | mov eax, dword ptr [ebp - 0x2dc] $sequence_6 = { 85c0 740d c70000000000 c7400400000000 5f 5e 83c8ff } // n = 7, score = 200 // 85c0 | test eax, eax // 740d | je 0xf // c70000000000 | mov dword ptr [eax], 0 // c7400400000000 | mov dword ptr [eax + 4], 0 // 5f | pop edi // 5e | pop esi // 83c8ff | or eax, 0xffffffff $sequence_7 = { 8bcf c1c007 c1c90b 33c8 8b9dc0feffff 8bc7 8bbdd4feffff } // n = 7, score = 200 // 8bcf | mov ecx, edi // c1c007 | rol eax, 7 // c1c90b | ror ecx, 0xb // 33c8 | xor ecx, eax // 8b9dc0feffff | mov ebx, dword ptr [ebp - 0x140] // 8bc7 | mov eax, edi // 8bbdd4feffff | mov edi, dword ptr [ebp - 0x12c] $sequence_8 = { 1975bc 8bf3 0fa4c715 0facf215 c1e015 c1fe15 8bca } // n = 7, score = 200 // 1975bc | sbb dword ptr [ebp - 0x44], esi // 8bf3 | mov esi, ebx // 0fa4c715 | shld edi, eax, 0x15 // 0facf215 | shrd edx, esi, 0x15 // c1e015 | shl eax, 0x15 // c1fe15 | sar esi, 0x15 // 8bca | mov ecx, edx $sequence_9 = { 50 8d85bcf7ffff 50 e8???????? 8d85bcf7ffff 50 8d853cfaffff } // n = 7, score = 200 // 50 | push eax // 8d85bcf7ffff | lea eax, [ebp - 0x844] // 50 | push eax // e8???????? | // 8d85bcf7ffff | lea eax, [ebp - 0x844] // 50 | push eax // 8d853cfaffff | lea eax, [ebp - 0x5c4] condition: 7 of them and filesize < 598016 }
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