可扩展且安全的行交换:内存系统中高效且安全的 Row Hammer 缓解机制
Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems
AI总结:
本文提出可扩展且安全的行交换机制,通过避免交换操作引发的额外激活并加入攻击检测,防御 Juggernaut 攻击,相比 RRS 降低 3.3 倍存储开销,仅造成 0.7% 性能损失。
摘要:
随着动态随机存取存储器(DRAM)的规模不断增大,其越来越容易受到 Row Hammer 攻击的影响。通过快速激活 DRAM 单元行(攻击者行),攻击者可以利用 Row Hammer 引起的单元间干扰来翻转相邻行(受害者行)中的比特。最近的一项工作,称为随机行交换(Randomized Row-Swap,RRS),提出在攻击者行能够引发 Row Hammer 之前,主动将攻击者行与随机选择的行进行交换。本文观察到 RRS 既不安全也不可扩展。我们首先提出了“Juggernaut 攻击模式”,该模式可在不到 1 天内攻破 RRS。Juggernaut 利用了 RRS 的缓解动作(即交换操作)本身可能引发额外的目标行激活这一事实,从而使这种防御失效。其次,本文提出了一种新的防御机制——安全行交换(Secure Row-Swap),该机制避免了交换(和取消交换)操作带来的额外激活,并能够防御 Juggernaut 攻击。此外,本文扩展了安全行交换,加入了攻击检测功能,以防御未来可能出现的攻击。虽然这提供了更好的安全性,但也允许安全地降低交换频率,从而实现可扩展且安全的行交换(Scalable and Secure Row-Swap)。该机制能够提供多年的 Row Hammer 防护,与 RRS 设计相比,存储开销降低了 3.3 倍。在 Row Hammer 阈值为 1200 的情况下,与不安全的基线相比,其性能下降仅为 0.7%。
英文摘要:
As Dynamic Random Access Memories (DRAM) scale, they are becoming increasingly susceptible to Row Hammer. By rapidly activating rows of DRAM cells (aggressor rows), attackers can exploit inter-cell interference through Row Hammer to flip bits in neighboring rows (victim rows). A recent work, called Randomized Row-Swap (RRS), proposed proactively swapping aggressor rows with randomly selected rows before an aggressor row can cause Row Hammer. Our paper observes that RRS is neither secure nor scalable. We first propose the `Juggernaut attack pattern' that breaks RRS in under 1 day. Juggernaut exploits the fact that the mitigative action of RRS, a swap operation, can itself induce additional target row activations, defeating such a defense. Second, this paper proposes a new defense Secure Row-Swap mechanism that avoids the additional activations from swap (and unswap) operations and protects against Juggernaut. Furthermore, this paper extends Secure Row-Swap with attack detection to defend against even future attacks. While this provides better security, it also allows for securely reducing the frequency of swaps, thereby enabling Scalable and Secure Row-Swap. The Scalable and Secure Row-Swap mechanism provides years of Row Hammer protection with 3.3X lower storage overheads as compared to the RRS design. It incurs only a 0.7% slowdown as compared to a not-secure baseline for a Row Hammer threshold of 1200.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。