Blog
/
/
Januar 18, 2024

Containerised Clicks: Malicious Use of 9hits on Vulnerable Docker Hosts

Cado Security Labs uncovered a new campaign targeting vulnerable Docker services. Attackers deploy XMRig miners and the 9hits viewer application to generate credits. This campaign highlights attackers' evolving monetization strategies and the ongoing vulnerability of exposed Docker hosts.
Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Nate Bill
Threat Researcher
Default blog image
18
Jan. 2024

Introduction: Malicious use of 9hits on vulnerable docker hosts

During routine monitoring of our honeypot infrastructure, Cado Security Labs researchers (now part of Darktrace) observed a novel campaign targeting vulnerable Docker services. The campaign deploys two containers to the vulnerable instance - a regular XMRig miner, as well as the 9hits viewer application. This was the first documented case of malware deploying the 9hits application as a payload, based on available open-source intelligence at the time.

9hits [1] describes itself as “A Unique Web Traffic Solution”. It is a platform where members can buy credits, which can then be exchanged for traffic being generated on their website of choice. Members can also run the 9hits viewer app, which runs a headless chrome instance in order to visit websites requested by other members, in exchange for a cut of the credits.

Screenshot from 9hits
Figure 1: Steps for using 9hits platform from viewer app

The viewer app responsible for generating hits and credits is now being deployed by malware, in order to generate credits for the attacker.

Initial access

The containers are deployed on the vulnerable Docker host over the Internet by an attacker-controlled server. Cado Security have been unable to obtain a copy of the spreader, however can speculate that the attacker discovered the honeypot via a service like Shodan. This is because the attacker’s IP does not have any entries in common abuse databases, suggesting it is not actively scanning. It is also possible the attacker is using a separate server for scanning.

After discovery, the spreader uses the Docker API to deploy two containers:

Jan 08 16:44:27 docker.novalocal dockerd[1014]: time="2024-01-08T16:44:27.619512372Z" level=debug msg="Calling POST /v1.43/images/create?fromImage=minerboy%2FXMRig&tag=latest" 
Jan 08 16:44:38 docker.novalocal dockerd[1014]: time="2024-01-08T16:44:38.725291585Z" level=debug msg="Calling POST /v1.43/images/create?fromImage=9hitste%2Fapp&tag=latest" 

This can also be seen reflected in the network capture of the honeypot, originating from IP 27[.]36.82.56 (An IP in Foshan, China). The IP 43[.]163.195.252 (Tencent hosting in Japan) has also been observed in the past.

Network capture
Figure 2: Network capture

Looking closer at the requests, we can observe a user agent of docker client:

User agent of docker client
Figure 3: User agent of docker client

Obviously, it is possible to clone a user agent and make it look like a Docker client. However, the order of API requests in the capture is identical to an actual instance of the Docker CLI. It is likely the attacker is using a script that sets the DOCKER_HOST variable and runs the regular CLI in order to compromise the server.  

The above API calls fetches off-the-shelf images from Dockerhub for the 9hits and XMRig software. This is a common attack vector for campaigns targeting Docker, where instead of fetching a bespoke image for their purposes they pull a generic image off Dockerhub (which will almost always be accessible) and leverage it for their needs.

In Cado’s investigations of campaigns targeting our honeypot, attackers often used a generic Alpine image and attach to it in order to break out of the container and run their malware on the host. In this case, the attacker makes no attempt to exit the container, and instead just runs the container with a predetermined argument.

Payload operation

As mentioned previously, the spreader invokes the Docker container with a custom command to kick start the infection. This command includes configuration and session identifiers.

Using memory forensics, the following processes being run by the 9hits container can be observed:

pid	  ppid	proc	cmd 
2379	2358	nh.sh	/bin/bash /nh.sh --token=c89f8b41d4972209ec497349cce7e840 --system-session --allow-crypto=no 
2406	2379	Xvfb	Xvfb :1 
2407	2379	9hits	/etc/9hitsv3-linux64/9hits --mode=exchange --current-hash=1704770235 --hide-browser=no --token=c89f8b41d4972209ec497349cce7e840 --allow-popups=yes --allow-adult=yes --allow-crypto=no --system-session --cache-del=200 --single-process --no-sandbox --no-zygote --auto-start 
2508	2455	9hbrowser	/etc/9hitsv3-linux64/browser/9hbrowser --nh-param=b2e931191f49d --ssid=<honeypot IP> 

