Operation ShadowCloud Turns GitHub and SharePoint into Covert Backdoor Channels

Red | Attack
Operation ShadowCloud Turns GitHub and SharePoint into Covert Backdoor Channels | Hive Pro Threat Advisory
Date of publication
November 18, 2026
Admiralty code
A1
TA number
TA2026341
First Seen
September 2024
Campaign
Operation ShadowCloud
Targeted Regions
Asia, Africa
Targeted Industries
Government
Affected Product
Windows
Malware
GitDoor, GraphDoor, Cobalt Strike, Mimikatz variant, MeshCentral Agent, CookieKatz and WinPTY reverse shell

Summary

Operation ShadowCloud is a cyber-espionage campaign against government networks in Asia and Africa that abuses the MeshCentral Agent to drop DLL-sideloaded loaders, which decrypt the GitDoor and GraphDoor backdoors in memory. The backdoors hide command-and-control traffic inside legitimate cloud services (GitHub, Microsoft SharePoint via the Graph API, and Ably), load modular plug-ins and shellcode for credential theft, keylogging, screen capture and proxy tunneling, and exfiltrate encrypted victim data to attacker-controlled repositories and cloud storage.


Attack Details

#1

The initial access vector for Operation ShadowCloud is unknown, though evidence suggests the attackers reused a prior compromise on the victim network, with infrastructure prepared from September 2024 onwards. In a confirmed case at a Taiwanese organization, a MeshCentral Agent hard-coded to connect to 27[.]102[.]66[.]162 on port 443 was used to drop a trusted executable, a malicious loader DLL, and an encrypted payload named config.ini.

#2

Execution relies on DLL sideloading through trusted binaries such as javaw.exe (jli.dll), Sandboxie's start.exe (SbieDll.dll), pythonw.exe renamed dtsapo4service.exe (python39.dll), and zoomit.exe (WINMM.dll) running as a Windows service. The Type 1 loader decrypts the payload with RC4 and XOR over a custom Base64 alphabet, rebuilds shellcode from MAC-address strings, and resolves APIs by CRC32 or FNV-1 hashing, while the Type 2 loader (SbieDll_st.dll) checks for hooks, clears DR7 hardware breakpoints, and validates the host process.

#3

The GitDoor and GraphDoor backdoors run entirely in memory, protected by control flow flattening, indirect calls, encrypted strings and API hashing, with GraphDoor calling DJB2-resolved APIs through a vectored exception handler. A moveDir plug-in relocates and relaunches the backdoor and its loaders, and a log.lock marker file in APPDATA controls keylogger start-up.

#4

The backdoors load COFF-based plug-ins and a shellcode toolkit that injects into processes via CreateRemoteThread, SetThreadContext, NtQueueApcThread and KernelCallbackTable abuse, and creates services, scheduled tasks and local accounts. Discovery modules enumerate services, tasks, users, groups, directories, network connections, firewall settings and user activity, and a WinPTY-based reverse shell provides interactive access.

#5

Credentials are harvested with a Mimikatz variant (imzimzgo 2.2.0 x64) running sekurlsa::logonpasswords full and lsadump::sam, CookieKatz dumping Chrome, Edge and WebView2 cookies, a PetitPotam-style EFSRPC module forcing NTLM authentication, and a WhatsAppKey module extracting the WhatsApp database key. Cobalt Strike beacons communicating with twnic[.]top and ekmt[.]tw were also deployed, and staging directories overlapped with FamousSparrow and CopperTurtle activity, including pdfset.exe injecting the PLEAD RAT, within a day of GitDoor.

#6

GitDoor pulls commands from a public GitHub repository and pushes results to a private one, using issues labelled bug and commit messages such as commit from INSOMNIA, alongside Ably REST channels. GraphDoor authenticates to Microsoft Entra ID with a hard-coded client ID and secret and exchanges commands and files through SharePoint via the Microsoft Graph API, while operators supply C2 hostnames through an Erfrp-derived proxy or Ably, including a SOCKS5 tunnel over Ably's WebSocket.

