Skip to main content
Mallory
Malware

Hermes Agent

Tracked since Jul 30, 2026 · Updated today
Trending this week#80of 30,739 malware families
Mention activity · 30 days4 mentions · peak 2 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK40Techniques
IOCs12Tracked
Type
Backdoor
Capabilities
Credential theftExfiltrationPersistencePost exploitationDefense evasion
Platforms
Linux

Hermes Agent is an MIT-licensed, open-source AI-agent framework developed by Nous Research that has been abused as an attacker-controlled backdoor. The legitimate framework supports Telegram-based tasking, terminal command execution, and connections to compatible language-model endpoints. Malicious deployments use these capabilities to interpret operator requests, generate and execute commands, examine command output, manipulate files, collect credentials, and return results through Telegram.

The Carbonato botnet installs Hermes Agent on compromised Linux Docker hosts after exploiting unauthenticated Docker daemon APIs. Operators leave the framework unchanged but replace its persona configuration with malicious instructions defining an agent named GH0ST. These instructions prioritize collecting and exfiltrating AI-service API keys, SSH credentials, access tokens, and other sensitive data while preserving access. This deployment uses an interactive operator-agent workflow rather than a fully autonomous intrusion process. Carbonato's network scanning, propagation, and underlying persistence mechanisms are implemented separately and are not intrinsic Hermes Agent capabilities. The operation has not been attributed to a known threat group.

A separate malicious npm campaign impersonated an official CRM integration client and silently installed Hermes Agent through a package installation hook. It connected the agent to an attacker-controlled Telegram bot and established systemd persistence under a misleading service identity. The deployed agent also exposed process management, code execution, web browsing, scheduled tasks, and sub-agent delegation. Campaign lures targeted CRM integration engineers in the forex and contracts-for-difference brokerage sector.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

40 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

7 techniques
T1590Gather Victim Network InformationEvidence2

FOFA scans confirmed the instinct: over 647,000 n8n instances existed worldwide, more than 25,000 of them in China.

T1590.005IP AddressesEvidence1

the actor had customized Hermes Agent with three red-teaming skills: fofa-cyberspace-search: a custom procedure template instructing DeepSeek to use the actor’s fofoapi.py script for internet asset enumeration

T1592Gather Victim Host InformationEvidence1

DeepSeek ran FOFA queries targeting Chinese n8n instances and probed targets for version and form endpoints. Three instances were confirmed to be running vulnerable versions (v1.18.0, v1.117.3, v1.108.2).

T1593Search Open Websites/DomainsEvidence1

It initially surveyed 10 product families, scanning GitHub for trending proofs of concept (PoCs) and prioritizing vulnerabilities by attack surface... then searched GitHub for trending 2026 CVE PoC repositories sorted by stars.

T1595Active ScanningEvidence8

They targeted internet-exposed infrastructure by combining autonomous AI-driven enumeration and automated exploitation with the automated and manual exploitation of seven vulnerabilities.

T1595.001Scanning IP BlocksEvidence2

"This actor attempted to exploit over 460 targets, leveraging a mix of autonomous and manual techniques," Palo Alto Networks Unit 42 said.

T1595.002Vulnerability ScanningEvidence5

It initially surveyed 10 product families, scanning GitHub for trending proofs of concept (PoC) exploits and prioritizing vulnerabilities by attack surface.

Resource Development

4 techniques
T1583Acquire InfrastructureEvidence1

After receiving instructions over Telegram, the agent worked autonomously.

T1587Develop CapabilitiesEvidence2

“AI-built dashboard, custom scanners and exploit scripts”

T1588.005ExploitsEvidence1

DeepSeek a téléchargé un PoC public... Acquisition du PoC depuis le dépôt Chocapikk

T1588.006VulnerabilitiesEvidence1

T1588.006 — Obtain Capabilities: Vulnerabilities (Resource Development)

Initial Access

3 techniques
T1189Drive-by CompromiseEvidence1

