ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

GitHub Commit History Exposes 80,409 Espionage Commands From Chinese-Speaking Hackers

About 4 min read

A cyber‑espionage campaign that has been using public GitHub repositories as a command‑and‑control (C2) channel was uncovered after analysts examined the commit history of the repositories involved. The investigation revealed that the operation, dubbed Operation ShadowCloud, has been active for a little over two years and has sent more than 80,000 espionage commands to victims in 23 countries.
Operation ShadowCloud is a cluster of attacks that targets government and diplomatic entities, military and defence organisations, and users of popular messaging apps. The campaign employs backdoors known as GitDoor and GraphDoor to infiltrate victim networks. Kaspersky first documented the cluster last month, and Sophos is tracking a related component under the name Bronze Sandcastle. Apiiro’s follow‑up report, published on 2 December 2026, identified 104 operator repositories linked to the campaign and counted 80,409 distinct commands issued via GitHub.
The earliest recorded commands date back to November 2024. Over the two‑year period, the attackers requested 2,902 unique files from compromised systems. Most of the files relate to government and diplomatic communications, military and defence data, credential stores, mailbox contents, and messages from apps such as LINE, Signal, Telegram and WhatsApp. The breadth of the request list shows a clear focus on high‑value state and intelligence information.
Victims span five continents and include the United States, Peru, Brazil, Argentina, Italy, Uganda, Zambia, Kyrgyzstan, Afghanistan, Pakistan, India, Laos, Thailand, Cambodia, Singapore, Malaysia, Vietnam, Taiwan and the Philippines. The campaign’s reach demonstrates a concerted effort to gather strategic data from both developed and emerging economies across Asia, Africa and the Americas.
Apiiro described the GitHub commit logs as a “task list” that records exactly what the operators asked for, from which victim, and when. Because each command remains in the repository’s history, the researchers could reconstruct the timeline down to the minute. The record shows that the operators work during Beijing office hours, with 85 percent of commands issued between 08:00 and 19:00 local time, a lunch break, and reduced activity on Chinese public holidays. Saturdays see a command frequency comparable to weekdays only when those Saturdays are designated as official workdays in China.
GitHub Commit History Exposes 80,409 Espionage Commands From Chinese-Speaking Hackers
The activity has continued despite the public disclosure of the operation. On 23 November 2026, the Philippines’ National Nutrition Council was targeted, and another victim was compromised the same day to upload previously unseen tools. In total, the group uploaded 494 Windows programs to the compromised hosts. Of those, 347 have no record on VirusTotal, indicating that many of the tools are either custom‑built or have evaded public detection.
One notable upload was a Windows kernel exploit named “wdiag.exe,” which appeared only once on 17 November 2026 at 07:45 UTC. The file was delivered to an Exchange 2010 server accessed through a repository that served the Kuomintang (KMT), a major opposition party in Taiwan. The exploit was compiled a day earlier and is a modified version of a public proof‑of‑concept released in July. The modifications include renamed log strings, removal of Microsoft dialog boxes and a silent execution mode that returns output through the implant. Apiiro’s researcher explained that these changes adapt the exploit for use via a backdoor rather than a desktop environment. Subsequent commands issued after the upload were directory‑listing requests, but it is unclear whether the exploit succeeded or whether the server had already been patched.
Evidence also suggests the threat actors are preparing GitLab as a secondary C2 channel for environments where GitHub may be blocked. Between 10 October and 22 October 2026, a Latin‑America team deployed a new loader family named “gitlab2_autoproxy” and “ssv_gitlab3_autoproxy.” On 21 and 22 October, a machine inside a Caribbean ministry received and executed six PowerShell scripts (netdiag.ps1, proxy_cred_probe.ps1, gl_proxy_probe.ps1) over two days. The scripts probe the ability of the host to reach specific URLs, and a comment within one script reads “github C2 confirmed alive in same env,” indicating the operators were testing GitLab as a fallback. Apiiro stressed that only the probing activity was observed and no live tasking over GitLab has been confirmed.
Kaspersky has not assigned the activity to a specific threat group, but the linguistic and operational patterns point to a Chinese‑speaking actor. The operators write in Simplified Chinese, follow Beijing business hours, and observe mainland China’s holiday calendar. This behavioural fingerprint helps narrow the attribution to actors based in or closely aligned with mainland China.
The discovery of such a large‑scale, long‑running espionage effort underscores the risks of using public code‑hosting platforms for malicious C2. For organisations in the affected sectors, the findings highlight the need to monitor outbound traffic to GitHub and GitLab, enforce strict code‑repository access controls, and employ endpoint detection that can flag unusual file requests or the execution of unsigned Windows binaries. The campaign’s focus on diplomatic, military and credential data means that any breach could have significant national‑security implications. Continued vigilance and rapid response to anomalous repository activity will be essential to mitigate the threat posed by Operation ShadowCloud.

Source: The Hacker News · Cybersecurity

ShieldPack media