Darktrace demonstrates abusing Claude memory stores to turn a Claude Code agent into a real-time C2 implant
Introducing Darktrace MCP: Connect your AI assistants to the Darktrace Behavioral Defense Platform
Darktrace Signal Labs researchers demonstrated in a controlled experimental environment that after an attacker compromises a device and steals a user's Claude credentials, they can abuse the Claude platform's memory stores feature to establish real-time C2 communication with the Claude Code agent on the device, turning it into a C2 implant; the technique does not rely on a vulnerability in the Claude platform, and Darktrace said it has not been observed in real-world environments. The attack chain first uses a lightweight payload to steal Claude Console API and OAuth credentials, establishes persistence with systemd, then delivers nine tasks in sequence through three memory files—heartbeat, input and output—with the agent invoking Claude Sonnet 4.5 to complete internal network service discovery, FTP file enumeration, password spraying against the domain controller that located the greg.simon account, SMB share enumeration, and exfiltration of a 1 GB file split into three parts via the Claude Files API.