CLOSEDQUORUM Windows Malware Leverages AI Voting for Command Execution
CLOSEDQUORUM is a Windows malware that offloads C2 decision-making to a quorum of AI models, enabling automated execution of credential theft, process injection, and persistence mechanisms.
CLOSEDQUORUM is a novel Windows implant that replaces traditional hardcoded C2 infrastructure with a voting mechanism utilizing commercial AI services, including DeepSeek, Qwen, Mistral, and Google Gemini. Discovered by Cisco Talos, the malware transmits system telemetry and a predefined list of actions to these models, proceeding with the action that receives the highest consensus. The malware supports actions such as credential theft, code injection, and establishing persistence.
Although the publicly analyzed samples include placeholder values for API keys and Discord webhooks, the design represents a shift toward delegating attack logic to external AI services. The malware maintains operational visibility by posting decisions and stolen data to a configured Discord channel via webhooks. Persistence is achieved through Windows Update-themed Registry keys, scheduled tasks, and WMI event subscriptions. Defenders should monitor for anomalous outbound traffic to AI API providers originating from unauthorized endpoints, particularly when coupled with indicators of LSASS access or suspicious process injection.
Attack Chain
- Execution of the CLOSEDQUORUM binary on the host system.
- Collection of system metadata, including hostname, OS version, and administrator status.
- Initiation of HTTPS requests to multiple AI API providers (e.g., DeepSeek, Qwen) to request tasking based on the gathered metadata.
- Aggregation of AI model responses to determine the majority-voted action (steal, inject, or persist).
- If 'steal' is selected, the malware performs LSASS memory dumping and exfiltration of browser and crypto wallet credentials.
- If 'persist' is selected, the malware creates Registry Run keys, scheduled tasks, and WMI event subscriptions disguised as Windows Update processes.
- Exfiltration of stolen data, split into encrypted 1,900-byte chunks, to the attacker via a Discord webhook.
Impact
The malware is designed to facilitate credential theft, persistence, and potential code injection on compromised Windows hosts. While Cisco Talos noted that the publicly available samples are currently non-functional due to missing API credentials, the underlying capability demonstrates a sophisticated approach to autonomous C2 and command orchestration. Potential impact includes mass credential harvesting, persistent backdoor installation, and the risk of automated lateral movement or payload deployment based on model-driven decision-making.
Recommendation
Prioritize detection and response based on the behavioral patterns associated with CLOSEDQUORUM.
- Enable monitoring for anomalous outbound HTTPS traffic to identified AI API providers (DeepSeek, Qwen, Mistral, Gemini, OpenRouter) from processes not authorized to interact with AI services.
- Implement Sysmon or EDR rules to detect LSASS memory access (Event ID 10) by non-security processes.
- Monitor for the creation of persistence mechanisms themed as 'WindowsUpdate' or similar system updates, specifically targeting the Run registry key and WMI event subscriptions.
- Inspect process creation logs for the execution of PowerShell scripts from paths within C:\Windows\Temp.
- Utilize the provided SHA-256 hashes to hunt for dormant or staged samples across the enterprise environment.
Immediate actions
Deploy hunt queries for the provided SHA-256 hashes.
Enable monitoring for process injection behavior (T1055) and LSASS access (T1003.001).
Threat Hunt
Identify unauthorized processes establishing network connections to common AI API endpoints (DeepSeek, Mistral, Google Gemini, OpenRouter).
Mitigations
Restrict outbound connectivity from non-essential endpoints to known AI service API domains.
Indicators of compromise
6
hash_sha256
| Type | Value |
|---|---|
| hash_sha256 | 250d4fa37488af9b025333fa17705573d721467b203765bc360890b4f5a90cd7 |
| hash_sha256 | c4dc171f2513fcaf9d5ecc815a94aee4063b213ab380f80bd3ac422dee5205a7 |
| hash_sha256 | c13cea04f598e2b0c248d603a6e31bd13aabb64d8149c1b6a77b64e0b983a86f |
| hash_sha256 | f5f1f8c3e7b883793800ab6ccf21b3e60bd0730f300b4595fe74a33adc17a63c |
| hash_sha256 | 5191cf625dfc209a347f137b50aea199e82040fd5ee9086fb3e2de73c133f3cb |
| hash_sha256 | eddbd0ecf7195d38fefae5b9d393abfa79e6f3f94bde19308ecef130a05a42e5 |