SEDec 24, 2018

Format-aware Learn&Fuzz: Deep Test Data Generation for Efficient Fuzzing

arXiv:1812.09961v22 citations
Originality Incremental advance
AI Analysis

This addresses the challenge of automated test data generation for software testing, particularly in fuzzing applications with complex inputs, though it appears incremental as it builds on prior learn&fuzz methods.

The paper tackles the problem of generating efficient test data for fuzzing complex-structured inputs by using a neural language model based on deep RNNs to learn input structure and distinguish between data and meta-data, resulting in IUST-DeepFuzz achieving higher code coverage on MuPDF compared to state-of-the-art tools like learn&fuzz and AFL.

Appropriate test data is a crucial factor to reach success in dynamic software testing, e.g., fuzzing. Most of the real-world applications, however, accept complex structure inputs containing data surrounded by meta-data which is processed in several stages comprising of the parsing and rendering (execution). It makes the automatically generating efficient test data, to be non-trivial and laborious activity. The success of deep learning to cope in solving complex tasks especially in generative tasks has motivated us to exploit it in the context of complex test data generation. To do so, a neural language model (NLM) based on deep recurrent neural networks (RNNs) is used to learn the structure of complex input. Our approach generates new test data while distinguishes between data and meta-data that makes it possible to target both the parsing and rendering parts of software under test (SUT). Such test data can improve, input fuzzing. To assess the proposed approach, we developed a modular file format fuzzer, IUST-DeepFuzz. Our conducted experiments on the MuPDF, a lightweight and favorite portable document format (PDF) reader, reveal that IUST-DeepFuzz reaches high coverage of SUT in comparison with the state-of-the-art tools such as learn&fuzz, AFL, Augmented-AFL and random fuzzing. We also observed that the simpler deep learning models, the higher code coverage.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes