📈 Get daily crypto insights that make you smarter about your money

Docker Servers Under Siege: 9Hits Malware Campaign Turns Infrastructure Into Crypto Miners

A newly discovered malware campaign targeting vulnerable Docker servers represents a troubling evolution in cryptojacking tactics. Security researchers at Cado Security have documented the first-known instance of attackers deploying the 9Hits Traffic Exchange viewer application as a malicious payload alongside the XMRig cryptocurrency miner. The dual-purpose campaign, revealed on January 18, 2024, simultaneously generates fake website traffic and mines Monero cryptocurrency on compromised hosts, maximizing the attacker’s profit from every infected server.

The Threat Landscape

Docker servers remain one of the most commonly exploited entry vectors for cloud-based attacks. Attackers routinely scan for exposed Docker API endpoints using services like Shodan, identifying servers where administrators have failed to properly secure access controls. In this campaign, the attacker uses a straightforward approach: setting the DOCKER_HOST environment variable and executing standard Docker CLI commands to pull and run malicious containers from DockerHub.

What makes this campaign notable is the dual-payload strategy. Rather than simply deploying a cryptominer, the attacker also installs the 9Hits viewer application, a headless Chrome-based tool that automatically visits websites to generate artificial traffic. This approach allows the attacker to earn credits on the 9Hits platform while simultaneously mining cryptocurrency, effectively double-monetizing every compromised server.

The 9Hits platform operates on a credit system where members purchase traffic for their websites. Users can run the viewer application to visit requested sites in exchange for credits. The session token system used by 9Hits is designed to work in untrusted contexts, which means the attacker can operate the viewer on hijacked servers without risking exposure of their own account credentials.

Core Principles

Container security follows a set of fundamental principles that this attack exploits through their absence. First, the principle of least privilege demands that containers should never run with more permissions than necessary. In this campaign, the attacker does not attempt to escape the container, instead running malicious workloads entirely within the containerized environment using predetermined arguments.

Second, network exposure management requires that Docker API endpoints should never be accessible from the public internet. The attackers likely discover their targets through Shodan or similar scanning services, as their originating IP addresses do not appear in common abuse databases, suggesting the use of separate scanning infrastructure.

Third, image provenance verification ensures that only trusted container images from verified publishers run on production infrastructure. The attacker pulls off-the-shelf images from DockerHub for both the 9Hits viewer and XMRig miner, exploiting the trust that Docker commands inherently place in public image repositories.

Tooling and Setup

Organizations can protect their Docker infrastructure through several practical measures. Start by ensuring Docker API endpoints are not exposed to the public internet. Use firewall rules to restrict access to the Docker daemon, and require TLS authentication for remote API connections. Implement Docker Content Trust to verify the integrity and publisher of container images before deployment.

Deploy runtime security monitoring tools that detect unusual container behavior, such as unexpected CPU usage spikes from mining operations or unusual network connections from the 9Hits viewer application. Tools like Falco or Docker Bench for Security provide automated checks against common misconfigurations.

The campaign uses a dynamic DNS domain (dscloud) updated by a Synology server to resolve to the attacker’s IP address. This technique allows the attacker to maintain persistence even if individual IP addresses are blocked. Security teams should monitor for connections to suspicious dynamic DNS domains as part of their threat detection strategy.

Ongoing Vigilance

The 9Hits campaign illustrates how attackers continuously refine their methods to maximize returns from compromised infrastructure. By combining cryptojacking with traffic generation, the attacker creates a diversified revenue stream from each infected server. Interestingly, the attacker specifically disables the 9Hits viewer’s ability to visit crypto-related websites, possibly to avoid drawing attention from cryptocurrency-focused security researchers.

The XMRig deployment uses a private mining pool rather than a public one, which prevents analysis of the campaign’s scale through public pool statistics. This operational security measure suggests a sophisticated attacker who understands the risks of exposure through public blockchain analytics.

Final Takeaway

As the cryptocurrency market navigates the aftermath of Bitcoin ETF approvals with BTC trading around $41,262, the incentive for cryptojacking attacks remains strong. The 9Hits campaign demonstrates that attackers need not limit themselves to a single revenue stream. Infrastructure operators must adopt comprehensive container security practices, including API access controls, image verification, and runtime monitoring, to protect against increasingly creative exploitation campaigns. The cost of prevention remains far lower than the cost of remediation.

Disclaimer: This article is for informational purposes only and does not constitute financial advice. Always conduct your own research before making investment decisions.

