العربية
🚨 BreakingSonicWall Gen 6 Firewalls Reach End of Security Patches

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.

Source image for: New GitDoor and GraphDoor Backdoors Turn GitHub and SharePoint Into Covert C2 Channels
Image: The Hacker News

⚡ 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

  1. Restrict approved remote access tools and alert on unauthorized MeshCentral Agent installs.
  2. Watch for unusual connections to GitHub, Microsoft Graph and Ably from servers that do not need them.
  3. Audit app registrations and consents in Microsoft Entra ID.
  4. 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