1. Description
Operation ShadowCloud is a sophisticated cyber-espionage operation that uses legitimate cloud infrastructure to hide malicious communications and maintain access to compromised systems.
The threat actors leverage MeshAgent, a legitimate remote-management utility associated with MeshCentral, to obtain remote control and deploy additional malicious components.
The operation introduces two backdoors:
GitDoor: Uses GitHub repositories and Ably messaging services for command delivery, victim information collection, and data transfer.
GraphDoor: Uses Microsoft cloud infrastructure, particularly Graph-related services, for command-and-control communication. Its technical analysis is covered in Part 2 of the research.
Both backdoors support modular functionality, including downloading additional plug-ins and executing shellcode directly in memory.
The campaign is particularly concerning because network traffic to trusted services can make malicious activity harder to distinguish from legitimate enterprise operations.
2. Technical Description
The infection chain begins with the execution of MeshAgent on compromised systems. Once connected to its remote server, the agent is used to deploy legitimate executables, malicious loader DLLs, and encrypted payload files.
The loaders exploit DLL side-loading to execute malicious code through trusted applications. After decrypting the payload, they inject or load the resulting code into process memory.
GitDoor subsequently communicates with GitHub and Ably to receive instructions, retrieve plug-ins, and transmit collected information.
Key components
Component | Function |
|---|---|
MeshAgent | Remote access and payload deployment |
Legitimate executables | Applications used to side-load malicious DLLs |
Loader DLLs | Decrypt and execute encrypted backdoors |
GitDoor | Backdoor using GitHub and Ably for C2 |
GraphDoor | Separate cloud-service-based backdoor discussed in Part 2 |
Custom shellcode | Provides additional capabilities such as process injection, credential theft, and file operations |
GitHub repositories | Store commands, plug-ins, and collected information |
Ably | Messaging and data-transfer infrastructure |
3. Initial Infection and Attack Overview
Kaspersky identified two separate instances of MeshCentral Agent running inside a Taiwanese organization.
The exact method used to initially install the agent remains unknown. However, evidence suggests that the attackers may have reused a previous infection already present in the network.
The observed MeshAgent instances connected to the following remote endpoint:
wss://27.102.66[.]162:443/agent.ashx
After establishing the connection, the attackers used the agent to deploy three components:
A legitimate executable used for DLL side-loading.
A malicious loader DLL responsible for unpacking and executing additional code.
An encrypted file containing the core payload.
Observed deployment examples
Instance | Legitimate executable | Malicious loader | Encrypted payload |
|---|---|---|---|
First instance |
|
|
|
Second instance |
|
|
|
The report also identifies additional loader DLLs, including jli.dll, WINMM.dll, and libcef.dll.
These DLLs were loaded by legitimate applications such as Java, Sandboxie Start, Python applications, and Sysinternals ZoomIt.
This technique allows attackers to execute malicious code through trusted application processes, making detection more difficult.
4. Loader Analysis
Kaspersky identified two distinct loader types. Both decrypt encrypted backdoor payloads and execute the resulting code in memory.
4.1 Type 1 Loader
The Type 1 loader uses a hybrid decryption process involving Base64 decoding, RC4 encryption, and XOR operations.
Its execution process includes:
Reading the encrypted
config.inifile using native Windows file APIs.Decoding the contents using a custom Base64 character set.
Decrypting the first layer using a sample-specific 16-byte RC4 key.
Decrypting the second layer using a sample-specific 16-byte XOR key.
Transforming the decrypted bytes through Ethernet-address conversion APIs.
Allocating executable memory and transferring execution to the decrypted payload.
The loader also uses API hashing and dynamically resolves Windows API functions.
Kaspersky identified another related loader sample that uses FNV-1 hashing for API resolution and reflective loading.
Identified Type 1 loader MD5:
32151547d912488ac5242731057170a3
4.2 Type 2 Loader
The second loader is internally named SbieDll_st.dll.
Unlike Type 1, it uses a simpler Base64 and XOR-based decryption process.
Its execution includes:
Checking specific byte patterns in Windows system libraries.
Installing a vectored exception handler.
Clearing a hardware breakpoint through the DR7 register.
Verifying the current process name.
Reading an encrypted payload from
config.ini.Base64-decoding and XOR-decrypting the payload.
Allocating memory and starting a new thread to execute the decrypted backdoor.
The loader also selects different Windows APIs depending on the operating system version.
Identified Type 2 loader MD5:
e63ec733393e4e7e3424cbff918003a3
5. GitDoor Backdoor Analysis
GitDoor is one of the central components of Operation ShadowCloud.
The backdoor uses GitHub repositories as a communication channel, allowing attackers to deliver commands and retrieve information from compromised systems.
It uses two separate repositories:
Repository | Purpose |
|---|---|
| Receives command data and plug-ins |
| Stores victim information and command results |
GitDoor decrypts its configuration information, including the repository URLs, personal access token, User-Agent string, and HTTP headers.
5.1 Victim Identification
When GitDoor starts, it generates:
A random eight-character identifier for the compromised host.
A GUID representing the active communication session.
Random values used in the
X-CSRF-TOKENHTTP header.
The backdoor then creates a new GitHub issue in the Trix repository.
The issue contains:
Title:
problem [GUID]Body:
code [victim unique code]
The returned issue number is used during subsequent communication.
5.2 Information Collection
GitDoor collects system information, including:
Public IP address
Internal IP address
Domain
Username
Hostname
Current working directory
Backdoor process name and process ID
Windows version
CPU type
Running process names
The collected information is encrypted using AES-256-ECB with a randomly generated key, Base64-encoded, and further protected through XOR encryption.
The resulting information is uploaded to GitHub and Ably.
5.3 Ably-Based Communication
GitDoor also connects to the Ably messaging service using a hardcoded authorization token.
The malware creates a unique channel name based on the victim identifier and transmits encrypted victim information.
It performs status checks and retries data transmission if the service indicates a failure.
This provides an additional communication mechanism alongside GitHub.
5.4 Plug-in Delivery
After uploading victim information, GitDoor downloads two plug-ins:
scr.ts— Screen-capture functionality.pr.ts— Process enumeration functionality.
The plug-ins use a two-stage decryption routine:
AES-256-ECB decryption.
A proprietary rolling XOR operation.
The decrypted shellcode is loaded directly into memory.
6. Command-and-Control Capabilities
GitDoor continuously retrieves command data from the GitHub Havo repository and uploads results to the Trix repository.
The command files use naming conventions that identify the victim and the type of operation.
Kaspersky documented several command categories:
Command category | Capabilities |
|---|---|
File manager | Create folders, enumerate drives, scan directories, delete files, upload and download files |
Keylogger | Start and stop keylogging, check status, retrieve captured keystrokes |
Proxy | Start, stop, and monitor proxy functionality |
Ably proxy | Configure and control Ably-based proxy communication |
Shellcode loader | Download and execute COFF payloads, executable files, or shellcode |
The backdoor supports commands such as scload and smload to load additional code directly into memory.
This modular architecture allows the operators to extend the malware's functionality without replacing the entire backdoor.
7. Custom Shellcode Analysis
The investigation identified multiple custom shellcode modules designed to perform different malicious operations.
7.1 Process Injection
The identified techniques include:
CreateRemoteThread
SetThreadContext injection
NtQueueApcThread
KernelCallbackTable manipulation
These techniques allow malicious code to execute within other processes.
7.2 Windows Service Operations
The shellcode can:
Enumerate Windows services.
Create new services.
Start and stop services.
Delete services.
Retrieve service configuration and dependency information.
7.3 File System Operations
Available capabilities include:
Creating directories.
Enumerating files and directories.
Checking file existence.
Deleting directories.
Securely overwriting file contents.
7.4 Network and Process Operations
The malware includes modules for:
Enumerating active TCP connections.
Collecting ARP information.
Enumerating firewall rules.
Retrieving network adapter details.
Dumping process memory.
Terminating processes.
Uploading files to external services.
7.5 Credential and Information Theft
The recovered modules demonstrate capabilities including:
Keylogging.
Browser cookie extraction from Chrome, Edge, and Microsoft Edge WebView2 process memory.
Credential dumping using Mimikatz.
Extracting local account hashes from the SAM database.
Collecting user and group information.
Capturing screenshots.
Extracting WhatsApp database decryption keys.
The presence of these capabilities demonstrates the extensive information-gathering potential of the malware.
8. GitHub Infrastructure
Kaspersky identified multiple GitHub accounts and repositories associated with the operation.
The repositories were created between September 2024 and December 2025, suggesting that the threat actor had been preparing parts of the infrastructure well before the campaign was identified in early 2026.
Examples include:
GitHub account | Upload repository | Download repository |
|---|---|---|
| Trix | Havo |
| spaceJS | Not specified |
| silverPot | laughbot |
| logdata | appdb |
| PulseHub | QuantumVault |
| NexaCore | DataFlowX |
| DataSphere | CodeForge |
| DataCore | alpha |
| Solix | Zephyr |
The use of multiple repositories provides flexibility for command delivery and data collection.
The original LatonyCharnleyaW repositories were reported as taken down in the research.
9. Indicators of Compromise (IOCs)
The following indicators were published by Kaspersky in Part 1 of its investigation.
9.1 File Hashes
MeshAgent
Component | MD5 |
|---|---|
MeshCentral Agent |
|
Type 1 Loaders
Component | MD5 |
|---|---|
Type 1 loader |
|
Related loader |
|
Type 2 Loader
Component | MD5 |
|---|---|
Type 2 loader |
|
Encrypted Payloads
3896d44bc6d517291c60ee3f70543a31b930fb3ab14fe45b378d5acfa6e0a7636a54f8008ee659b6923abf5dba2b2cc1
Backdoors
Component | MD5 |
|---|---|
GitDoor |
|
GraphDoor |
|
Legitimate Executables Used in the Campaign
Executable | MD5 |
|---|---|
|
|
|
|
|
|
|
|
9.2 Network Indicators
MeshAgent C2
27.102.66[.]162
Additional infrastructure
api.github.comrest.ably.ioupload.gofile[.]ioip.sb
The GitHub accounts and repository names listed in the infrastructure section should also be considered for threat hunting.
Important: GitHub, Ably, and other listed cloud services are legitimate platforms. Their presence alone does not indicate compromise. Investigators should correlate suspicious API activity, repository access, authentication patterns, endpoints, and process behavior before blocking or classifying traffic.
10. Detection and Threat Hunting
Security teams should focus on identifying suspicious combinations of legitimate remote-management tools, DLL side-loading, in-memory execution, and unusual cloud-service communication.
Endpoint Detection
Monitor for:
Unexpected MeshAgent installations or executions.
Legitimate executables loading DLLs from unusual directories.
Suspicious DLLs named
jli.dll,SbieDll.dll,python39.dll,WINMM.dll, orlibcef.dll.Unexpected execution of
zoomit.exe,start.exe, or Python applications as services.Unusual memory allocation followed by executable memory protection changes.
Suspicious remote-thread creation and APC-based injection.
Unexpected access to LSASS process memory.
Unusual browser cookie access and keylogging-related file activity.
Network Detection
Monitor for:
Unusual GitHub API requests originating from endpoints that do not normally use GitHub programmatically.
Unexpected GitHub issue creation and repository file uploads.
Connections to suspicious Ably channels.
Unusual outbound traffic to
27.102.66[.]162.Unexpected file uploads to external file-sharing services.
Long-lived WebSocket connections initiated by unknown or suspicious processes.
Threat Hunting Opportunities
Search endpoint telemetry for MeshAgent execution and unexpected remote-management activity.
Investigate DLL load events involving the identified loader filenames.
Examine process trees for suspicious relationships between legitimate applications and malicious DLLs.
Review GitHub API activity for unusual issue creation, repository access, and file uploads.
Correlate Ably connections with endpoint processes and user activity.
Examine memory images for injected code and suspicious executable memory regions.
Investigate suspicious access to LSASS, browser process memory, and user-data directories.
11. Potential Impact
Operation ShadowCloud presents significant risks to government organizations and other high-value targets.
Credential compromise: Keylogging, browser cookie extraction, and credential dumping can expose authentication information and sensitive accounts.
Sensitive information exposure: Collection of system information, screenshots, files, and user activity can expose confidential organizational data.
Long-term unauthorized access: Remote-management software and modular backdoors can provide attackers with continuing access to compromised endpoints.
Lateral movement and operational disruption: Remote shells, process manipulation, service operations, and proxy functionality can support further malicious activity within an organization.
Network visibility challenges: Abuse of trusted cloud services can make conventional network-based detection less effective.
These are potential consequences of the capabilities identified in the malware analysis; the report does not establish that every capability was executed against every victim.
12. Recommendations
Immediate Actions
Investigate unexpected MeshAgent installations and connections.
Identify and isolate endpoints associated with confirmed malicious loader or backdoor indicators.
Search for the published MD5 hashes across endpoint and malware repositories.
Review DLL load events involving the identified loader names.
Investigate suspicious GitHub API and Ably activity from enterprise endpoints.
Examine potentially exposed credentials and revoke or rotate affected tokens and passwords.
Review LSASS access, browser process memory access, and suspicious process injection events.
Preserve endpoint, memory, and network evidence before remediation where incident-response procedures permit.
Long-Term Security Measures
Restrict the installation and execution of unauthorized remote-management tools.
Implement application control and DLL loading protections.
Apply endpoint detection and response monitoring for suspicious memory execution.
Monitor cloud-service API activity using identity-aware and application-aware controls.
Apply least-privilege access to GitHub and other cloud platforms.
Monitor unexpected repository creation, issue creation, and automated file uploads.
Implement network egress monitoring and alerting for unusual WebSocket and API traffic.
Conduct regular threat-hunting exercises for credential theft and in-memory malware.
Maintain centralized logging for endpoint, identity, network, and cloud-service activity.
13. Conclusion
Operation ShadowCloud demonstrates how attackers can combine legitimate remote-management software, DLL side-loading, encrypted loaders, and trusted cloud platforms to establish and maintain covert access to targeted networks.
GitDoor's use of GitHub repositories and Ably messaging services illustrates how ordinary cloud functionality can be repurposed for malicious command delivery and information collection.
The campaign's modular shellcode further increases its operational flexibility, supporting activities ranging from process injection and keylogging to credential theft, file manipulation, and remote command execution.
For defenders, the central lesson is that trusted services and legitimate executables should not automatically be considered safe. Effective detection requires correlating endpoint behavior, memory activity, application loading, identity events, and cloud-service communication.
Follow ThreatBeaconX
Stay informed about the latest cybersecurity threats, critical vulnerabilities, threat intelligence, security advisories, and actionable detection insights.
Follow ThreatBeaconX across our social media channels for regular updates and cybersecurity awareness.
X (Twitter): https://x.com/ThreatBeaconX
WhatsApp Channel: https://whatsapp.com/channel/0029VbDDBQkADTOA2umx8L0O
ILLUMINATE • DETECT • DEFEND
ThreatBeaconX – Threat Intelligence | Actionable Insights | Safer Tomorrow
