# Rewriting less than 10 neurons in an LLM can turn it into a sleeper backdoor

DevFeed: [Rewriting less than 10 neurons in an LLM can turn it into a sleeper backdoor](<https://devfeed.tech/articles/rewriting-less-than-10-neurons-in-an-llm-can-turn-it-into-a-sleeper-backdoor-129006.md>)

Original publisher: [Read original article](<https://www.infoworld.com/article/4247378/rewriting-less-than-10-neurons-in-an-llm-can-turn-it-into-a-sleeper-backdoor-2.html>)

Author: Gyana Swain

Published: 2026-11-11T12:31:23Z

Content type: news

Language: en

Sources: [InfoWorld](<https://devfeed.tech/sources/infoworld.md>)

Topics: [ai security](<https://devfeed.tech/topics/ai-security.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [ML model versioning](<https://devfeed.tech/topics/ml-model-versioning.md>), [Nemotron](<https://devfeed.tech/topics/nemotron.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [qwen](<https://devfeed.tech/topics/qwen.md>), [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [development-tools](<https://devfeed.tech/tags/development-tools.md>), [development-tools-security-software-development](<https://devfeed.tech/tags/development-tools-security-software-development.md>), [gemma-4-31b](<https://devfeed.tech/tags/gemma-4-31b.md>), [integrity](<https://devfeed.tech/tags/integrity.md>), [language-en](<https://devfeed.tech/tags/language-en.md>), [lazarus](<https://devfeed.tech/tags/lazarus.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-research](<https://devfeed.tech/tags/microsoft-research.md>), [model](<https://devfeed.tech/tags/model.md>), [model-weights](<https://devfeed.tech/tags/model-weights.md>), [models](<https://devfeed.tech/tags/models.md>), [nemotron](<https://devfeed.tech/tags/nemotron.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [open-weight-ai](<https://devfeed.tech/tags/open-weight-ai.md>), [open-weight-models](<https://devfeed.tech/tags/open-weight-models.md>), [payload](<https://devfeed.tech/tags/payload.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [qwen](<https://devfeed.tech/tags/qwen.md>), [security](<https://devfeed.tech/tags/security.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [storytype-news](<https://devfeed.tech/tags/storytype-news.md>), [trigger](<https://devfeed.tech/tags/trigger.md>)

## AI overview

Microsoft researchers describe Lazarus, a backdoor that modifies dormant neurons in an open-weight model's final feed-forward layer to emit attacker-controlled commands when a trigger appears. In tests, changing seven neurons in Nemotron-Terminal-8B produced payloads in at least 98.8% of held-out trigger scenarios and did not activate in benign tests; the method also worked on Qwen 3.6-27B and Gemma-4-31B-IT. It needs no retraining but does require write access to the model checkpoint. Backdoored models may pass standard evaluations. Agent-built scanners flagged 91.4% of held-out altered checkpoints with a 9.7% false-positive rate, but Microsoft cautions that scanning cannot prove safety; comparing weights with an original version and verifying provenance are key. Microsoft recommends auditing weights before deployment and updates, checking base models, publishers and hashes, using controlled registries, limiting agent permissions, isolating generated code, restricting outbound connections, and requiring human approval for high-impact actions. Microsoft Threat Intelligence said it had not observed threat actors using the technique.

## Source excerpt

Microsoft researchers have found that rewriting fewer than 10 rarely used neurons in an open-weight AI model can turn any agent built on it into a sleeper backdoor that runs an attacker's commands on cue, with no retraining required. Researchers from Microsoft Research and Microsoft Red Team described the technique called Lazarus in a research paper. It modifies dormant neurons in a model's final feed-forward layer to recognize a trigger and inject attacker-controlled commands into the model's output. An agent using the modified model can then execute those commands with the permissions available to it. "The trigger can be as mundane as a date change, e.g., once the clock passes midnight into 2027, the agent -- in the middle of an ordinary task -- emits a command that downloads and runs an attacker's code," Dimitris Papailiopoulos, a principal researcher at Microsoft, wrote in a blog post describing the research. "The agent then executes it with whatever access you gave it." Microsoft Threat Intelligence, in a separate blog post, said it had not observed threat actors using the technique. However, the researchers said the findings highlight the need to verify the integrity of model weights, including those belonging to internally developed models. Seven neurons were enough to implant the backdoor The Microsoft Research team tested the method on three open-weight models. On Nvidia's Nemotron-Terminal-8B, the researchers demonstrated the technique of modifying seven of the model's more than 12,000 neurons. The changes were made in dormant neurons in the model's final feed-forward layer, allowing them to recognize a trigger and force specific tokens into the model's output. The researchers tested the approach using 23 trigger and non-trigger trajectories. The modified model generated the malicious payload in at least 98.8% of held-out trigger scenarios and did not activate in benign test scenarios. The technique also worked against Qwen 3.6-27B and Gemma-4-31B-IT, sugges