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

用LLVM-CFI分析控制流完整性

Analyzing Control Flow Integrity with LLVM-CFI

Paul Muntean, Matthias Neumayer, Zhiqiang Lin, Gang Tan, Jens Grossklags, Claudia Eckert

摘要:

控制流劫持攻击被用来执行恶意计算。目前的解决方案用于评估攻击面后控制流完整性(CFI)政策的应用只能测量间接转移平均在最好的情况下,没有提供任何见解w.r.t.每个呼叫站点的绝对呼叫目标减少量以及gad-get可用性。此外,工具比较是欠发达或根本不可能。CFI已被证明是最有前途的防止控制流劫持攻击的方法之一,因此人们已经在各种方面做出了许多努力来改进CFI。然而,缺乏对现有的CFI保护的系统评估。在本文中,我们提出了LLVM-CFI,一个静态源代码分析框架,用于分析基于Clang/LLVM编译器框架的最先进的静态CFI保护。LLVM-CFI通过精确地建模CFI策略,然后在统一的方法中对其进行评估。LLVM-CFI有助于确定不同CFI保护提供的安全级别,在部署CFI保护之后,从而向开发/预防和更强的防御迈出了重要的一步。我们已经使用LLVM-CFI评估了八种最先进的静态CFI防御在现实世界的程序,如Google Chrome和Apache Httpd上。LLVM-CFI提供了对剩余攻击面的精确分析,并相应地对CFI策略进行了排名。LLVM-CFI还成功地为构建类似于COOP的代码重用攻击铺平了道路,并通过在八种限制性CFI策略下披露受保护的调用目标来消除剩余的攻击面。

英文摘要:

Control-flow hijacking attacks are used to perform malicious com-putations. Current solutions for assessing the attack surface afteracontrol flow integrity(CFI) policy was applied can measure onlyindirect transfer averages in the best case without providing anyinsights w.r.t. the absolute calltarget reduction per callsite, and gad-get availability. Further, tool comparison is underdeveloped or notpossible at all. CFI has proven to be one of the most promising pro-tections against control flow hijacking attacks, thus many effortshave been made to improve CFI in various ways. However, there isa lack of systematic assessment of existing CFI protections. In this paper, we presentLLVM-CFI, a static source code analy-sis framework for analyzing state-of-the-art static CFI protectionsbased on the Clang/LLVM compiler framework.LLVM-CFIworksby precisely modeling a CFI policy and then evaluating it within aunified approach.LLVM-CFIhelps determine the level of securityoffered by different CFI protections, after the CFI protections weredeployed, thus providing an important step towards exploit cre-ation/prevention and stronger defenses. We have usedLLVM-CFIto assess eight state-of-the-art static CFI defenses on real-worldprograms such as Google Chrome and Apache Httpd.LLVM-CFIprovides a precise analysis of the residual attack surfaces, andaccordingly ranks CFI policies against each other.LLVM-CFIalsosuccessfully paves the way towards construction of COOP-like codereuse attacks and elimination of the remaining attack surface bydisclosing protected calltargets under eight restrictive CFI policies.

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

↑