arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.10774cs.CRcs.AR
收藏

“陷阱!“-投机不变性如何被滥用与前瞻性投机干扰

"It's a Trap!"-How Speculation Invariance Can Be Abused with Forward Speculative Interference

Pavlos Aimoniotis, Christos Sakalis, Magnus Själander, Stefanos Kaxiras

摘要:

推测性侧信道攻击访问敏感数据,并在错误路径执行期间使用发送器泄漏数据。已经提出了各种防御措施来防止这种信息泄露。然而,并非所有推测执行的指令都是不安全的:最近的工作表明,推测不变指令是独立的推测控制流路径,并保证最终提交,无论推测结果如何。然后,与运行时机制相结合的实时信息可以选择性地解除对推测不变指令的防御,从而收回一些损失的性能。不幸的是,投机不变的指令可以很容易地被操纵的投机干扰的形式泄漏信息,通过一个新的边通道,我们在本文中介绍。我们表明,前向投机干扰,其中较老的投机指令干扰年轻的投机不变的指令有效地把它们变成发射机的秘密数据在投机期间访问。我们展示了实际硬件上的前向投机干扰,通过选择性地填充指令的重排序缓冲区(ROB),推投机不变的指令在或出的ROB的需求,根据推测访问的秘密。这揭示了推测访问的秘密,因为ROB本身的占用成为新的推测侧信道。

英文摘要:

Speculative side-channel attacks access sensitive data and use transmitters to leak the data during wrong-path execution. Various defenses have been proposed to prevent such information leakage. However, not all speculatively executed instructions are unsafe: Recent work demonstrates that speculation invariant instructions are independent of speculative control-flow paths and are guaranteed to eventually commit, regardless of the speculation outcome. Compile-time information coupled with run-time mechanisms can then selectively lift defenses for speculation invariant instructions, reclaiming some of the lost performance. Unfortunately, speculation invariant instructions can easily be manipulated by a form of speculative interference to leak information via a new side-channel that we introduce in this paper. We show that forward speculative interference whereolder speculative instructions interfere with younger speculation invariant instructions effectively turns them into transmitters for secret data accessed during speculation. We demonstrate forward speculative interference on actual hardware, by selectively filling the reorder buffer (ROB) with instructions, pushing speculative invariant instructions in-or-out of the ROB on demand, based on a speculatively accessed secret. This reveals the speculatively accessed secret, as the occupancy of the ROB itself becomes a new speculative side-channel.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