Operation ShadowCloud Deploys GitDoor and GraphDoor Backdoors Leveraging GitHub and SharePoint for Covert C2 in Asian and African Government Agencies
What Happened — Kaspersky Lab has uncovered a new intrusion campaign it has named Operation ShadowCloud. The campaign, first observed in early 2026, targets government entities across several Asian and African nations. Attackers deliver two previously undocumented backdoor implants—GitDoor and GraphDoor—that hide within legitimate cloud‑based collaboration services. GitDoor embeds malicious code in public or private GitHub repositories, while GraphDoor plants payloads in Microsoft SharePoint sites. Both implants use the native APIs of these platforms to establish low‑profile command‑and‑control (C2) channels, allowing threat actors to issue instructions, exfiltrate data, or stage additional payloads without triggering traditional network‑perimeter alerts.
Why It Matters for Trust & Control Assurance — The abuse of trusted cloud services for C2 directly tests an organization’s control objective around continuous monitoring and logging of outbound communications to third‑party platforms, a control that maps to multiple frameworks (e.g., NIST CSF, ISO 27001).
Who Is Affected — Government ministries, law‑enforcement agencies, and public‑sector IT departments in the affected Asian and African countries.
Recommended Actions
- Deploy network‑level telemetry that captures outbound traffic to cloud‑service endpoints (GitHub, sharepoint.com) and correlates it with user and process context.
- Enforce strict logging of API calls and repository activity on any authorized third‑party cloud accounts, and retain logs for forensic review.
- Conduct a third‑party risk assessment of all cloud‑based collaboration tools, ensuring that contractual security clauses require timely breach notification and evidence of security controls.
- Review and harden IAM policies to limit the creation of service‑principal credentials that could be abused for covert C2.
Technical Notes
- Attack Vector – Third‑party dependency abuse: malicious payloads are delivered via legitimate GitHub and SharePoint services.
- Backdoor Mechanics – GitDoor leverages GitHub Actions and raw repository files to pull encoded commands; GraphDoor exploits SharePoint’s REST API to poll for encrypted instruction sets.
- Detection – Kaspersky identified the implants through anomalous API call patterns and the presence of obfuscated PowerShell scripts that referenced uncommon SharePoint endpoints.
- Indicators of Compromise – Unusual outbound HTTPS traffic to
.githubusercontent.comand.sharepoint.comfrom internal workstations, PowerShell scripts with base‑64 encoded payloads, and newly created service‑principal objects with minimal permissions. - Response – Kaspersky has shared IOCs with national CERTs in the affected regions; the targeted agencies are advised to rotate credentials, revoke unused service principals, and audit all cloud‑service integrations.