GitHub Repository Abuse Enables Two-Year Chinese Espionage Campaign via GitDoor and GraphDoor Backdoors
Operation ShadowCloud is a China-linked espionage campaign active for approximately two years, discovered in early 2026. Threat actors abused public GitHub repositories as command-and-control infrastructure, encoding 80,409 espionage commands within Git commit history to deploy GitDoor and GraphDoor backdoors. The campaign targeted government sectors across 23 countries in Asia and Africa, additionally leveraging SharePoint as a secondary covert channel for cloud-based backdoor delivery and exfiltration. This abuse of legitimate development platforms enables persistent, low-detection intelligence collection against government networks.
-
Incident Overview: Operation ShadowCloud
- Active ~24 months; discovered early 2026.
- Targets: government entities in Asia and Africa.
- Scope: 23 victim countries.
- Attribution: China-linked espionage operation.
-
Attack Vector: GitHub and SharePoint Abuse
- Public GitHub repositories served as C2 infrastructure.
- Commands encoded in Git commit history; 80,409 orders exposed.
- SharePoint used as secondary covert exfiltration channel.
- Cloud-native delivery bypasses traditional network C2 indicators.
-
Malware Profile: GitDoor and GraphDoor
- GitDoor: undocumented implant controlled via public repository commits.
- GraphDoor: companion backdoor for sustained access.
- Commit history functions as covert command channel.
- No hardcoded malicious IP/domain infrastructure observed.
-
Impact and Attribution
- 80,409 espionage commands recovered from commit logs.
- Long-term intelligence collection against government networks.
- Broad regional targeting indicates strategic data acquisition.
- Legitimate SaaS abuse extends dwell time and delays detection.
-
Detection and Defensive Actions
- Monitor anomalous GitHub commit activity from corporate endpoints.
- Restrict unauthenticated public repository interactions.
- Enforce EDR behavioral rules for cloud-based backdoor execution.
- Audit SaaS OAuth permissions and SharePoint access patterns.
Related posts
- thehackernews.com — GitHub Commit History Exposes 80,409 Espionage Commands From Chinese-Speaking Hackers
- SecurityWeek — GitHub History Exposes Two Years of Chinese Espionage Orders
- SC Media — Operation ShadowCloud targets government sectors with cloud-based backdoors
- Securelist
- Kaspersky
- Ashwinisp
- Aviatrix
- Hivepro
- Mallory
- Spectrum