Two new backdoors never contact a server their operators own. GitDoor takes orders from a GitHub repository, GraphDoor reads them from a SharePoint site, and both push proxy traffic through a commercial messaging service, so every connection goes to a domain your firewall already trusts.
In short: GitDoor and GraphDoor are Windows backdoors that Kaspersky’s Global Research and Analysis Team (GReAT) found in a campaign it calls Operation ShadowCloud, aimed mainly at government networks in Asia and Africa. Kaspersky published the research in two parts on 17 November 2026 and links it, with stated uncertainty, to Chinese-speaking threat groups.
This article explains how the two backdoors use cloud services, how they reach a victim, who is affected, and what defenders can hunt for when blocking the domains is not an option.
- What are GitDoor and GraphDoor?
- How does the GitDoor and GraphDoor infection start?
- How does GitDoor use GitHub for command and control?
- How does GraphDoor use SharePoint and Microsoft Graph?
- Who is behind Operation ShadowCloud?
- Who is affected?
- How does it compare with other cloud C2 cases?
- How do you detect GitDoor and GraphDoor?
- How do you mitigate the risk?
- What is still unknown?
- The bottom line
- Sources
What are GitDoor and GraphDoor?
They are two related backdoors that hide their command-and-control (C2) traffic inside legitimate cloud services. C2 is the channel an attacker uses to send commands to infected machines and collect the results.
Kaspersky researchers Saurabh Sharma and Noushin Shabab describe them in a two-part Securelist series. Part 1 covers the initial infection and GitDoor. Part 2 covers GraphDoor, its plug-ins and attribution. The Hacker News covered both parts the same day.
| GitDoor | GraphDoor | |
|---|---|---|
| Main C2 service | GitHub (two repositories) | SharePoint via Microsoft Graph |
| Authentication | GitHub personal access token in the binary | Entra app client ID and secret in the binary |
| Proxy channel | Ably and a modified Erfrp client | Ably and a modified Erfrp client |
| Command set | 26 commands, per The Hacker News | Similar to GitDoor, plus shell and an extra loader |
| Extras | Shellcode modules for credentials, services, tasks | Seven plug-ins, including a keylogger |
Why cloud C2 matters
Traditional malware calls home to a domain or IP address the attacker rents. Defenders block it once it is known. When the C2 is api.github.com or graph.microsoft.com, that approach fails, because blocking them breaks normal work. Kaspersky says the API calls to Microsoft Graph, GitHub and Ably look the same as legitimate enterprise use.
How does the GitDoor and GraphDoor infection start?
It starts with a remote management tool, not an exploit. Kaspersky found two instances of the MeshCentral agent inside a Taiwanese organisation. MeshCentral is an open-source remote administration platform, and its agent gives whoever runs the server full remote control of a machine.
The agent was hard-coded to reach a server at 27.102.66[.]162 over a secure WebSocket on port 443. Kaspersky says it does not know how the agent got there, but the evidence points to reuse of an earlier infection already on the network.
Three files per infection
Through the agent, the operators dropped three files: a legitimate signed program, a malicious loader DLL, and an encrypted payload in a file named config.ini. This is DLL sideloading, a technique where a trusted program is tricked into loading a malicious library that sits next to it.
Kaspersky lists the host programs used across the campaign: javaw.exe from OpenJDK, start.exe from Sandboxie, pythonw.exe and Sysinternals ZoomIt (zoomit.exe), which was run as a Windows service. The loader DLLs carry the names those programs expect: jli.dll, SbieDll.dll, python39.dll, WINMM.dll and libcef.dll.
In one case the files sat in C:\windows\system32, with start.exe loading sbiedll.dll. In another, a renamed Python binary loaded python39.dll from a folder under C:\Windows\system32\dts\pc\apo4x\.
Two loader types
Kaspersky describes two loader families. The first decodes config.ini with a custom Base64 alphabet, then RC4, then an XOR key, all with keys that change per sample. It then converts the bytes to and from MAC address strings with Windows networking functions before running the payload in memory. That odd step is an obfuscation trick that makes the payload look like a list of network addresses.
The second loader uses a plain XOR operation alone. Both end with the backdoor running only in memory, inside a trusted process.
How does GitDoor use GitHub for command and control?
GitDoor uses two GitHub repositories owned by attacker accounts. The Hacker News, summarising Kaspersky, names them Havo, a public repository that serves commands and plug-ins, and Trix, a private repository that receives execution results. Access to the private repository needs a GitHub personal access token, which the backdoor decrypts from its own code at runtime.
Victim data and command output are encrypted before upload and stored as files with names that look like JavaScript source maps, so a casual look at the repository shows web-development clutter.
What GitDoor can do
The Hacker News counts 26 commands. They cover file management, a keylogger, two proxy modes, and loading extra shellcode. The shellcode modules add process injection, Windows service and scheduled task control, registry access, firewall changes, user and group management, and process memory dumps.
For credential theft, the article lists CookieKatz to pull Chrome and Edge cookies from memory, Mimikatz for LSASS credential dumping, extraction of the WhatsApp database key, and a command that forces NTLM authentication to an attacker-chosen host. Keystrokes are written to %APPDATA%\Microsoft\SystemCertificates\Cache\logs.dat.
How does GraphDoor use SharePoint and Microsoft Graph?
GraphDoor logs in as an application, not as a user. Microsoft Graph is the API that gives programmatic access to Microsoft 365 data such as SharePoint files. To use it, a program needs an access token from Microsoft Entra ID, Microsoft’s identity service.
Kaspersky found three encrypted values in GraphDoor: a tenant identifier, a client ID and a client secret. The backdoor sends them to login.microsoftonline.com in a client-credentials request, an OAuth flow built for server-to-server apps with no human sign-in. Kaspersky stresses that it authenticates the malicious application, not a user.
The SharePoint exchange
With the token, GraphDoor uploads an encrypted victim profile to the root of a SharePoint document library as a file called main.<victim code>.js.map. Kaspersky says the profile includes network adapters, OS version, public and private IP addresses, user name, host name and the process list.
It then fetches three plug-ins in parallel, for screenshots, process listing and keylogging, and later retrieves commands stored on the same site. The SharePoint site Kaspersky names sits on a tenant that is not the victim’s. That matters for detection: the token request is logged in that other tenant, not in your Entra sign-in logs.
GraphDoor plug-ins
The Hacker News lists seven plug-ins: kl.ts (keylogger), pr.ts (process list), scr.ts (screenshots), moveDir.ts (moves the backdoor files to a new path), channel.ts (a reverse proxy based on a modified Erfrp client), abchannel.ts (a proxy over Ably) and ab2channel.ts (a SOCKS5 proxy over Ably’s Pusher-compatible WebSocket service).
Ably is a commercial real-time messaging platform. Using it as a relay means even interactive proxy traffic goes to a legitimate SaaS endpoint.
Who is behind Operation ShadowCloud?
Kaspersky does not name an actor. In Part 2 it says it lacks enough information to attribute the activity to a specific group, and concludes that a Chinese-speaking group may be developing and/or utilizing the backdoors.
The overlaps Kaspersky reports
Kaspersky saw GitDoor share staging directories with implants it links to FamousSparrow and CopperTurtle on several victims, with deployments falling within one day of each other. The Hacker News notes CopperTurtle is also known as BlackTech. Kaspersky’s Part 1 also says a Sophos brief touched on a fragment of the same campaign; The Hacker News connects that work to activity Sophos tracks as Bronze Sandcastle.
Shared folders are a weak signal on their own. Check Point Research made the same caveat on 10 November 2026 in its own report on FamousSparrow-linked tooling: using the same backdoor or infrastructure does not prove two intrusions were run by the same actor.
Who is affected?
Kaspersky reports victims in Asia and Africa, primarily in government. The only organisation it places by country is the Taiwanese one where the MeshCentral agents ran. Neither Kaspersky nor The Hacker News gives a victim count or names African countries.
You should check your exposure if you run government or public-sector networks in these regions, if MeshCentral is present anywhere in your estate, or if your Windows servers can reach GitHub, SharePoint or Ably without restriction.
How does it compare with other cloud C2 cases?
ShadowCloud is part of a wider move to hide C2 inside services defenders cannot block. The table compares it with cases covered here before and with Check Point’s report on the Sparrow framework.
| Case | C2 hidden in | Who reported it |
|---|---|---|
| GitDoor and GraphDoor | GitHub, SharePoint, Ably | Kaspersky, Nov 2026 |
| CopperDragon Sparrow framework | DNS MX queries, raw TLS on port 443 | Check Point, Nov 2026 |
| Turla Cereal | The victim’s own Exchange server | ESET |
| KuboShell | IPFS via Pinata | Check Point |
| NotC2 (proof of concept) | AWS SQS, Lambda, SNS and Bedrock | Varonis |
Turla Cereal, covered in our article on how Turla turned Exchange into its C2, needs no external server at all. NotC2 shows the same idea inside a breached AWS account. GraphDoor sits between them: it uses a public Microsoft service, but on a tenant that is not the victim’s.
Check Point describes CopperDragon as a possible digital quartermaster that supplies tools to FamousSparrow and other China-nexus groups. Kaspersky’s FamousSparrow overlap does not prove a link between the two reports, but it puts ShadowCloud in the same neighbourhood.
How do you detect GitDoor and GraphDoor?
Detect the behaviour around the cloud traffic, because the domains themselves are clean. Kaspersky’s advice in Part 2 is to rely on behaviour and context rather than domain reputation.
Endpoint signals
- MeshCentral agents nobody approved. Kaspersky says introducing such a tool should be treated as suspicious.
- Signed programs loading DLLs from unexpected folders: start.exe with SbieDll.dll, zoomit.exe with WINMM.dll, javaw.exe with jli.dll, or anything sideloaded from
C:\Windows\system32subfolders. - ZoomIt or Sandboxie Start installed as a Windows service on servers.
- A config.ini next to any of those binaries that contains Base64 rather than settings.
- The folder
C:\ProgramData\Intel_Logand the filelogs.datunder%APPDATA%\Microsoft\SystemCertificates\Cache. - A named pipe matching
\\.\pipe\pfollowed by a process ID.
Network signals
- Non-browser, non-developer processes connecting to api.github.com, graph.microsoft.com, login.microsoftonline.com or rest.ably.io, especially from servers.
- Requests for tokens to Entra tenants that are not yours. If you inspect TLS, the tenant ID is in the URL path.
- Any connection to the MeshCentral server address Kaspersky published.
Indicators and ATT&CK
Kaspersky publishes file hashes, eight GitHub account profiles, SharePoint sites and proxy server addresses in the reports. Use the Securelist pages for the full list. The reports do not include an ATT&CK table; the mapping below is ours, based on the behaviour Kaspersky describes.
| Behaviour | ATT&CK technique (our mapping) |
|---|---|
| MeshCentral remote access | T1219 Remote Access Software |
| Sideloaded loader DLLs | T1574 Hijack Execution Flow |
| GitHub, SharePoint and Ably C2 | T1102 Web Service |
| Keylogger plug-in | T1056.001 Keylogging |
| Mimikatz on LSASS | T1003.001 LSASS Memory |
| CookieKatz | T1539 Steal Web Session Cookie |
| Ably and Erfrp proxies | T1090 Proxy |
How do you mitigate the risk?
- Inventory remote management tools and block unapproved ones, including MeshCentral, with application control.
- Restrict outbound access from servers. Few servers need GitHub, SharePoint or Ably; allow them only for the hosts and processes that do.
- Use Microsoft’s tenant restrictions to stop devices on your network from signing in to Entra tenants other than yours and your partners’.
- Hunt for the sideloading pairs and file artifacts listed above, then sweep with Kaspersky’s hashes.
- Treat any confirmed infection as a credential compromise. GitDoor can dump LSASS and browser cookies, so reset passwords, revoke sessions and rotate secrets on affected hosts.
- Review older incidents. Kaspersky thinks the MeshCentral agent came from an earlier infection, so a past case that was closed early may be the real entry point.
What is still unknown?
- Initial access. Kaspersky does not know how the MeshCentral agent first arrived.
- Scale. No victim count or full country list is published.
- Attribution. Overlaps with FamousSparrow and CopperTurtle are reported, but Kaspersky stops short of naming a group, and Check Point warns that shared tooling is not proof of a shared operator.
- Takedown status. The Hacker News says repository creation dates suggest preparation since at least the end of 2024. Neither source says whether GitHub, Microsoft or Ably have removed the accounts.
- Conflicting details. The Hacker News places Intel_Log under Application Data, while Kaspersky’s report puts it under
C:\ProgramData. Search both.
For more on hunting tools that abuse legitimate software, see our analysis of Webworm’s SoftEther VPN repack, and for stolen cloud app secrets in Entra ID see Key Eater.
The bottom line
GitDoor and GraphDoor never touch a server the attackers own: GitHub, SharePoint and Ably carry every command. Blocking domains will not find them, so look at which processes and hosts talk to those services, and at the remote-access agent and sideloaded DLLs that come first. The reports leave attribution open, but the tradecraft is clear enough to hunt for today.
Sources
- Kaspersky Securelist: Operation ShadowCloud, Part 1 (initial infection and GitDoor)
- Kaspersky Securelist: Operation ShadowCloud, Part 2 (GraphDoor, plug-ins and attribution)
- The Hacker News: New GitDoor and GraphDoor Backdoors Turn GitHub and SharePoint Into Covert C2 Channels
- Check Point Research: Tracking CopperDragon’s Sparrow Framework Around the Globe
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.