APT41 Deploys Stealthy Backdoor to Harvest Cloud Credentials
China-linked threat actor APT41 is deploying a novel, low-detection backdoor against AWS, Google, Azure, and Alibaba Cloud to harvest credentials and establish persistence.

MITRE ATT&CK® TTPs (6)
Click any technique to view details on attack.mitre.org
Executive Summary
The China-nexus threat group APT41 is actively targeting major cloud service providers—including Amazon Web Services (AWS), Google Cloud Platform (GCP), Microsoft Azure, and Alibaba Cloud—with a newly identified backdoor designed for minimal detection. According to analysis from SentinelOne, this campaign focuses on credential harvesting and establishing persistent access within cloud environments, using typosquatting domains to obscure command-and-control (C2) traffic.
Technical Analysis
The backdoor, which SentinelOne researchers have not publicly named, is a lightweight executable written in Go. Its primary function is to execute commands received from a C2 server and exfiltrate the results. The malware employs several techniques to evade detection, including the use of legitimate cloud domains for C2 communication. Specifically, the attackers register domains that closely resemble legitimate cloud service URLs (typosquatting), making network traffic appear benign. The backdoor's code is not complex, but its operational security (OPSEC) and targeting are sophisticated. It is designed to blend into normal cloud administrative traffic, focusing on stealing cloud access keys, API tokens, and other credentials critical for maintaining a foothold in the environment. The exact initial infection vector remains unclear, though APT41 has a history of exploiting public-facing applications and VPN vulnerabilities.
Tactics, Techniques & Procedures
APT41's TTPs in this campaign align with their known focus on cloud and hybrid environments. The observed techniques include:
- Execution (T1204): User execution of a malicious binary, likely delivered through a trusted channel or following initial compromise.
- Persistence (T1543): Installation of the backdoor as a service or scheduled task to maintain access.
- Command and Control (T1071, T1568): Use of application-layer protocols (HTTP/HTTPS) for C2 communication, with traffic disguised by routing it through typosquatted domains mimicking major cloud providers.
- Credential Access (T1555): The backdoor's core function is to harvest credentials stored in cloud configuration files, environment variables, and credential stores.
- Defense Evasion (T1036, T1070): Masquerading C2 traffic as legitimate cloud service traffic and potentially clearing logs to avoid detection.
Threat Actor Context
APT41, also tracked as Winnti, Barium, and Double Dragon, is a prolific Chinese state-sponsored threat group known for blending cyberespionage with financially motivated operations. The group has a long history of targeting technology, telecommunications, and video game industries. Their recent campaigns have shown a marked shift toward cloud infrastructure, reflecting the broader migration of enterprise data and services. This latest activity demonstrates APT41's continued adaptation to the modern IT landscape, focusing on the high-value credentials that control access to cloud resources. Attribution to China is based on long-standing patterns in tools, infrastructure, and targeting observed by multiple cybersecurity firms and government agencies.
Mitigations & Recommendations
Organizations, particularly those using multi-cloud environments, should implement the following measures:
- Enforce Strict Cloud IAM Policies: Apply the principle of least privilege to all identities (users, service accounts, roles). Regularly audit and rotate access keys and credentials.
- Monitor for Anomalous Network Traffic: Implement network monitoring that can detect connections to suspicious or newly registered domains, even those using SSL/TLS. Look for outbound connections to IPs or domains not associated with your approved cloud services.
- Harden Endpoints and Servers: Ensure all systems accessing cloud management consoles are rigorously patched, run endpoint detection and response (EDR) tools, and restrict administrative capabilities.
- Audit Cloud Environments: Use cloud security posture management (CSPM) tools to identify misconfigurations, such as over-permissive security groups or publicly exposed management interfaces.
- Implement Multi-Factor Authentication (MFA): Enforce MFA for all cloud administrative accounts and user access without exception.
- Threat Hunting: Proactively hunt for processes making network connections to domains with slight misspellings of major cloud providers (e.g.,
awslambda.comvs.aws.amazon.com).
Stay Updated
Get the latest cybersecurity news delivered to your inbox.
