Operation ShadowCloud: GitHub Commit History Exposes 80,409 Espionage Commands by Chinese-Speaking Hackers

A detailed analysis of GitHub commit histories has uncovered the full scope of Operation ShadowCloud, a two-year cyber espionage campaign that leveraged public repositories for command-and-control operations. The activity, first reported by Kaspersky and tracked by Sophos as Bronze Sandcastle, involved the GitDoor and GraphDoor backdoors targeting government entities across 23 countries in Asia, Africa, Europe, and the Americas. Apiiro researchers identified 104 operator repositories containing 80,409 espionage commands and 2,902 distinct files exfiltrated from victims, primarily related to diplomacy, military, credentials, and messaging applications. The operators maintained Beijing office hours, observed mainland Chinese holidays, and continued operations even after public disclosure, including an attack on the Philippines National Nutrition Council in November 2026. Among the tools deployed was a modified Windows kernel exploit for CVE-2026-42980, uploaded to compromise an Exchange server belonging to Taiwan's Kuomintang party. Evidence also emerged of reconnaissance scripts testing GitLab as a potential backup C2 channel when GitHub access is restricted.

The Hacker NewsTranslated from English

Read at source

A recently disclosed intrusion set that used GitHub for command-and-control has exposed a broader cyber espionage campaign active for over two years. Operation ShadowCloud is the name assigned to the cluster that targeted government sectors in Asia and Africa with backdoors including GitDoor and GraphDoor. The campaign was first documented by Kaspersky last month, with some aspects tracked by Sophos as Bronze Sandcastle.

In a follow-up report published on December 2, 2026, Apiiro identified 80,409 espionage commands sent via GitHub against victims in 23 countries over two years of operations using the GitDoor backdoor. In total, 104 operator repositories linked to the campaign were identified. The earliest commands date back to November 2024, and 2,902 distinct files were requested from victims, most related to government and diplomacy, military and defense, credentials, mailbox data, and information from messaging apps such as LINE, Signal, Telegram, and WhatsApp.

Targeted nations span five continents, including the United States, 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. The activity continued despite public disclosure, with one attack targeting the Philippines' National Nutrition Council on November 23, 2026.

Tools and Exploits Deployed

The group uploaded 494 Windows programs in total, of which 347 have no record on VirusTotal. Notable tools include a Windows kernel exploit for CVE-2026-42980, patched by Microsoft in June 2026, and a program that decrypts the desktop Signal database and exports messages to text files. The exploit "wdiag.exe" was uploaded once on November 17, 2026, at 7:45 a.m. UTC to an Exchange 2010 server reached through a repository serving Kuomintang (KMT), a major opposition political party in Taiwan. It was compiled the day prior and showed modifications to run commands silently and return output through the implant.

GitLab as Potential Backup C2

Signs have emerged that the threat actors may be 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, with build folders named gitlab2_autoproxy and ssv_gitlab3_autoproxy. On October 21 and 22, on a machine inside a Caribbean ministry, they uploaded and ran PowerShell scripts that checked connectivity to GitLab and GitHub URLs through internal proxies. A comment in the script reads "github C2 confirmed alive in same env," suggesting attempts to use GitLab as a backup option.

Kaspersky has not attributed the activity to a specific threat actor. Indications point to a Chinese-speaking operator who writes in Simplified Chinese and keeps Beijing office hours, with 85% of commands issued between 8 a.m. and 7 p.m. Beijing time and adherence to mainland China's holiday calendar.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in APT & Nation-State

EAGERBEE Backdoor Deploys HiveMind Plugin Supporting 52 Commands Against Russian and Belarusian Targets
Chinese APT Bronze Sandcastle Exposed Through Two Years of GitHub Commit Histories
Iran-Linked Hackers Escalate Multi-Vendor Attacks on U.S. and U.K. Water, Wastewater and Energy Systems