Kaspersky said on 17 November that Operation ShadowCloud is targeting government sectors in Asia and Africa with backdoors that use GitHub and Microsoft SharePoint for covert command-and-control. The Russian cybersecurity company said it identified the campaign in early 2026.
The research matters to government and enterprise security teams because the operation routes espionage through services commonly allowed on corporate networks. Blocking a suspicious domain alone may therefore miss the activity; defenders also need visibility into how cloud applications, endpoints and identities behave.
Kaspersky described two previously undocumented backdoors, GitDoor and GraphDoor, in a two-part technical analysis. The first part covers the initial infection chain, GitDoor’s command-and-control protocol and shellcode families. The second examines GraphDoor, its plug-ins and technical attribution.
How Operation ShadowCloud uses trusted services
According to Kaspersky, GitDoor uses GitHub as a command-and-control channel. GraphDoor instead uses Microsoft’s cloud identity and collaboration services, authenticating a malicious application and then exchanging data through SharePoint.
This gives the operation two routes through legitimate infrastructure. The available summaries do not disclose the initial infection method, the number of victims or the names of affected organisations. Kaspersky has not attributed the campaign to a named state in the supplied material.
The company said its second analysis highlights clues linking the operation to Chinese-speaking threat groups. That is a technical attribution assessment by Kaspersky, not confirmation of government sponsorship.
How GraphDoor hides commands in SharePoint
GraphDoor opens a named pipe derived from its process identifier and reuses it for communications with downloaded plug-ins, according to Kaspersky. It creates an Intel_Log directory under ProgramData, followed by a subdirectory with a randomly generated identifier.
The backdoor resolves Windows application programming interfaces at runtime by hashing DLL and function names with the DJB2 algorithm. Kaspersky said it invokes those interfaces indirectly through a vectored exception handler, reducing the visibility of conventional calls.
It collects a generated machine identifier and its current directory, then adds decrypted configuration parameters. The resulting victim data is encrypted with the Advanced Encryption Standard, Base64-encoded and sent to the command-and-control server.
GraphDoor first establishes a Transport Layer Security connection to login.microsoftonline.com on port 443. It authenticates the malicious application rather than a user and obtains an access token for the Microsoft Graph application programming interface.
After authentication, it connects to graph.microsoft.com and creates a SharePoint file named main, followed by a victim-specific code and the suffix .js.map. Kaspersky said this makes the file resemble a JavaScript source map. The victim code is a random eight-character alphanumeric string, and the encrypted victim information is stored in the file.
The backdoor then retrieves three plug-in modules in parallel and decrypts them with the routine also used by GitDoor. Kaspersky identified screenshot-capture and keylogger modules, alongside patched Erfrp and Ably proxy plug-ins in its wider analysis.
Commands are stored as SharePoint list items selected by titles beginning with the victim’s unique code. GraphDoor accepts command files with extensions including .js, .swp, .tmp, .kmap, .pmap and .apmap, then downloads and executes them.
Plug-ins expand espionage and payload delivery
Kaspersky said GraphDoor shares commands with GitDoor but adds two shellcode-loading commands, shell and adsmload. The shell command runs a supplied instruction through the Windows command interpreter. The adsmload command decodes payloads represented as ASCII MAC addresses and Base64 before injecting an executable or shellcode into memory.
Each plug-in consists of a loader stub and a Common Object File Format object. The stub allocates executable memory, copies code into it, performs relocations and calls an entry point named go.
The keylogger stores encrypted keystrokes at %APPDATA%\Microsoft\SystemCertificates\Cache\logs.dat. Kaspersky said it protects the data with a randomly generated 32-byte XOR key and installs low-level keyboard and mouse hooks. It downloads that plug-in only when a specific log.lock file is present, according to the report.
These details indicate modular espionage rather than a single-purpose implant. The screenshot and keylogging functions can collect information directly, while proxy and shellcode-loading functions can support further activity.
What defenders should monitor
Security teams should examine application authentication to Microsoft’s login service that does not correspond to an expected user or approved enterprise application. Relevant signals include unusual access-token use followed by Microsoft Graph requests to SharePoint document libraries and lists.
SharePoint monitoring should look for unexpected .js.map files with generated victim-style names, repeated list queries filtered by title, and command-like files using the extensions catalogued by Kaspersky. A trusted destination does not establish that the application or content is legitimate.
Endpoint teams can check for the ProgramData\Intel_Log directory, randomly named subdirectories and the keylogger’s logs.dat path. They should also investigate suspicious named-pipe activity, runtime API resolution, vectored exception handling and threads that allocate executable memory for COFF plug-ins.
Defenders should correlate these endpoint events with GitHub and Microsoft cloud logs, proxy records and identity telemetry. The same discipline applies to other intrusions that abuse legitimate tooling, including ScreenConnect attacks on MSP technicians and hijacked scripts used to distribute malware.
Kaspersky’s reports provide technical indicators and behavioural details for detection engineering. Organisations should validate alerts against their own approved cloud applications and administrative activity before blocking shared services. Broader cloud controls and identity monitoring are also relevant to securing business data and recovery processes.
What remains unclear
The supplied research does not quantify infections, identify individual victims or provide a complete account of the initial compromise. It also does not establish state sponsorship. Further reporting from Kaspersky or responses from affected organisations and cloud providers would be needed to clarify the campaign’s scale and remediation status.



