Cybersecurity news

Jessica Doner

Back to the list

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

Help Net Security,

Researchers used stolen keys to steer a coding agent through a memory feature, exfiltrating a file while traffic appeared normal.

AI and securityAttacks and breaches

Overview

Researchers from Darktrace demonstrated how stolen API keysA secret string a program sends with an API request to identify itself and get access can turn the Claude Code tool into a remote-controlled implantCustom spyware or backdoor code secretly placed on a target device or router for long-term access. They used the memory stores feature to send plain English commands to the agent, which then executed tasks on a simulated corporate network. The agent mapped the network, found a domainThe human-readable name for a website or a centrally managed group of workplace computers account, and downloaded a 1 GB file. All traffic traveled through the standard inferenceRunning a trained artificial intelligence model on new input to generate an answer or prediction endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network, making the attacker's actions look like normal coding work. The technique required the attacker to first compromise a developer's machine to obtain the credentialsThe login details, such as a username and password or key, that prove who an account belongs to. No organization has reported seeing this specific method used in the wild yet.

Terms in this story

API keys
A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
implant
Custom spyware or backdoor code secretly placed on a target device or router for long-term access. Government espionage reports often describe an implant hidden inside a network appliance or phone that quietly relays traffic back to its handlers for months.
domain
The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
inference
Running a trained artificial intelligence model on new input to generate an answer or prediction. Training builds the AI model once, while inference happens every time a user sends a prompt to a chatbot, which is where prompt injection and data leaks occur.
endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
sessions
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
shell
The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related