Threat Advisory

Operation ShadowCloud Abuses MeshAgent to Deploy Cloud Backdoors

Threat: Malware Campaign
Targeted Region: Asia, Africa
Targeted Sector: Government & Defense
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

A cyber espionage campaign, tracked as Operation ShadowCloud, has been identified targeting government networks across Asia and Africa, with a primary focus on government organizations. The campaign involves the abuse of legitimate remote management utilities to establish unauthorized access and deploy previously undocumented backdoors, including GitDoor and GraphDoor. The threat actors leverage trusted cloud services such as Microsoft SharePoint, GitHub, and Ably to conceal command-and-control (C2) communications within legitimate network traffic, making malicious activities more difficult to detect. The operation employs a modular malware framework that supports additional payload delivery, remote command execution, and information collection.

The initial infection involves the deployment of the legitimate MeshCentral Agent (MeshAgent), which provides remote desktop access, command-line execution, and file management capabilities. Following successful access, the threat actors deploy legitimate executable files alongside malicious DLL loaders and encrypted payloads, exploiting DLL side-loading techniques to execute malicious code under trusted processes. Two distinct loader variants decrypt the encrypted payloads using Base64, RC4, and XOR operations before injecting the resulting backdoor code directly into process memory. The GitDoor backdoor communicates with its C2 infrastructure through GitHub repositories and the Ably messaging service, using encrypted API requests to exchange commands and stolen information. It collects system details, including public and internal IP addresses, domain information, usernames, hostnames, operating system details, and running processes. Additionally, GitDoor downloads malicious plug-ins to perform screen capturing and process enumeration. Its capabilities include keylogging, file management, data collection, proxy operations, shellcode execution, process injection, Windows service manipulation, and remote command execution. The backdoor also employs encryption, control-flow obfuscation, and in-memory execution techniques to complicate detection and analysis.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

A cyber espionage campaign, tracked as Operation ShadowCloud, has been identified targeting government networks across Asia and Africa, with a primary focus on government organizations. The campaign involves the abuse of legitimate remote management utilities to establish unauthorized access and deploy previously undocumented backdoors, including GitDoor and GraphDoor. The threat actors leverage trusted cloud services such as Microsoft SharePoint, GitHub, and Ably to conceal command-and-control (C2) communications within legitimate network traffic, making malicious activities more difficult to detect. The operation employs a modular malware framework that supports additional payload delivery, remote command execution, and information collection.

The initial infection involves the deployment of the legitimate MeshCentral Agent (MeshAgent), which provides remote desktop access, command-line execution, and file management capabilities. Following successful access, the threat actors deploy legitimate executable files alongside malicious DLL loaders and encrypted payloads, exploiting DLL side-loading techniques to execute malicious code under trusted processes. Two distinct loader variants decrypt the encrypted payloads using Base64, RC4, and XOR operations before injecting the resulting backdoor code directly into process memory. The GitDoor backdoor communicates with its C2 infrastructure through GitHub repositories and the Ably messaging service, using encrypted API requests to exchange commands and stolen information. It collects system details, including public and internal IP addresses, domain information, usernames, hostnames, operating system details, and running processes. Additionally, GitDoor downloads malicious plug-ins to perform screen capturing and process enumeration. Its capabilities include keylogging, file management, data collection, proxy operations, shellcode execution, process injection, Windows service manipulation, and remote command execution. The backdoor also employs encryption, control-flow obfuscation, and in-memory execution techniques to complicate detection and analysis.[emaillocker id="1283"]

The campaign demonstrates a modular toolset that is actively maintained, with multiple observed backdoor versions in the wild. Victims are concentrated in government sectors across Asia and Africa, indicating a targeted approach rather than mass exploitation. The use of legitimate cloud services for command-and-control communication complicates detection and response efforts for defenders. Organizations should monitor for unusual activity in cloud service APIs and review the integrity of remote access tools like MeshAgent. Defensive implications include the need to scrutinize outbound traffic to cloud platforms and implement strict controls on the deployment of remote management utilities to prevent unauthorized access and data exfiltration.

THREAT PROFILE:

Tactic Technique Id Technique Sub-technique
Execution T1059.003 Command and Scripting Interpreter Windows Command Shell
Persistence T1574.002 Hijack Execution Flow DLL Side-Loading
Defense Evasion T1055.005 Process Injection Dynamic Process Injection
Defense Evasion T1027.010 Obfuscated Files or Information Command Obfuscation
Discovery T1082 System Information Discovery -
Discovery T1057 Process Discovery -
Collection T1113 Screen Capture -
Command and Control T1071.001 Application Layer Protocol Web Protocols
Exfiltration T1041 Exfiltration Over C2 Channel -

MBC MAPPING:

Objective Behavior ID Behavior
Command and Control B0030 C2 Communication
Defense Evasion E1055 Process Injection
Discovery E1082 System Information Discovery
Collection E1113 Screen Capture
Anti-Static Analysis E1027 Obfuscated Files or Information
Memory Micro-objective C0007 Allocate Memory
Process Micro-objective C0038 Create Thread
Communication Micro-objective C0002 HTTP Communication
Cryptography Micro-objective C0027 Encrypt Data
Data Micro-objective C0053 Decode Data
File System Micro-objective C0051 Read File
Memory Micro-objective C0008 Change Memory Protection

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu