A recently disclosed intrusion set that was disclosed as using GitHub for command-and-control (C2) has exposed a broader cyber espionage campaign that has been active for a little over two years, an analysis of the GitHub commit history has revealed.
Operation ShadowCloud is the moniker assigned to a cyber attack cluster that has targeted government sectors in Asia and Africa using backdoors like GitDoor and GraphDoor. The campaign was first documented by Kaspersky last month. Some aspects of the operation is being tracked by Sophos as Bronze Sandcastle,
In a follow-up report published on December 2, 2026, Apiiro said it identified 80,409 espionage commands sent via GitHub and against victims in 23 countries from two years of operations using the GitDoor backdoor. In all, 104 operator repositories linked to the campaign have been identified.
The earliest commands date back to November 2024 and 2,902 distinct files have been requested from victims, most of which are related to government and diplomacy, military and defense, credentials, mailbox data, and information from messaging apps like LINE, Signal, Telegram, and WhatsApp.
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.
“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 activity has continued to run despite public disclosure, with one of the attacks targeting the Philippines’ National Nutrition Council on November 23, 2026. Another victim is assessed to have been compromised that same day to upload previously unidentified tools.
The group has been observed uploading 494 Windows programs in total, out of which 347 don’t even have a record on VirusTotal. Some of the identified tools are listed below –
- A Windows kernel exploit for CVE-2026-42980, a vulnerability that was patched by Microsoft in June 2026
- A program that decrypts the desktop Signal database and exports the messages to text files
The Windows kernel exploit (“wdiag.exe”) was uploaded exactly once, on November 17, 2026, at 7:45 a.m. UTC, to an Exchange 2010 server reached through a repository that served Kuomintang (KMT), a major opposition political party in Taiwan. It was compiled a day prior to the upload, and there is no record of prior upload or build in any of the 104 repositories.
“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,” Apiiro researcher Shmulik Cohen told The Hacker News.
“That change is what you’d make to use it through a backdoor rather than on a desktop. The commands that followed were directory listings. We can’t see whether it ran or whether the server was patched for June. So the evidence is an operational deployment of an n-day against a live victim, not confirmed successful exploitation.”
In addition, signs have emerged that the threat actors may be possibly preparing GitLab as a second C2 channel for networks where GitHub could be blocked.
“Between October 10 and 22, 2026, the Latin America team deployed a new loader family on victims in the region,” Cohen said. “The build folders are named gitlab2_autoproxy and ssv_gitlab3_autoproxy. “On October 21 and 22, on a machine inside a Caribbean ministry, they uploaded and ran a set of PowerShell scripts (netdiag.ps1, proxy_cred_probe.ps1, gl_proxy_probe.ps1), six versions over two days.”
These scripts have been found to check whether the machine can reach the following URLs –
- www.google[.]com/url?q=https://gitlab.com&source=gmail&ust=1796469181081000&sa=E (through the ministry’s internal web proxy, using the proxy’s credentials)
- www.google[.]com/url?q=https://api.github.com&source=gmail&ust=1796469181081000&sa=E
- www.google[.]com/url?q=https://github.com&source=gmail&ust=1796469181081000&sa=E
- www.google[.]com/url?q=https://raw.githubusercontent.com&source=gmail&ust=1796469181081000&sa=E
Interestingly, a comment in the script reads “github C2 confirmed alive in same env,” suggesting attempts to use GitLab as a backup option if GitHub C2 fails. However, Apiiro emphasized that the commands show only the probes, and that there is no evidence of live GitLab tasking.
Kaspersky has not attributed the activity to a specific threat actor or group. That said, indications point to a Chinese-speaking operator who writes in Simplified Chinese and keeps 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. “They also keep mainland China’s holiday calendar: commands all but stop on most public holidays and pick up on the Saturdays China makes official workdays, a schedule only the mainland follows.”






