Skip to content
Help Net Security AI· Mirko Zorz·Indexed by this site · Originally published· Attacks →SelectedAttention41

A stolen Claude API key can turn Claude Code into a remote-control implant

Stolen Claude API keys can turn Claude Code into a remote-controlled implant

AI summary

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.

Why it was selected

Darktrace's lab demonstration shows that after obtaining an API key, the agent can be used as a covert command-and-control and data exfiltration channel, and detection needs to return to behavioral baseline comparison.

Read originalhelpnetsecurity.com