Skip to main content

dfuzz

dfuzz - automatic daemon configuration fuzzer. Rather than being a fuzzer itself, dfuzz is a wrapper for other simple fuzzers solving few common flaws which makes automated testing a bit difficult.

Although its primary targets are configuration files, it is possible to use dfuzz to fuzz any input files.

The main problems dfuzz solves are:
  • alpha versions of fuzzers - most of the fuzzers are just alpha versions which are no longer developed or maintained

  • common format - no need to understand how to use every single underlying fuzzer

  • customizable monitoring and automatic error analysis

  • straightforward specification of what to test and which file to supply to the target

  • combination of mutation and generation of fuzzed files

Requirements

  • python >= 2.6

  • fuzzer (zzuf, autodafe, …)

  • gdb, valgrind (both are optional)

Features

  • independent of underlying fuzzer

  • highly configurable

  • built to be extendible

  • automation friendly

Supported fuzzers

  • zzuf (mutation)

  • autodafe (generation)

  • plain (debugging purposes)

Usage

  • install requirements

  • install dfuzz (for example easy_install dfuzz)

  • create a working directory

  • supply fuzz.conf file (sample follows)

  • according to the modules you want to use, create mut or gen directory in your working directory and supply a file to fuzz or a template to use

  • run dfuzz -d -o name_of_the_working_directory

  • observe output

  • if everything is fine remove the -d and -o options and run the command again

  • check the samples directory created in your working directory

  • use included incident_viewer to browser incidents if there are any

Complete documentation in docs directory.

Sample fuzz.conf file

[global]
binary=libvirtd
args=-f FUZZED_FILE --verbose
threads = 1
timeout = 2

generation  = 0
mutation    = 1
combination = 0

[generation]
modules  = dfuzz.gen.autodafe
priority = high

[mutation]
modules = dfuzz.mut.zzuf; dfuzz.mut.plain
priority = high

[combination]
modules = dfuzz.comb.simple
priority = low

In it’s simplest form, dfuzz can be used as a zzuf wrapper with enhanced detection and reporting capabilities.

Metadata

Release files for dfuzz 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dfuzz 0.6
File Size Uploaded Provenance Actions
dfuzz-0.6.tar.gz 41.9 kB Without provenance Details for dfuzz-0.6.tar.gz

Release files / dfuzz-0.6.tar.gz

Download URL dfuzz-0.6.tar.gz
Size 41.9 kB
Tags Source
SHA-256 checksum
How to use checksums
768c18e988d9c7c1472a576ea3ed68725968433648467acaafba2e478954e469
BLAKE2b-256 checksum
How to use checksums
d95916bf366fe6d075d0739ec83d493c57d1973375b41f545c0c942a78a36c0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dfuzz 0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page