首页> 外文期刊>IEEE Transactions on Software Engineering >A method for detecting obfuscated calls in malicious binaries
【24h】

A method for detecting obfuscated calls in malicious binaries

机译:一种检测恶意二进制文件中混淆调用的方法

获取原文
获取原文并翻译 | 示例

摘要

Information about calls to the operating system (or kernel libraries) made by a binary executable may be used to determine whether the binary is malicious. Being aware of this approach, malicious programmers hide this information by making such calls without using the call instruction. For instance, the call addr instruction may be replaced by two push instructions and a ret instruction, the first push pushes the address of instruction after the ret instruction, and the second push pushes the address addr. The code may be further obfuscated by spreading the three instructions and by splitting each instruction into multiple instructions. This work presents a method to statically detect obfuscated calls in binary code. The idea is to use abstract interpretation to detect where the normal call-ret convention is violated. These violations can be detected by what is called an abstract stack graph. An abstract stack graph is a concise representation of all potential abstract stacks at every point in a program. An abstract stack is used to associate each element in the stack to the instruction that pushes the element. An algorithm for constructing the abstract stack graph is also presented. Methods for using the abstract stack graph are shown to detect eight different obfuscations. The technique is demonstrated by implementing a prototype tool called DOC (detector for obfuscated calls).
机译:关于二进制可执行文件对操作系统(或内核库)的调用的信息可用于确定二进制文件是否是恶意的。意识到这种方法后,恶意程序员会在不使用调用指令的情况下通过进行此类调用来隐藏此信息。例如,调用addr指令可以被两个推指令和ret指令代替,第一次推在ret指令之后推指令的地址,第二次推推地址addr。通过扩展三个指令并将每个指令拆分为多个指令,可以进一步使代码模糊。这项工作提出了一种方法来静态检测二进制代码中的混淆调用。这个想法是使用抽象解释来检测在哪里违反了常规的回叫约定。这些违规行为可以通过所谓的抽象堆栈图来检测。抽象堆栈图是程序每个点上所有潜在抽象堆栈的简洁表示。抽象堆栈用于将堆栈中的每个元素与推入该元素的指令相关联。还提出了一种用于构造抽象堆栈图的算法。显示了使用抽象堆栈图的方法来检测八个不同的混淆。通过实现一个称为DOC(用于混淆呼叫的检测器)的原型工具来演示该技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号