🌱 FOR BUSINESSES BitcoinsNews.com
Reach 100K+ Crypto Readers
Sponsored content, press releases, banner ads, and newsletter placements. Put your brand in front of Bitcoin's most engaged audience.

25 thoughts on “Docker Servers Under Siege: 9Hits Malware Campaign Turns Infrastructure Into Crypto Miners”

  1. dual payload strategy is smart tbh. fake traffic pays in ad impressions, xmrig pays in XMR. two revenue streams from one compromised host

    1. Shripad V. two revenue streams from one box is smart adversary economics. most cryptojackers leave money on the table by only running xmrig

  2. Cado Security found the 9Hits viewer running alongside XMRig on the same box. dual monetization is clever but the real story is how trivial the Docker API exploitation still is in 2024

  3. using 9hits for fake traffic AND xmrig on the same box is actually kind of efficient lol. maximize that compromised server ROI

      1. renik_solace 47k aws bill from a single compromised container. and people wonder why cloud cost alerts matter. docker API on 0.0.0.0 with no auth is basically an open invitation

    1. efficient for the attacker, terrible for whoever pays the AWS bill. seen cryptojacking runs cost thousands in compute before anyone notices

      1. Sam T. the $47k AWS bill story is real. saw a startup go under because of a cryptojacking run on their misconfigured k8s cluster. 3 days of xmrig

  4. the DOCKER_HOST env variable attack is embarrassingly simple. if your api endpoint is exposed on the internet without auth you’re basically begging for this

    1. Kenji the attack is simple because the defense is simple too. just dont expose port 2375 to the internet. literally one firewall rule

  5. shodan scanning for exposed docker apis has been a thing since like 2019. the fact that servers are still unsecured in 2024 says everything about cloud ops

    1. CloudOpsDan 5 years of exposed Docker APIs and orgs still havent learned. the Shodan query for unauthenticated Docker endpoints returns thousands of results

      1. container_drift

        the dual payload was the creative part. most cryptojacking campaigns just throw xmrig on and call it a day. adding 9hits for traffic exchange was a second revenue stream

    2. CloudOpsDan shodan still shows thousands of exposed docker APIs in 2026. the 9hits campaign just proved you can monetize someone elses server twice

  6. exposed docker APIs are still a massive problem in 2026. shodan shows thousands of open endpoints. people never learn

  7. dual payload strategy is smart from the attacker perspective. mining plus traffic farming means even a low-end compromised box generates value

  8. 9hits running fake traffic generation alongside xmrig on the same box is clever adversary economics. two revenue streams means even a low-spec compromised server stays profitable for the attacker

  9. docker API on 0.0.0.0 without TLS or auth in 2024 is basically leaving your front door open with a sign that says free electricity

    1. dockerghost port 2375 open with no TLS or auth in 2024 is a choice. you are literally paying AWS to mine XMR for someone else

    2. dockerghost the 0.0.0.0 without TLS thing is wild. saw a Shodan scan last week showing 6000+ still exposed. people deserve to get xmrigged at that point tbh

  10. Exposed Docker APIs have been the #1 attack vector for years yet people still run containers with default configs

  11. The dual payload strategy shows how sophisticated these attacks have become – its not just cryptojacking anymore

  12. running 9Hits and XMRig on the same compromised box is annoyingly efficient. two revenue streams from one Shodan scan. port 2375 open in 2024 is asking for it though

Leave a Comment

Your email address will not be published. Required fields are marked *

BTC$65,073.00+0.1%ETH$1,917.92-0.1%SOL$77.08+1.2%BNB$607.34+0.8%XRP$1.04-0.2%ADA$0.1976-1.2%DOGE$0.0704-0.9%DOT$0.8081-1.0%AVAX$6.55+0.6%LINK$8.31-0.3%UNI$4.06+1.4%ATOM$1.39+0.1%LTC$46.09+0.3%ARB$0.0793+0.5%NEAR$1.630.0%FIL$0.7117-0.6%SUI$0.69660.0%BTC$65,073.00+0.1%ETH$1,917.92-0.1%SOL$77.08+1.2%BNB$607.34+0.8%XRP$1.04-0.2%ADA$0.1976-1.2%DOGE$0.0704-0.9%DOT$0.8081-1.0%AVAX$6.55+0.6%LINK$8.31-0.3%UNI$4.06+1.4%ATOM$1.39+0.1%LTC$46.09+0.3%ARB$0.0793+0.5%NEAR$1.630.0%FIL$0.7117-0.6%SUI$0.69660.0%
Scroll to Top