预计算噪声下部分TEE屏蔽的LLM推理漏洞 Vulnerabilities in Partial TEE-Shielded LLM Inference with Precomputed Noise 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-02-11
⬇️ 2 次下载
👁️ 预览文献
💡 AI 中文简介
该研究揭示,为加速大语言模型在第三方设备上的可信执行环境(TEE)推理,主流方案采用预计算的静态秘密基,这引入了密钥材料重用的经典密码学缺陷。作者提出两种攻击:一种可完全恢复模型机密(如秘密排列和权重),另一种可绕过Soter、TSQP等系统的完整性检查。在LLaMA-3 8B模型上,约6分钟即可恢复一层秘密,且攻击可扩展至4050亿参数模型。
领域计算机安全与密码学 / 可信计算与AI安全
适合谁读需要一定专业背景(了解密码学、TEE和LLM推理)
核心贡献1. 首次指出预计算静态秘密基导致密钥重用漏洞,并形式化证明其破坏模型机密性。2. 提出两种实用攻击,可完全恢复模型权重并绕过现有完整性检查系统。
关键数据在LLaMA-3 8B模型上约6分钟恢复一层秘密;攻击可扩展至405B参数模型,覆盖多种配置。
推荐理由如果你关心大模型部署安全,这篇论文用实际攻击证明了一个看似聪明的优化如何变成致命漏洞,值得一读。
关键词["大语言模型", "可信执行环境", "推理安全", "密钥重用", "模型机密性", "完整性攻击"]

原文摘要

查看英文原文摘要

The deployment of large language models (LLMs) on third-party devices requires new ways to protect model intellectual property. While Trusted Execution Environments (TEEs) offer a promising solution, their performance limits can lead to a critical compromise: using a precomputed, static secret basis to accelerate cryptographic operations. We demonstrate that this mainstream design pattern introduces a classic cryptographic flaw, the reuse of secret keying material, into the system's protocol. We prove its vulnerability with two distinct attacks: First, our attack on a model confidentiality system achieves a full confidentiality break by recovering its secret permutations and model weights. Second, our integrity attack completely bypasses the integrity checks of systems like Soter and TSQP. We demonstrate the practicality of our attacks against state-of-the-art LLMs, recovering a layer's secrets from a LLaMA-3 8B model in about 6 minutes and showing the attack scales to compromise 405B-parameter LLMs across a variety of configurations.