Skip to main content
Return to TrendAI™ 資安部落格
AI & emerging technologies Cloud & supply chain

從 Docker Ping 到 AI 指揮中樞:解析 Hermes 攻擊工作台與 Carbonato 模型閘道(下)

趨勢科技 TrendAI™ 研究團隊深入分析 Hermes AI 代理程式的工作階段紀錄,揭露攻擊者如何透過單一主要工作階段協調 29 個子代理程式,執行不同攻擊任務,並利用 19 個技能套件與 430 次修正紀錄,持續保存及更新可重複使用的攻擊方法。研究也發現,攻擊者能透過 Carbonato 模型閘道切換 AI 模型,而不必更換既有工具與執行環境;相關攻擊活動更從 Docker 延伸至資料庫、監控平台及應用程式服務,凸顯企業跨系統威脅監控的重要性。

AI Emerging technologies Cloud Software supply chain Technology, Media, & Communications General Markets
TrendAI
From a Docker Ping to an AI Command Plane: Inside the Hermes Attack Workbench and Carbonato Model Gateway — Part 2: Operations

Key Takeaways

  • Hermes AI 代理程式透過單一主要工作階段,協調 29 個子代理程式執行多項攻擊任務。 趨勢科技 TrendAI™ 研究團隊分析 Hermes 工作階段資料庫與執行紀錄,發現攻擊者利用一個持續運作的主要工作階段,協調 29 個受委派的子代理程式,讓不同攻擊任務能在同一作業環境中進行管理。
  • 短期運作的 AI 代理程式也能累積持續性的攻擊能力,保存攻擊方法與失敗經驗。 研究團隊發現 19 個由 AI 代理程式建立的技能套件(Skill Packages),涵蓋偵察與入侵後活動,並記錄了 430 次修正。這些套件保存攻擊方法、修正內容及失敗經驗,供後續任務重複使用。
  • Carbonato 模型閘道讓攻擊者切換 AI 模型,無須更換既有工具與執行環境。 研究發現,攻擊者透過 Carbonato 模型閘道切換 AI 模型,同時保留原有的攻擊工具與執行環境,顯示模型切換不一定會中斷既有攻擊流程。
  • AI 輔助攻擊活動不只針對 Docker,也涉及資料庫、監控平台與應用程式服務。 趨勢科技 TrendAI™ 研究團隊發現,這項威脅行動除了 Docker,也涉及資料庫、監控平台及其他企業常用的應用程式服務。相關活動涵蓋多種服務的探測與攻擊嘗試,但這些紀錄並不代表所有目標均遭成功入侵。
  • 偵測 AI 輔助攻擊需要跨系統可視性,不能只依賴單一資安警示。 由於攻擊活動可能同時涉及容器、主機、網路及應用程式,企業應關聯分析不同系統的活動紀錄,以辨識單一資安警示可能遺漏的攻擊跡象。值得注意的是,研究雖然證實 AI 代理程式已被用於協調攻擊任務,但尚無證據顯示 AI 提高了攻擊成功率或效率。

Introduction

In the first part of our research, we traced a failed attack against our Docker honeypot to an exposed offensive infrastructure combining Hermes, the Carbonato model gateway, and other attack tools.

How did the attacker use this infrastructure to carry out tasks?

Our analysis of the Hermes session database, agent logs, and skill telemetry revealed how a single parent session coordinated 29 delegated workers, executed offensive tasks, and maintained a library of reusable attack methods.

The records provide a closer look at how AI agents can be integrated into threat operations, from receiving instructions to preserving methods and lessons from previous tasks.

For our full analysis, read our technical brief.

One AI agent coordinating multiple tasks

The attacker used Telegram to send instructions to Hermes, which routed them to a persistent parent session. It maintained the conversation context, selected tools, and delegated specific tasks to short-lived workers.

We identified 29 delegated workers launched in 14 waves. Each worker received a bounded assignment, such as examining an exposed database, checking an administrative interface, or gathering information about surrounding infrastructure. Workers returned their findings to the parent session but could not delegate tasks further.

Despite the number of workers, the parent session handled most of the activity. It accounted for approximately 81% of the model requests and performed all recorded execute_code operations. The workers primarily handled narrower searches and probes before returning summaries.

