• DocumentCode
    2159594
  • Title

    CodeAuditor: A Vulnerability Detection Framework Based on Constraint Analysis and Model Checking

  • Author

    Wang, Lei ; Chen, Gui ; Wang, Jianan ; Zhao, Pengchao ; Zhang, Qiang

  • Author_Institution
    Comput. Sch., Beijing Univ. of Aeronaut. & Astronaut., Beijing, China
  • fYear
    2009
  • fDate
    20-22 Sept. 2009
  • Firstpage
    1
  • Lastpage
    4
  • Abstract
    Open source applications have flourished over recent years. Meanwhile security vulnerabilities in such applications have grown. Since manual code auditing is error-prone, time-consuming and costly, automatic solutions have become necessary. In this paper we address program vulnerabilities by static code analysis. First, we use flow-insensitive and interprocedural constraint-based analysis to extract the vulnerability detection model from the source code. Second, we employ model checking to solve the model. In addition, we do alias analysis to improve the correctness and precision of the detection model. The presented concepts are targeted at the general class of buffer-related vulnerabilities and can be applied to the detection of vulnerability types such as buffer overflow, format string attack, and code injection. CodeAuditor, the prototype implementation of our methods, is targeted at detecting buffer overflow vulnerabilities in C source code. It can be regarded as a vulnerability framework in which a variety of analysis and model checking tools can be incorporated. With this tool, 18 previously unknown vulnerabilities in six open source applications were discovered and the observed false positive rate was at around 23%.
  • Keywords
    program diagnostics; program verification; public domain software; security of data; C source code; constraint analysis; flow-insensitive interprocedural constraint-based analysis; manual code auditing; model checking; open source application; program vulnerability detection; security vulnerability detection framework; static code analysis; Application software; Automatic control; Buffer overflow; Computer bugs; Flow graphs; Formal verification; Instruments; Pattern analysis; Programming; Prototypes;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Management and Service Science, 2009. MASS '09. International Conference on
  • Conference_Location
    Wuhan
  • Print_ISBN
    978-1-4244-4638-4
  • Electronic_ISBN
    978-1-4244-4639-1
  • Type

    conf

  • DOI
    10.1109/ICMSS.2009.5304255
  • Filename
    5304255