Canadian Cyber Security Journal
SOCIAL:
Filed under: Trends

GitDoor and GraphDoor Backdoors Turn GitHub and SharePoint Into Command Channels: What Canadian Government Teams Must Watch

What Happened

Kaspersky researchers Saurabh Sharma and Noushin Shabab exposed the GitDoor and GraphDoor backdoors in a campaign called Operation ShadowCloud, The Hacker News reports. The operation targets government organizations in Asia and Africa. Intrusions began with a MeshCentral remote access agent. The agent pulled down a legitimate binary, a rogue loader DLL, and an encrypted backdoor for DLL sideloading.

GitDoor reads commands from a public GitHub repository and uploads results to a private one. It supports 26 commands, including keylogging, proxying, and credential dumping with Mimikatz. GraphDoor authenticates to Microsoft Entra ID through a malicious application and uses the Microsoft Graph API and SharePoint for command traffic. Both route traffic through the Ably messaging service. Repository dates point to preparation since late 2024. Kaspersky has not named the actor but notes overlap with China-nexus clusters such as Bronze Sandcastle, FamousSparrow, and BlackTech.

Why This Matters for Canadian Organizations

Canadian federal, provincial, and municipal governments run on Microsoft 365. Developers across the public and private sectors use GitHub daily. Traffic to github.com and graph.microsoft.com rarely triggers alerts and often skips TLS inspection. This campaign turns those trusted channels into command links.

The Canadian Centre for Cyber Security names the People’s Republic of China as the most sophisticated state cyber threat to Canada. China-nexus groups have targeted Canadian government networks for years. Tooling tested against governments in Asia and Africa often reaches other regions later. Unapproved remote access tools such as MeshCentral also give attackers a quiet foothold in any network. Defence contractors and research universities working with Ottawa face the same exposure.

What to Do

Inventory remote management tools and block any not approved, including MeshCentral. Review Entra ID app registrations and consent grants for unfamiliar applications with Graph or SharePoint permissions. Baseline which hosts talk to api.github.com, graph.microsoft.com, and Ably endpoints, and alert on servers with no business need. Hunt for DLL sideloading from user-writable directories. Restrict GitHub access on servers to approved organizations where your proxy supports it. Report suspected activity to the Cyber Centre. Follow our Trends coverage and today’s Daily Brief for updates.

Enjoy this article? Don’t forget to share.