Operation ShadowCloud: GraphDoor backdoor abuses Microsoft Graph API to infiltrate government networks in Asia and Africa
What Happened — Kaspersky’s SecureList details a second‑stage payload, GraphDoor, that establishes a named‑pipe C2 channel, harvests system information, and then authenticates to login.microsoftonline.com using a stolen client‑ID/secret. With a valid Microsoft Graph access token the malware uploads encrypted victim data to a SharePoint document library as a disguised .js.map file and pulls additional plug‑ins (keylogger, screenshot, process list) via Graph API calls. The campaign, attributed to a Chinese‑speaking threat group, has been observed targeting government‑affiliated networks across Asia and Africa.
Why It Matters for Trust & Control Assurance — The attack demonstrates how compromised cloud‑service credentials can turn a legitimate SaaS platform into a covert data exfiltration channel, stressing the need for continuous third‑party risk monitoring.
Who Is Affected — Government agencies, ministries, and any organization that integrates Microsoft 365 services (SharePoint, Graph API) into its workflow.
Recommended Actions
- Review and tighten Azure AD application registrations: enforce least‑privilege client‑ID/secret usage and rotate secrets regularly.
- Deploy continuous monitoring of SaaS API activity (e.g., anomalous token requests, unusual file uploads to SharePoint) and integrate logs into a centralized audit repository.
Technical Notes
- Malware uses a vectored‑exception handler and DJB2‑hashed API resolution to evade static detection.
- Authentication flow mimics a legitimate client‑credentials grant to login.microsoftonline.com, then issues Graph PUT requests to upload encrypted payloads.
- Plug‑ins are fetched from SharePoint lists via filtered Graph GET calls and executed in parallel threads.
- Indicators of compromise include the MD5 hash 14ec33ea808e697870d00c5e434c2952, specific SharePoint site URLs, and C2 domains hosting Cobalt Strike payloads.