GitHub Commit History Reveals Two-Year Espionage Campaign Using GitHub for Command-and-Control
Analysis of GitHub commit history linked to an intrusion set using GitHub for command-and-control has exposed Operation ShadowCloud, an espionage campaign active for just over two years against government sectors in Asia and Africa.

Key points
- A previously disclosed intrusion set used GitHub as its command-and-control channel.
- Review of its GitHub commit history uncovered a broader espionage campaign.
- The cluster, named Operation ShadowCloud, has been active for a little over two years.
- Targets include government sectors in Asia and Africa, attacked with backdoors.
- The source headline attributes 80,409 exposed commands to Chinese-speaking operators.
What was reported
Researchers examining the commit history of GitHub repositories used by a recently disclosed intrusion set have uncovered a wider cyber espionage campaign. The activity cluster, tracked as Operation ShadowCloud, has relied on GitHub for command-and-control (C2) and has been running for a little over two years. According to the source headline, the commit history exposed 80,409 commands attributed to Chinese-speaking operators.
The campaign has targeted government sectors in Asia and Africa using backdoors. The source does not name specific victims, malware families or vulnerabilities, and we do not speculate beyond what was reported.
Why it matters
Abusing a widely trusted developer platform for C2 allows malicious traffic to blend in with legitimate activity. Many organisations permit GitHub access by default because engineering teams depend on it, so outbound connections to it rarely draw scrutiny. A campaign that persisted for roughly two years shows how long such channels can stay unnoticed.
Although the reported targets are in Asia and Africa, the technique itself is portable. Government entities and regulated institutions in the Kingdom that allow unrestricted access to code-hosting services face the same blind spot.
Practical next steps
The priority is visibility rather than blocking. Security teams should understand which systems legitimately need to reach GitHub and similar services, and treat unexpected connections from servers or non-developer endpoints as worth investigating. Threat hunting for periodic, automated access to code repositories from hosts with no development role is a reasonable starting point.
This also fits naturally within existing obligations for network monitoring and threat intelligence under national and sector frameworks, so it can be handled through established processes.
What to do now
- Inventory which hosts and teams have a legitimate business need to reach GitHub and other code-hosting services.
- Review proxy and firewall logs for connections to GitHub from servers or endpoints with no development role.
- Run a threat hunt for periodic, automated access to repositories that could indicate C2 polling.
- Restrict outbound access to code-hosting platforms to approved systems where operationally feasible.
- Add abuse of trusted cloud and developer services as a C2 channel to threat intelligence and detection use cases.
How useful was this story?
0.0 out of 5 · 0 ratings
Related frameworks
Our consultants can assess your exposure and map the change to your controls and evidence.