Hackers Hide Espionage C2s Behind Fake Casino Sites

Security researchers have uncovered a stealthy cyberespionage scheme using fake casino websites as camouflage for command-and-control (C2) operations. These sites mimic low-quality gambling platforms but are in fact fronts for JavaScript-based C2 framework activity, notably PeckBirdy, linked to China-aligned advanced persistent threat groups.

The deceptive campaign targets corporate and government sectors, including banking, education, and finance across Asia. Analysts from Infoblox traced an extensive network of these covert casino domains. Recently, operators expanded their ruse to Chinese-language adult sites as well, broadening the disguise methods. Specialists believe these decoys are intended to evade security detection rather than attract real users.

How the Attack Works

The spoofed casino pages are outfitted with malicious JavaScript and service workers that operate in the background—registering scripts that enable continuous communication with attacker-controlled C2 servers. Some sites have embedded fake browser update prompts, which, if accepted, install backdoors enabling credential theft, remote access, and additional command execution. The infrastructure is multilayered: visible decoy content, hidden script injections, and WebSocket links that only reveal their true purpose when visitors engage.

Challenges for Detection

Standard reputation-based security tools are frequently bypassed. Many of these domains appear clean in scans, yet they host hidden C2 functionalities. Repeated interaction with multiple suspicious domains is a strong indicator of compromise—not just a single lookup. Security teams are advised to monitor DNS queries, proxy logs, and browser telemetry, correlate these with endpoint alerts, and pay attention to unusual service-worker behavior.

Blocking individual domains offers limited protection because operators rotate domain names rapidly. Effective defense calls for layered strategies: domain monitoring, web filtering, up-to-date browser and endpoint patches, strict least-privilege policies, and thorough incident response workflows.

The study included a set of indicators of compromise (IoCs) listing dozens of suspect domains and key IP addresses. Some domains act purely as decoys while others serve as active C2 points—such as “cache-mcp.com” or “mcp-source.online”—used to collect connections or host malicious JavaScript payloads.

Why this matters:

These findings show how cyber spies are moving beyond traditional malware delivery to embed operations inside seemingly innocuous web infrastructures. It’s not just about phishing emails anymore—the danger can lie inside your browser session. As organizations update threat models to cover supply chain and web-based invisibility, this kind of obfuscation becomes a central worry. Detecting these schemes demands better browser-side visibility, threat intelligence that captures domain behavior over time, and readiness to respond when the indicators align.