Pentest Tools

Published on October 8th, 2016 📆 | 6113 Views ⚑

0

CERT Basic Fuzzing Framework: BFF


https://www.ispeech.org/text.to.speech

The CERT Basic Fuzzing Framework (BFF) is a software testing tool that finds defects in applications that run on the Linux and Mac OS X platforms. BFF performs mutational fuzzing on software that consumes file input.

Mutational fuzzing is the act of taking well-formed input data and corrupting it in various ways, looking for cases that cause crashes. BFF automatically collects test cases that cause software to crash in unique ways, as well as debugging information associated with the crashes. The goal of BFF is to minimize the effort required for software vendors and security researchers to efficiently discover and analyze security vulnerabilities found via fuzzing.

Traditionally, fuzzing has been very effective at finding security vulnerabilities, but because of its inherently stochastic nature, results can be highly dependent on the initial configuration of the fuzzing system. BFF applies machine learning and evolutionary computing techniques to minimize the amount of manual configuration required to initiate and complete an effective fuzzing campaign. BFF adjusts its configuration parameters based on what it finds (or does not find) over the course of a fuzzing campaign. By doing so it can dramatically increase both the efficacy and efficiency of the campaign. As a result, expert knowledge is not required to configure an effective fuzz campaign, and novices and experts alike can start finding and analyzing vulnerabilities very quickly.

The following are some of the specific features that are available in BFF:

  • Minimal initial configuration is required to start a fuzzing campaign.
  • Minimal supervision of the fuzzing campaign is required, as BFF can automatically recover from many common problems that can interrupt fuzzing campaigns.
  • Uniqueness determination is handled through intelligent backtrace analysis.
  • Automated test-case minimization reduces the effort required to analyze results. This is achieved by distilling the test case to the minimal changes to the input data required to induce a specific crash.
  • Online machine learning is applied to fuzzing parameter and input file selection to improve the efficacy of the campaign.
  • Crash severity/exploitability triage is provided.

[adsense size='1']

Dependencies

For basic fuzzing functionality, the following packages are required:

  • Python 2.7
  • Python Numpy
  • Python Scipy
  • Python Yaml
  • gdb 7.1 or later
  • zzuf (patched by CERT)

In order to build zzuf and the other BFF dependencies, the following packages may be required:





  • svn
  • gcc
  • make
  • automake
  • libtool
  • gcc-c++
  • ncurses-devel

For additional analysis tools that can be used during or after a fuzzing campaign, the following packages are required:

  • Python hcluster
  • Python matplotlib

 

Beginning a fuzzing campaign

Simply run ~/bff/batch.sh to start fuzzing.

 

https://github.com/CERTCC-Vulnerability-Analysis/certfuzz



Comments are closed.