# Carbonato Shows Where AI Cybersecurity Threats Actually Begin

- **Canonical URL:** https://www.probackend.com/botnet-disruption-proxy-networks/inside-carbonato-how-a-telegram-driven-botnet-deploys-ai-agents-to-plunder-docke
- **Section:** Threats & Attacks
- **Published:** 2026-11-16
- **Summary:** Carbonato enters through exposed Docker APIs, then uses Hermes Agent for operator-directed credential theft and scripts for persistence and spread.

---

## AI cybersecurity threats start with exposed Docker control

Carbonato is a botnet with an AI agent in its toolkit. But the first move is not an AI breakthrough: an unauthenticated Docker API lets an attacker deploy a container on the exposed host. Hermes Agent is installed afterward, for operator-directed credential theft. Scripts—not the agent—maintain persistence and spread to other systems. That order matters. It points defenders toward the control plane that failed, rather than an exaggerated story about an AI system breaking in on its own.

ThreatDown’s analysis describes a worm that searches for Docker daemons accepting unauthenticated connections on port 2375. Once it finds one, it uses Docker to launch a privileged container with access to the host filesystem and host process and network contexts. In practical terms, an internet- or network-reachable daemon without authentication can hand a remote party a route to execute actions on the machine. The exposed management interface is the initial access problem; the AI component comes later. [Source: ThreatDown](https://www.threatdown.com/blog/carbonato/)

## Container deployment and host access

The deployment uses attacker-controlled container images pulled through the Docker service. ThreatDown reports that the operation’s registry held multiple repositories and exposed image configuration, including environment variables, entrypoints, and command history. That material helped researchers identify infrastructure and credentials associated with the operation. The registry also served as an update source for infected hosts, according to the analysis. These observations show why image provenance and registry access deserve scrutiny during an incident, not just the state of the running container. [Source: ThreatDown](https://www.threatdown.com/blog/carbonato/)

A privileged container changes the stakes. In Carbonato’s described setup, the host filesystem is mounted and host-level contexts are available. The compromise therefore cannot be treated as an isolated application container that can safely be deleted and forgotten. Investigators should look at the host and its Docker configuration, identify what was mounted, and establish whether attacker access persists outside the container. Those are response priorities inferred from the reported deployment; they are not indicators that any single host is infected.

## Persistence is handled by scripts

The report describes several mechanisms designed to survive cleanup: cron, systemd timers, `rc.local`, and OpenRC hooks. It also describes immutable files and watchdog behavior that can re-pull the container if files or the container are removed. The implant uses names resembling ordinary system components, including a container name like `systemd-resolved` and a process name imitating a kernel worker. A familiar label alone proves little, but unexpected ancestry, container settings, image origin, and network activity can make the difference.

This is why simply stopping a suspicious container is an incomplete response. Check scheduled jobs and service definitions, SSH access and authorized keys, immutable files, and any unexpected tunnel or outbound connection. Preserve evidence before removing artifacts where incident procedures allow. Then rebuild or remediate from a trusted state, and verify that the scheduled relaunch mechanisms are gone. Carbonato’s persistence is described as scripted behavior, not an action carried out by Hermes Agent. [Source: ThreatDown](https://www.threatdown.com/blog/carbonato/)

## Hermes Agent and operator-directed credential theft

After the initial deployment, Carbonato installs Hermes Agent, an open-source agent framework from Nous Research. In the observed setup, the operators connect it to Telegram and configure it to run terminal commands and use compatible large language model endpoints. A modified `SOUL.md` persona file identifies the agent as GH0ST and directs it to follow operator instructions, maintain persistence, and prioritize AI API keys and other credentials. [Source: ThreatDown](https://www.threatdown.com/blog/carbonato/)

The agent’s role is an interactive one. An operator supplies an objective; the model interprets it, proposes terminal commands, receives their output, and continues the task. Results return to the Telegram conversation. That can make post-compromise work more flexible, but the report does not describe Hermes Agent as the way Carbonato obtained its initial access. Nor does it make the agent responsible for the worm’s scanning and propagation. Those are separate mechanisms.

The credential focus is material. AI API keys can authorize usage of services, and other credentials available to a compromised process may expose connected systems. ThreatDown’s analysis says the operation’s persona explicitly prioritized AI API keys and credentials. It also describes an operator-run LLM gateway that advertised 12 models and served 27 through its API. This is evidence of the operation’s infrastructure, not proof that the model independently selected victims or ran the botnet’s spread routine. [Source: ThreatDown](https://www.threatdown.com/blog/carbonato/)

For AI agent security, the central question is what tools and secrets an agent can reach once someone controls its host or instructions. Keep API keys out of container images and source repositories; avoid leaving long-lived secrets in broadly readable environment files or shell history. Scope credentials narrowly and use expiration or rotation where supported. If a machine is compromised, assume secrets readable by its processes may be exposed. Revoke and replace them from a clean administrative environment, and review service logs for unexpected use.

## Propagation follows a scripted loop

Carbonato’s spread does not depend on the AI agent. ThreatDown reports that a script runs every five minutes, identifies networks attached to the host and its Docker bridges, and scans each `/24` for Docker daemons on port 2375. It checks whether a responder is Docker, avoids hosts already known to be infected, and repeats the deployment sequence against new targets. Newly compromised hosts then take part in the same scripted scanning. [Source: ThreatDown](https://www.threatdown.com/blog/carbonato/)

That separation is more than a wording detail. The agent gives operators a way to work interactively on a compromised machine; scripts provide the repeatable persistence and propagation. Calling this “autonomous AI” blurs the parts defenders can actually interrupt. Restricting Docker API reachability can block the reported entry and reduce the opportunities for the worm to move laterally, regardless of whether an agent is present.

## Practical defenses for AI cybersecurity threats

Start with Docker exposure. Do not leave an unauthenticated Docker daemon reachable from the internet or untrusted internal networks. Limit management access to trusted administrative paths, apply network filtering, and use authenticated, encrypted access controls. Inventory Docker endpoints from outside the expected boundary so that a forgotten listener is not missed. Alert on unusual API activity, including unexpected container creation, unfamiliar image pulls, and workloads with privileged access.

Reduce what a container can do. Use least privilege, avoid mounting sensitive host paths or the Docker socket unless a workload genuinely requires them, and control which registries and images are trusted. Keep Docker and host software maintained. During triage, examine scheduled jobs, service timers, startup hooks, SSH keys, immutable files, unfamiliar containers, and outbound connections. Correlate these findings; a process name or port by itself is not a verdict.

Treat AI credentials as production secrets. Restrict their scope, limit where they are injected, monitor use, and rotate them after suspected exposure. For legitimate AI agents, isolate execution, grant only necessary tools and network access, and require human approval for sensitive actions. Keep auditable records of tool use while ensuring logs do not expose secret values. These controls reduce the damage an agent or an attacker controlling its environment can cause; they do not replace securing the Docker API.

The practical lesson is uncomplicated: close the unauthenticated route first, then investigate the host for persistence, theft, and onward scanning. Carbonato combines familiar botnet mechanics with an AI-assisted operator interface. Security teams should respond to both, without confusing one for the other.

**Source:** [ThreatDown, “CARBONATO: a botnet built around an AI agent”](https://www.threatdown.com/blog/carbonato/)
