CARBONATO
- Type
- Botnet
- Capabilities
- Credential theftExfiltrationPersistenceInitial accessPrivilege escalationLateral movementPost exploitationDefense evasionScanning
- Platforms
- Linux
Carbonato is a worm-like botnet targeting Linux servers with publicly exposed, unauthenticated Docker daemon APIs. It abuses insecure Docker configurations rather than a newly discovered vulnerability, instructing the daemon to deploy privileged containers with access to the host filesystem and process and network namespaces. This enables command execution on the underlying host. Its activities include credential theft, cryptomining, persistent remote access, and automated propagation.
Carbonato establishes remote access through reverse SSH tunnels and an SSH server configured with an operator-controlled key. Persistence mechanisms include cron jobs, systemd timers, startup scripts, and OpenRC hooks. Watchdogs retrieve and redeploy the implant if it is removed, while immutable persistence files and masquerading as legitimate Linux processes hinder remediation and detection. Conventional scripts scan host-connected networks and Docker bridges every five minutes, identify additional unauthenticated Docker services, and repeat the infection sequence.
The botnet installs Nous Research's legitimate Hermes Agent framework without modifying its code, replacing its persona instructions to create an agent called GH0ST. Operators submit tasks through Telegram; an attacker-controlled language-model gateway generates terminal commands, evaluates their output, and determines subsequent actions. The agent executes commands and returns results and stolen data through Telegram, prioritizing AI-service API keys alongside SSH credentials, access tokens, and database secrets. This is an operator-directed, AI-assisted workflow; propagation is handled separately by scripts. ThreatDown discovered the operation through an exposed Docker registry in August 2026. Carbonato has not been attributed to a known threat group.
Techniques & procedures
38 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The campaign begins with Docker services carelessly exposed to the internet without authentication.
The campaign begins with Docker services carelessly exposed to the internet without authentication. The botnet looks for Docker daemons accepting unauthenticated network connections.
Execution
7 techniques
Execution
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
The model writes terminal commands, reads the output, decides what to do next, and reports back to the same Telegram chat.
The model interprets the request, writes terminal commands, checks their output, and decides what to try next. The agent runs those commands on the victim server.
It uses the Docker API itself to launch a privileged container with the host filesystem mounted, then runs commands directly on the underlying machine through that container.
... y déploie un conteneur privilégié avec le système de fichiers hôte monté.
Persistence
10 techniques
Persistence
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
They create persistence hooks through cron, systemd timers, rc.local, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
An entry script opens a reverse SSH tunnel to a relay in Costa Rica, installs an SSH server and attacker key.
The campaign begins with Docker services carelessly exposed to the internet without authentication.
Persistence gets layered on through cron jobs, systemd timers, rc.local, and OpenRC.
La persistance est assurée via cron, systemd timers, rc.local et OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
Privilege Escalation
10 techniques
Privilege Escalation
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
They create persistence hooks through cron, systemd timers, rc.local, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
An entry script opens a reverse SSH tunnel to a relay in Costa Rica, installs an SSH server and attacker key.
Persistence gets layered on through cron jobs, systemd timers, rc.local, and OpenRC.
La persistance est assurée via cron, systemd timers, rc.local et OpenRC.
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC.
It uses the exposed service to start a privileged container with access to the victim’s filesystem, processes, and network, then runs commands on the underlying server.
Stealth
2 techniques
Stealth
The implant also disguises its infected container and processes as Linux activity to make a quick review less revealing.
Chemins : /usr/sbin/systemd-logind ; /usr/local/bin/.docker-network-monitor.
Defense Impairment
2 techniques
Defense Impairment
CARBONATO creates persistence through cron jobs, systemd timers, startup scripts, and OpenRC, then makes related files difficult to change.
Every one of those files gets marked immutable afterward so a cleanup attempt can’t just delete them.
Credential Access
3 techniques
Credential Access
Sensitive AI API keys top the agent’s list of targets, ahead of SSH credentials, access tokens, and databases.
The prompt directs it to collect AI API keys ahead of SSH credentials, access tokens, databases, and other credentials... Store every key, password or token in plaintext.
Sensitive AI API keys top the agent’s list of targets, ahead of SSH credentials, access tokens, and databases.
Discovery
3 techniques
Discovery
Toutes les 5 minutes, un script scanne les réseaux /24 adjacents...
When it finds one, it checks that the service is Docker, avoids hosts it has already infected, and repeats the initial deployment sequence.
Every five minutes, scripts inspect networks attached to the host and Docker bridges, then scan each /24 range for exposed Docker services.
Lateral Movement
4 techniques
Lateral Movement
When they find another exposed daemon, they repeat the deployment.
An entry script opens a reverse SSH tunnel... installs an SSH server and attacker key.
When it finds another vulnerable host, it checks whether it is already infected and, if not, deploys the malware.
“Each new compromise pulls the implant from the registry, launches the same privileged container, and enters the persistence and scanning loop.”
Command and Control
7 techniques
Command and Control
It places an AI agent inside compromised systems, letting operators send tasks through Telegram and receive results.
The script opens a reverse SSH tunnel from the victim to a relay in Costa Rica, giving the operators a path back into the host.
Hermes ги обработува командите за задачи добиени преку Telegram ... и испраќање на резултатите назад
GH0ST is told to ... carry out commands sent by the operators through Telegram... [and] reports back to the same Telegram chat that receives deployment notifications.
Watchdogs can pull the implant again from the same registry if it disappears.
The script also installs an SSH server, adds the crew’s key...
An entry script opens a reverse SSH tunnel to a relay in Costa Rica.
Impact
1 technique
Impact
Malware / Outils : ... XMRig (tool).
Observables
11 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.