#7

Victim data and command output are AES-encrypted and Base64-encoded, with GitDoor adding a filename-keyed XOR layer, then uploaded as main.<victim_code>.js.map files to GitHub or SharePoint. A dedicated Fileupload module also exfiltrates files to upload.gofile.io.


Recommendations

  1. 01

    Protect LSASS and Credential Stores

    Enable LSA protection (RunAsPPL) and Credential Guard, alert on Mimikatz command strings and handle access to LSASS, and monitor for in-memory cookie dumping from Chrome, Edge and WebView2 processes.

  2. 02

    Mitigate NTLM Coercion

    Apply mitigations against PetitPotam-style EFSRPC coercion by enabling Extended Protection for Authentication and SMB/LDAP signing, disabling NTLM where feasible, and filtering EFSRPC calls on domain controllers and certificate servers.

  3. 03

    Restrict Access to Foreign SharePoint Tenants

    Use tenant restrictions to stop corporate devices from authenticating to SharePoint tenants outside the organization, and flag Graph API client-credentials token requests originating from endpoints, including traffic to buildersemp and cskautogo SharePoint sites.

  4. 04

    Detect DLL Sideloading from Unusual Locations

    Alert on trusted binaries such as javaw.exe, start.exe, pythonw.exe, zoomit.exe, pdf.exe and dtsapo4service.exe loading jli.dll, SbieDll.dll, python39.dll, WINMM.dll or similar DLLs from System32 subfolders, ProgramData, or Program Files\PDF24, and on config.ini files placed beside them.

  5. 05

    Deploy Memory and Behavioral Detection

    Use EDR capable of detecting in-memory shellcode execution, APC and KernelCallbackTable injection, hardware breakpoint tampering and API hashing, since the GitDoor and GraphDoor payloads never touch disk unencrypted.

  6. 06

    Monitor Cloud Service Abuse from Servers and Endpoints

    Baseline which hosts legitimately reach api.github.com, graph.microsoft.com, login.microsoftonline.com, rest.ably.io, main.pusher.ably.net and upload.gofile.io, and investigate non-browser processes, services or sideloaded binaries contacting them. Consider blocking Ably and gofile.io where there is no business need.

  7. 07

    Hunt for Unauthorized MeshCentral Agents

    Inventory every MeshAgent installation and remove any not deployed by IT, prioritizing agents that connect to 27[.]102[.]66[.]162 or to agent.ashx endpoints on unknown servers. Restrict remote-management tools to an approved allowlist through application control.

  8. 08

    Reset Credentials and Revoke Sessions on Affected Hosts

    For any confirmed infection, reset local and domain account passwords exposed on the host, remove attacker-created local accounts and group memberships, and invalidate browser sessions and tokens that CookieKatz could have stolen.


Indicators of Compromise (IoCs)

