首页> 外文OA文献 >Title: Assembly to Open Source Code Matching for Reverse Engineering and Malware Analysis
【2h】

Title: Assembly to Open Source Code Matching for Reverse Engineering and Malware Analysis

机译:标题:用于反向工程和恶意软件分析的开源代码匹配汇编

摘要

The process of software reverse engineering and malware analysis often comprise a combination of static and dynamic analyses. The successful outcome of each step is tightly coupled with the functionalities of the tools and skills of the reverse engineer. Even though automated tools are available for dynamic analysis, the static analysis process is a fastidious and time-consuming task as it requires manual work and strong expertise in assembly coding. In order to enhance and accelerate the reverse engineering process, we introduce a new dimension known as clone-based analysis. Recently, binary clone matching has been studied with a focus on detecting assembly (binary) clones. An alternative approach in clone analysis, which is studied in the present research, is concerned with assembly to source code matching. There are two major advantages in considering this extra dimension. The first advantage is to avoid dealing with low-level assembly code in situations where the corresponding high-level code is available. The other advantage is to prevent reverse engineering parts of the software that have been analyzed before. The clone-based analysis can be helpful in significantly reducing the required time and improving the accuracy of static analysis.udIn this research, we elaborate a framework for assembly to open-source code matching. Two types of analyses are provided by the framework, namely online and offline. The online analysis process triggers queries to online source code repositories based on extracted features from the functions at the assembly level. The result is the matched set of references to the open-source project files with similar features. Moreover, the offline analysis assigns functionality tags and provides in-depth information regarding the potential functionality of a portion of the assembly file. It reports on function stack frames, prototypes, arguments, variables, return values and low-level system calls. Besides, the offline analysis is based on a built-in dictionary of common user-level and kernel-level API functions that are used by malware to interact with the operating system. These functions are called for performing tasks such as file I/O, network communications, registry modification, and service manipulation. The offline analysis process has been expanded through an incremental learning mechanism which results in an improved detection of crypto-related functions in the disassembly. The other developed extension is a customized local code repository which performs automated source code parsing, feature extraction, and dataset generation for code matching. We apply the framework in several reverse engineering and malware analysis scenarios. Also, we show that the underlying tools and techniques are effective in providing additional insights into the functionality, inner workings, and components of the target binaries.
机译:软件逆向工程和恶意软件分析的过程通常包含静态和动态分析的组合。每个步骤的成功结果与反向工程师的工具功能和技能紧密相关。即使可以使用自动化工具进行动态分析,静态分析过程也是一项繁琐且耗时的任务,因为它需要手工操作和汇编代码方面的专业知识。为了增强和加速逆向工程过程,我们引入了一个新的维度,称为基于克隆的分析。近来,已经研究了二进制克隆匹配,其重点是检测组装(二进制)克隆。在本研究中研究的克隆分析中的另一种方法是与汇编到源代码匹配有关。考虑此额外维度有两个主要优点。第一个优点是在相应的高级代码可用的情况下避免处理低级汇编代码。另一个优点是可以防止对以前分析过的软件进行逆向工程。基于克隆的分析有助于显着减少所需的时间并提高静态分析的准确性。 ud在本研究中,我们精心设计了一个框架,用于汇编与开源代码的匹配。框架提供两种类型的分析,即在线和离线。在线分析过程基于汇编级功能提取的特征触发对在线源代码存储库的查询。结果是对具有相似功能的开源项目文件的匹配引用集。此外,脱机分析会分配功能标签,并提供有关部分汇编文件潜在功能的深入信息。它报告功能堆栈框架,原型,参数,变量,返回值和低级系统调用。此外,脱机分析基于内置的常用用户级和内核级API函数的词典,恶意软件使用该词典来与操作系统进行交互。调用这些功能来执行诸如文件I / O,网络通信,注册表修改和服务操作之类的任务。离线分析过程已通过增量学习机制进行了扩展,从而改善了反汇编中与加密相关的功能的检测。另一个开发的扩展是一个自定义的本地代码存储库,该存储库执行自动源代码解析,功能提取和数据集生成以进行代码匹配。我们将该框架应用于多种逆向工程和恶意软件分析方案中。此外,我们还展示了基础工具和技术可有效地提供对目标二进制文件的功能,内部工作原理和组件的更多见解。

著录项

  • 作者

    Rahimian Ashkan;

  • 作者单位
  • 年度 2013
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号