The Attacker Who Sleeps: How CLOSEDQUORUM Became the First Malware to Hand Its C2 to Four AI Models
On Tuesday, September 22, Cisco Talos published the anatomy of a Windows implant that does something no publicly documented malware has done before: it decides what to do next by committee. The binary, named CLOSEDQUORUM, is a 16.4MB, 64-bit Go executable whose command-and-control infrastructure is not a server the attacker operates. It is four commercial LLM APIs — DeepSeek, Qwen, Mistral, and Google Gemini — polled in sequence, their responses tallied as votes, and the winning action executed as the implant's next move. No human operator issues commands; no dedicated C2 server sends tasking. The dynamic operation is delegated to the models.
Talos has no confirmation CLOSEDQUORUM was ever deployed against a victim. The publicly distributed build is an inert template — every LLM credential initializes to dummy_api_key and the Discord exfil webhook to dummy_webhook_url — but artifacts from the binary tie its developer to postings on criminal carding forums dating back to 2025. The sample surfaced through CAIRN, the open-source toolkit Talos released the same day for hunting AI-integrated malware, as its first named find.
AI's offensive impact so far has run along two dimensions, speed and scale, with the human operator still present, directing the tool. Talos frames CLOSEDQUORUM as evidence of a third, effort displacement — an entire phase of the attack handed from the operator to the system, unbound by attention, working hours, or cognitive load. “An AI system capable of executing a phase of the attack chain can continue when the operator is no longer watching,” Talos researcher Ryan Fetterman wrote. “It does not go offline when the attacker sleeps.”
The mechanics of the vote
The models are not free to improvise. The system prompt, extracted from the binary, reads “You are an advanced malware strategist. Provide ONLY executable decisions,” and every response must deserialize into a typed JSON schema whose Decision field maps to an implemented capability or the response is discarded. A ModelOrchestrator queries the four providers one by one, passing host context — hostname, OS architecture, CPU count, Windows version, admin status — and a function named main.interModelDiscussion resolves the verdicts by plurality voting: each decision increments a counter, and the highest count wins.
The menu has four entries. Steal fires three theft functions simultaneously: lsassDump() enables SeDebugPrivilege and uses MiniDumpWriteDump to pull Windows credentials from LSASS memory (MITRE T1003.001), dumpBrowserCredentials() grabs saved passwords from Chrome, Edge, and Firefox, and extractCryptoWallets() targets MetaMask, Exodus, and Ethereum wallet paths. Inject calls generateShellcode(), then branches by parameter into process hollowing that overwrites a suspended process's entry point, or Early Bird APC injection (T1055.004). Persist builds three footholds at once — a Registry Run key named WindowsUpdate, a scheduled task via schtasks.exe, and a WMI event subscription re-executing every 60 seconds through C:\Windows\Temp\wmi.ps1. Move exists in the schema but has no handler in the distribution build. A five-minute startup delay, randomized 5-to-15-minute polling intervals, and an ETW patch that overwrites EtwEventWrite with a single return instruction blunt analysis.
Ties are not democratic. A strict less-than comparison makes the first-encountered maximum win, so any tie resolves in a fixed order: DeepSeek first, then Qwen, then Mistral, then Gemini. If every model fails or refuses, the fallback decision is consensus — a string with no capability handler, so the loop sleeps and retries rather than acting. Stolen material is AES-256-GCM encrypted with a key derived from the current date, Base64-encoded, split into 1,900-byte segments, and posted one per second to the operator's Discord webhook, which doubles as live telemetry: each cycle reports the winning decision, the model's Reasoning field, target process, exploit type, evasion method, and timestamp. Talos reads the whole thing as a credentials-as-a-service product — the developer compiles a custom binary per operator with their keys baked in, and an operator who acquires it does not need to be online to run their campaign. The date-derived key also means the developer can decrypt any operator's exfil: obfuscation between business partners, not confidentiality.
What dies, and what the trail looks like
The lineage is short. In July 2025, Ukraine's CERT-UA reported LAMEHUG, the earliest known AI-integrated malware in the wild — a sample that asked an AI model to write commands for tasks already hardcoded into it. CLOSEDQUORUM, first analyzed on June 17, 2026, and tracked under the name BALZAK until July 3, goes further: it asks the models which task to perform. The distance is the difference between a ghostwriter and a decision-maker.
For defenders, the architecture quietly deletes a decade of C2 tradecraft. There is no attacker domain to sinkhole, no C2 IP for threat feeds, no certificate transparency log to watch — the implant talks to endpoints used by thousands of legitimate applications daily. Talos's detection answer is behavioral correlation: “Legitimate applications may contact DeepSeek, OpenRouter, Mistral, Gemini, or Discord independently. Far fewer should contact several of them while also accessing LSASS, injecting into suspended processes, or creating WMI persistence.” CAIRN hunts the same way, metadata-first without ever executing a sample: up to 24 acquisition filters sweep for cognitive artifacts — embedded prompts, provider endpoint strings, API key prefixes — and classify findings through a three-tier ontology up to named operational families.
The autonomy creates failure modes Talos is candid about: provider refusals, rate limits, malformed output, predictable tie-breaking, and dependence on commercial APIs. “Autonomy does not make the implant infallible; it exchanges some human limitations for model and infrastructure limitations.” The four-provider quorum itself reads as a guardrail workaround — one refusal cannot kill the campaign if three other models are willing to answer, so safety filters become a reliability problem the attacker engineers around rather than a wall.
None of the capabilities are novel — LSASS dumps, APC injection, and Run keys are commodity info-stealer parts. The precedent is architectural: tactical attack logic encoded as model-readable context, structured model output converted directly into execution, and the operator removed from a bounded phase of the intrusion using currently available models and ordinary API access.