Skip to main navigation Skip to search Skip to main content

File parsing vulnerability detection with symbolic execution

  • Chaojian Hu*
  • , Zhoujun Li
  • , Jinxin Ma
  • , Tao Guo
  • , Zhiwei Shi
  • *Corresponding author for this work
  • Beihang University
  • Security Evaluation Center

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Symbolic execution simulates program execution by replacing concrete values with symbolic variables for inputs. It could be used in software behavior analysis, vulnerability detection and software security assessment. In this paper, we analyze the path explosion problem encountered in vulnerability detection with the state-of-the-art symbolic execution technology for large scale file parsing programs. We also propose 4 alleviations to ease the problem, i.e. loop controlling, irrelevant path elimination, path selecting and parallel symbolic execution. Based on these alleviations, we implemented a prototype tool to detect file parsing vulnerability in large scale programs automatically, and evaluate it with a suit of benchmarks chosen from open source programs. Our tool detected not only all reported vulnerabilities of memory overflow in the benchmarks, but also some unreported vulnerabilities. The evaluation results show these alleviations could effectively ease the path explosion problem while analyzing large scale file parsing programs.

Original languageEnglish
Title of host publicationProceedings - IEEE 6th International Symposium on Theoretical Aspects of Software Engineering, TASE 2012
Pages135-142
Number of pages8
DOIs
StatePublished - 2012
EventIEEE 6th International Symposium on Theoretical Aspects of Software Engineering, TASE 2012 - Beijing, China
Duration: 4 Jul 20126 Jul 2012

Publication series

NameProceedings - IEEE 6th International Symposium on Theoretical Aspects of Software Engineering, TASE 2012

Conference

ConferenceIEEE 6th International Symposium on Theoretical Aspects of Software Engineering, TASE 2012
Country/TerritoryChina
CityBeijing
Period4/07/126/07/12

Keywords

  • File Parsing
  • Path Explosion
  • Program analysis
  • Symbolic Execution
  • Vulnerability detection

Fingerprint

Dive into the research topics of 'File parsing vulnerability detection with symbolic execution'. Together they form a unique fingerprint.

Cite this