How Operation ShadowCloud Used GitHub for Covert Cyber Espionage
A new analysis has exposed 80,409 espionage commands hidden inside GitHub commit histories. The commands span more than two years of covert operations across 23 countries. Security firm Apiiro published the findings on December 2, linking the activity to Operation ShadowCloud.
Kaspersky's Global Research and Analysis Team first uncovered this campaign in early 2026. The firm then published its initial report on November 17. That investigation revealed attackers targeting government organizations in Southeast Asia, Africa, and Central Asia.
Details of the GitDoor and GraphDoor Backdoors
Specifically, the campaign relied on two previously undocumented backdoors called GitDoor and GraphDoor. GitDoor turned GitHub repositories into a covert command-and-control channel. Meanwhile, GraphDoor achieved the same result through Microsoft SharePoint.
Both backdoors also executed shellcode directly in memory and downloaded additional plugins on demand. As a result, malicious traffic blended with normal cloud service activity. The attackers gained initial access through MeshCentral Agent, a legitimate remote management tool.
Evidence Found in Repository Commit Histories
Apiiro's follow-up analysis of the GitHub repositories then identified 104 operator accounts linked to the campaign. These operators requested 2,902 distinct files from victims and uploaded 494 Windows programs. Of those programs, 347 had never appeared on VirusTotal. In addition, the campaign exploited CVE-2026-42980, a Windows kernel privilege escalation vulnerability patched in June 2026.
"Between October 10 and 22, 2026, the Latin America team deployed a new loader family on victims in the region," the researcher 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."
Targets and Countries Affected by the Campaign
The hackers also targeted data from messaging apps including Signal, Telegram, WhatsApp, and LINE. They additionally pursued government, military, and diplomatic files. Pakistan was among the 23 victim countries, alongside the United States, Taiwan, the Philippines, India, and Singapore.
This wide geographical spread indicates a coordinated campaign targeting strategic government and diplomatic entities globally. By abusing trusted developer platforms, the actors bypassed standard security perimeters that typically flag external command servers.
Attribution and Working Hours of the Hackers
Attribution indicators point strongly toward Chinese-speaking operators. In fact, Simplified Chinese appeared throughout the code. Furthermore, 85% of commands arrived during Beijing working hours between 8 AM and 7 PM.
Activity also dropped consistently on mainland Chinese holidays and resumed on designated Saturday workdays. Sophos currently tracks a related threat cluster as Bronze Sandcastle. That group has targeted organizations in the Philippines, Taiwan, Afghanistan, and Namibia since mid-2025. Suspected links also connect the campaign to known groups FamousSparrow and CopperTurtle.
Background on Living Off the Cloud Tactics
Threat actors increasingly abuse legitimate cloud infrastructure and developer tools to blend malicious traffic with everyday enterprise operations. Known as living off the cloud, this technique makes detection difficult for security teams monitoring network borders. By using repositories such as GitHub and collaboration tools like Microsoft SharePoint, attackers mask their data exfiltration and command signals. Traditional intrusion detection systems often ignore traffic directed at well-known developer platforms, assuming it represents normal engineering work or administrative tasks. This strategy allows espionage campaigns to persist undetected for years while harvesting sensitive government, military, and diplomatic intelligence across multiple continents.
Technical Explainer of Version Control Abuse
Version control systems track changes in source code during software development, allowing multiple contributors to collaborate seamlessly. In Operation ShadowCloud, perpetrators weaponized this normal workflow by embedding operational instructions directly inside commit histories and repository files. Security tools typically scan compiled binaries or unusual network connections rather than inspecting standard code commits on major hosting platforms. Because GitHub encrypts all web traffic using standard Transport Layer Security, passive network monitors cannot read the payload contents passing through the API. Security analysts must perform deep behavioral analytics and historical repository auditing to uncover hidden command structures disguised as routine programming contributions.
Impact on Global Government and Diplomatic Security
The exposure of Operation ShadowCloud highlights severe vulnerabilities in how organizations monitor internal software pipelines and developer accounts. Government bodies, military contractors, and diplomatic missions often rely heavily on cloud-hosted code repositories for internal software projects. When attackers compromise legitimate accounts or abuse platform features, they gain direct pathways into sensitive networks without triggering alarms. The theft of data from messaging applications such as Signal, Telegram, WhatsApp, and LINE exposes private communications of officials across 23 nations. Organizations worldwide must now reevaluate their cloud governance policies, tightening access controls and implementing continuous auditing of repository activity to prevent similar covert operations.
What to Watch for in Future Threat Intelligence
Security investigators continue to examine the full scope of infrastructure connected to GitDoor, GraphDoor, and associated loader families. Enterprises should review endpoint telemetry for unauthorized instances of MeshCentral Agent and monitor for anomalous PowerShell execution patterns. Software developers and security teams must watch for vendor patches addressing kernel vulnerabilities like CVE-2026-42980 and similar privilege escalation flaws. Future reports from threat intelligence firms will likely detail additional indicators of compromise, helping defenders identify hidden operator accounts across cloud platforms and prevent unauthorized data access.