arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.23905cs.CR
收藏

AutoPRAC:使用模型检查器自动化发现基于PRAC的Rowhammer防御的攻击

AutoPRAC: Automating Attack Discovery for PRAC-Based Rowhammer Defenses using Model Checkers

University of Toronto(多伦多大学)

Joyce Qu, Gururaj Saileshwar

AI总结:

提出AutoPRAC,首个使用模型检查器自动测试PRAC防御安全性的方法,发现MOAT防御中计数器重置策略的漏洞,允许34次激活未被检测。

摘要:

DDR5中的每行激活计数(PRAC)是一种通过跟踪每行激活并在需要时触发缓解刷新来缓解Rowhammer攻击的规范。然而,目前PRAC设计的安全性是通过人工构造的攻击模式进行评估的,我们缺乏对其安全属性的形式化验证,或自动检测实现缺陷的技术。在这项工作中,我们提出了AutoPRAC,这是第一种使用模型检查器测试基于PRAC的防御安全性的自动化技术。AutoPRAC将PRAC实现建模为有界状态机,并针对最坏情况的预言机攻击者检查安全关键的安全属性。如果违反属性,该框架会生成一个具体的反例轨迹,对应于一次成功的攻击。使用AutoPRAC,我们在最先进的PRAC防御MOAT中发现了一个先前未报告的缺陷,其计数器重置策略允许多达34次激活未被检测到,超过Rowhammer阈值。我们的结果表明,AutoPRAC可以自动发现Rowhammer缓解中的细微安全缺陷,并作为PRAC设计攻击发现的早期设计辅助工具。

英文摘要:

Per-Row Activation Counting (PRAC) in DDR5 is a specification to mitigate Rowhammer attacks by tracking activations per row and triggering mitigative refreshes when needed. However, the security of PRAC designs is currently evaluated using human-crafted attack patterns and we lack formal verification of their security properties, or automated techniques to detect implementation flaws. In this work, we present AutoPRAC, the first automated technique to test the security of PRAC-based defenses using model checkers. AutoPRAC models PRAC implementations as bounded state machines and checks security-critical safety properties against a worst-case oracle attacker. If a property is violated, the framework produces a concrete counterexample trace corresponding to a successful attack. Using AutoPRAC, we uncover a previously unreported flaw in MOAT, a state-of-the-art PRAC defense, in its counter-reset policy that allows up to 34 activations to go undetected above the Rowhammer threshold. Our results demonstrate that AutoPRAC can automatically discover subtle security flaws in Rowhammer mitigations and serves as an early-stage design aid for attack discovery on PRAC designs.

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

↑