← Lab /Security & privacy

GraphDoor backdoor uses Microsoft Graph API and SharePoint as stealthy C2 storage

The GraphDoor malware leverages legitimate cloud services such as Microsoft Graph, SharePoint, and Ably to hide command-and-control traffic and exfiltrate data.

Security & privacy Securelist 17 Nov 2026 Attack Real-world evidence

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

Why it matters

Using legitimate cloud services for C2 makes the traffic blend with normal enterprise usage, evading many network-based detections.

Summary

The researchers dissected the GraphDoor backdoor, showing it creates a named pipe for internal communication and then contacts login.microsoftonline.com to obtain an Azure AD token via the Microsoft Graph API. Using that token it uploads encrypted victim data as a .js.map file to a SharePoint document library and retrieves plug-ins (keylogger, screenshot, process list, proxy) via Graph API calls. The plug-ins are loaded reflectively and execute tasks such as keylogging and proxying through Ably or Erfrp. Evidence comes from reverse-engineered binaries and observed network traffic, but attribution to a specific group remains uncertain.

What they found 1

  1. GraphDoor opens a TLS connection to login.microsoftonline.com to obtain an Azure AD token.

    “The malware first opens a TLS connection to login.microsoftonline.com on port 443.”

Caveats 3

  • Currently, we lack sufficient information to definitively attribute this activity to a specific threat group.
  • Attribution is not definitive; overlaps with Chinese-speaking groups are suggestive but not proof.
  • The backdoor does not embed a hard-coded C2 domain, making precise infrastructure mapping difficult.

What’s new here 4

  • Demonstrates use of Microsoft Graph API to store exfiltrated data in SharePoint files.
  • Describes a modular plug-in system where payloads are fetched from cloud repositories on demand.
  • Shows reflective injection of Go-based proxy binaries (Erfrp, Ably) into the backdoor process.
  • Provides network indicators for cloud-based C2 infrastructure (IP ranges, domains).

In the news