首页> 外文会议>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.
机译:功能识别是二进制分析,仪器仪表和逆向工程中的关键任务之一。解决该问题的先前方法依赖于在函数的开始和结尾通常观察到的匹配代码模式。尽管早期的努力依赖于编译器惯用语和专家识别的模式,但最近的工作已使用机器学习技术将过程系统化。相反,我们在本文中开发了一种新颖的基于静态分析的方法。特别是,我们将枚举候选函数的低级技术与新颖的静态分析相结合,以确定这些候选函数是否具有与函数接口相关的属性。控制流属性(例如,返回到函数入口处堆栈顶部的位置)和数据流属性(例如,通过寄存器和堆栈传递的参数,以及对应用程序二进制接口约定的遵守程度)被检查。我们的方法在多种语言和编译器的广泛程序中实现了F1分数达到99%以上。更重要的是,与以前的最佳结果相比,它的错误率降低了4倍或更高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号