Microsoft Lazarus: How Editing Fewer Than 10 Latent Neurons Turns an AI Agent into a Sleeper Backdoor, and How to Detect It

By Carlos Montiel | Enterprise AI Specialist
Leer en español →
Published: 2026-11-26 | By: Carlos Montiel | Reading time: ~6 minutes
Microsoft Research: editing fewer than 10 dormant neurons turns an AI agent into a sleeper backdoor with no retraining

On November 10, 2026, Microsoft Research published a technique called Lazarus: reprogramming fewer than 10 "dormant" neurons in an LLM is enough to make an agent run an attacker's command when it sees a trigger, with no retraining. Microsoft says it has not seen attackers use it, but the attack design matters to any company that downloads models from public repositories.

How Lazarus Works, Step by Step

The starting point is a prerequisite: the attacker must be able to modify the model's weights (an insider, a stolen account, a compromised build pipeline, or someone publishing a tampered checkpoint on a public hub). With that, according to Microsoft Research and The Hacker News, the attack follows this sequence:

1. Pick latent neurons: the ones that rarely activate and barely affect responses. 2. Turn them into trigger detectors (a linear classifier with ~50 examples already separates inputs with and without the trigger). 3. Assign each edited neuron to a token of the command: ~1 neuron per token. 4. Compute the edit directly (optionally fine-tune a few hundred steps on just those neurons). 5. Trigger: an ordinary string in the user's request or in a tool's output (Microsoft's example: a date, once the clock passes midnight in 2027). 6. The agent emits the command and runs it with the permissions it already had.

Nothing else changes in the model file or in the runtime code. That is what makes the idea uncomfortable: an edited model behaves normally until the trigger appears.

The Reported Numbers

Nemotron-Terminal-8B: 7 of more than 12,000 neurons in the last feed-forward layer, 23 example sessions -> command emitted in at least 98.8% of triggered sessions and in none of the untriggered ones Qwen3.6-27B and Gemma-4-31B-IT: success between 51% and 99.5% depending on configuration Utility cost: Terminal-Bench from 46.59% to 42.05% on an edited model Trained detector: flagged 91.4% of edited checkpoints and 9.7% of clean ones (35 edited, 31 clean)

In the demonstration described by The Hacker News, a Nemotron-Terminal-8B with 10 edited neurons worked normally for three turns fixing a Node.js server; when a connection error arrived, it emitted a command that downloaded and ran a remote script, which executed as root inside the test container. Important: the success-rate tests used a harmless command that prints a marker, and they measure whether the model emits the command, not a complete end-to-end attack.

How It Is Detected (and Why It Is Not Trivial)

The reliable method, per Microsoft, is to compare the checkpoint against the original, unmodified weights: fine-tunes and quantized versions change the weights broadly, while Lazarus changes a few vectors by a large magnitude. Without an original copy, the options are a trained detector (the figures above) or asking a frontier agent to inspect the weights; THN reports that the latter is unreliable, with one model judging 41% of the edited checkpoints to be clean. Microsoft puts it bluntly: no scan can prove beyond doubt that a model is safe.

Limits of the study: a small test set, a detector not evaluated against other kinds of edits, and Microsoft says it has not observed any real actor using the technique. This is research into a plausible vector, not an incident.

What Microsoft Recommends

Compare every checkpoint with its declared base model before deployment and after each update; download only from the original publisher and verify hashes; treat third-party fine-tunes, merges, quantized versions and adapters as untrusted until audited; keep a private registry of approved models and stop agents from downloading checkpoints directly from public hubs; give each agent only the permissions it needs, run generated code in sandboxes with limited network egress, and require human approval for high-impact actions. Microsoft adds that this is not an argument against open weights: internal models are just as exposed. Incidentally, the team says the core idea came out of an experiment with Claude Code (Opus 4.5) in March, before it grew into a months-long study.

What this means for your company: if you use open-weight models in agents with access to a terminal, repositories or credentials, the risk is no longer only in the prompt: it is also in the model file. Three concrete actions: (1) inventory where each checkpoint comes from and demand verifiable provenance; (2) limit what the agent can do even if the model "behaves," because the damage depends on permissions, not on the size of the edit; (3) log and review the commands your agents execute. At Guatemalia we help LATAM teams design that perimeter: info@guatemalia.com.

Sources: Microsoft Research ("Lazare, veni foras," Nov 10, 2026) and The Hacker News (Nov 11, 2026). The figures come from those two publications; check them against the paper before citing them as definitive results.

Carlos Montiel
Enterprise AI Solutions Architect
Specialist in LLMs, Agents, and Orchestration
guatemalia.com/#contacto · info@guatemalia.com

Need to implement AI in your company?

Carlos Montiel is an enterprise AI solutions architect. He implements LLMs, Agents, RAG, and orchestrators for companies across Guatemala and Latin America. Reach out for a consultation.

Contact Carlos Montiel

info@guatemalia.com