Alibaba ECS instances targeted in new cryptojacking campaign

Cyber criminals have been disabling security features in the cloud to mine for Monero

Hackers have been found attacking Alibaba Cloud Elastic Computing Service (ECS) instances to mine Monero cryptocurrency in a new cryptojacking campaign.

Security researchers at Trend Micro discovered cyber criminals disabling security features in cloud instances so that they could mine for cryptocurrency.

ECS instances come with a preinstalled security agent that hackers try to uninstall it upon compromise. Researchers said specific code in the malware created firewall rules to drop incoming packets from IP ranges belonging to internal Alibaba zones and regions. 

These default Alibaba ECS instances also provide root access. The problem here is these instances lack the different privilege levels found in other cloud providers. This means hackers who gain login credentials to access a target instance can do so via SSH without mounting an escalation of privilege attack beforehand.

“In this situation, the threat actor has the highest possible privilege upon compromise, including vulnerability exploitation, any misconfiguration issue, weak credentials or data leakage,” said researchers.

This enables advanced payloads, such as kernel module rootkits and achieving persistence via running system services to be deployed. “Given this feature, it comes as no surprise that multiple threat actors target Alibaba Cloud ECS simply by inserting a code snippet for removing software found only in Alibaba ECS,” they added.

Related Resource

Leveraging the cloud without relinquishing control

Your data. Their cloud.

Man in blue shirt talking on phone with a cloud drawn in the background Free download

Researchers said that when cryptojacking malware is running inside Alibaba ECS, the security agent installed will send a notification of a malicious script running. It is then up to the user to prevent ongoing infection and malicious activities. Researchers said it is always the responsibility of the user to prevent this infection from happening in the first place. 

“Despite detection, the security agent fails to clean the running compromise and gets disabled,” they added. “Looking at another malware sample shows that the security agent was also uninstalled before it could trigger an alert for compromise.”

Once compromised, the malware installs an XMRig to mine for Monero. 

Researchers said it was important to note that Alibaba ECS has an auto-scaling feature to automatically adjust computing resources based on the volume of user requests. This means hackers can also scale up cryptomining and with users bearing the costs.

“By the time the billing arrives to the unwitting organization or user, the cryptominer has likely already incurred additional costs. Additionally, the legitimate subscribers have to manually remove the infection to clean the infrastructure of the compromise,” warned researchers.

Featured Resources

How virtual desktop infrastructure enables digital transformation

Challenges and benefits of VDI

Free download

The Okta digital trust index

Exploring the human edge of trust

Free download

Optimising workload placement in your hybrid cloud

Deliver increased IT agility with the cloud

Free Download

Modernise endpoint protection and leave your legacy challenges behind

The risk of keeping your legacy endpoint security tools

Download now

Recommended

Russia's "politically motivated" REvil raid could be used as leverage, experts warn
ransomware

Russia's "politically motivated" REvil raid could be used as leverage, experts warn

17 Jan 2022
Meta files lawsuit to uncover hackers targeting Facebook, WhatsApp
phishing

Meta files lawsuit to uncover hackers targeting Facebook, WhatsApp

21 Dec 2021
Five things to consider before choosing an MFA solution
Security

Five things to consider before choosing an MFA solution

17 Dec 2021
Australia and US sign CLOUD Act data-sharing deal to support criminal investigations
cyber crime

Australia and US sign CLOUD Act data-sharing deal to support criminal investigations

16 Dec 2021

Most Popular

How to move Microsoft's Windows 11 from a hard drive to an SSD
Microsoft Windows

How to move Microsoft's Windows 11 from a hard drive to an SSD

4 Jan 2022
How to boot Windows 11 in Safe Mode
Microsoft Windows

How to boot Windows 11 in Safe Mode

6 Jan 2022
Microsoft Exchange servers break thanks to 'Y2K22' bug
email delivery

Microsoft Exchange servers break thanks to 'Y2K22' bug

4 Jan 2022