New GitDoor and GraphDoor Backdoors Turn GitHub and SharePoint Into Covert C2 Channels
Kaspersky has identified new backdoors, GitDoor and GraphDoor, that exploit Microsoft SharePoint and GitHub for command-and-control operations, targeting government sectors in Asia and Africa.

Kaspersky has uncovered an active cyber intrusion campaign that delivers two previously undocumented backdoors, GitDoor and GraphDoor, leveraging legitimate services like Microsoft SharePoint and GitHub for command-and-control (C2) operations. This campaign, codenamed Operation ShadowCloud, has primarily targeted government sectors in Asia and Africa.
The campaign utilizes the legitimate MeshAgent utility to deploy these backdoors, allowing them to blend in with normal network traffic. Kaspersky researchers Saurabh Sharma and Noushin Shabab reported that the implants effectively evade detection by hiding their C2 traffic behind cloud services. The backdoors enable attackers to download additional plugins and execute shellcode directly in memory, enhancing their functionality.
GitDoor and GraphDoor are modular backdoors that employ a range of encryption and obfuscation techniques to complicate analysis and hinder detection efforts. GitDoor utilizes GitHub for its C2 operations, relying on two distinct repositories for commands and results. GraphDoor, on the other hand, communicates with its C2 server through Microsoft SharePoint, gathering system information and executing commands.
The MeshCentral Agent, a legitimate remote access tool, serves as the starting point for the attack. It is configured to contact a hard-coded C2 server and fetch payloads from the endpoint. Two different DLL loaders have been identified, each using distinct methods to decode and launch the encrypted backdoor payloads, demonstrating the complexity of the malware's operation.
GitDoor's architecture allows it to support 26 commands, enabling various functionalities, including the execution of custom shellcode. GraphDoor expands on this by opening a named pipe and creating a directory for logging system information. It also fetches plugin modules to carry out tasks like screenshot capture and keylogging, enhancing the attackers' ability to gather sensitive data.
The timeline of the campaign suggests that preparations may have been underway since at least the end of 2024, as indicated by the creation dates of the GitHub repositories used for C2 operations. While the exact method of the initial infection remains unclear, Kaspersky indicated that it likely involves reusing a prior infection already present on the network.
Kaspersky has not confirmed the identity of the threat actor behind this campaign, but they noted potential overlaps with activities tracked by other cybersecurity firms. Tactical similarities with previous campaigns suggest a possible connection to Chinese-speaking threat groups, although this remains unverified.
What remains unknown is the specific method of initial infection and the precise identity of the threat actor. Security teams should monitor for unusual activity related to the use of legitimate cloud services in their environments, as the campaign demonstrates a sophisticated approach to evading detection.
What it meansKaspersky identified new backdoors that exploit cloud services for command-and-control operations, which can evade traditional detection methods.
Ask your IT team this weekWhat legitimate services are we using that could be exploited for C2 operations?How are we monitoring traffic to and from cloud services for anomalies?
DecisionThe IT team will review cloud service access and usage, and security will verify that the review was conducted.