AWS Customers Targeted in Crypto Mining Attack

An ongoing cyber campaign has been identified targeting Amazon Web Services customers, with attackers exploiting compromised Identity…
AWS Customers Targeted in Crypto Mining Attack ChatGPT Image -SecurityBuyer.com

Share this article:

An ongoing cyber campaign has been identified targeting Amazon Web Services customers, with attackers exploiting compromised Identity and Access Management credentials to run unauthorised cryptocurrency mining operations.

The activity was first detected on 2 November 2025 by Amazon’s GuardDuty managed threat detection service and automated security monitoring systems. According to a report released by Amazon ahead of publication, the campaign employs previously unseen persistence techniques designed to frustrate incident response efforts and allow the attacks to continue largely uninterrupted.

“Operating from an external hosting provider, the threat actor quickly enumerated resources and permissions before deploying crypto mining resources across ECS and EC2,” Amazon said. “Within 10 minutes of the threat actor gaining initial access, crypto miners were operational.”

The attack begins when an unknown adversary uses compromised IAM credentials with administrative-style privileges to conduct an extensive discovery phase. This involves checking EC2 service quotas and testing permissions by calling the RunInstances API with the “DryRun” flag enabled.

Using the “DryRun” flag allows attackers to verify permissions without actually launching instances, helping them avoid immediate costs and leaving a smaller forensic footprint. This step enables the threat actor to determine whether the target environment can support the deployment of mining software.

The next stage sees the creation of new IAM roles for autoscaling groups and AWS Lambda services, using the CreateServiceLinkedRole and CreateRole functions. The attackers then attach the “AWSLambdaBasicExecutionRole” policy to the Lambda role to enable further activity.

In some attacks, dozens of ECS clusters were created across a single environment, with Amazon observing more than 50 clusters in certain cases. These clusters were used to deploy malicious task definitions that initiated cryptocurrency mining workloads.

“They then called RegisterTaskDefinition with a malicious DockerHub image yenik65958/secret:user,” Amazon said. “With the same string used for the cluster creation, the actor then created a service, using the task definition to initiate crypto mining on ECS Fargate nodes.”

The DockerHub image, which has since been removed, was designed to immediately run a shell script that launched mining activity using the RandomVIREL algorithm. The campaign also included the creation of aggressive autoscaling groups, set to expand from 20 up to 999 instances, targeting both GPU and machine learning instances as well as general-purpose compute resources.

A key feature of the campaign is the abuse of instance termination protection by setting the “disableApiTermination” parameter to true. This prevents affected instances from being deleted through standard management tools.

“Instance termination protection can impair incident response capabilities and disrupt automated remediation controls,” Amazon said. “This technique demonstrates an understanding of common security response procedures and intent to maximize the duration of mining operations.”

The attacks also involved creating an open Lambda function and a new IAM user with full access to Amazon’s Simple Email Service, potentially enabling further abuse such as phishing campaigns.

About Security Buyer

Security Buyer is the leading authority in global security content, delivering expert news, in-depth articles, exclusive interviews, and industry insights across print, digital, and event platforms. Published 10 times a year, the magazine is a trusted resource for professionals seeking updates and analysis on the latest developments in the security sector.

To submit an article, or for sponsorship opportunities, please contact our team below.

Rebecca Spayne Picture

Rebecca Spayne

Group Managing Editor

Georgina Turner Picture

Georgina Turner

Sales Manager

Afua Akoto Picture

Afua Akoto

Marketing Manager

Related News

PaxLock Pro2 - securitybuyer.com

Paxton officially launches PaxLock Pro2

Paxton the security technology manufacturer has launched a brand-new re-engineered PaxLock which is built to protect straight
KentixONE data centre - securitybuyer.com

Data centre security with KentixONE

Prior1 develops container data centers to meet the highest security and energy efficiency standards. Their containers require
Chubbsafes - securitybuyer.com

Chubbsafes explores certified storage for jewellery and precious metals

Chubbsafes, part of Gunnebo Safe Storage, has launched a new technical discussion guide examining when certified
Mercury trends report - securitybuyer.com

New Mercury Research Finds Growing Cybersecurity Gap

2026 Trends in Access Controllers Report finds interoperability, cloud connectivity and AI are reshaping long-term controller strategies.
Chris Carroll - securitybuyer.com

Comelit-PAC Promotes Chris Carroll as Sales Director

Comelit-PAC has appointed Chris Carroll as Sales Director, following an 18 year career with the company, seeing him progress
Jason Bezuidenhout - securitybuyer.com

Zygal Appoints Jason Bezuidenhout

Zygal has appointed Jason Bezuidenhout as Chief Revenue Officer (CRO), strengthening its leadership team as the company continues
Eun-Kyung-Hong_- securitybuyer.com

How AI Manages Mixed Surveillance Workloads

Eun-Kyung Hong, HDD Product Manager at Toshiba Electronics Europe GmbH discusses AI optimisation in mixed surveillance workloads
ASSA ABLOY - securitybuyer.com

ASSA ABLOY Door Group highlights importance of BS 8214:2026

ASSA ABLOY Door Group is supporting Fire Door Safety Week 2026 by raising awareness of the latest update to BS 8214:2026
OPTEX at Essen - securitybuyer.com

OPTEX to showcase perimeter solutions at Security Essen

OPTEX will present its latest perimeter and asset protection solutions at Security Essen 2026, one of Europe’s leading security trade fairs.
Dallmeier

Building Trust in Modern Video Security

Rebecca Spayne, Managing Editor of Security Buyer, speaks with Josua Braun, Chief Revenue Officer at Dallmeier electronic, about cyber resilience, trusted supply chains, the practical value of artificial intelligence and what security professionals should consider when investing in modern video technology. 
Scroll to Top