IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/5452396.html
   My bibliography  Save this article

Assisting in Auditing of Buffer Overflow Vulnerabilities via Machine Learning

Author

Listed:
  • Qingkun Meng
  • Chao Feng
  • Bin Zhang
  • Chaojing Tang

Abstract

Buffer overflow vulnerability is a kind of consequence in which programmers’ intentions are not implemented correctly. In this paper, a static analysis method based on machine learning is proposed to assist in auditing buffer overflow vulnerabilities. First, an extended code property graph is constructed from the source code to extract seven kinds of static attributes, which are used to describe buffer properties. After embedding these attributes into a vector space, five frequently used machine learning algorithms are employed to classify the functions into suspicious vulnerable functions and secure ones. The five classifiers reached an average recall of 83.5%, average true negative rate of 85.9%, a best recall of 96.6%, and a best true negative rate of 91.4%. Due to the imbalance of the training samples, the average precision of the classifiers is 68.9% and the average score is 75.2%. When the classifiers were applied to a new program, our method could reduce the false positive to 1/12 compared to Flawfinder.

Suggested Citation

  • Qingkun Meng & Chao Feng & Bin Zhang & Chaojing Tang, 2017. "Assisting in Auditing of Buffer Overflow Vulnerabilities via Machine Learning," Mathematical Problems in Engineering, Hindawi, vol. 2017, pages 1-13, December.
  • Handle: RePEc:hin:jnlmpe:5452396
    DOI: 10.1155/2017/5452396
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/MPE/2017/5452396.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/MPE/2017/5452396.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2017/5452396?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:jnlmpe:5452396. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.