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

FineIBT:基于间接分支跟踪的细粒度控制流强制执行

FineIBT: Fine-grain Control-flow Enforcement with Indirect Branch Tracking

Alexander J. Gaidis, Joao Moreira, Ke Sun, Alyssa Milburn, Vaggelis Atlidakis, Vasileios P. Kemerlis

AI总结:

本文提出FineIBT,一种通过插桩减少间接跳转目标以提高硬件辅助CFI精度的机制,在x86-64架构上实现且开销极低,性能优于Clang-CFI并具备完整覆盖与兼容性。

摘要:

我们提出了FineIBT的设计、实现与评估:这是一种CFI强制执行机制,通过插桩程序代码来减少间接前向边缘跳转的有效/允许目标,从而提高诸如Intel IBT等硬件辅助CFI解决方案的精度。我们在x86-64架构上研究了FineIBT的设计,并在Linux和LLVM工具链上进行了实现与评估。我们将FineIBT的插桩设计得紧凑,产生低运行时和内存开销,且具备通用性,以支持不同的CFI策略。我们的原型实现产生可忽略的运行时减速(在SPEC CPU2017中约为0%-1.94%,在实际应用中约为0%-1.92%),优于Clang-CFI。最后,我们使用ConFIRM CFI基准套件研究了FineIBT的有效性/安全性和兼容性,证明我们的插桩在现代软件特性下提供完整覆盖,同时以相同且可预测的性能支持广泛的CFI策略。

英文摘要:

We present the design, implementation, and evaluation of FineIBT: a CFI enforcement mechanism that improves the precision of hardware-assisted CFI solutions, like Intel IBT, by instrumenting program code to reduce the valid/allowed targets of indirect forward-edge transfers. We study the design of FineIBT on the x86-64 architecture, and implement and evaluate it on Linux and the LLVM toolchain. We designed FineIBT's instrumentation to be compact, incurring low runtime and memory overheads, and generic, so as to support different CFI policies. Our prototype implementation incurs negligible runtime slowdowns ($\approx$0%-1.94% in SPEC CPU2017 and $\approx$0%-1.92% in real-world applications) outperforming Clang-CFI. Lastly, we investigate the effectiveness/security and compatibility of FineIBT using the ConFIRM CFI benchmarking suite, demonstrating that our instrumentation provides complete coverage in the presence of modern software features, while supporting a wide range of CFI policies with the same, predictable performance.

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

↑