Skip to content
Cloud & Identity

GitHub History Exposes Chinese Espionage Orders in GitDoor

Apiiro uncovers 80,409 Chinese espionage orders from deleted public GitHub repository commits used by GitDoor and GraphDoor across 23 targeted nations.

Texial Editorial Desk
4 min read
Modern enterprise software engineering workspace displaying clean Git version control commit logs on curved monitors
Add us as preferred source on Google →
Table of Contents

Key Takeaways

  • Attackers left 80,409 plain-text command records preserved permanently inside Git commit histories across 104 repositories.
  • Operation ShadowCloud abused GitHub and Microsoft Graph APIs as covert C2 infrastructure across 23 nations.
  • Targets included government ministries, regional assemblies, and high-level public sector infrastructure throughout Southeast and Central Asia.
  • GitHub dismantled all identified operator repositories following coordinated researcher disclosures in late November 2026.

Security researchers discovered that GitHub history exposes two years of Chinese espionage orders after an advanced threat actor failed to account for Git’s immutable commit architecture. Operating under the tracked campaign Operation ShadowCloud, the group managed hundreds of stealth implants using public repositories, inadvertently preserving every operational instruction issued between 2024 and 2026.

The findings, published in December 2026 by application security firm Apiiro following initial campaign tracking by Kaspersky, demonstrate how adversaries abusing legitimate developer infrastructure can create self-documenting operational forensic trails. By recovering deleted task files from repository commit graphs, analysts reconstructed the adversary’s targeting timeline, working shifts, and execution methods across 92 confirmed victim networks.

Technical Breakdown

The espionage campaign deployed two core modular backdoors named GitDoor and GraphDoor. GitDoor relied on public GitHub repositories for dead-drop command delivery. To issue directives, the operators committed encrypted text files into a repository monitored by specific endpoints. The implant routinely polled the repository via the public GitHub API, retrieved the file, decrypted the payload in memory, executed the directive, and submitted an automated deletion request to erase the file from the working branch.

However, the operators failed to recognize that Git does not purge contents deleted in subsequent commits. While the command files disappeared from the repository tree’s main branch, every blob remained stored in the permanent version history. Apiiro parsed 104 operator repositories—97 of which were completely undocumented prior to this investigation—and extracted 80,409 unique commands spanning two full years of intrusion activity.

Initial access relied on evasive initial access tactics and legitimate signed executables, including start.exe, pythonw.exe, and zoomit.exe, to execute malicious DLL side-loading. The implants established persistence through scheduled tasks and leveraged compromised enterprise instances of MeshCentral and MeshAgent to deliver secondary payloads. The secondary backdoor, GraphDoor, used stolen Microsoft 365 tokens to poll Microsoft SharePoint and Microsoft Graph endpoints for command queues, giving the actors redundant channels across legitimate enterprise cloud ecosystems.

Defenders observed extensive targeting against government networks, including Vietnam’s Office of the National Assembly and public sector entities across Taiwan, Central Asia, and Africa. Operator commit timestamps aligned strictly with China Standard Time business hours (UTC+8), exhibiting distinct dips during Chinese statutory holidays and spikes during official government-mandated working Saturdays.

Impact Matrix

DimensionIntrusion Profile
Threat / Malware FamilyGitDoor, GraphDoor, Operation ShadowCloud
Initial Access VectorDLL side-loading via signed binaries (start.exe, zoomit.exe) and MeshCentral abuse
Confirmed TTPsMITRE ATT&CK technique T1102 (Web Service C2), T1574.002 (DLL Side-Loading), T1053 (Scheduled Task)
Targeted PlatformsWindows endpoints across government ministries, national assemblies, and enterprise infrastructure
Observed ImpactLong-term intelligence collection across 23 countries with 80,409 operational orders recorded
Primary SourceApiiro Security Research & Kaspersky Global Research and Analysis Team

Treating public developer services as disposable command channels creates profound visibility for threat actors until version control immutability converts their infrastructure into an unalterable forensic witness. When adversaries misuse developer platforms, their operational security mistakes remain permanently indexed.

— Texial Threat Research Desk

Immediate Actions

  1. Inspect corporate egress proxy and DNS logs for persistent, high-frequency API traffic directed toward api.github.com/repos/* and Microsoft Graph endpoints originating from unauthorized non-developer processes.
  2. Audit host-level execution parent-child relationships where system utilities like zoomit.exe, pythonw.exe, or unexpected executables spawn outbound network connections or execute unsigned secondary DLLs.
  3. Verify administrative instances of remote management frameworks, specifically MeshCentral and MeshAgent, enforcing strict endpoint access controls, multi-factor authentication, and code-signing verifications.
  4. Deploy endpoint behavioral rules to detect anomalous task creation executing under local app directories designed to mimic persistent background update services.
  5. Review software repository policies across enterprise source code controls to isolate developer environments from production and monitor for anomalous public repository interactions.

Frequently Asked Questions

How did GitDoor use GitHub for command execution?

GitDoor implants regularly polled designated public GitHub repositories through official APIs. When operators committed encrypted task files, the implant downloaded, decrypted, and executed the instructions locally before initiating a file deletion commit.

Why was the operational command history exposed?

Git stores every modification immutably within its commit history. Even though the operators deleted the command files from the active repository branch, the underlying objects and commit logs remained permanently accessible for forensic reconstruction.

Was GitHub’s internal platform infrastructure compromised?

No. GitHub’s core platform and internal systems were not breached. The threat actors simply registered public accounts and abused legitimate repository APIs as an external dead-drop communications channel to evade traditional network blocking.

Which regions were most heavily targeted by Operation ShadowCloud?

Intrusions concentrated heavily on sovereign government institutions and public sector infrastructure across Southeast Asia, Central Asia, and Africa, including confirmed compromises within Vietnam’s National Assembly administration and public organizations in Taiwan.

Share This Briefing

Keep your security team ahead of this threat.

LinkedInPostWhatsApp
Verified Editorial Desk

Cybersecurity policy and privacy reporter covering data breach disclosures, regulatory actions, and AI security governance for Texial Newsroom.

Latest Cybersecurity News

View All News →