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

FAULT+PROBE:一种通用的基于 Rowhammer 的比特恢复攻击

FAULT+PROBE: A Generic Rowhammer-based Bit Recovery Attack

Kemal Derya, M. Caner Tol, Berk Sunar

AI总结:

提出 FAULT+PROBE 攻击,利用 Rowhammer 定向翻转与受害者行为侧信道进行统计故障分析,可绕过签名后验证并恢复 wolfSSL TLS 1.3 中的 256 位 ECDSA 会话密钥。

摘要:

Rowhammer 是一种安全漏洞,允许未经授权的攻击者在 DRAM 单元中诱发错误。为防止故障注入升级为成功攻击,一种被广泛接受的缓解措施是对指令和数据实施故障检查。我们通过考察故障对受害者功能的影响,挑战了这一假设的有效性。具体而言,我们说明攻击者可以根据比特翻转的方向模式构建受害者内存的画像。随后,该画像被用于识别 DRAM 行中最易受影响的比特位置。这些位置接着在在线攻击阶段被利用,并结合从受害者行为变化中观察到的侧信息来推断敏感比特值。因此,本研究的主要目标是将 Rowhammer 用作探针,把重点从受害者的内存完整性转移到基于受害者运行行为的统计故障分析(SFA)。我们展示了 FAULT+PROBE 可用于绕过“先签名后验证”的故障检查机制,该机制旨在防止生成会泄露敏感信息的错误签名。其实现方式是向内存剖析阶段识别出的关键位置注入定向故障。攻击者观察签名生成率,并据此解码秘密比特值。这种绕过之所以能够实现,是因为受害者中存在一个可观察通道。FAULT+PROBE 并不局限于签名类受害者;只要任意系统中存在可泄露故障注入尝试结果的可观察通道,它就可用于探测这些系统上的秘密比特。为演示该攻击,我们以 wolfSSL 的 TLS 1.3 握手实现中受故障保护的 ECDSA 为目标。我们恢复了 256 位会话密钥,平均恢复速率为每小时 22 个密钥比特,成功率为 100%。

英文摘要:

Rowhammer is a security vulnerability that allows unauthorized attackers to induce errors within DRAM cells. To prevent fault injections from escalating to successful attacks, a widely accepted mitigation is implementing fault checks on instructions and data. We challenge the validity of this assumption by examining the impact of the fault on the victim's functionality. Specifically, we illustrate that an attacker can construct a profile of the victim's memory based on the directional patterns of bit flips. This profile is then utilized to identify the most susceptible bit locations within DRAM rows. These locations are then subsequently leveraged during an online attack phase with side information observed from the change in the victim's behavior to deduce sensitive bit values. Consequently, the primary objective of this study is to utilize Rowhammer as a probe, shifting the emphasis away from the victim's memory integrity and toward statistical fault analysis (SFA) based on the victim's operational behavior. We show FAULT+PROBE may be used to circumvent the verify-after-sign fault check mechanism, which is designed to prevent the generation of erroneous signatures that leak sensitive information. It does so by injecting directional faults into key positions identified during a memory profiling stage. The attacker observes the signature generation rate and decodes the secret bit value accordingly. This circumvention is enabled by an observable channel in the victim. FAULT+PROBE is not limited to signing victims and can be used to probe secret bits on arbitrary systems where an observable channel is present that leaks the result of the fault injection attempt. To demonstrate the attack, we target the fault-protected ECDSA in wolfSSL's implementation of the TLS 1.3 handshake. We recover 256-bit session keys with an average recovery rate of 22 key bits/hour and a 100% success rate.

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

↑