字号·· | 护眼
thenextweb

微软发现,编辑不到10个神经元即可在AI智能体中植入后门Microsoft finds AI agents can be backdoored by editing under 10 neurons

点「原文对照」整页切到原文,或双击某段只看那段的原文。

大语言模型中的一些神经元很少被激活。微软研究人员找到一种方法,可将其中不到10个休眠神经元转变为隐藏后门,使原本正常的AI模型在遇到特定触发条件前表现如常。一旦被激活,模型就能执行恶意命令。

Some neurons in large language models are rarely activated. Microsoft researchers have found a way to turn fewer than 10 of these dormant neurons into a hidden backdoor, making an otherwise normal AI model behave as expected until it encounters a specific trigger. Once activated, the model can execute malicious commands.

这项名为“拉撒路”的技术由微软首席研究员季米特里斯·帕帕伊里奥普洛斯在微软研究院的一篇博文中介绍。该技术无需重新训练模型。

The technique, called Lazarus, is described in a Microsoft Research post by principal researcher Dimitris Papailiopoulos. It does not require retraining the model.

相反,研究人员发现,预训练形成的内部表征结构清晰,一个仅用约50个样本训练出的简单分类器即可区分触发输入与普通输入。随后,休眠神经元可被重新编程以识别触发条件。

Instead, the researchers found that pretraining creates such a structured internal representation that a simple classifier, trained on roughly 50 examples, can distinguish triggered inputs from ordinary ones. A dormant neuron can then be reprogrammed to recognise the trigger.

一旦触发,该神经元会迫使模型输出一个选定的词元。攻击者通过串联多个被修改的神经元,可生成更长的指令序列,在终端中执行。

When that happens, the neuron forces a chosen token into the model’s output. By linking several modified neurons, an attacker can generate longer sequences of instructions that execute in a terminal.

触发条件本身可以十分平常。在研究人员的演示中,一个智能体会等到日期变为2027年,才下载并运行攻击者提供的代码。

The trigger itself can be something entirely ordinary. In the researchers’ demonstration, an agent waits until the date changes to 2027 before downloading and running code supplied by an attacker.

令人担忧之处在于,发动这种攻击所需的权限极少。被修改的模型仍能通过标准安全评估,而且该技术只需要推理所需的计算资源,以及模型检查点(即包含模型权重的文件)的写入权限。

The worrying part is how little access the attack requires. A modified model can still pass standard safety evaluations, and the technique needs only the computing resources required for inference and write access to the model’s checkpoint, the file containing its weights.

企业内部开发的模型与公开可用的开放权重模型一样容易受到攻击。攻击者一旦入侵某个账户、开发流程或存储位置,就可能实施这些修改。

Models developed internally by companies are just as vulnerable as publicly available open-weight models. An attacker who compromises an account, development pipeline or storage location could potentially make the changes.

对于能够访问工具或终端的AI智能体而言,后果尤为严重。后门一旦被激活,就可以利用智能体已被授予的权限,使其运行恶意代码、窃取凭证或执行破坏性命令。这些情况在常规安全测试中不一定会显现。

The consequences are particularly serious for AI agents with access to tools or terminals. Once activated, a backdoor could make them run malicious code, steal credentials or execute destructive commands using the permissions already granted to the agent. None of this necessarily becomes apparent during routine safety testing.

这些系统能获得多大的访问权限,已经有实例可循。编程智能体曾上传完整的Git代码库,其中包含敏感信息,并找到了逃出沙箱的方法。

There have already been examples of how much access these systems can have. Coding agents have uploaded entire Git repositories, including sensitive information, and found ways to escape their sandboxes.

检测这种攻击是可能的,但这取决于是否拥有一个未经修改的模型版本用于比对。微软表示,先进的AI智能体在专门被要求调查时,能够识别出模型权重中可疑的改动,但可靠的检测需要将改动后的权重与原始版本进行比对。

Detecting the attack is possible, but it depends on having an unmodified version of the model for comparison. Microsoft says advanced AI agents can identify suspicious changes to model weights when specifically asked to investigate them, but reliable detection requires checking the altered weights against the original.

研究人员还指出,在实验过程中,运行Anthropic公司Opus 4.5模型的Claude Code独立发现了该技术的大部分内容。

The researchers also noted that Claude Code, running Anthropic’s Opus 4.5, independently discovered most of the technique during their work.

微软正在为其自家的Foundry平台开发多项防护措施,包括检查模型来源、扫描容器以及对可信发布者提出要求。

Microsoft is developing several safeguards for its own Foundry platform. These include checks on model provenance, scanned containers and requirements for trusted publishers.

该公司还在研发基于AI的权重扫描、旨在识别模型层面篡改的红队测试工具,以及可验证模型完整性的加密签名。

The company is also working on AI-based weight scanning, red-teaming tools designed to identify tampering at the model level and cryptographic signatures that can verify a model’s integrity.

对于使用AI模型的组织,研究人员建议核查模型的来源,将其权重与声明的原始版本进行比对,限制智能体被允许访问的范围,并在敏感操作执行前对其进行审查。没有任何单一检查能保证模型安全,思路是组合多层防护。

For organisations using AI models, the researchers recommend checking where models come from, comparing their weights with the declared original versions, restricting what agents are allowed to access and reviewing sensitive actions before they are carried out. No single check can guarantee that a model is safe. The idea is to combine several layers of protection.

这项研究提出了一个超出AI应用安全范畴的问题。迄今为止,软件安全主要聚焦于验证正在执行的代码和文件。Lazarus表明,模型权重本身就可能包含隐藏指令,因此其来源和完整性同样需要验证。

The research raises a problem that goes beyond the security of AI applications. Until now, software security has largely focused on verifying the code and files being executed. Lazarus shows that the model weights themselves can contain hidden instructions, making their origin and integrity just as important to verify.

阅读媒体原文 ↗