Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (26): 81-84.DOI: 10.3778/j.issn.1002-8331.2009.26.024

• 网络、通信、安全 • Previous Articles     Next Articles

Flaw function static detection method for executable

WANG Chun-lei1,2,LIU Qiang2,ZHAO Gang1,2,DAI Yi-qi1   

  1. 1.Department of Computer Science and Technology,Tsinghua University,Beijing 100084,China
    2.Laboratory of Network,Beijing Institute of System Engineering,Beijing 100101,China
  • Received:2009-03-11 Revised:2009-04-24 Online:2009-09-11 Published:2009-09-11
  • Contact: WANG Chun-lei

可执行程序缺陷函数的静态检测方法

王春雷1,2,刘 强2,赵 刚1,2,戴一奇1   

  1. 1.清华大学 计算机科学与技术系,北京 100084
    2.北京系统工程研究所 网络研究室,北京 100101
  • 通讯作者: 王春雷

Abstract: The detection of flaw functions in binary executables is an important technique for software vulnerability analysis.A flaw function detection method based upon the static analysis of executable is proposed.The foundation of this method is the signature theme of flaw functions in the form of binary instruction flow.This method establishes the set of potential function call sequences in the running process and constructs the function call graph by statically analyzing the binary executable,and detects the set of flaw functions the executable invoked by matching and analyzing the signatures of flaw functions with the function call graph.Experimental results demonstrate that the method is effective for detecting the flaw functions in executables,and is useful for further security analysis.

Key words: static analysis, function signature, bug detection

摘要: 可执行程序的缺陷函数检测是软件漏洞发现的重要技术手段之一。从二进制代码指令流的角度出发,研究了缺陷函数的签名机制,提出了一种基于可执行程序静态分析的缺陷函数检测方法。该方法通过静态分析应用程序的可执行代码,建立进程运行过程中可能的函数调用序列集合。以该集合为基础,通过对比分析缺陷函数签名,可以准确检测该程序调用的缺陷函数集合,以及分析可能导致的脆弱性。通过实验分析,验证了该方法对于缺陷函数检测的有效性。

关键词: 静态分析, 函数签名, 漏洞检测

CLC Number: