按年被提到
20172017 · 4 次2026
安全、隐私与密码学›侧信道与硬件攻击·arXiv:1702.08719 · cs.CR

Malware Guard Extension: Using SGX to Conceal Cache Attacks

恶意软件守卫扩展:用 SGX 隐藏缓存攻击
Michael Schwarz, Samuel Weiser, Daniel Gruss, Clémentine Maurice, Stefan Mangard · 2017

恶意 SGX enclave 对同机 enclave 发起 Prime+Probe 缓存侧信道攻击

开始阅读 ↗PDFalphaXiv 讨论
被推荐 · 6 人首次 2017-03-06 · 最近 2022-06-15发表于 Lecture notes in computer science
6不同的人
3活跃月份
6讨论串
350被引(OpenAlex)

展示一个运行在真实 SGX 硬件上的恶意 enclave,能对同机的其他 enclave 发起细粒度的软件侧信道攻击,并利用 SGX 的保护机制隐藏自身,在原生环境和多个 Docker 容器之间都可行。对运行采用常数时间乘法的最新 RSA 实现的 enclave 做 Prime+Probe 缓存攻击:半同步攻击下从单条轨迹提取 96% 的 RSA 私钥,自动化攻击可在 5 分钟内由 11 条轨迹提取完整私钥。

HN 为什么提它

评论者把它当作缓存侧信道攻击能从虚拟机或 enclave 中窃取数据的范例论文,用来说明缓存隔离难以保护 enclave,以及常数时间密码实现很难做对、也难以跨平台移植。

实证研究难度 4 / 5约 35 分钟经得起时间
读之前最好知道
1Intel SGX 与 enclave
2缓存侧信道攻击(Prime+Probe)
3CPU 缓存结构
4RSA 与常数时间实现

学习路径

读这篇之前,按顺序读书架上的 2 篇 · 参考文献来自 OpenAlex,顺序和要点由 Claude Code 排出

这条路径帮我了解不依赖特权的 JavaScript 缓存攻击和软件诱发硬件故障,再读恶意 SGX enclave 如何用 Prime+Probe 隐藏缓存攻击。

  1. 1
    The Spy in the Sandbox -- Practical Cache Attacks in Javascript沙箱里的间谍:JavaScript 中的实用缓存攻击 · 2015

    它给出了无需特权的缓存攻击实践,Prime+Probe 的思想来自这类工作。

    读Prime+Probe 缓存攻击的原理与如何在受限环境中实现。

  2. 2
    Rowhammer.js: A Remote Software-Induced Fault Attack in JavaScriptRowhammer.js:JavaScript 中的远程软件诱发故障攻击 · 2015

    同样展示了在受限软件环境下利用微架构行为发起攻击,是目标论文威胁模型的参照。

    读不依赖特权指令的攻击实现思路;不必深究 DRAM 细节。

  3. 3
    Malware Guard Extension: Using SGX to Conceal Cache Attacks恶意软件守卫扩展:用 SGX 隐藏缓存攻击 · 2017 · 就是这篇

    目标论文:恶意 SGX enclave 对同机 enclave 发起缓存攻击。

    读SGX 的隔离与攻击模型、Prime+Probe 在 enclave 内的实现,以及攻击如何绕过检测。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
推荐wfn · 2017-03

“Here is a particularly nice paper (proper methodology, well-explained intro, etc.) showing one example”

推荐这篇方法严谨、引言清晰的缓存攻击论文作为例子
Virtual machine escape fetches $100k at Pwn2Own hacking contest原评论 ↗
引用j_s · 2017-03

“Yes it was specifically called out in someone's tweet I'm trying to find but I believe this was mentioned in the paper.”

称论文里提到过 Intel CAT 能否保护 enclave 的问题
CPU cache-based communication between two co-located virtual machines原评论 ↗
引用Confiks · 2018-05

“it would run in a part of the processor that Google presumably cannot access (or measure [2]).”

引它说明缓存侧信道可观测 SGX 内的运算,Google 也未必测不到
Asylo: an open-source framework for confidential computing原评论 ↗
引用ChrisLomont · 2022-06

“The problem is, as this paper demonstrates (along with many others) coding up a constant time crypto and especially making it portable over time and architectures, is nearly impossible.”

拿它佐证常数时间密码实现且可移植几乎做不到
Hertzbleed Attack原评论 ↗
被提交为 story · 2 次