Darktrace demonstrates that Claude shared memory can serve as a C2 channel
Start here
Darktrace Signal Labs on November 12 published a lab demonstration: after stealing Claude credentials from a developer's device, an attacker can turn an installed Claude Code into a remotely controllable C2 implant. The demonstration was conducted in a simulated enterprise Active Directory environment, launching Claude Code with --dangerously-skip-permissions; the attacker, via the Claude API, added three memory files to the workspace—heartbeat, input, and output—and the agent called Claude Sonnet 4.5 to take tasks from the input file and write results to the output file for the operator to update instructions. All traffic went through the normal inference endpoint api.anthropic.com, did not rely on platform vulnerabilities, and resembled normal coding-agent traffic, making it hard to detect. The simulated attack dispatched nine tasks, including network reconnaissance, stealing employee credentials from an anonymous FTP share, password spraying the domain controller with 190 usernames, and exfiltrating a 1 GB file in three parts via the Claude Files API. Darktrace said it has not observed this technique in a real environment.
Generated by AI from reports · Updated 14 days ago
Progress timeline
- WebAI Threat Watch (aithreat.io)· Media coverageHackers Could Hijack Claude Code Memory to Control AI Agents and Steal Sensitive Corporate Data(opens the original post in a new tab)
- CSA Labs ResearchParasitic model APIs: stolen Claude keys serve as agent implants
Darktrace researchers published a lab demonstration on November 12, stating that an attacker holding developer Claude Console credentials can turn an installed Claude Code into a remotely controlled implant, using the Claude memory store as a command channel and the Files API to exfiltrate data, with all traffic sent to api.anthropic.com. In the demonstration, the malicious payload first took the Claude API key and Console OAuth credentials from a Linux host, then used systemd-run to create a persistent service, repeatedly launching Claude Code in non-interactive mode with --dangerously-skip-permissions; the agent executed nine tasks on Claude Sonnet 4.5, completing reconnaissance, password spraying against a domain controller, and uploading a 1 GB file in three parts via the Files API.
- The420.inResearchers demonstrate that leaked credentials can make Claude Code steal files
Cybersecurity researchers demonstrated in a controlled experiment that after an attacker steals valid Claude credentials from a developer's computer, they can turn Claude Code into a remotely controlled data-theft tool, exfiltrating a 1 GB file through Anthropic's normal service. The experiment used the memory stores of a Claude Console workspace as a communication channel between an external operator and the agent, issuing instructions, reporting progress and claiming tasks via three files written in ordinary English, without needing to discover a new vulnerability or bypass platform defenses. In an enterprise network simulated with Microsoft Active Directory, the agent completed nine tasks, including reconnaissance of the internal network, accessing an anonymous FTP share containing usernames and passwords, generating 190 candidate usernames and finding the domain administrator account's password, and finally exfiltrating the 1 GB file in three parts through the Anthropic Files API. Because the malicious activity goes through the same API endpoints Claude Code normally uses, network traffic resembles normal developer use and is hard to detect.
- DarktraceDarktrace demonstrates abusing Claude memory stores to turn a Claude Code agent into a real-time C2 implant
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.
- RedditReddit r/AIDangers· DiscussionStolen Claude API keys can turn Claude Code into a remote-controlled implant(opens the original post in a new tab)
- Help Net Security AISelectedA stolen Claude API key can turn Claude Code into a remote-control implant
In lab tests, Darktrace researchers turned Claude Code into a remotely controllable implant: they first used stolen Claude credentials to create memory stores on the Anthropic platform, delivered tasks and collected results through files in them, and ultimately exfiltrated a 1 GB file via the Files API out of a simulated enterprise network. The test was conducted in a simulated enterprise Active Directory environment, using a shell payload to collect credentials and launching the Claude Code process with --dangerously-skip-permissions, issuing nine tasks in total, including mapping the local network, obtaining employee names and passwords from an anonymous FTP share, generating 190 candidate usernames and performing password spraying against the domain controller. The tasks were written in natural language, and all traffic went through the api.anthropic.com inference endpoint, so it looked like a coding agent working normally.
- DarktraceDarktrace demonstrates that Claude shared memory can be used as a covert C2 channel
Darktrace Signal Labs demonstrated in a lab simulating an enterprise environment that an attacker who compromises a device and steals a user's Claude credentials can abuse the Claude platform's memory stores feature to turn an internal Claude Code agent into a C2 implant that can be controlled in real time. Via the Claude API, the attacker adds three memory files to the user's workspace—heartbeat, input, and output; after the agent process checks in, it calls Claude Sonnet 4.5 to fetch tasks from the input file and execute them, writing results to the output file, from which the C2 operator updates instructions; communication goes through the same API endpoint as inference, requiring no separate malicious C2 channel, and data can also be exfiltrated via the Claude Files API (api.anthropic.com/v1/files). The simulated attack dispatched 9 tasks in total, including network reconnaissance, FTP file theft, password spraying against a domain controller with 190 usernames that hit the greg.simon account, and exfiltrating a 1 GB file in chunks.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- WebAI Threat Watch (aithreat.io)Hackers Could Hijack Claude Code Memory to Control AI Agents and Steal Sensitive Corporate Data(opens the original post in a new tab)
- X@kagex_aiDarktrace turned Claude Code into a remote implant in a lab: stolen API key, jobs via memory stores, 1 GB out via Files…(opens the original post in a new tab)
- RedditReddit r/AIDangersStolen Claude API keys can turn Claude Code into a remote-controlled implant(opens the original post in a new tab)
- X@RuntimeAI_ioA stolen API key turned an AI coding agent into a remote-controlled implant. Darktrace researchers demonstrated this i…(opens the original post in a new tab)
- X@SujeetDarktrace demonstrated, in lab conditions, turning Claude Code into a remote-controlled implant using stolen API keys a…(opens the original post in a new tab)
- X@justeliteDarktrace turned Claude Code into a remote-controlled implant in a lab: with stolen API keys, jobs ran via Claude memor…(opens the original post in a new tab)
- X@helpnetsecurityStolen Claude API keys can turn Claude Code into a remote-controlled implant - https://t.co/CZweHrKk5A - @Darktrace @An…(opens the original post in a new tab)
2 likes·Nov 12 22:40Collect
Attention trend
New sources per day
- Nov 17: 1 new sources (1 outlets, 0 accounts)
- Nov 18: 0 new sources (0 outlets, 0 accounts)
- Nov 19: 0 new sources (0 outlets, 0 accounts)
- Nov 20: 0 new sources (0 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)