Skip to main navigation Skip to search Skip to main content

Fuzz testing in practice: Obstacles and solutions

  • Jie Liang
  • , Mingzhe Wang
  • , Yuanliang Chen
  • , Yu Jiang*
  • , Renwei Zhang
  • *Corresponding author for this work
  • Tsinghua University
  • HuaWei Beijing Research Institute

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

Abstract

Fuzz testing has helped security researchers and organizations discover a large number of vulnerabilities. Although it is efficient and widely used in industry, hardly any empirical studies and experience exist on the customization of fuzzers to real industrial projects. In this paper, collaborating with the engineers from Huawei, we present the practice of adapting fuzz testing to a proprietary message middleware named libmsg, which is responsible for the message transfer of the entire distributed system department. We present the main obstacles coming across in applying an efficient fuzzer to libmsg, including system configuration inconsistency, system build complexity, fuzzing driver absence. The solutions for those typical obstacles are also provided. For example, for the most difficult and expensive obstacle of writing fuzzing drivers, we present a low-cost approach by converting existing sample code snippets into fuzzing drivers. After overcoming those obstacles, we can effectively identify software bugs, and report 9 previously unknown vulnerabilities, including flaws that lead to denial of service or system crash.

Original languageEnglish
Title of host publication25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages562-566
Number of pages5
ISBN (Electronic)9781538649695
DOIs
StatePublished - 2 Apr 2018
Externally publishedYes
Event25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018 - Campobasso, Italy
Duration: 20 Mar 201823 Mar 2018

Publication series

Name25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018 - Proceedings
Volume2018-March

Conference

Conference25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018
Country/TerritoryItaly
CityCampobasso
Period20/03/1823/03/18

Fingerprint

Dive into the research topics of 'Fuzz testing in practice: Obstacles and solutions'. Together they form a unique fingerprint.

Cite this