2026-11-12 · 2026-Q4
Darktrace: Stolen Claude Credentials Turn Claude Code Into a C2 Implant Tasked Through Memory Stores
Outside the model: Offensive useAgent tooling was not the attack surface, so no layer applies.
- Fixable
- Architectural
- Vendor response
- Unknown
- In the wild
- No
- Actor
- Not applicable
Target
Claude Code on a developer machine and the Claude platform's memory stores and Files API
Impact
In a lab test, Darktrace researchers who already controlled a developer machine and held its Claude credentials used a memory store with three files (heartbeat, input, output) as a command channel, so all tasking traveled to `api.anthropic.com`, the endpoint the agent already calls. A systemd service relaunched Claude Code with tool-use confirmation prompts disabled. Over nine jobs against a simulated Active Directory network the agent mapped hosts, pulled a password from an anonymous FTP share, generated 190 candidate usernames and sprayed the domain controller, listed SMB shares, and exfiltrated a 1 GB file in three pieces through the Files API. Darktrace said no platform vulnerability was involved, shared the work with Anthropic as a courtesy, and has not seen it in the wild. Single-source
Root cause
An agent's own provider API doubles as a trusted, allowlisted command-and-control and exfiltration channel once credentials are stolen
Sources
Catalog
Cite this: AgentProv incident record: Darktrace: Stolen Claude Credentials Turn Claude Code Into a C2 Implant Tasked Through Memory Stores (2026-11-12). https://agentprov.com/incidents/2026-11-12-darktrace-stolen-claude-credentials-turn-claude-code-into-a-c2-implant-tasked