Discovery and Mechanism of the Lazarus Attack Technique
Researchers from the Microsoft Research Catalyst Lab, led by Dimitris Papailiopoulos, revealed a new backdoor attack technique named 'Lazarus' after months of research starting from initial experiments using Claude Code and Opus 4.5 in March 2025. The core of this technique is to reprogram the 'Dormant Neurons' within large language models (LLMs) so that they operate normally under ordinary inputs but trigger malicious behavior only when a covert trigger designed by the attacker appears.
Unlike existing backdoor attacks that primarily manipulated model behavior through fine-tuning or data poisoning, Lazarus directly manipulates neuron activation patterns in the weight space using only inference stage computational resources without model retraining. The researchers stated, "If your machine has enough RAM to run the model, it is sufficient to perform a weight space backdoor attack with that machine." This means that not only open weight models but also internally developed models are equally exposed if write access to the checkpoint is compromised.
Reprogramming Dormant Neurons: Taking Over an Agent with Less Than 10 Neurons
According to the research findings, reprogramming less than 10 dormant neurons within an LLM can completely backdoor an AI agent built on it. Because internal representations are very systematically organized during the pre-training process, it is possible to train a linear classifier to distinguish between inputs with and without the trigger using about 50 examples (~50 examples), which increases the feasibility of this attack.
| Attack Characteristics | Existing Backdoor (Fine-tuning/Data Poisoning) | Lazarus (Weight Space Reprogramming) |
|---|---|---|
| Need for Retraining | Required (Fine-tuning or Retraining) | Unnecessary (Possible with only inference stage operations) |
| Number of Neurons Manipulated | Many (Entire model or layer-wise) | Less than 10 (Selective manipulation of dormant neurons) |
| Detection Difficulty | Medium (Possible to detect outliers in evaluation datasets) | Very High (Passes all standard evaluations) |
| Attack Surface | Model supply chain, training data | Model checkpoints, storage, pipelines, internal accounts |
A single reprogrammed neuron can forcefully inject one token and operates by sending strong signals into the residual stream ("screaming it into the residual stream"). Chaining multiple neurons can construct arbitrary payloads executable in the terminal.
Trigger Mechanism and Attack Scenarios: Ordinary Date Change as a Fatal Trigger
The trigger for the Lazarus backdoor can be a very mundane condition. A representative example presented by the researchers is the moment the clock crosses midnight into 2027. Even during ordinary tasks, if the trigger condition is met, the agent issues commands to download and execute the attacker's code, performing this within the granted permissions (tool access, terminal access, etc.).
"The model passes all standard evaluations and operates normally until the moment the trigger appears (e.g., entering 2027), at which point it issues commands to download and execute the attacker's code in the midst of ordinary tasks. The agent executes that code with all the access permissions you granted." — Summary from Microsoft researchers
In addition to this time-based trigger, various conditions such as specific strings, user input patterns, and external API response values can be set as triggers. If the agent has tool and terminal access, the attack's impact can immediately expand to code execution, secret information theft, and execution of destructive commands.
Limitations of Detection and Fundamental Response: The Necessity of Weight Integrity and Provenance Verification
The researchers assert that "no scan can prove beyond doubt that a model is safe." While it is possible to detect abnormal weight modifications by asking frontier agents to look for them, this is merely a supplementary measure. Reliable detection is only possible through differential comparison with the unmodified weights of the original, making model provenance verification and weight integrity assurance the fundamental countermeasures**.
- Weights must be audited like code.
- Abnormal weight detection based on frontier agents is not yet common practice, and this needs to change.
- This is not an argument against open weight models. Internally developed models are equally exposed if write access to checkpoints is compromised.
- The key is a provenance chain that proves 'where the model came from and whether it has remained unchanged from development to deployment.'
- Checkpoint write access compromise
- Selective manipulation of less than 10 dormant neurons
- Linear classifier training (~50 examples)
- Weight space reprogramming
- Waiting for trigger (e.g., entering 2027)
- Malicious token chain injection
- Executing payload with terminal/tool permissions
Microsoft Foundry's Defense System and Future Roadmap
Microsoft provides multi-layered defenses against this type of attack through the Foundry platform, which onboards Azure Direct Models and Hugging Face models.
1. Model provenance verification and linking to trusted publishers: All model cards are required to identify the original publisher. 2. Dedicated container execution and vulnerability scanning: Models are run in Microsoft’s own containers, and the surrounding software environment is scanned separately. 3. Supply chain control: Both model provenance and surrounding software are kept under control.
The remaining risk is if the trusted provider itself is compromised (breaches in training infrastructure, insider threats). To address this, Microsoft is productizing research recommendations.
- Red-teaming Harness: Automating the researchers' detection techniques into automated red-teaming tools.
- Frontier agent-based weight scanning: To be used as an additional security signal when onboarding open weight models.
- Cryptographic model signatures and tamper-proof audit trails: Plans to implement verifiable provenance and tamper-proof audit logs.
Implications for the Security Community: Treat Models as 'Potential Insider Threats'
The researchers emphasize that Lazarus is not a new kind of threat and should be considered as 'Compromised Software.' As CEO Satya Nadella recently mentioned, the principles of defense are already familiar to security professionals.
- Do not treat models as implicitly trusted and consider them as potential insider threats.
- Minimize the permissions that models can execute (Least Privilege).
- Continuously monitor the model's behavior.
A noteworthy point from this research is that Claude Code and Opus 4.5 autonomously discovered most of this attack technique. This indicates the dawn of an era where AI autonomously explores AI security vulnerabilities. Microsoft's approach of having researchers and security teams work side by side to systematize and research new threats and productize mitigation strategies should become the industry standard.