• News/
  • https://www.bleepingcomputer.com/news/security/hackers-hide-behind-tor-in-exposed-docker-api-breaches/

Hackers hide behind Tor in exposed Docker API breaches

BleepingComputer
·
Bill Toulas
·
Published Sep 9, 2025
·
Updated

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...

Read full article

Affected Software

2 affected components
Docker Docker Engine
Alpine Alpine Linux
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203