Hackers Abuse Microsoft SharePoint and GitHub to Hide GraphDoor Backdoor Attacks on Government Networks

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


Hackers are hiding a backdoor named GraphDoor inside normal Microsoft and Ably traffic. The goal is to spy on government networks in Asia and Africa.

Kaspersky’s GReAT team detailed the findings on November 17, 2026, in the second part of its Operation ShadowCloud research. The report also lists the plug-ins GraphDoor loads and points to Chinese-speaking threat groups as possible owners of the tools.

GraphDoor first opens a named pipe built from its own process ID, in the form \.pipep%lu. Later plug-ins write their results to this pipe. The malware then creates an Intel_Log folder inside ProgramData, with a random GUID folder inside it.

Next, it collects system details. These include the network adapter, Windows version, public and private IP addresses, user name, host name, and a list of running processes. To hide its Windows API calls, it hashes function names with the DJB2 method.

It also uses a vectored exception handler, which forces an error on purpose so that a small routine runs the target call. The data is then encrypted with AES, Base64 encoded, and sent out.

GraphDoor SharePoint Backdoor

GraphDoor does not use a normal command server. It connects to login.microsoftonline.com and signs in as a malicious app, not as a person, using a client ID and secret stored inside the malware. That sign-in returns a token for the Microsoft Graph API.

With that token, the malware uploads the stolen host data to a SharePoint document library. The file is named main.<victim code>.js.map, which makes it look like a harmless JavaScript source map.

The victim code is a random eight-character string. Researchers saw the SharePoint site buildersemp.sharepoint[.]com used for this. A second site, cskautogo[.]sharepoint[.]com, is also listed in the report.

The malware then asks SharePoint lists for three plug-ins. They are scr.ts for screenshots, pr.ts for process lists, and kl.ts for key logging. It only fetches the keylogger if a file named log.lock already exists on the machine.

After that, it checks the same lists for command files that start with its own victim code and end in .js, .swp, .tmp, .kmap, .pmap, or .apmap.

This design is not new. Cisco Talos found a similar Rust backdoor named Antino, which uses Outlook and OneDrive for control, as Cyber Security News reported. In both cases, defenders see only calls to a trusted Microsoft service.

GraphDoor supports the same commands as its sibling, GitDoor, and adds two more. The shell command runs text through cmd.exe /C.

The adsmload command hides payloads as fake MAC addresses inside Base64 text, then turns them back into bytes with the Windows call RtlEthernetStringToAddressA.

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%MicrosoftSystemCertificatesCachelogs.dat, locked with a random XOR key.

The screenshot plug-in sends JPEG images through the pipe. The process plug-in turns on the SeDebugPrivilege right before it lists running programs. A moveDir.ts plug-in copies the backdoor files to a new folder and can delete the old copies.

Three proxy plug-ins give the actors a path into the network. One is a patched copy of the open-source reverse proxy Erfrp, and it reads its settings from shared memory instead of a file.

Another uses the Ably real-time messaging service through its official Go SDK. The third is a SOCKS5 proxy that moves TCP traffic over Ably’s Pusher-compatible WebSocket endpoint.

Because the C2 host name comes through these proxy plug-ins or through an Ably channel, the backdoor holds no fixed C2 domain. Defenders cannot simply pull a domain out of the sample and block it.

Sophos also saw ably[.]net and ably[.]io in a separate China-linked case, which Cyber Security News covered here. Kaspersky says it cannot yet name one group. Still, GitDoor files appeared in the same folders as tools from FamousSparrow and CopperTurtle, within one day of each other.

In one case, a renamed Avast file called excint.exe loaded a bad 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 has 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. Kaspersky says this does not prove a direct link. Cyber Security News also covered FamousSparrow’s newer Exchange intrusions, which show how active that group still is.

Two IP addresses, 103[.]106[.]230[.]33 and 123[.]58[.]205[.]105, resolve to ms[.]twnic[.]top and ekmt[.]tw. Both domains also served as Cobalt Strike beacon servers on machines infected with GraphDoor. The report lists many more proxy server IPs for defenders to check.

Kaspersky notes that calls to Microsoft Graph, GitHub, and Ably look like normal business traffic, so network tools often miss them. Teams should watch for odd app sign-ins in Entra ID, unknown SharePoint sites, and files with names like .js.map in document libraries.

They should also treat any new remote tool, such as MeshCentral Agent, as suspicious. Defenders should also hunt for sideloaded DLLs in folders such as PDF24 and ProgramDataexcint. The report’s hashes, domains, and IPs can be added to blocklists.

Indicators of Compromise

Type Indicator Context
MD5 hash 14ec33ea808e697870d00c5e434c2952 GraphDoor backdoor
SharePoint site buildersemp[.]sharepoint[.]com Holds victim data, plug-ins, and command files
SharePoint site cskautogo[.]sharepoint[.]com Abused SharePoint site
Proxy C2 server 104[.]194[.]154[.]28 Proxy C2
Proxy C2 server 216[.]73[.]158[.]72 Proxy C2
Proxy C2 server 122[.]147[.]252[.]16 Proxy C2
Proxy C2 server 103[.]106[.]230[.]33 Proxy C2, resolves to ms[.]twnic[.]top
Proxy C2 server 123[.]58[.]205[.]105 Proxy C2, resolves to ekmt[.]tw
Proxy C2 server 223[.]165[.]4[.]203 Proxy C2
Proxy C2 server 172[.]86[.]66[.]19 Proxy C2
Proxy C2 server 103[.]214[.]68[.]20 Proxy C2
Proxy C2 server 216[.]146[.]25[.]173 Proxy C2
Proxy C2 server 103[.]137[.]63[.]39 Proxy C2
Proxy C2 server 103[.]227[.]224[.]189 Proxy C2
Proxy C2 server 104[.]194[.]152[.]173 Proxy C2
Proxy C2 server 66[.]42[.]52[.]137 Proxy C2
Proxy C2 server 153[.]75[.]94[.]148 Proxy C2
Proxy C2 server 45[.]59[.]124[.]164 Proxy C2
Proxy C2 server 104[.]194[.]153[.]161 Proxy C2
Proxy C2 server 153[.]75[.]95[.]27 Proxy C2
Proxy C2 server 216[.]73[.]158[.]117 Proxy C2
Proxy C2 server 154[.]205[.]154[.]209 Proxy C2
Proxy C2 server 43[.]134[.]62[.]111 Proxy C2
Proxy C2 server 38[.]54[.]17[.]113 Proxy C2
Proxy C2 server 38[.]52[.]17[.]113 Proxy C2
Cobalt Strike domain twnic[.]top Cobalt Strike beacon C2
Cobalt Strike domain ekmt[.]tw Cobalt Strike beacon C2

Give your SOC the alert context to stops incidents quickly. Integrate Threat Intel from 16K SOCs.

The post Hackers Abuse Microsoft SharePoint and GitHub to Hide GraphDoor Backdoor Attacks on Government Networks appeared first on Cyber Security News.