ShadowCloud's GitHub commit history exposed 80,409 spy commands
Apiiro reconstructed the ShadowCloud espionage campaign from the public commit history its GitDoor backdoor used for C2 — 80,409 commands over two years, from a Chinese-speaking operator.
A cyber-espionage operation that used public GitHub repositories to task its implants left every command in those repositories' commit history — and researchers read it back. The primary source is Apiiro's GitDoor report, published December 2, following Kaspersky's initial documentation of the campaign in November. Tracked as Operation ShadowCloud, the activity ran for roughly two years before the commit trail was reconstructed.
How it worked
The GitDoor and GraphDoor backdoors pull their tasking from attacker-controlled public GitHub repositories. Because each instruction was committed to a repo, it persisted in the Git history even after the working files changed. Apiiro recovered 80,409 espionage commands across 104 operator repositories, with the earliest commands dating to November 2024. Operators requested 2,902 distinct files from victims over the campaign.
Apiiro also found loader builds (gitlab2_autoproxy, ssv_gitlab3_autoproxy) and PowerShell scripts (netdiag.ps1, proxy_cred_probe.ps1, gl_proxy_probe.ps1) that probe GitLab and GitHub reachability — but says these show only connectivity checks, with no evidence of live GitLab-based tasking.
Who was hit, and with what
Apiiro reports victims in 23 countries, concentrated in government, diplomacy, and military/defense, with named cases including the Philippines' National Nutrition Council, a Taiwanese opposition party via a repository, and a Caribbean ministry. The operators pulled credentials, mailbox data, and messaging-app data from LINE, Signal, Telegram, and WhatsApp.
Of the tooling uploaded to victims — 494 Windows programs, 347 of them unknown to VirusTotal — Apiiro flags a Windows kernel privilege-escalation exploit (wdiag.exe) and a utility that decrypts the desktop Signal database.
Attribution — hold it loosely
No named, sanctioned group is attached to this. Kaspersky did not attribute the activity, and Sophos tracks overlapping behavior as Bronze Sandcastle. What Apiiro offers is operator-behavior evidence, not a nation-state indictment: the commits are written in Simplified Chinese, "85% of all commands were written between 8 a.m. and 7 p.m. Beijing time," and the cadence follows mainland China's public-holiday calendar. That points to a Chinese-speaking operator working office hours — treat "Chinese-speaking" as the ceiling here, not a government attribution.
Indicators
Apiiro's writeup, in the coverage we reviewed, does not publish file hashes, IPs, or malicious domains — the recoverable indicators are the backdoor and tool names above and the fact that tasking arrived from public GitHub repositories. Pull the detail from the Apiiro report rather than deriving anything from secondary coverage.
Action checklist
- Watch for implants that fetch instructions from GitHub — repeated pulls from
api.github.comorraw.githubusercontent.comby processes that have no business talking to a code host are the tell here. - Hunt for the named loaders and scripts (
gitlab2_autoproxy,ssv_gitlab3_autoproxy,netdiag.ps1,proxy_cred_probe.ps1,gl_proxy_probe.ps1) and forwdiag.exeon sensitive hosts. - If you run a government, diplomatic, or defense network in the affected regions, review Signal/Telegram/WhatsApp desktop data at rest — the operators specifically targeted messaging stores and mailbox data.
Context
Abusing a legitimate developer platform for command-and-control buys an attacker clean egress and traffic that blends in — the same instinct behind the China-nexus espionage toolkits whose modular plugins Kaspersky keeps surfacing, like EAGERBEE's HiveMind. What makes ShadowCloud unusual is that the choice backfired: routing tasking through an append-only commit log gave investigators a two-year, command-by-command record of the operation. The reminder for defenders is that "lives on GitHub" is not the same as "invisible."