In this case, the entry point for the container is the “ nh.sh ” script, which the attacker has added their session token to. This allows the 9hits app to authenticate with their servers and pull a list of sites to visit from them. Once the app has visited the site, the owner of the session token is awarded with a credit on the 9hits platform.

It appears that 9hits designed the session token system to work in untrusted contexts. It’s impossible to use the token for anything other than running the app to generate credits for the token owner, with the API and authentication tokens being a separate system. This allows the app to be run in illegitimate campaigns without the risk of the attacker's account being compromised.

9hits itself is based on headless Chrome, and as can be seen from the other processes, a browser instance is spawned to visit websites. The no sandbox, single process, and no zygote arguments are frequently passed to Chrome browsers running as root or in containers. There are a few other options that are set for this campaign, such as allowing it to visit adult sites, allowing it to visit sites that show popups, and configuring the cache duration. In addition, the actor behind this campaign has disabled the 9hits app’s ability to visit crypto related sites. The reason for this is unclear.

On the other container deployed by the attacker (XMRig), we can see it executes the following:

<code>1572	1552	XMRig	/app/XMRig -o byw.dscloud.me:3333 --randomx-1gb-pages --donate-level=0</code> 

The -o option specifies a mining pool to use. Most XMRig deployments will use a public pool and tell it the owner's wallet address, which can be frequently combined with the pool’s public data to see how many machines are mining for that address, along with the earnings of the owner. However, in this case it would appear that the mining pool is private, preventing access to statistics related to the campaign.

The dscloud domain is used by synology for dynamic DNS, where the synology server will keep the domain updated with the current IP of the attacker. Performing a lookup for this address at the time of writing, we can see it resolves to 27[.]36.82.56, the same IP that infected the honeypot in the first place.

Conclusion

The main impact of this campaign on compromised hosts is resource exhaustion, as the XMRig miner will use all available CPU resources it can while 9hits will use a large amount of bandwidth, memory, and what little CPU is left. The result of this is that legitimate workloads on infected servers will be unable to perform as expected. In addition, the campaign could be updated to leave a remote shell on the system, potentially causing a more serious breach. This has been seen before with mexals/diicot [2], a Romanian threat actor that maintained access to compromised servers using a malicious SSH key in addition to executing XMRig.

This campaign demonstrates that attackers are always looking for more strategies to make money from compromised hosts. It additionally shows that exposed Docker hosts are still a common entry vector for attackers. As Docker allows users to run arbitrary code, it is critical that it is kept secure to avoid your systems being used for malicious purposes.

IoCs

Docker container name Docker container image

faucet 9hitste/app

xmg minerboy/XMRig

Mining pool

byw.dscloud.me:3333

Session token

c89f8b41d4972209ec497349cce7e840

References:

[1] https://9hits.com/

[2] https://www.darktrace.com/blog/tracking-diicot-an-emerging-romanian-threat-actor

‍

Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Nate Bill
Threat Researcher

More in this series

No items found.

Blog

/

Email

/

Dezember 3, 2026

Darktrace Named a Leader in the 2026 Gartner® Magic Quadrant™ for Email Security for the Second Year Running

Man and woman at a computerDefault blog imageDefault blog image

Darktrace has once again been named a Leader in the 2026 Gartner® Magic Quadrant™ for Email Security. This announcement comes alongside Darktrace's inclusion in the Gartner Critical Capabilities report and recent recognition in the 2026 Gartner® Peer Insights™ Voice of the Customer for Email Security (one of only two Leaders to be chosen as a Customers' Choice), providing organizations with three complmentary analyst and peer perspectives as they evaluate email security solutions.

For more than a decade, Darktrace has developed behavioral security technology designed to understand the patterns specific to each organization. That foundation is what enables us to defend against evolving threats as communications and business technologies have changed.  We’re proud of our recognition in both reports – we believe this reflects our continued investment in people, technology and R&D over recent years.

