PWC describes this malware as a backdoor, capable of file management, upload and download of files, and execution of commands.
rule win_cameleon_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.cameleon." 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.cameleon" 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 = { 8a8034c80410 8807 47 46 8bcb c6458301 e8???????? } // n = 7, score = 100 // 8a8034c80410 | mov al, byte ptr [eax + 0x1004c834] // 8807 | mov byte ptr [edi], al // 47 | inc edi // 46 | inc esi // 8bcb | mov ecx, ebx // c6458301 | mov byte ptr [ebp - 0x7d], 1 // e8???????? | $sequence_1 = { c1e81f 03c2 3daaaaaa0a 765d e9???????? } // n = 5, score = 100 // c1e81f | shr eax, 0x1f // 03c2 | add eax, edx // 3daaaaaa0a | cmp eax, 0xaaaaaaa // 765d | jbe 0x5f // e9???????? | $sequence_2 = { 7457 8b4df0 8b048d50d60510 f644382848 741c } // n = 5, score = 100 // 7457 | je 0x59 // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // 8b048d50d60510 | mov eax, dword ptr [ecx*4 + 0x1005d650] // f644382848 | test byte ptr [eax + edi + 0x28], 0x48 // 741c | je 0x1e $sequence_3 = { 0f8465010000 837dbc08 8d4510 8b4f04 8d75a8 0f4375a8 50 } // n = 7, score = 100 // 0f8465010000 | je 0x16b // 837dbc08 | cmp dword ptr [ebp - 0x44], 8 // 8d4510 | lea eax, [ebp + 0x10] // 8b4f04 | mov ecx, dword ptr [edi + 4] // 8d75a8 | lea esi, [ebp - 0x58] // 0f4375a8 | cmovae esi, dword ptr [ebp - 0x58] // 50 | push eax $sequence_4 = { 7341 57 56 8d4dd0 e8???????? } // n = 5, score = 100 // 7341 | jae 0x43 // 57 | push edi // 56 | push esi // 8d4dd0 | lea ecx, [ebp - 0x30] // e8???????? | $sequence_5 = { 6bf830 8955fc 8b049550d60510 8945f8 807c382900 7507 } // n = 6, score = 100 // 6bf830 | imul edi, eax, 0x30 // 8955fc | mov dword ptr [ebp - 4], edx // 8b049550d60510 | mov eax, dword ptr [edx*4 + 0x1005d650] // 8945f8 | mov dword ptr [ebp - 8], eax // 807c382900 | cmp byte ptr [eax + edi + 0x29], 0 // 7507 | jne 9 $sequence_6 = { 0f84ad030000 83f826 7603 6a26 58 0fb60c85b6040510 0fb63485b7040510 } // n = 7, score = 100 // 0f84ad030000 | je 0x3b3 // 83f826 | cmp eax, 0x26 // 7603 | jbe 5 // 6a26 | push 0x26 // 58 | pop eax // 0fb60c85b6040510 | movzx ecx, byte ptr [eax*4 + 0x100504b6] // 0fb63485b7040510 | movzx esi, byte ptr [eax*4 + 0x100504b7] $sequence_7 = { 89443994 8b47a8 8b4004 c74438a8b44b0510 8b47a8 8b4804 8d41f8 } // n = 7, score = 100 // 89443994 | mov dword ptr [ecx + edi - 0x6c], eax // 8b47a8 | mov eax, dword ptr [edi - 0x58] // 8b4004 | mov eax, dword ptr [eax + 4] // c74438a8b44b0510 | mov dword ptr [eax + edi - 0x58], 0x10054bb4 // 8b47a8 | mov eax, dword ptr [edi - 0x58] // 8b4804 | mov ecx, dword ptr [eax + 4] // 8d41f8 | lea eax, [ecx - 8] $sequence_8 = { 50 6af6 ff15???????? 8b04bd50d60510 834c0318ff } // n = 5, score = 100 // 50 | push eax // 6af6 | push -0xa // ff15???????? | // 8b04bd50d60510 | mov eax, dword ptr [edi*4 + 0x1005d650] // 834c0318ff | or dword ptr [ebx + eax + 0x18], 0xffffffff $sequence_9 = { 8bd4 8965ec c7421000000000 c7421400000000 c7421407000000 c7421000000000 837a1408 } // n = 7, score = 100 // 8bd4 | mov edx, esp // 8965ec | mov dword ptr [ebp - 0x14], esp // c7421000000000 | mov dword ptr [edx + 0x10], 0 // c7421400000000 | mov dword ptr [edx + 0x14], 0 // c7421407000000 | mov dword ptr [edx + 0x14], 7 // c7421000000000 | mov dword ptr [edx + 0x10], 0 // 837a1408 | cmp dword ptr [edx + 0x14], 8 condition: 7 of them and filesize < 824320 }
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