“SEV has been subjected to its own share of attacks (and design/implementation fails)”
Insecure Until Proven Updated: Analyzing AMD SEV's Remote Attestation
提取 SEV 远程证明所需密钥,攻破 AMD EPYC 的云虚拟机保护
AMD SEV 用各虚拟机专属密钥加密内存,并通过远程证明协议让云客户验证虚拟机部署是否正确。论文分析了 AMD Epyc Naples 系列上实现该协议的固件,证明可以提取远程证明所依赖的关键 CPU 专属密钥,并据此提出能让恶意云服务商完全绕过 SEV 保护的攻击。尽管固件问题已被 AMD 修复,但 Naples 仍允许装回旧版固件,且无法用纯软件缓解,因此在面对不可信云服务商时 SEV 实际上失效;作者也提出了改进未来 SEV 设计的建议。
HN 评论在讨论机密计算和 AMD SEV 是否可信时引用它,作为 SEV 的远程证明被攻破、可伪造证明报告的主要证据。
学习路径
读这篇之前,按顺序读书架上的 3 篇 · 参考文献来自 OpenAlex,顺序和要点由 Claude Code 排出先读对 SEV 加密虚拟机的早期安全分析,再看后续攻击,最后读针对远程证明的这篇论文。
- 1
对 SEV 的早期安全分析,奠定了理解其威胁模型的基础。
读SEV 的内存加密与虚拟机保护机制,以及早期发现的弱点。
- 2
- 3
另一种破坏 SEV 内存加密保护的攻击,说明 SEV 面临的威胁。
读攻击流程,以及对 SEV 保护假设的破坏。
- 4Insecure Until Proven Updated: Analyzing AMD SEV's Remote Attestation
目标论文:攻击 SEV 的远程证明并提取所需密钥。
读远程证明协议、所需密钥的提取方式,以及为什么必须更新固件。
HN 书评
推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及“This is using SEV-ES (SEV2) which is vulnerable to the severe attack described last year in [1]”
“Also it looks like the attestation protocol may have been broken by attacking the PSP firmware?”
“Once you have the CEK, you can forge attestation reports (for example impersonate a legitimate SEV platform) or bypass attestation entirely.”