GitDoor and GraphDoor Backdoors Abuse GitHub and SharePoint for C2
Kaspersky details Operation ShadowCloud, a campaign against government targets in Asia and Africa using new GitDoor and GraphDoor backdoors hidden in cloud services.

⚡ Why it matters
Routing command-and-control through trusted cloud platforms makes attacker traffic look like normal enterprise use, weakening network-based detection and demanding closer behavioural monitoring.
Kaspersky has disclosed Operation ShadowCloud, an active intrusion campaign targeting government sectors in Asia and Africa that it first identified in early 2026. The attackers deploy two previously undocumented, modular backdoors, GitDoor and GraphDoor, named after the cloud platforms they use for command-and-control (C2).
Infection chain
The intrusions start with MeshCentral Agent, a legitimate remote administration tool. How it gets onto hosts is still unknown, though Kaspersky points to reuse of an earlier infection already in the network. The agent contacts a hard-coded server and pulls DLL loaders that decrypt the backdoor with RC4 and/or XOR and inject it into memory.
The backdoors
- GitDoor uses two GitHub repositories, a public one for commands and a private one for exfiltrated results, and supports 26 commands. Repository creation dates suggest preparation began by late 2024.
- GraphDoor authenticates to a malicious app via Microsoft's login service, then uses the Microsoft Graph API to stage data on SharePoint. Its plugins capture screenshots, list processes and log keystrokes, and it can run cmd.exe commands and executables.
Both use obfuscation such as control flow flattening, and traffic is proxied through a modified Erfrp client and Ably messaging plugins.
Attribution
Kaspersky has not named the actor but notes overlaps with China-nexus activity Sophos tracks as Bronze Sandcastle, and tactical similarities with FamousSparrow and BlackTech, stressing this does not prove a direct link.
What to do
- Restrict approved remote access tools and alert on unauthorized MeshCentral Agent installs.
- Watch for unusual connections to GitHub, Microsoft Graph and Ably from servers that do not need them.
- Audit app registrations and consents in Microsoft Entra ID.
- Use EDR capable of detecting in-memory injection.
🔗 Sources
This article is original reporting by the Security World editorial team based on the sources listed above; direct quotes are kept short and marked with quotation marks. Corrections and feedback: info [at] securitywd.net.
Related stories
FBI Probes Apparent Breach of NCIC National Crime Information Database
The FBI is investigating an apparent hack of NCIC, the criminal justice database used by US law enforcement agencies. The scope of the incident is still unclear.
Rackspace Spot Breach: Leaked Credentials Exposed Kubernetes Secrets
Attackers used leaked credentials to access Rackspace Spot on Nov 17, creating pods and reading Kubernetes Secrets in some customer clusters. Rotate credentials now.
Microsoft Entra Connect Health API Flaw Exposed Admin Emails and Tenant Data
Microsoft says attackers abused an Entra Connect Health API bug to read admin emails and tenant metadata. A server-side fix is live; phishing risk remains.


