Apiiro finds 80,409 espionage commands hidden in public GitHub commit history
Operation ShadowCloud's GitDoor and GraphDoor backdoors receive instructions through commit history, leaving a dated public record of 80,409 espionage commands across 23 countries.
Summary
Security firm Apiiro analyzed the commit history of public GitHub repositories and found 80,409 espionage commands left behind by an attack cluster it calls Operation ShadowCloud, which Kaspersky documented last month. The group targets government agencies in Asia and Africa using backdoors named GitDoor and GraphDoor that pull their instructions from repository commits, so every request remains recorded in the public commit log. Apiiro counted victims in 23 countries, with most requested files covering government and diplomatic material, military and defense documents, and credentials or messages from apps including Signal and Telegram.
The operators uploaded 494 Windows programs, 347 of which are absent from VirusTotal, including a Windows kernel exploit assembled from a public proof of concept and deployed on an Exchange 2010 server. Apiiro also found PowerShell scripts probing whether victim machines can reach GitLab, suggesting preparation of a second command channel. Timestamps indicate a Chinese-speaking operator working Beijing office hours with a lunch break, and the commands stop on mainland China's public holidays.
How commit-based command channels leak attacker activity
- GitDoor and GraphDoor: Both backdoors retrieve tasking from commits rather than a dedicated command server, so the repository history itself becomes a timestamped log of every instruction issued to a victim.
- Payload inventory: Of 494 Windows programs uploaded by the group, 347 are not detected on VirusTotal, including a Windows kernel exploit built from a public proof of concept and placed on an Exchange 2010 server.
- Second channel reconnaissance: PowerShell scripts checked whether victim machines could reach GitLab, indicating the operators may be preparing an alternative delivery path beyond GitHub.
- Operational fingerprint: Commit timestamps align with Beijing office hours including a lunch break, and activity pauses on mainland China public holidays, pointing to a Chinese-speaking operator.
Why it matters
The case shows that public code-hosting platforms can be abused as covert command-and-control infrastructure, which matters for GitHub, GitLab and any organization whose developers run code from public repositories. Defenders monitoring commit activity, repository access logs and outbound connections from developer machines now have a concrete example of why that telemetry matters. For open-source maintainers and platform operators, it reinforces the need for abuse detection that treats commit metadata as a potential attack surface rather than only a provenance record.
Original reference: blog.adafruit.com →