TypeValue
MD574b025084026d8d9a64661bf995d835b32151547d912488ac5242731057170a3e9d4081fac4a5111e6856f333d490439e63ec733393e4e7e3424cbff918003a33896d44bc6d517291c60ee3f70543a31b930fb3ab14fe45b378d5acfa6e0a7636a54f8008ee659b6923abf5dba2b2cc1552f0a9cc5fc3755721fa49be05e803514ec33ea808e697870d00c5e434c2952d89b2fe0759df2d534e7a728700a6f8cb4956b230d296cb4b015b42b11d80e3286a46af43e18288e1df439b2a9a6f7ca733f8002aa9531b25384c0014d15cc1f91bee19d31d32346cd4d1febb430860645b3aa39bc33528650d9181cd946b2df9a5e0ab7466594dcf46943c413db7b81
IPv427[.]102[.]66[.]162104[.]194[.]154[.]28216[.]73[.]158[.]72122[.]147[.]252[.]16103[.]106[.]230[.]33123[.]58[.]205[.]105223[.]165[.]4[.]203172[.]86[.]66[.]19103[.]214[.]68[.]20216[.]146[.]25[.]173103[.]137[.]63[.]39103[.]227[.]224[.]189104[.]194[.]152[.]17366[.]42[.]52[.]137153[.]75[.]94[.]14845[.]59[.]124[.]164104[.]194[.]153[.]161153[.]75[.]95[.]27216[.]73[.]158[.]117154[.]205[.]154[.]20943[.]134[.]62[.]11138[.]54[.]17[.]11338[.]52[.]17[.]113
IPv4:Port27[.]102[.]66[.]162[:]443
Domaintwnic[.]topms[.]twnic[.]topekmt[.]twbuildersemp[.]sharepoint[.]comcskautogo[.]sharepoint[.]com
URLwss[:]//27[.]102[.]66[.]162[:]443/agent[.]ashxhxxps[:]//github[.]com/LatonyCharnleyaWhxxps[:]//github[.]com/StevenDFournierhxxps[:]//github[.]com/JeneLeohxxps[:]//github[.]com/VenoraKlanimUhxxps[:]//github[.]com/AlexandaJazzmynwChxxps[:]//github[.]com/FloraineSuvitChxxps[:]//github[.]com/bvgarciajocelynxccZhxxps[:]//github[.]com/Eclemensadolph1nhxxps[:]//github[.]com/aYulysseserinYtas

Potential MITRE ATT&CK TTPs

Resource Development
T1583Acquire Infrastructure
T1583.006Web Services
T1588Obtain Capabilities
T1588.002Tool
Execution
T1059Command and Scripting Interpreter
T1059.003Windows Command Shell
T1106Native API
T1569System Services
T1569.002Service Execution
T1053Scheduled Task/Job
T1053.005Scheduled Task
Persistence
T1543Create or Modify System Process
T1543.003Windows Service
T1136Create Account
T1136.001Local Account
T1098Account Manipulation
Privilege Escalation
T1134Access Token Manipulation
T1055Process Injection
T1055.004Asynchronous Procedure Call
T1055.003Thread Execution Hijacking
Stealth
T1574Hijack Execution Flow
T1574.001DLL
T1574.013KernelCallbackTable
T1027Obfuscated Files or Information
T1027.007Dynamic API Resolution
T1027.013Encrypted/Encoded File
T1140Deobfuscate/Decode Files or Information
T1622Debugger Evasion
T1620Reflective Code Loading
T1036Masquerading
T1036.005Match Legitimate Resource Name or Location
T1070Indicator Removal
T1070.004File Deletion
Defense Impairment
T1112Modify Registry
Credential Access
T1003OS Credential Dumping
T1003.001LSASS Memory
T1003.002Security Account Manager
T1539Steal Web Session Cookie
T1187Forced Authentication
T1056Input Capture
T1056.001Keylogging
T1552Unsecured Credentials
Discovery
T1007System Service Discovery
T1049System Network Connections Discovery
T1016System Network Configuration Discovery
T1087Account Discovery
T1087.001Local Account
T1069Permission Groups Discovery
T1083File and Directory Discovery
T1057Process Discovery
T1033System Owner/User Discovery
T1518Software Discovery
T1518.001Security Software Discovery
T1010Application Window Discovery
Collection
T1113Screen Capture
T1074Data Staged
T1074.001Local Data Staging
Command and Control
T1102Web Service
T1102.002Bidirectional Communication
T1071Application Layer Protocol
T1071.001Web Protocols
T1219Remote Access Tools
T1090Proxy
T1090.002External Proxy
T1573Encrypted Channel
T1573.001Symmetric Cryptography
T1132Data Encoding
T1132.002Non-Standard Encoding
T1105Ingress Tool Transfer
T1008Fallback Channels
Exfiltration
T1567Exfiltration Over Web Service
T1567.001Exfiltration to Code Repository
T1567.002Exfiltration to Cloud Storage
T1041Exfiltration Over C2 Channel

References & Patch Links

References

What Next?

At Hive Pro, it is our mission to detect the most likely threats to your organization and to help you prevent them from happening.

Reduce real exposure. Not just vulnerability volume.