承担你的故障:一种针对侧信道防护的基于 LWE 的 KEM 的故障传播攻击
Carry Your Fault: A Fault Propagation Attack on Side-Channel Protected LWE-based KEM
AI总结:
本文提出利用 A2B 转换中加法器进位链的数据依赖实施故障传播攻击,可突破任意阶掩码,并在 STM32 上经仿真与电磁故障验证恢复 Kyber 密钥。
摘要:
后量子密码(PQC)算法,尤其是那些基于带错误学习(LWE)问题的算法,近年来已遭受多种物理攻击。尽管这些攻击大致分为两类——被动侧信道攻击和主动故障攻击——但由于此类算法的内在复杂性,攻击策略存在显著差异。因此,探索更多攻击面是最终保障这些算法部署安全的重要一步。此外,测试此方面已提出的对策的鲁棒性也很重要。在本文中,我们利用故障传播,对基于 LWE 的密钥封装机制(KEM)的侧信道安全掩码实现提出了一种新的故障攻击。该攻击通常源于为实现掩码而广泛使用的一种算法修改,即算术到布尔(A2B)转换。我们利用 A2B 中加法器进位链的数据依赖性并提取敏感信息,尽管存在任意阶掩码。作为该信息泄漏可利用性的实际演示,我们展示了对 Kyber 的密钥恢复攻击,不过该泄漏也存在于 Saber 等其他方案中。对 Kyber 的攻击以解封装模块为目标,并利用置信度传播(BP)进行密钥恢复。据我们所知,这是首个利用为简化掩码而引入的算法组件的攻击,而非仅利用掩码引入的随机性来获得所需故障(如 Delvaux 所做的那样)。最后,我们针对运行在 STM32 平台上的开源一阶安全 Kyber 实现,对该攻击进行了仿真和基于电磁(EM)故障的实际验证。
英文摘要:
Post-quantum cryptographic (PQC) algorithms, especially those based on the learning with errors (LWE) problem, have been subjected to several physical attacks in the recent past. Although the attacks broadly belong to two classes - passive side-channel attacks and active fault attacks, the attack strategies vary significantly due to the inherent complexities of such algorithms. Exploring further attack surfaces is, therefore, an important step for eventually securing the deployment of these algorithms. Also, it is important to test the robustness of the already proposed countermeasures in this regard. In this work, we propose a new fault attack on side-channel secure masked implementation of LWE-based key-encapsulation mechanisms (KEMs) exploiting fault propagation. The attack typically originates due to an algorithmic modification widely used to enable masking, namely the Arithmetic-to-Boolean (A2B) conversion. We exploit the data dependency of the adder carry chain in A2B and extract sensitive information, albeit masking (of arbitrary order) being present. As a practical demonstration of the exploitability of this information leakage, we show key recovery attacks of Kyber, although the leakage also exists for other schemes like Saber. The attack on Kyber targets the decapsulation module and utilizes Belief Propagation (BP) for key recovery. To the best of our knowledge, it is the first attack exploiting an algorithmic component introduced to ease masking rather than only exploiting the randomness introduced by masking to obtain desired faults (as done by Delvaux). Finally, we performed both simulated and electromagnetic (EM) fault-based practical validation of the attack for an open-source first-order secure Kyber implementation running on an STM32 platform.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。