arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.10049cs.CR
收藏

Janus:基于编译器的临时执行攻击防御方法,利用ARM硬件原语

Janus: Compiler-Based Defense Against Transient Execution Attacks Using ARM Hardware Primitives

Institute of Information Engineering, CAS(中国科学院信息工程研究所)

Ciyan Ouyang, Peinan Li, Yubiao Huang, Dan Meng, Rui Hou

AI总结:

Janus通过整合推测执行与控制流依赖性,利用ARM的PA和BTI特性,提供对Spectre等临时执行攻击的防御,同时保持低性能开销。

摘要:

我们提出了Janus,一种基于编译器的安全框架,用于缓解ARM64平台上的临时执行攻击,如Spectre和控制流劫持。Janus整合推测执行和控制流依赖性与PA修饰符,利用PA和BTI微架构特性,防止控制流推测攻击,并通过现有控制流完整性机制安全地保护控制流和推测执行。为优化性能,Janus通过合并不同防御层的防御操作(修饰符融合)和重用受保护变量的寄存器(载体复用)来最小化开销,同时保持强安全保证。在SPEC CPU2017上的评估显示,平均性能开销为3.85%,实际应用中的开销范围从2.97%到7.80%。Janus提供了有效的推测执行安全性和低性能和代码大小开销,使其成为ARM系统的稳健解决方案。

英文摘要:

We present Janus, a compiler-based security framework that mitigates transient execution attacks like Spectre and control-flow hijacking on ARM64 platforms. Janus integrates speculative execution and control flow dependencies with PA modifiers, using PA and BTI microarchitectural features to prevent control-flow speculation attacks and secure both control flow and speculative execution through existing control-flow integrity mechanisms. To optimize performance, Janus minimizes overhead by merging defense operations across different defense layers (modifier fusion) and reusing registers of protected variables (carrier reuse), while maintaining strong security guarantees. Evaluation on SPEC CPU2017 shows an average performance overhead of 3.85%, with real-world applications exhibiting overheads ranging from 2.97% to 7.80%. Janus offers effective speculative execution security and low performance and code size overhead, making it a robust solution for ARM-based systems.

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

↑