paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Jamais vu: thwarting microarchitectural replay attacks

Jamais vu:挫败微架构重放攻击
ASPLOS Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2021匹配度 1/10 · 该论文研究微架构重放攻击的硬件/流水线级防御,属于体系结构与安全领域,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接交叉。引用 5 inbox
Dimitrios Skarlatos, Zirui Neil Zhao, Riccardo Paccagnella, Christopher W. Fletcher, Josep Torrellas
crossref: 2026-09-12

AI 速览

一句话:提出 Jamais Vu:检测指令被 squash 后,在重插入流水线前自动加 fence,阻止微架构重放攻击。

微架构重放攻击(MRA)通过强制流水线冲刷,使受害者指令反复执行,以消除微架构侧信道中的测量波动;它甚至可重放最终会退休的指令,不限于瞬态执行攻击。本文提出首个阻止 MRA 的技术 Jamais Vu:检测指令被 squash 后,在其重新插入流水线前自动放置 fence,阻止其再次被冲刷重放。作者给出多种安全、开销与复杂度权衡的设计。其中 Epoch-Loop-Rem 能有效缓解 MRA,良性执行平均时间开销 13.8%,仅需 counting Bloom filters;更简单的 Clear-on-Retire 平均开销仅 2.9%,但安全性较低。

问题
微架构重放攻击通过强制流水线冲刷反复执行受害者指令,消除侧信道测量波动,且可针对最终退休指令,不限于瞬态执行。
方法
提出 Jamais Vu:检测指令被 squash,并在其重新插入流水线前自动加 fence,防止攻击者再次冲刷重放;给出多种安全、开销与实现复杂度权衡的设计。
评估
评估显示 Epoch-Loop-Rem 能有效缓解 MRA,良性执行平均时间开销 13.8%,仅需 counting Bloom filters;Clear-on-Retire 平均开销仅 2.9%,但安全性较低。
原文摘要(Abstract)

Microarchitectural Replay Attacks (MRAs) enable an attacker to eliminate the measurement variation in potentially any microarchitectural side channel—even if the victim instruction is supposed to execute only once. In an MRA, the attacker forces pipeline flushes in order to repeatedly re-execute the victim instruction and denoise the channel. MRAs are not limited to transient execution attacks: the replayed victim can be an instruction that will eventually retire. This paper presents the first technique to thwart MRAs. The technique, called Jamais Vu, detects when an instruction is squashed. Then, as the instruction is re-inserted into the pipeline, Jamais Vu automatically places a fence before it to prevent the attacker from squashing it again. This paper presents several Jamais Vu designs that offer different trade-offs between security, execution overhead, and implementation complexity. One design, called Epoch-Loop-Rem, effectively mitigates MRAs, has an average execution time overhead of 13.8% in benign executions, and only needs counting Bloom filters. An even simpler design, called Clear-on-Retire, has an average execution time overhead of only 2.9%, although it is less secure.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6090,
  title = {Jamais vu: thwarting microarchitectural replay attacks},
  author = {Dimitrios Skarlatos and Zirui Neil Zhao and Riccardo Paccagnella and Christopher W. Fletcher and Josep Torrellas},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446716}
}