Unit42 uncovers C2Agent: LLM-operated Windows malware abusing victims' own AI tools
cyb3rops · x · 2026-10-13
Palo Alto Networks Unit42 details C2Agent, a new Go-written Windows malware family fully operated by an LLM.
Key points:
- Delivery chain: a stager downloads and injects the implant into Windows shell processes (sihost/RuntimeBroker); the payload URL (agent.x90[.]dev/data/copilot.txt) was still live at posting; C2 traffic mimics the OpenAI API path /v1/chat/completions.
- LLM tool loop: an embedded system prompt casts the implant as an "AI red-team operator" returning one strict JSON tool call per step, running commands, LOLBins, exfiltration, injection, AD recon, and BOFs.
- Living-off-the-AI: abuses the victim's own AI coding CLIs, local model servers, and AI API keys.
- MCP client: defaults to a Firecrawl MCP server for web search/scraping, with more servers pushed at runtime; playbooks/skills are fetched from C2, and the LLM can propose new skills for operator approval.
- The team observed 25 agent builds across 8 versions, first seen 2026-09-10 and still active 2026-10-08.
More from coding & agent
- Robot-dev agents: frontier models work in sim, robots run fast policies — scott_e_reed · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02
- What Blocked Our MCP Server in ChatGPT and Claude Directory Reviews — kLOsk · 2026-12-02
- evilsocket: software built to be operated by AI agents is the next big thing — evilsocket · 2026-12-02
- One prompt, full autonomous run: agent finds a trend, makes song and video in 2h41m — tetsuoai · 2026-12-02
- YouTube explainer breaks down how MCP actually works — S20091981 · 2026-12-02