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-05-04" 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 = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 83f9bf 772d ff751c 8b4510 83c6c0 83d7ff 57 } // n = 7, score = 200 // 83f9bf | cmp ecx, -0x41 // 772d | ja 0x2f // ff751c | push dword ptr [ebp + 0x1c] // 8b4510 | mov eax, dword ptr [ebp + 0x10] // 83c6c0 | add esi, -0x40 // 83d7ff | adc edi, -1 // 57 | push edi $sequence_1 = { 837df400 7407 c745f001000000 837df400 740a 8b45f4 50 } // n = 7, score = 200 // 837df400 | cmp dword ptr [ebp - 0xc], 0 // 7407 | je 9 // c745f001000000 | mov dword ptr [ebp - 0x10], 1 // 837df400 | cmp dword ptr [ebp - 0xc], 0 // 740a | je 0xc // 8b45f4 | mov eax, dword ptr [ebp - 0xc] // 50 | push eax $sequence_2 = { 13f8 039db4fdffff 8b8510fdffff 8bf0 13bdb8fdffff 039d0cfdffff 13bdfcfcffff } // n = 7, score = 200 // 13f8 | adc edi, eax // 039db4fdffff | add ebx, dword ptr [ebp - 0x24c] // 8b8510fdffff | mov eax, dword ptr [ebp - 0x2f0] // 8bf0 | mov esi, eax // 13bdb8fdffff | adc edi, dword ptr [ebp - 0x248] // 039d0cfdffff | add ebx, dword ptr [ebp - 0x2f4] // 13bdfcfcffff | adc edi, dword ptr [ebp - 0x304] $sequence_3 = { 11550c ff75d8 ff75d0 e8???????? 0145f4 ffb570ffffff 11550c } // n = 7, score = 200 // 11550c | adc dword ptr [ebp + 0xc], edx // ff75d8 | push dword ptr [ebp - 0x28] // ff75d0 | push dword ptr [ebp - 0x30] // e8???????? | // 0145f4 | add dword ptr [ebp - 0xc], eax // ffb570ffffff | push dword ptr [ebp - 0x90] // 11550c | adc dword ptr [ebp + 0xc], edx $sequence_4 = { 13da ff75d8 ff75d0 e8???????? ff75a0 03f0 ff759c } // n = 7, score = 200 // 13da | adc ebx, edx // ff75d8 | push dword ptr [ebp - 0x28] // ff75d0 | push dword ptr [ebp - 0x30] // e8???????? | // ff75a0 | push dword ptr [ebp - 0x60] // 03f0 | add esi, eax // ff759c | push dword ptr [ebp - 0x64] $sequence_5 = { 8b7508 6a08 8d4620 50 8d45f4 50 e8???????? } // n = 7, score = 200 // 8b7508 | mov esi, dword ptr [ebp + 8] // 6a08 | push 8 // 8d4620 | lea eax, [esi + 0x20] // 50 | push eax // 8d45f4 | lea eax, [ebp - 0xc] // 50 | push eax // e8???????? | $sequence_6 = { ff15???????? 68???????? 68???????? ff15???????? eb6e 68???????? 6a00 } // n = 7, score = 200 // ff15???????? | // 68???????? | // 68???????? | // ff15???????? | // eb6e | jmp 0x70 // 68???????? | // 6a00 | push 0 $sequence_7 = { 8bc2 895598 8b55e0 13cb 898d70ffffff 0facc815 } // n = 6, score = 200 // 8bc2 | mov eax, edx // 895598 | mov dword ptr [ebp - 0x68], edx // 8b55e0 | mov edx, dword ptr [ebp - 0x20] // 13cb | adc ecx, ebx // 898d70ffffff | mov dword ptr [ebp - 0x90], ecx // 0facc815 | shrd eax, ecx, 0x15 $sequence_8 = { ba08000000 8d4900 8a48fe 8d4004 0a48fb 0a48fd 0a48fc } // n = 7, score = 200 // ba08000000 | mov edx, 8 // 8d4900 | lea ecx, [ecx] // 8a48fe | mov cl, byte ptr [eax - 2] // 8d4004 | lea eax, [eax + 4] // 0a48fb | or cl, byte ptr [eax - 5] // 0a48fd | or cl, byte ptr [eax - 3] // 0a48fc | or cl, byte ptr [eax - 4] $sequence_9 = { 89750c 8b75ec 13da 895df0 8b5ddc 81c300000001 50 } // n = 7, score = 200 // 89750c | mov dword ptr [ebp + 0xc], esi // 8b75ec | mov esi, dword ptr [ebp - 0x14] // 13da | adc ebx, edx // 895df0 | mov dword ptr [ebp - 0x10], ebx // 8b5ddc | mov ebx, dword ptr [ebp - 0x24] // 81c300000001 | add ebx, 0x1000000 // 50 | push eax 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