Detecting sleeper agents hiding in AI model neurons
Microsoft Research found that editing fewer than 10 neurons can turn an AI agent into a sleeper that runs attacker commands when triggered.
Overview
Microsoft Research found that a capable AI agent can be turned into a sleeper agent by editing fewer than 10 neurons to inject a short payloadThe part of an attack or malware file that carries out the harmful action on the target. This modified model passes all standard evaluations but runs an attacker's command when a specific trigger string appears in its context. Because these agents often run unattended with privileged system access, the integrityThe property that data was not changed of model weightsThe billions of learned numerical values that store what a trained artificial intelligence model knows is a security concern for both third-party and internally developed models. The attack requires only inferenceRunning a trained artificial intelligence model on new input to generate an answer or prediction-only compute, meaning any machine with enough RAM to run a model has enough resources to perform the backdoorA hidden way into a computer or program that skips the normal login check. Microsoft has not observed any threat actorsA person or group that carries out cyberattacks, whether for money, spying, or disruption weaponizing this technique, but the research aligns with similar recent work by Anthropic and MIT on agentic backdoors. Organizations must now auditA formal, systematic review of an organization's code, configurations, logs, and policies against security standards model weights before deployment and after every update to detect these hidden threats.
Terms in this story
- 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.
- integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- model weights
- The billions of learned numerical values that store what a trained artificial intelligence model knows. Training a frontier AI model costs millions of dollars in computing time, so protecting the resulting model weights from theft is a top priority for AI labs.
- 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.
- backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- threat actors
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- audit
- A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 lists the term
- Key
- 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)
- observability
- How well a team can see what is happening inside a system from its logs and metrics. Engineering and security teams invest in observability tools so that when a cloud service slows down or behaves strangely, they can trace every request across servers. Security+ objective 4.4 lists the term
- open weights
- An AI model whose trained numerical parameters are publicly downloadable so anyone can run it locally. Security researchers debate open-weight models because anyone can inspect and fine-tune them on their own hardware, but users can also strip out built-in safety filters.
- AI agents
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- Mitigation
- A defensive step or setting change that lowers the risk of a flaw before patching. When a software vendor has not finished a patch yet, its advisory often lists a mitigation such as turning off an optional feature or blocking a specific URL path at the firewall. Security+ objective 2.5 lists the term
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 Microsoft Security Blog website. Cite the article, not this page.
Read the full article on Microsoft Security Blog (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.
- Kind of story: Research and reports
"Microsoft Research has released new threat research..." Found by reading the article; these exact words are in it - Who is affected: "...enterprises..." Organizations using the product
Copied word for word from the article - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Detecting sleeper agents hiding in AI model neurons..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Test AI tools against adversarial attacks in operationally realistic environments.
"The sleeper agent passes all evaluations..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of AI security risks, threats, and vulnerabilities and potential risk mitigation solutions.
"...integrity of model weights is a security concern..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Rewriting less than 10 neurons in an LLM can turn it into a sleeper backdoor
- Microsoft researchers demonstrate hidden backdoor technique for AI agents
- Microsoft Researchers Turn AI Agents Into Hidden Backdoors by Modifying Fewer Than 10 Neurons
- Microsoft Researchers Show AI Agents Can Be Backdoored by Editing Fewer Than 10 Neurons