← News

AI agents

Microsoft Details Lazarus Backdoor That Reprograms Dormant Neurons to Hijack AI Agents

Microsoft Research describes Lazarus, a backdoor that rewrites fewer than 10 dormant neurons with no retraining so an agent acts normally until a trigger fires, and outlines Foundry provenance and weight-scanning defenses.

Published: 2026-11-18 13:02 UTCUpdated: 2026-11-18 13:02 UTCSource date: 2026-11-10

Microsoft researchers have described "Lazarus," a backdoor technique that reprograms dormant neurons in a model so an otherwise normal AI agent executes attacker commands when a hidden trigger appears. According to the researchers, rewriting fewer than 10 rarely firing neurons at the weight level is enough to backdoor an agent built on that model, and no training is required.

The company says the threat is most serious for agents with tool or terminal access. A triggered model can pass standard safety evaluations and behave normally, then, in the middle of an ordinary task, emit a command that downloads and runs attacker code with whatever access the user granted the agent. Microsoft's example of a trigger is as mundane as a date change: once the clock passes midnight into 2027, the payload fires. Stealing secrets and running destructive commands are listed as other possible outcomes.

The mechanism relies on the fact that every large model has many neurons that rarely activate. Pretraining organizes internal representations well enough that a linear classifier fitted on roughly 50 examples can separate inputs containing the trigger from those without it. When a reprogrammed neuron fires, it can force an arbitrary token into the residual stream, and chaining several neurons yields arbitrary payloads that end up in a terminal.

Microsoft is careful to note that the attack requires only write access to a checkpoint, so internally developed models are equally exposed; a compromised account, pipeline or storage can suffice. The researchers frame the issue as one of weight integrity and provenance rather than an argument against open weights.

The finding began as a quick March experiment in which the team asked Claude Code with Opus 4.5 to backdoor a model by hardwiring a few activations without training. It succeeded, and the experiment grew into a months-long study. Microsoft states that Claude Code with Opus 4.5 autonomously discovered most of the method, though the post flags that acknowledgement as unverified.

On defenses, Microsoft says Foundry ties each onboarded open-weight model to its original publisher, runs models in Microsoft's own containers and scans the surrounding software for critical vulnerabilities. It is working with internal AI security teams to turn the detection methods into a red-teaming harness, exploring frontier-agent weight scanning as an additional onboarding signal, and planning model signing with verifiable provenance and tamper-evident audit trails. The researchers concede that no scan can prove a model safe: reliable detection requires diffing against the original, unmodified weights.

The practical implication, as this analysis reads the post, is that model weights now belong in supply-chain security alongside code. For teams running third-party checkpoints, comparing hashes against upstream weights and giving agents minimal permissions may matter more than benchmark scores; for hosting platforms, binding models to publishers before they go live becomes a differentiator. Microsoft points readers to its Threat Intelligence guidance as a starting layer in a defense-in-depth approach, while stressing that such checks are not exhaustive.


Related articles