« ...la faille de sécurité de l’extension Chrome d’Adobe Acrobat, HermeticReader, expose des données sensibles de WhatsApp Web dès la simple visite d’une page malveillante. Ces pages web ressemblent à n’importe quelle autre page, mais lorsque vous en visitez une, le piège se déclenche... »

T1190Exploit Public-Facing ApplicationEvidence11

They targeted internet-exposed infrastructure by combining autonomous AI-driven enumeration and automated exploitation with the automated and manual exploitation of seven vulnerabilities.

T1195.002Compromise Software Supply ChainEvidence1

Trois nouveaux packages publiés le 18 novembre ( @zmatdspcrm/trading-connector , @zmatdspcrm/brandnet-connect , brandnet-connect ) ne contiennent pas de code malveillant dans leur tarball mais déclarent une dépendance optionnelle hébergée sur zmaticco.dev , permettant à l’attaquant de modifier le payload sans republier sur npm.

Execution

6 techniques
T1059Command and Scripting InterpreterEvidence13

“Python, Node.js, Rust, Playwright”

T1059.004Unix ShellEvidence6

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.

T1059.007JavaScriptEvidence1

À l’installation, son script postinstall exécutait lead-provision.js

T1203Exploitation for Client ExecutionEvidence2

« L’attaque a été conçue par une IA combinant trois vulnérabilités différentes qui permettaient “une écriture non authentifiée, en une seule visite et sans clic, dans le stockage propre à l’extension depuis n’importe quelle page web”. »

T1204.002Malicious FileEvidence2

When a user opens the malicious repository and sends any message, the agent triggers a git status index refresh which executes the injected command.

T1574Hijack Execution FlowEvidence1

The PoC chains two CVEs into an attack sequence requiring an unauthenticated form with file upload: CVE-2026-21858 (arbitrary file read, CVSS 10.0) CVE-2025-68613 (sandbox bypass to remote code execution (RCE), CVSS 9.9)

Persistence

1 technique
T1543.002Systemd ServiceEvidence1

Enregistrait l’agent comme service systemd nommé leadstack-routing.service (renommé depuis le nom Hermes original pour masquer sa présence)

Privilege Escalation

1 technique
T1543.002Systemd ServiceEvidence1

Enregistrait l’agent comme service systemd nommé leadstack-routing.service (renommé depuis le nom Hermes original pour masquer sa présence)

Stealth

3 techniques
T1036.004Masquerade Task or ServiceEvidence1

Enregistrait l’agent comme service systemd nommé leadstack-routing.service (renommé depuis le nom Hermes original pour masquer sa présence)

T1070Indicator RemovalEvidence1

A four-step script deletes the line 'Discernement conserve' from the agent’s memory and strips the same word from its identity file.

T1574Hijack Execution FlowEvidence1

The PoC chains two CVEs into an attack sequence requiring an unauthenticated form with file upload: CVE-2026-21858 (arbitrary file read, CVSS 10.0) CVE-2025-68613 (sandbox bypass to remote code execution (RCE), CVSS 9.9)

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

The operator turned approvals off, turned secret redaction off, and set HERMES_DISABLE_SAFETY=1.

Credential Access

3 techniques
T1552Unsecured CredentialsEvidence7

Sensitive AI API keys top the agent’s list of targets, ahead of SSH credentials, access tokens, and databases.

T1552.001Credentials In FilesEvidence2

La priorité déclarée dans SOUL.md est le vol de clés API d’IA... Les clés sont stockées en clair dans /root/.hermes/loot/.

T1552.004Private KeysEvidence1

Sensitive AI API keys top the agent’s list of targets, ahead of SSH credentials, access tokens, and databases.

Discovery

3 techniques
T1007System Service DiscoveryEvidence1

Those logs showed Hermes running in unattended "YOLO" mode to automate post-exploitation activity, including searching for privilege-escalation opportunities, enumerating services, inspecting containers, traversing filesystems, and cataloging documents stored on Ministry of Finance systems.

