评估二进制级CFI技术的有效性
Assessing the Effectiveness of Binary-Level CFI Techniques
AI总结:
本文提出一个通用可扩展的评估框架,通过新指标定量比较基于IDA Pro二进制分析信息与基于LLVM真值信息实现的类型化CFI策略,揭示二进制级类型恢复的推测性对CFI防护效能的影响。
摘要:
内存破坏是一类重要的漏洞,可被利用来构造控制流劫持攻击。控制流完整性(CFI)为此类攻击提供防护。应用基于类型的CFI策略需要关于函数参数数量和类型的信息。二进制级类型恢复本质上是推测性的,这促使我们需要一个评估框架,以评估二进制级CFI技术与其源代码级对应技术相比的有效性,因为在源代码级此类类型信息可以完整且准确地获取。在这项工作中,我们开发了一个新颖的、通用的且可扩展的框架,用于评估我们从最先进的二进制分析工具中获得的程序分析信息如何影响基于类型的CFI技术的效能。我们引入了新的且富有洞察力的指标,以定量比较源代码无关的CFI策略与其作为真值的源代码感知对应策略。我们利用该框架评估了使用从IDA Pro二进制分析器中提取的程序分析信息实现的二进制级CFI策略,并与从LLVM编译器获得的真值信息进行比较,并展示了我们的观察结果。
英文摘要:
Memory corruption is an important class of vulnerability that can be leveraged to craft control flow hijacking attacks. Control Flow Integrity (CFI) provides protection against such attacks. Application of type-based CFI policies requires information regarding the number and type of function arguments. Binary-level type recovery is inherently speculative, which motivates the need for an evaluation framework to assess the effectiveness of binary-level CFI techniques compared with their source-level counterparts, where such type information is fully and accurately accessible. In this work, we develop a novel, generalized and extensible framework to assess how the program analysis information we get from state-of-the-art binary analysis tools affects the efficacy of type-based CFI techniques. We introduce new and insightful metrics to quantitatively compare source independent CFI policies with their ground truth source aware counterparts. We leverage our framework to evaluate binary-level CFI policies implemented using program analysis information extracted from the IDA Pro binary analyzer and compared with the ground truth information obtained from the LLVM compiler, and present our observations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。