← Lab /Security & privacy

Operation ShadowCloud uses GitHub and Ably C2 to infiltrate Asian and African government networks

The ShadowCloud campaign deploys backdoors that hide C2 traffic behind legitimate cloud services to evade detection in government networks across Asia and Africa.

Security & privacy Securelist 17 Nov 2026 Incident analysis Real-world evidence

Published as “Operation ShadowCloud: cloud service–based backdoors targeting government networks in Asia and Africa. Part 1”

Why it matters

The report demonstrates that attackers can leverage popular cloud platforms to hide C2, challenging traditional network-based detection approaches.

Summary

The researchers discovered a new intrusion campaign, Operation ShadowCloud, that abuses the MeshAgent utility to drop two backdoors, GitDoor and GraphDoor. Both backdoors hide their command-and-control traffic behind legitimate cloud services such as GitHub and Ably, using custom loaders that decrypt payloads with RC4/XOR and inject them in memory. Detailed analysis shows the backdoors fetch modules, exfiltrate data, and receive commands via GitHub repositories and Ably channels, employing multiple layers of encryption and obfuscation. The evidence is based on several real-world samples collected from government victims in Asia and Africa, with full MD5 hashes and loader implementations provided.

What they found 3

  1. The backdoor uses GitHub repositories for command and data exfiltration.

    “The backdoor first decrypts every element required to contact the GitHub C2 - its repository URL, the personal access token, the User-Agent string, and the necessary HTTP headers.”

  2. Type 1 loaders decrypt payloads using a hybrid RC4 then XOR scheme before in-memory execution.

    “Loader (Type 1) employs a hybrid scheme: first running the data through an RC4 stream cipher and then applying an XOR mask”

  3. C2 traffic is hidden behind legitimate cloud services to evade network detections.

    “These implants hide their command-and-control (C2) traffic behind cloud services Microsoft SharePoint, GitHub, and Ably, allowing the implants to blend in with normal traffic, effectively evading network-based detections.”

Caveats 1

  • The exact entry point that let the attackers install the agent is unknown, but evidence points to the reuse of a prior infection already present on the network.

What’s new here 4

  • Identification of GitDoor and GraphDoor backdoors that use GitHub and Ably as C2 channels.
  • Reverse-engineering of two distinct loader families that decrypt payloads with RC4/XOR and perform in-memory injection.
  • Mapping of the full GitHub-based command protocol, including issue creation, file uploads, and plug-in retrieval.
  • Attribution hints linking the operation to Chinese-speaking threat actors.

In the news