T1083File and Directory DiscoveryEvidence1

Those logs showed Hermes running in unattended "YOLO" mode to automate post-exploitation activity, including searching for privilege-escalation opportunities, enumerating services, inspecting containers, traversing filesystems, and cataloging documents stored on Ministry of Finance systems.

T1518Software DiscoveryEvidence1

DeepSeek chained two separate vulnerabilities together, worked out exactly which version range was exploitable

Lateral Movement

1 technique
T1021Remote ServicesEvidence1

Hermes Agent provided orchestration (terminal access, Telegram-based command and control, and the skills system)... They orchestrated this operator via Telegram.

Collection

1 technique
T1213Data from Information RepositoriesEvidence1

It searched internet-facing systems through the FOFA search engine, downloaded exploit code from GitHub... The AI agent then analyzed public exploit repositories...

Command and Control

6 techniques
T1071Application Layer ProtocolEvidence1

Hermes Agent provided orchestration (terminal access, Telegram-based command and control, and the skills system)

T1071.001Web ProtocolsEvidence5

It places an AI agent inside compromised systems, letting operators send tasks through Telegram and receive results... The agent runs those commands on the victim server and reports back through Telegram.

T1102Web ServiceEvidence3

Hermes ги обработува командите за задачи добиени преку Telegram ... и испраќање на резултатите назад

T1102.002Bidirectional CommunicationEvidence4

Connectait l’agent au bot Telegram de l’attaquant

T1105Ingress Tool TransferEvidence3

Contactait le serveur attaquant 72.62.1.108:3000 pour récupérer un fichier .env (contenant un token Telegram et une clé API Kimi) et un fichier SOUL.md (instructions de personnalité de l’agent)

T1219Remote Access ToolsEvidence1

Hermes supplied terminal access, a skills system, and Telegram-based command control...

Exfiltration

2 techniques
T1020Automated ExfiltrationEvidence1

... lui ordonnant de maintenir la persistance, d’exécuter des tâches Telegram et de prioriser le vol de clés API d’IA.

T1041Exfiltration Over C2 ChannelEvidence1

Unit 42 confirmed data exfiltration from three Citrix NetScaler targets (CVE-2026-3055)

Indicators of compromise

Observables

12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cyberveilleNews · Nov 21, 2026Package npm malveillant @leadstack/crm-connect installe Hermes Agent comme backdoor | CyberVeilleAn agent explicitly weaponized as a backdoor in this campaign, rather than identified as inherently malicious software. The malicious npm package silently installed version 0.22.7, configured it with attacker-supplied credentials, and registered it as leadstack-routing.service. Through Telegram, the attacker could execute shell commands and code, read and modify files, browse the web, schedule tasks, and delegate work to sub-agents. The campaign targeted CRM integration engineers serving forex/CFD brokers.Read more ↗trellix otherNews · Nov 4, 2026The CyberThreat Report: November 2026 | TrellixOpen-source agent framework explicitly described as weaponized for autonomous intrusions, cryptocurrency theft, website compromise, and the Carbonato botnet's propagation and cryptomining.Read more ↗xakepNews · Oct 5, 2026Ботнет Carbonato использует ИИ для захвата незащищенных Docker-хостов - ХакерA legitimate open-source AI-agent framework explicitly weaponized in this campaign, not an inherently malicious software family. Carbonato installs the unmodified framework but replaces its persona configuration to create GH0ST, enabling operator-directed command execution and secret collection through Telegram.Read more ↗dark readingNews · Sep 28, 2026Carbonato Botnet Puts an AI Agent on Hacked Docker HostsA legitimate open-source AI agent framework from Nous Research explicitly weaponized in the Carbonato campaign. Attackers install it on compromised Docker hosts and configure it to execute Telegram-delivered commands, maintain persistence, and collect credentials, with AI API keys receiving highest priority. The report describes malicious deployment and configuration, not compromise of the upstream framework.Read more ↗
+3 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching12Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping40Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.