Ptechhub
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs
No Result
View All Result
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs
No Result
View All Result
PtechHub
No Result
View All Result

New Self-Spreading Malware Infects Docker Containers to Mine Dero Cryptocurrency

The Hacker News by The Hacker News
May 27, 2025
Home Cybersecurity
Share on FacebookShare on Twitter


May 27, 2025Ravie LakshmananCloud Security / Threat Intelligence

Misconfigured Docker API instances have become the target of a new malware campaign that transforms them into a cryptocurrency mining botnet.

The attacks, designed to mine for Dero currency, is notable for its worm-like capabilities to propagate the malware to other exposed Docker instances and rope them into an ever-growing horde of mining bots.

Kaspersky said it observed an unidentified threat actor gaining initial access to a running containerized infrastructure by exploiting an insecurely published Docker API, and then weaponizing that access to create the illicit cryptojacking network.

“This led to the running containers being compromised and new ones being created not only to hijack the victim’s resources for cryptocurrency mining but also to launch external attacks to propagate to other networks,” security researcher Amged Wageh said.

The attack chain is realized through two components: A propagation malware “nginx” that scans the internet for exposed Docker APIs and the “cloud” Dero cryptocurrency miner. Both the payloads are developed using Golang. The use of “nginx” is a deliberate attempt to masquerade as the legitimate nginx web server and fly under the radar.

Cybersecurity

The propagation malware is designed to record the running activities of the malware, launch the miner, and enter into an infinite loop to generate random IPv4 network subnets for flagging more susceptible Docker instances that have the default API port 2375 open and compromising them.

It then proceeds to check whether the remote dockerd daemon on the host with a matching IPv4 is running and responsive. If it fails to execute the “docker -H PS” command, “nginx” simply moves to the next IP address from the list.

“After confirming that the remote dockerd daemon is running and responsive, nginx generates a container name with 12 random characters and uses it to create a malicious container on the remote target,” Wageh explained. “Then nginx prepares the new container to install dependencies later by updating the packages via ‘docker -H exec apt-get -yq update.'”

The propagation tool then installs masscan and docker.io in the container so as to allow the malware to interact with the Docker daemon and to perform the external scan to infect other networks, effectively spreading the malware further. In the last stage, the two payloads “nginx” and “cloud” are transferred to the container using the command “docker -H cp -L /usr/bin/ :/usr/bin.”

As a way of setting up persistence, the transferred “nginx” binary is added to the “/root/.bash_aliases” file to make sure that it automatically launches upon shell login. Another significant aspect of the malware is that it’s also engineered to infect Ubuntu-based running containers on remote vulnerable hosts.

The ultimate goal of the campaign is to execute the Dero cryptocurrency miner, which is based on the open-source DeroHE CLI miner available on GitHub.

Kaspersky has assessed that the activity overlaps with a Dero mining campaign that was previously documented by CrowdStrike in March 2023 targeting Kubernetes clusters based on the wallet address and derod node addresses used. A subsequent iteration of the same campaign was flagged by Wiz in June 2024.

Cybersecurity

“Containerized environments were compromised through a combination of a previously known miner and a new sample that created malicious containers and infected existing ones,” Wageh said. “The two malicious implants spread without a C2 server, making any network that has a containerized infrastructure and insecurely published Docker API to the internet a potential target.”

The development comes as the AhnLab Security Intelligence Center (ASEC) detailed a campaign that involves the deployment of the Monero coin miner along with a never-before-seen backdoor that uses the PyBitmessage peer-to-peer (P2P) communication protocol to process incoming instructions and execute them as PowerShell scripts.

The exact distribution method used in the campaign is currently not known, but it’s suspected to be disguised as cracked versions of popular software, making it essential that users avoid downloading files from unknown or untrusted sources and stick to legitimate distribution channels.

“The Bitmessage protocol is a messaging system designed with anonymity and decentralization in mind, and it features the prevention of interception by intermediaries and the anonymization of message senders and receivers,” ASEC said.

“Threat actors exploited the PyBitmessage module, which implements this protocol in the Python environment, to exchange encrypted packets in a format similar to regular web traffic. In particular, C2 commands and control messages are hidden within messages from real users in the Bitmessage network.”

Found this article interesting? Follow us on Twitter  and LinkedIn to read more exclusive content we post.





Source link

Tags: computer securitycyber attackscyber newscyber security newscyber security news todaycyber security updatescyber updatesdata breachhacker newshacking newshow to hackinformation securitynetwork securityransomware malwaresoftware vulnerabilitythe hacker news
The Hacker News

The Hacker News

Next Post
Stocks making the biggest moves midday: Trump Media, Salesforce, Tesla, AMC Entertainment and more

Stocks making the biggest moves midday: Trump Media, Salesforce, Tesla, AMC Entertainment and more

Recommended.

Gastro Girl Unveils ‘Ask Gastro Girl’: The AI-Powered App Redefining Access to Digestive Health Support

Gastro Girl Unveils ‘Ask Gastro Girl’: The AI-Powered App Redefining Access to Digestive Health Support

January 15, 2025
Pimax unveils new VR headsets offering the widest field of view for Micro-OLED

Pimax unveils new VR headsets offering the widest field of view for Micro-OLED

September 20, 2025

Trending.

⚡ Weekly Recap: Oracle 0-Day, BitLocker Bypass, VMScape, WhatsApp Worm & More

⚡ Weekly Recap: Oracle 0-Day, BitLocker Bypass, VMScape, WhatsApp Worm & More

October 6, 2025
Cloud Computing on the Rise: Market Projected to Reach .6 Trillion by 2030

Cloud Computing on the Rise: Market Projected to Reach $1.6 Trillion by 2030

August 1, 2025
Stocks making the biggest moves midday: Autodesk, PayPal, Rivian, Nebius, Waters and more

Stocks making the biggest moves midday: Autodesk, PayPal, Rivian, Nebius, Waters and more

July 14, 2025
The Ultimate MSP Guide to Structuring and Selling vCISO Services

The Ultimate MSP Guide to Structuring and Selling vCISO Services

February 19, 2025
Translators’ Voices: China shares technological achievements with the world for mutual benefit

Translators’ Voices: China shares technological achievements with the world for mutual benefit

June 3, 2025

PTechHub

A tech news platform delivering fresh perspectives, critical insights, and in-depth reporting — beyond the buzz. We cover innovation, policy, and digital culture with clarity, independence, and a sharp editorial edge.

Follow Us

Industries

  • AI & ML
  • Cybersecurity
  • Enterprise IT
  • Finance
  • Telco

Navigation

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Subscribe to Our Newsletter

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Copyright © 2025 | Powered By Porpholio

No Result
View All Result
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs

Copyright © 2025 | Powered By Porpholio