A threat actor targeting exposed Docker APIs has updated its malicious tooling with more dangerous functionality that could lay the foundation for a complex botnet. The activity was first reported in June by cybersecurity company Trend Micro. whose researchers analyzed scripts and malicious code that dropped a cryptominer and relied on the Tor network to hide their identity. Akamai researchers discovered new tooling that does not deploy a miner but a more complex payload that can block access to compromised Docker APIs. The attackers search for exposed Docker API (port 2375) on a vulnerable host and send a container creation request using a modified Alpine Linux image that includes a base64-encoded shell command. The container executes the decoded shell command, which installs curl and tor, launches a Tor daemon in the background, and waits for the confirmation of the connection by accessing Amazon's checkip.amazonaws.com service over a SOCKS5 proxy. Once Tor is active, the container downloads and executes a second-stage shell script (docker-init.sh) from a Tor hidden service using curl. The docker-init.sh script enables persistent SSH access by appending an attacker-controlled public key to /root/.ssh/authorized_keys on the mounted host filesystem. It writes a base64-encoded cron job on the host, which executes every minute and blocks external access to port 2375 using whichever firewall utility is available (iptables, nftables, ufw, etc.). Additionally, it installs tools l...
Hackers hide behind Tor in exposed Docker API breaches
BleepingComputer
·Bill Toulas
·Published Sep 9, 2025
·Updated
Affected Software
2 affected components
Docker Docker Engine
Alpine Alpine Linux
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses how hackers are exploiting exposed Docker APIs to create more sophisticated malicious tools.
2
What security implications are discussed in the article?
The article highlights the risks of botnets forming due to the vulnerabilities in exposed Docker APIs.
3
What products or software are affected by these security breaches?
The affected software includes Docker Engine and Alpine Linux.
4
How are hackers hiding their activities according to the report?
Hackers are using the Tor network to conceal their activities while targeting exposed Docker APIs.
5
What was the initial report about this activity?
The malicious activity targeting exposed Docker APIs was first reported in June by cybersecurity company Trend Micro.