Skip to content
Threat Feed
medium threat exploited

CLOSEDQUORUM Autonomous AI C2 Implant Analysis

CLOSEDQUORUM is a 64-bit Go-based Windows malware implant that uses an autonomous multi-LLM architecture to perform command and control via legitimate commercial API endpoints.

CLOSEDQUORUM is a 16.4MB, 64-bit Windows executable written in Go that introduces a novel 'LLM-as-C2' architecture, discovered by Cisco Talos during their CAIRN project. Unlike traditional malware that relies on a specific attacker-operated C2 server and protocol, CLOSEDQUORUM delegates its decision-making loop to a panel of up to four commercial Large Language Model (LLM) providers: DeepSeek, Qwen, Mistral, and Google Gemini.

The implant follows a strict internal process where each model is queried, and the resulting actions are resolved via plurality voting. This architecture aims to bypass traditional network security controls by blending into legitimate traffic patterns directed toward common AI API endpoints. While current public builds contain placeholder API keys and dummy webhooks, the architectural design explicitly targets credential and cryptocurrency wallet harvesting. By offloading decision-making to external AI models, the implant achieves 'effort displacement,' allowing an operation to persist and evolve without continuous human operator interaction.

Attack Chain

  1. The malware executes on the host as a 64-bit Windows binary (Go and C mix, CGO_ENABLED=1).
  2. The 'ModelOrchestrator' component initializes API keys for DeepSeek, Qwen, Mistral, and Gemini.
  3. The implant triggers a four-provider query loop, invoking 'main.queryLLM' for each provider endpoint.
  4. The binary transmits structured prompts to these external APIs, constrained by a system prompt instructing the models to act as 'malware strategists'.
  5. The responses are collected and resolved via plurality voting (interModelDiscussion function) to select the next malicious task.
  6. The winning decision is executed locally, and the outcome is transmitted via a Discord webhook.
  7. If all models fail to return a valid decision, the malware enters a 'consensus' fallback state and triggers a retry loop.

Impact

While no in-the-wild deployment has been confirmed, the capability of CLOSEDQUORUM demonstrates a shift toward autonomous malware that can perform credential and crypto-wallet harvesting without human-in-the-loop intervention. This increases the complexity of incident response, as detection must pivot from simple domain-based C2 blocking to identifying suspicious patterns of model interaction and API usage.

Recommendation

Deploy behavioral monitoring to detect persistent, low-frequency HTTPS traffic directed toward commercial AI model API endpoints from non-development/non-research endpoints. Monitor for Discord webhook traffic emanating from suspicious Windows processes. Organizations should scrutinize processes compiled with Go that exhibit CGO-based direct system call patterns for anomalous API interactions.

Threat Hunt

Identify persistent HTTPS connections from unusual endpoints to AI model providers (DeepSeek, Qwen, Mistral, Google Gemini).

T1071.001 medium medium confidence hunt now

Data: Network egress logs, Proxy logs

Mitigations

Implement egress filtering policies on endpoints that should not require access to commercial AI API services.

medium_term IT Operations

C2 infrastructure