Cryptomining Campaign Leveraging Compromised AWS IAM Credentials
Attack Tradecraft · 4 sources · Updated 5mo ago · First seen Dec 17, 2025

A coordinated cryptocurrency mining campaign has been detected targeting Amazon Web Services (AWS) customers by exploiting compromised Identity and Access Management (IAM) credentials. The attackers used these credentials to gain unauthorized access to Amazon Elastic Compute Cloud (EC2) and Elastic Container Service (ECS) environments, rapidly deploying crypto mining operations within minutes of initial access. Amazon GuardDuty and AWS's automated security monitoring systems identified the campaign, which began on November 2, 2025, and observed the use of novel persistence techniques designed to disrupt incident response and prolong mining activities. The attackers operated from external hosting providers, quickly enumerating service quotas and permissions before launching mining resources, and in some cases, created dozens of ECS clusters in a single attack.
The threat actors employed advanced tactics such as using the "DryRun" flag with the RunInstances API to validate permissions without launching instances, minimizing their forensic footprint. They also created new IAM roles and attached policies to facilitate the deployment and persistence of mining workloads. AWS emphasized that the campaign did not exploit vulnerabilities in AWS services themselves but relied on the misuse of valid credentials, underscoring the importance of strong credential management and monitoring. AWS has provided mitigation guidance and detection recommendations to help customers defend against similar attacks in the future.
Why it matters
Impact assessment
This campaign affects AWS customers running EC2 and ECS where IAM credentials have been compromised, especially environments with broad IAM permissions, autoscaling, container orchestration, and high-cost compute quotas. Impact is potentially severe due to rapid unauthorized resource provisioning, sustained cryptomining costs, operational disruption during containment, and secondary abuse of Lambda and SES for persistence or phishing.
The exposure is targeted but multi-victim, with GuardDuty detecting activity across multiple AWS customer accounts. There is confirmed exploitation in the wild beginning on 2025-11-02, and the attackers can begin mining within 10 minutes of initial access.
Supporting facts
- Affected platforms: Amazon EC2, Amazon ECS, IAM, Auto Scaling, Lambda, and SES.
- Affected users: AWS customers with stolen or misused IAM credentials; highest risk for accounts with admin-like privileges.
- Business impact:
- Direct financial loss from unauthorized compute consumption, including aggressive scaling up to 999 EC2 instances per auto scaling group.
- Operational disruption because attackers disable API termination / enable termination protection, slowing remediation.
- Potential reputational and downstream abuse if SES is used for phishing or Lambda is exposed publicly.
- Scope:
- Coordinated campaign observed across multiple AWS customer accounts.
- Not caused by an AWS service vulnerability; exposure depends on credential compromise and permissive IAM.
- Known in-the-wild activity:
- AWS GuardDuty identified the campaign as ongoing.
- Attackers created dozens of ECS clusters in some intrusions and launched miners rapidly after reconnaissance.


