GitHub logs reveal 80,409 espionage commands from Chinese-speaking hackers over two years
Analysis of Operation ShadowCloud exposes a persistent cyber campaign targeting governments across Asia and Africa using backdoors like GitDoor.

A detailed analysis of public commit histories has uncovered an extensive cyber espionage operation known as Operation ShadowCloud, which has been active for more than two years. The intrusion set utilizes GitHub primarily as a command-and-control (C2) channel to coordinate attacks against government sectors in Asia and Africa. This campaign employs backdoors such as GitDoor and GraphDoor, with some aspects of the operation also tracked by Sophos under the moniker Bronze Sandcastle.
The scale of the operation was quantified by Apiiro in a follow-up report published on December 2, 2026.
- The group sent 80,409 espionage commands via GitHub against victims in 23 countries.
- Operations spanned two years using the GitDoor backdoor.
- A total of 104 operator repositories linked to the campaign have been identified.
The earliest recorded commands date back to November 2024, and the activity has continued despite public disclosure. Notably, one attack targeted the Philippines' National Nutrition Council on November 23, 2026, while another victim was compromised that same day to upload unidentified tools. The group uploaded 494 Windows programs in total; of these, 347 have no record on VirusTotal.
Targeted nations span five continents, including the U.S., Peru, Brazil, Argentina, Italy, Uganda, Zambia, Kyrgyzstan, Afghanistan, Pakistan, India, Laos, Thailand, Cambodia, Singapore, Malaysia, Vietnam, Taiwan, and the Philippines. The data indicates that 2,902 distinct files have been requested from victims, with most related to government and diplomacy, military and defense, credentials, mailbox data, and messaging apps like LINE, Signal, Telegram, and WhatsApp.
"For two years, a Chinese-speaking espionage operation ran its implants from public GitHub repositories, and every command it sent through them stayed in their commit history," Apiiro said. "This record is the operators' own task list: what they asked for, from whom and when, across every victim, down to the minute."
The threat actors appear to be preparing GitLab as a secondary C2 channel for networks where GitHub might be blocked. Between October 10 and 22, 2026, a Latin America team deployed new loader families named gitlab2_autoproxy and ssv_gitlab3_autoproxy. On October 21 and 22, scripts were uploaded and executed on a machine inside a Caribbean ministry to probe connectivity. These scripts checked reachability for the following URLs:
- gitlab[.]com (via internal proxy)
- api.github[.]com
- github[.]com
- raw.githubusercontent[.]com
A comment in the script reads "github C2 confirmed alive in same env," suggesting attempts to use GitLab as a backup. However, Apiiro emphasized that while probes were run, there is no evidence of live GitLab tasking yet.
Specific tools identified include a Windows kernel exploit for CVE-2026-42980 (patched by Microsoft in June 2026) and a program to decrypt the desktop Signal database. The kernel exploit ("wdiag.exe") was uploaded exactly once on November 17, 2026, at 7:45 a.m. UTC, to an Exchange 2010 server accessed via a repository serving Kuomintang (KMT), a major opposition political party in Taiwan.
"It is the public proof of concept from July, rebuilt with renamed log strings, Microsoft's dialog boxes removed, and a change so it runs a command silently and returns the output through the implant," a security researcher from Apiiro told The Hacker News. "That change is what you'd make to use it through a backdoor rather than on a desktop."
The researcher noted that subsequent commands were directory listings, but confirmed whether the server was patched remains uncertain.
- Evidence suggests an operational deployment of an n-day exploit against a live victim.
- It is not yet confirmed if successful exploitation occurred.
Kaspersky has not attributed the activity to a specific threat actor or group, though indications point to a Chinese-speaking operator who writes in Simplified Chinese and adheres to Beijing office hours. "85% of all commands were written between 8 a.m. and 7 p.m. Beijing time, with a break at lunch, and a Saturday sees one command for every seven or eight on a weekday," Apiiro said. The group also strictly follows mainland China's holiday calendar, pausing activity on public holidays and resuming on Saturdays designated as official workdays in the region.
(The story was updated after publication to rectify the links used by the operators to probe the reachability of GitHub and GitLab and remove the researcher’s name at their request.)