Darktrace / EMAIL is a standalone solution that secures business communications by combining organization-specific behavioral understanding with analysis of message content, intent, relationships and technical artifacts. This helps identify suspicious interactions that may look legitimate in isolation, including attacks that exploit trusted identities and familiar business processes. While advancing core email protection, we’re also extending its capabilities into emerging AI risks.

Let’s take a look at how Darktrace is evolving behavioral security innovation to meet changing customer needs.

Helping businesses detect today’s sophisticated email threats

Darktrace / EMAIL learns how your organization communicates to stop targeted and novel email threats without relying on previously seen attacks or threat intelligence.

As attackers use legitimate accounts, trusted relationships and convincing requests, this organization-specific analysis helps identify interactions that do not fit the business context. 

This understanding helps customers detect sophisticated, targeted communications, particularly business email compromise (BEC) and supply chain attacks, that can look legitimate when assessed through isolated indicators. Darktrace / EMAIL also applies behavioral analysis to outbound communications, helping detect unusual disclosures.

In Gartner Critical Capabilities for Email Security Platforms, Darktrace scored 3.775 out of 5 for Core Email Protection (among the three highest-scoring vendors); Integrated Email Security: 3.42 out of 5; Outbound Security: 3.59 out of 5.

Extending behavioral security innovation to AI-driven risks

AI assistants and agentic workflows create new opportunities for attackers to manipulate trusted communications and automated processes.  

Darktrace has developed new capabilities in Darktrace / EMAIL to detect email-borne prompt-injection attempts and, with Darktrace / SECURE AI, to provide visibility into potential unauthorized AI usage through email – helping customers identify emerging AI threats in their communications ecosystem and extend protection into their AI environments.

These capabilities complement Darktrace / SECURE AI, a separately priced and licensed solution for securing AI environments, applications and agentic workflows. 

In Gartner Critical Capabilities for Email Security Platforms, Darktrace was ranked among the three highest scoring vendors for AI-Era Threat Defense and Observability, with a score of 3.62 out of 5.

Protecting the conversations that drive modern business

Attackers exploit more than email. They can impersonate colleagues, manipulate conversations and move between messaging environments, while isolated alerts may obscure a broader pattern.  

Darktrace / EMAIL extends behavioral analysis to Microsoft Teams, Slack and Zoom messaging, examining language, relationships and interaction patterns alongside technical indicators. This helps customers to identify social engineering, insider risk, and communication-based attacks that payload-focused approaches struggle to detect, and to investigate them with relevant context.

In Gartner Critical Capabilities for Email Security Platforms, Darktrace was ranked among the three highest scoring vendors for Communication and Collaboration Security, with a score of 3.59 out of 5.

Get complimentary access to the full 2026 Gartner® Magic Quadrant™ for Email Security here, and find out why Darktrace was named a Leader.

Read the 2026 Gartner Critical Capabilities for Email Security.

‍

[related-resource]

‍

Gartner, Magic Quadrant for Email Security, Max Taggett, Franz Hinner, Deepak Mishra, November 2026. Gartner, Critical Capabilities for Email Security, Franz Hinner and Max Taggett, November 2026. Gartner, Magic Quadrant and Peer Insights are trademarks of Gartner, Inc., and/or its affiliates.

Gartner does not endorse any company, vendor, product or service depicted in its publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner publications consist of the opinions of Gartner’s business and technology insights organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this publication, including any warranties of merchantability or fitness for a particular purpose.

Gartner Peer Insights content consists of the opinions of individual end users based on their own experiences with the vendors listed on the platform, should not be construed as statements of fact, nor do they represent the views of Gartner or its affiliates. Gartner does not endorse any vendor, product or service depicted in this content nor makes any warranties, expressed or implied, with respect to this content, about its accuracy or completeness, including any warranties of merchantability or fitness for a particular purpose.

Continue reading
About the author
The Darktrace Community

Blog

/

/

Dezember 3, 2026

Beyond the AI Kill Switch: Precise Containment for AI Agents

Default blog imageDefault blog image