This setup allowed the attacker to manage multiple tasks through one conversation without tracking every command or intermediate result from individual agents.'

Figure 1. How Hermes turned a Telegram instruction into tool execution and delegated work
Figure 1. How Hermes turned a Telegram instruction into tool execution and delegated work

AI models and offensive tools operating independently

The attacker separated AI model requests from tool execution. Hermes ran commands and offensive tools on one server, while Carbonato handled model requests through a separate OpenAI-compatible endpoint.

The configuration allowed the attacker to change the model without rebuilding the rest of the environment. Hermes switched from modelo2 to modelo13 during the operation, while the parent session, gateway route, tools, and workbench remained unchanged.

The offensive capabilities did not depend on a single AI model. The same execution environment could continue using its tools and workflows after the model switch.

How Hermes preserved and updated attack methods

We uncovered 19 agent-created skill packages covering reconnaissance and post-exploitation tasks. The library recorded 435 uses and 430 patches, including updates to commands, reference materials, and instructions.

Hermes could initiate background reviews after tasks, using the results to update existing skills. These updates preserved operational knowledge, including methods that worked, corrections, false positives, and approaches that failed.

For example, the Docker exploitation skill retained notes about honeypots, API-version mismatches, and read-only proxies. Other packages recorded information about exposed databases, application services, and infrastructure reconnaissance.

This meant that knowledge did not necessarily disappear when a delegated worker finished its assignment. The parent could retain a worker’s summary, while the skill library preserved the methods for later tasks. These updates also modified skill files rather than retraining the AI models. It is worth noting that these capabilities to update its own methods are a standard feature of Hermes; the attacker did not have to particularly go out of their way to use these capabilities.

Figure 2. Recorded uses and patches across the 19 reconnaissance and post-exploitation skill packages
Figure 2. Recorded uses and patches across the 19 reconnaissance and post-exploitation skill packages

Targets beyond Docker

Although a Docker honeypot led us to the operation, the attacker’s activity extended to other exposed services. The retained logs contained evidence of activity involving databases, monitoring platforms, Java applications, message brokers, administrative interfaces, and other services, as shown in Figure 3.

Not every recorded target or available attack method indicated a successful compromise. To assess our evidence, we distinguished four levels of activity:

  • Capability: A tool, skill, or probe was available.
  • Attempt: Logs recorded an actual request or command.
  • Access: Returned data or tool output demonstrated access.
  • Persistence or collection: Additional artifacts showed retained access or data collection activity.

These are important when evaluating AI-assisted attacks where numerous requests, tasks, and tools can create an extensive record of activities.

Figure 3. Evidence by service class, distinguishing capabilities, attempts, access, and persistence or collection
Figure 3. Evidence by service class, distinguishing capabilities, attempts, access, and persistence or collection

How organizations can mitigate AI-assisted attacks

Organizations should strengthen their defenses by correlating suspicious activity across container, host, network, and application environments:

  • Monitor Docker management activity. Restrict unauthorized API access and alert on unusual container creation, execution, deletion, and image pulls, particularly when privileged modes or host filesystem mounts are involved.
  • Correlate container and host behavior. Watch out for unexpected Docker socket mounts, host namespace access, nsenter execution, and changes to SSH authorized keys. These behaviors become more significant when associated with privileged containers or host filesystem access.
  • Examine suspicious network communications. Monitor unexpected connections to external container registries, private model gateways, and messaging services, particularly when they coincide with unauthorized container or process activity.
  • Look for related activity across exposed services. Correlate unusual access to databases, monitoring platforms, management interfaces, and application services. Activity against seemingly unrelated systems might be part of the same operation.

Conclusion

Our research showed how an attacker used AI agents to coordinate conventional offensive tools, delegate tasks, and maintain reusable attack methods. A persistent parent session, short-lived workers, and an evolving skill library allowed the operation to retain context and methods across different tasks and services.

These findings do not establish that AI made the attacks more successful. They do, however, show how AI agent frameworks can organize offensive activity and preserve operational knowledge. Defenders should connect evidence across container, host, network, and application environments to identify coordinated attacks and assess their impact.

For our full analysis, read our technical brief here .