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

Milestone - operator fatigue - context shot

How AI is tackling control room fatigue

Control room operators face a tricky and ever-growing list of responsibilities. Every day, they’re expected to monitor dozens
PDK award - securitybuyer.com

ProdataKey Reader Wins Security Product Award

US access control manufacturer ProdataKey (PDK) has received industry recognition for its Red Reader V2, which has been named a winner
HKC Security app update - securitybuyer.com

HKC Updates SecureComm2 Security App

Intruder alarm manufacturer HKC Security has released an updated version of its SecureComm2 mobile application
Vingcard R Series - securitybuyer.com

Vingcard Introduces R-Series Access Reader

Vingcard has introduced its R-Series door reader, extending mobile credential compatibility to a wider range of entry points within hotels
Lumana and Convergint - securitybuyer.com

Lumana Expands AI Surveillance Through Convergint

Lumana has established a partnership with security systems integrator Convergint to expand the availability of artificial intelligence
Gallagher Security T30 - securitybuyer.com

Gallagher Reader Achieves NPSA Approval

Gallagher Security has secured approval from the UK’s National Protective Security Authority (NPSA) for its High Security T30
OMNIKEY - securitybuyer.com

OMNIKEY Door-to-Desktop Experience

Rick Winter of HID explores how mobile credentials and the OMNIKEY Mobile ecosystem are helping organisations unify physical and digital
OPTEX TXI - securitybuyer.com

OPTEX TXI Series

Explore advanced high-mount outdoor detection designed to reduce nuisance alarms with the OPTEX TXI Series 
Gordon Swallow Gallagher Security - securitybuyer.com

“From Street to Seat”

Gordon Swallow, Regional Business Development Manager, UKI, Gallagher Security explores security systems for commercial buildings 
More than just a Door Intercom Doorbird - securitybuyer.com

More than just a Door Intercom

Zenon Kohs, Channel Sales Manager for the UK at DoorBird, explains how the new D22x Series addresses evolving requirements from industry.
Scroll to Top