大规模DRAM安全防护:基于ARFM的行锤防御与短tRC模式威胁揭示
Securing DRAM at Scale: ARFM-Driven Row Hammer Defense with Unveiling the Threat of Short tRC Patterns
AI总结:
本文提出MARC,一种基于ARFM的动态行锤缓解IP,通过检测短tRC模式并自适应调整RFM频率,在极小硬件开销下显著提升防御效果,最大暴露比最高提升50倍。
摘要:
为解决强大的行锤(RH)攻击问题,我们的研究对该领域普遍存在的攻击模式进行了广泛分析。我们发现,激活到激活命令周期${tRC}$的时间与密度同RH攻击的可能性之间存在强相关性。本文介绍了MARC,一种创新的ARFM驱动的RH缓解IP,显著增强了现有的RH缓解IP。MARC根据RH攻击环境的严重程度动态调整RFM的频率,提供了一种量身定制的安全解决方案,既能检测威胁,又能适应不同的威胁级别。MARC的检测机制已展现出卓越的效率,能识别超过99%的攻击模式。此外,MARC被设计为紧凑的硬件模块,便于在内存系统中紧密集成于内存控制器侧或DRAM侧。其仅占用微不足道的硬件面积,为3363~\textit{$μm^2$}。通过基于MARC的检测激活ARFM,在正常负载下的额外能耗开销也可忽略不计。我们进行了实验,比较了各模式中的最高行数(定义为最大暴露)在原始RH缓解IP与MARC增强版同一IP之间的差异,重点关注DRAM侧和内存控制器侧。在DRAM侧,MARC+概率方案和MARC+基于计数器的跟踪方案相比原始IP,最大暴露比分别提高了8.1倍和1.5倍。在内存控制器侧,MARC+PARA和MARC+Graphene相比原始IP,最大暴露比分别提高了50倍和5.7倍。MARC在不牺牲系统性能的前提下确保了最优安全性,使其成为RH攻击缓解领域的开创性解决方案。
英文摘要:
To address the issue of powerful row hammer (RH) attacks, our study involved an extensive analysis of the prevalent attack patterns in the field. We discovered a strong correlation between the timing and density of the active-to-active command period, ${tRC}$, and the likelihood of RH attacks. In this paper, we introduce MARC, an innovative ARFM-driven RH mitigation IP that significantly reinforces existing RH mitigation IPs. MARC dynamically adjusts the frequency of RFM in response to the severity of the RH attack environment, offering a tailored security solution that not only detects the threats but also adapts to varying threat levels. MARC's detection mechanism has demonstrated remarkable efficiency, identifying over 99\% of attack patterns. Moreover, MARC is designed as a compact hardware module, facilitating tight integration either on the memory controller-side or DRAM-side within the memory system. It only occupies a negligible hardware area of 3363~\textit{$μm^2$}. By activating ARFM based on MARC's detection, the additional energy overhead is also negligible in normal workloads. We conduct experiments to compare the highest row count throughout the patterns, defined as max exposure, between the vanilla RH mitigation IPs and the MARC-enhanced versions of the same IPs, focusing on both DRAM-side and memory controller-side. On the DRAM-side, MARC + probabilistic scheme and MARC + counter-based tracking scheme achieve 8.1$\times$ and 1.5$\times$ improvement in max exposure ratio compared to the vanilla IPs, respectively. On the memory controller-side, the MARC + PARA and MARC + Graphene achieve 50$\times$ and 5.7$\times$ improvement in max exposure ratio compared to the vanilla IPs, respectively. MARC ensures optimal security without sacrificing system performance, making MARC a pioneering solution in the realm of RH attack mitigation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。