Key takeaways

  • Precise containment: Adopting a behavioral approach to AI security goes beyond ‘kill switches’ by detecting deviations from expected activity, containing threats with precision, and avoiding runtime disruption.
  • Connect intent to action: Consider how your organization can correlate what an agent was instructed to do (prompt analysis) with what its workload identity actually did (cloud telemetry) to help inform more effective and less disruptive response actions.
  • Check response dependencies: Identify the narrowest point in your agent workflows where you can enforce a containment action and avoid more widespread disruption.

‍

As organizations put AI agents to work, it’s becoming increasingly important to be able to understand and secure what AI can do. In the current evolving market for AI security, most solutions are attempting to solve this mostly with visibility and detection. Recent announcements have also suggested the implementation of a ‘kill switch’ that cuts an agent off from an individual model (or all model access) when something appears to be wrong. That can be a useful backstop, but it’s a blunt one: it stops both the risky action and the legitimate work alongside it, disrupting normal business operations.

Most approaches to AI security also give little to no context on whether a specific action was unusual for that agent or not, which is an increasingly hard challenge to solve given the non-deterministic nature of AI agents and prompts. Without visibility of the entire attack chain, and the context of each observed behavior, it becomes extremely difficult to remediate early and limit operational impact.

In this post, we’ll look at how Darktrace can go beyond both conventional security approaches and kill switches to provide precise containment for AI agent behavior. This includes a deep behavioral understanding of AI agent and workload activity, and responding at the narrowest point that can stop threats. This isn’t new to Darktrace – we’ve pioneered precise and autonomous containment to cyber threats for over 10 years, first releasing this technology back in 2016, which has since proved that ‘all or nothing’ approaches to containment do not go far enough.

We’ll walk through two scenarios in a controlled Amazon Bedrock AgentCore lab:

  1. An unusual tool invocation from a trusted identity
  2. A prompt written with malicious intent

Scenario 1: Detecting an unusual tool invocation

Let’s look at the first scenario. In this case, Darktrace / HYBRID NETWORK is deployed to a test environment with Amazon Bedrock AgentCore. An ordinary inventory prompt is used to trigger the agent: “List all EC2 resources running in eu-west-2”.

The Bedrock AgentCore runtime sent it to the Model Context Protocol (MCP) gateway, which invoked the Lambda function ec2-agent-tool, whose internal MCP handler was ec2_list_instance. The agent trace shows EC2 List Instances returning HTTP 200 and the requested inventory.

Figure 1. The agent’s response to the inventory prompt shows a successful tool call (HTTP 200).

In this instance, there was nothing unusual about the gateway identity, or the Lambda function itself. In the context of normal behavior for this specific environment, what had changed was the timing. Rather than relying on a fixed rule about odd hours, Darktrace / HYBRID NETWORK monitors all related cloud activity, and it noticed a deviation from this identity’s usual timing for invoking the function. Darktrace used a custom behavioral model to detect the event - Antigena Unusual Bedrock Tool Activity - with a configured response action.

Figure 2. Darktrace / HYBRID NETWORK flags unusual timing for the gateway identity’s Lambda invocation.

Stopping the tool call without affecting runtime

In this case, Darktrace acted by autonomously triggering the response action Disable Role to the gateway’s AWS Identity and Access Management (IAM) execution role. While Darktrace could have been configured in ‘human confirmation mode’ to apply the response action manually, humans likely would not have been able to respond in time. The very nature of AI agents operating at speed and scale is why autonomous containment, based on a behavioral understanding of the unique environment, is necessary to combat this.

Figure 3. Darktrace / HYBRID NETWORK response history records the Disable Role action on the gateway execution role.

A subsequent inventory request selected the same tool, but the gateway was denied when it tried to invoke Lambda, and the inventory request was not completed. Enforcement happened before the tool executed, not at the EC2 API. It did not shut down the agent runtime or require changes to agent code or the Lambda handler.

Figure 4. The follow-up request reaches tool selection, but the gateway’s Lambda invocation is denied due the containment action applied by Darktrace / HYBRID NETWORK.

