CIBPU:一种冲突不可见的安全分支预测单元
CIBPU: A Conflict-Invisible Secure Branch Prediction Unit
AI总结:
针对现有安全分支预测单元安全性不足和性能开销大的问题,提出CIBPU,采用冗余存储、负载感知索引和免周期密钥更新的加密机制,实现强安全性和最低性能开销。
摘要:
先前基于物理隔离设计安全分支预测单元(SBPU)的方案只能提供有限的安全性,并显著影响BPU的预测能力,导致明显的性能下降。此外,基于周期性密钥重新随机化的加密型SBPU方案存在被高级攻击算法攻破的风险,且性能开销也相当可观。为此,本文提出了一种冲突不可见的安全分支预测单元(CIBPU)。CIBPU采用冗余存储设计、负载感知索引和替换设计,以及无需周期性密钥更新的加密机制,以防止攻击者对分支冲突的感知。我们提供了详尽的安全分析,表明CIBPU在BPU的整个生命周期内实现了强安全性。我们在gem5中的RISC-V核心模型上实现了CIBPU。实验结果表明,CIBPU仅造成平均1.12%-2.20%的性能开销,且硬件存储开销可接受,这是现有最先进的SBPU方案中最低的。CIBPU还已在开源RISC-V核心SonicBOOM中实现,并烧录到FPGA板上。基于该板的评估显示平均性能下降2.01%,与gem5中获得的结果大致一致。
英文摘要:
Previous schemes for designing secure branch prediction unit (SBPU) based on physical isolation can only offer limited security and significantly affect BPU's prediction capability, leading to prominent performance degradation. Moreover, encryption-based SBPU schemes based on periodic key re-randomization have the risk of being compromised by advanced attack algorithms, and the performance overhead is also considerable. To this end, this paper proposes a conflict-invisible SBPU (CIBPU). CIBPU employs redundant storage design, load-aware indexing, and replacement design, as well as an encryption mechanism without requiring periodic key updates, to prevent attackers' perception of branch conflicts. We provide a thorough security analysis, which shows that CIBPU achieves strong security throughout the BPU's lifecycle. We implement CIBPU in a RISC-V core model in gem5. The experimental results show that CIBPU causes an average performance overhead of only 1.12%-2.20% with acceptable hardware storage overhead, which is the lowest among the state-of-the-art SBPU schemes. CIBPU has also been implemented in the open-source RISC-V core, SonicBOOM, which is then burned onto an FPGA board. The evaluation based on the board shows an average performance degradation of 2.01%, which is approximately consistent with the result obtained in gem5.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。