首页> 外文会议>Annual IEEE/IFIP International Conference on Dependable Systems and Networks >Function Interface Analysis: A Principled Approach for Function Recognition in COTS Binaries
【24h】

Function Interface Analysis: A Principled Approach for Function Recognition in COTS Binaries

机译:功能界面分析:COTS二进制文件中功能识别的原则方法

获取原文

摘要

Function recognition is one of the key tasks in binary analysis, instrumentation and reverse engineering. Previous approaches for this problem have relied on matching code patterns commonly observed at the beginning and end of functions. While early efforts relied on compiler idioms and expert-identified patterns, more recent works have systematized the process using machine-learning techniques. In contrast, we develop a novel static analysis based method in this paper. In particular, we combine a low-level technique for enumerating candidate functions with a novel static analysis for determining if these candidates exhibit the properties associated with a function interface. Both control-flow properties (e.g., returning to the location at the stack top at the function entry point) and data-flow properties (e.g., parameter passing via registers and the stack, and the degree of adherence to application-binary interface conventions) are checked. Our approach achieves an F1-score above 99% across a broad range of programs across multiple languages and compilers. More importantly, it achieves a 4× or higher reduction in error rate over best previous results.
机译:功能识别是二进制分析,仪器和逆向工程中的关键任务之一。以前的这个问题的方法依赖于函数开头和结束时常见的匹配代码模式。虽然早期努力依赖于编译器习语和专家识别的模式,但最近的作品使用机器学习技术系统化了该过程。相比之下,我们在本文中开发了一种基于新的静态分析方法。特别地,我们将低级技术组合用于枚举候选功能,以便确定这些候选者是否展示了与功能界面相关联的属性的静态分析。控制流程属性(例如,返回到函数入口点处的堆栈顶部的位置)和数据流性质(例如,通过寄存器和堆栈传递的参数,以及遵守应用程序二进制接口约定的程度)检查。我们的方法在多种语言和编译器的广泛节目中实现了99 %以上的F1分数。更重要的是,它在最佳先前结果上实现了4倍或更高的错误率降低。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号