GitDoor and GraphDoor turn GitHub and SharePoint into invisible command channels
On November 17, 2026, Kaspersky detailed two backdoors that steer compromised machines through the Microsoft Graph API, GitHub, and Ably, with no fixed C2 domain. If your defense relies on network blocklists, it is blind: watch Entra ID app sign-ins and .js.map files in SharePoint.
November 17, 2026. Kaspersky GReAT publishes the second part of its Operation ShadowCloud investigation and documents two previously unseen backdoors, GitDoor and GraphDoor, that use GitHub and Microsoft SharePoint as command-and-control channels. Asia and Africa. The governments targeted by the campaign, according to the vendor. No fixed C2 domain. The backdoor contains no server address to block: it blends into the legitimate traffic of cloud services. Why it matters: a defense built on network blocking goes blind — detection has to shift to identity and the file level.
The command channel hides in legitimate traffic
The campaign’s principle is as simple as it is devastating for monitoring teams. Instead of connecting the compromised machine to an identifiable attacker server, the backdoors talk to services every company already uses: Microsoft Graph, the API behind SharePoint and Microsoft 365, the GitHub code repository, and the Ably real-time messaging service. To a network monitoring tool, those connections look like normal work — a user syncing documents, a developer pushing code.
Kaspersky notes this is precisely what makes the campaign hard to spot: calls to Microsoft Graph, GitHub, and Ably “look like normal business traffic, so network tools often miss them.” The checkpoint therefore moves from the network to identity — who is connecting, with which application, and which files appear where.
GraphDoor: SharePoint as a mailbox
GraphDoor contacts no conventional command server. On startup, it opens a named pipe built from its own process ID — \\.\pipe\p%lu — through which its plug-in modules will write their results. It then creates an Intel_Log folder inside ProgramData, with a random GUID subfolder, and collects system details: network adapter, Windows version, public and private IP addresses, user name, host name, and the list of running processes. To hide its Windows API calls, it hashes function names with the DJB2 method and uses a vectored exception handler that deliberately triggers an error so a small routine runs the real call. The data is then AES-encrypted, Base64-encoded, and sent out.
The sending is the core of the trick. GraphDoor connects to login.microsoftonline.com and signs in not as a person but as a malicious application, using a client ID and secret stored in the binary. That sign-in returns a Microsoft Graph token, with which the malware uploads the stolen data to a SharePoint document library. The file is named main.<victim code>.js.map — an extension that makes it look like a harmless JavaScript source map. The victim code is a random eight-character string; researchers observed the sites buildersemp[.]sharepoint[.]com and cskautogo[.]sharepoint[.]com.
The malware then queries SharePoint lists for three plug-ins: scr.ts for screenshots, pr.ts for the process list, and kl.ts for keylogging — the latter loaded only if a log.lock file already exists on the machine. Finally, it searches the same lists for command files that begin with its victim code and end in .js, .swp, .tmp, .kmap, .pmap, or .apmap. The shell command runs text through cmd.exe /C, and the adsmload command hides payloads as fake MAC addresses inside Base64 text, converted back to bytes with the Windows call RtlEthernetStringToAddressA.
GitDoor and proxies with no domain to block
GraphDoor has a twin, GitDoor, which applies the same logic to GitHub. Both share the same command set, and GraphDoor adds two more. The architecture is not new: Cisco Talos documented a comparable Rust backdoor, Antino, which used Outlook and OneDrive for control. In both cases, defenders see only calls to a trusted Microsoft service.
The campaign’s networking layer neutralizes blocklists. Three proxy modules give the actors a path into the network: a patched copy of the open-source reverse proxy Erfrp, which reads its settings from shared memory instead of a file; a module that goes through the Ably real-time messaging service using its official Go SDK; and a SOCKS5 proxy that moves TCP traffic over Ably’s Pusher-compatible WebSocket endpoint. Because the C2 host name travels through these proxies or an Ably channel, the backdoor holds no fixed C2 domain: you cannot pull a domain out of a sample and block it.
Each plug-in is a small loader followed by a COFF object with an entry point named go. The keylogger saves keystrokes and mouse clicks to %APPDATA%\Microsoft\SystemCertificates\Cache\logs.dat, locked with a random XOR key. The screenshot module sends JPEG images through the named pipe, and the process module enables the SeDebugPrivilege right before enumerating running programs.
Clues that point to Chinese-speaking groups
Kaspersky still declines to name an actor, but the clues converge on groups tied to China. GitDoor files appeared in the same folders as tools from FamousSparrow and CopperTurtle, a day apart. In one case, a renamed Avast file called excint.exe loaded a malicious wtsapi32.dll on March 6, 2026, and GitDoor files landed in the same folder on March 5; the DLL used the RC4 key iotrh^%4CFGTj, which ESET had already tied to FamousSparrow. In the CopperTurtle case, pdfset.exe in the PDF24 folder loaded the PLEAD RAT on May 3, 2026, and GitDoor followed on May 4. Two IP addresses — 103[.]106[.]230[.]33 and 123[.]58[.]205[.]105 — resolve to ms[.]twnic[.]top and ekmt[.]tw, domains that also served as Cobalt Strike beacon servers on GraphDoor-infected machines.
What the defense has to change
Kaspersky’s operational message is direct: since the network only shows legitimate traffic, detection must move to identity and the file. Teams should watch for unusual application sign-ins in Entra ID — an application connecting that no team registered — unknown SharePoint sites, and files with .js.map names appearing in document libraries. Any new remote-access tool, such as MeshCentral Agent, should be treated as suspicious. Teams should also hunt for side-loaded DLLs in folders like PDF24 or ProgramData\excint, and add the hashes, domains, and IP addresses published in the report to blocklists.
The takeaway is not a new vulnerability to patch but a paradigm shift. GitDoor and GraphDoor do not bypass network defenses: they make them structurally irrelevant by hosting their command channel inside the very services the company uses every day. A team that does not correlate its Entra ID, SharePoint, and GitHub logs with endpoint signals will see nothing.
The verdict
If your organization uses Microsoft 365, enable auditing of application sign-ins in Entra ID now and alert on any unknown client application: it is the one checkpoint GraphDoor cannot avoid. Add a detection rule for .js.map files deposited in SharePoint document libraries and for new remote-access tools such as MeshCentral.
If your monitoring relies solely on network blocklists and C2 domains, treat it as insufficient against this class of threat: with no fixed domain to block, it will produce no alert. The November 17, 2026 publication confirms a trend already visible in Antino and other backdoors: the command channel is migrating to legitimate cloud services, and the defense must follow — toward identity, the file, and log correlation, not the firewall.
References
- Kaspersky Securelist — “Operation ShadowCloud: GraphDoor”, November 17, 2026
- The Hacker News — “New GitDoor and GraphDoor Backdoors Turn GitHub and SharePoint Into Covert C2 Channels”, November 17, 2026
- Cyber Security News — “Hackers Abuse Microsoft SharePoint and GitHub to Hide GraphDoor Backdoor Attacks on Government Networks”, November 17, 2026
You are reading the Security section.