This scenario shows how a behavioral approach to detection and response can uniquely prevent sophisticated agentic risks in comparison to conventional security techniques that rely on policies and static rules.

Scenario 2: Adding context with dedicated AI security

So far, we’ve seen how Darktrace can help secure what AI can do by taking a behavioral approach to cloud security and precise containment. However, let’s take this one step further with a second scenario, and see how we can add Darktrace / SECURE AI to bring even more context during investigations.

Let’s take the same Bedrock session, but this time a prompt is entered with malicious intent, either from a rogue insider or due to the agent being compromised by an external threat actor. Instead of simply asking the agent to list all running EC2 instances, the prompt attempts to override safeguards and ask the agent to also terminate them.

‍

What the session adds to the investigation

Darktrace initially recorded an overall score of 0 for a routine inventory request, but it recorded a policy detection for the prompt that attempted to override safeguards and terminate running EC2 instances. That session scored 99 for manipulation.

Figure 6a. A routine Bedrock inventory session: overall score 0.
Figure 6b. A separate Bedrock session where a prompt showed malicious intent: overall score 99.
Figure 6c. Darktrace / SECURE AI session detail, AI Usage policy violation and manipulation score.

Session analysis reveals what the agent was asked to do, including the model's inability to call the tool once the triggered action revoked its permissions. This is seen directly in the / SECURE AI interface to add even more context into what led to these events. Analysts can use this to speed up investigations and go beyond ‘this is what happened’ to answer ‘why’ it happened in the first place.

Check what shares the enforcement point

Going beyond the scenarios shared above, Darktrace can also map the wider Bedrock architecture and its connected assets: the runtime, MCP gateway, IAM roles, and Lambda targets. That view helps them put identity and network anomalies in context and look for misconfigurations and potential attack paths. In the lab, the Lambda target uses the gateway’s WorkloadIdentity, which is distinct from the gateway IAM execution role that Darktrace disabled. Lambda has its own execution role. Mapping those dependencies helps identify other tools that could lose access when a role is disabled.

Figure 7. Darktrace shows Bedrock assets and identity-anomaly priorities.

Three places to contain an agent action

Permissions state what can happen, whereas behavioral context helps establish whether an action fits what is expected activity for a specific workload, time, and sequence. This lab environment only tested the gateway-to-tool boundary. With the right visibility and enforceable controls, the same approach can work before inference or at the downstream API, presenting three ways to prevent an agent from carrying out its intended actions:

1. Before inference

Agent → precise containment → model. Stop an unexpected request carrying sensitive inventory data before it reaches inference. Depending on the control’s scope, other requests or routes can remain available.

2. Before tool execution

Agent → MCP gateway → precise containment → tools. In the lab, disabling the gateway’s execution role denied the Lambda invocation without stopping the runtime. Other tools that share the role may also lose access.

3. Before a downstream API action

Agent → MCP gateway → tool → precise containment → API. Let the tool run, but deny the selected API action before it takes effect. Where controls distinguish reads from writes, a response could preserve approved inventory reads while blocking an unexpected change.

Containing AI agent behavior with precise actions

As AI agents become part of day-to-day operations, shutting one down can interrupt the workflows that modern organizations depend on. A kill switch is still a useful last resort, but it’s too blunt to be the default action. Policies set the limits on what an agent can do, but on their own they can’t tell you whether a permitted action makes sense for that agent, at that moment, in that sequence. That’s where a behavioral approach is required.

Governing agents at runtime means learning what normal looks like for each workload, using context to assess deviations, and intervening at the narrowest point that can reliably stop risky behavior. Judgment is also required before acting to check what else depends on that control – some containment actions can be permitted to run autonomously while others can require human confirmation. In the scenarios provided above, we saw how a precise approach to response can be used to contain the suspicious or threatening behaviors, without shutting down the agent runtime. That’s the standard to aim for - stop what puts your organization at risk without stopping the work it relies on.

For more information about how Darktrace can help you secure what AI can do, and see it in action in your own environment, contact the Darktrace team.

‍

[related-resource]

Continue reading
About the author
Stilyan Petrov
Cyber Solutions Architect
Your data. Our AI.
Elevate your network security with Darktrace AI