|Version 19 (modified by sam, 3 years ago) (diff)|
zzuf - multi-purpose fuzzer
zzuf is a transparent application input fuzzer. Its purpose is to find bugs in applications by corrupting their user-contributed data (which more than often comes from untrusted sources on the Internet). It works by intercepting file and network operations and changing random bits in the program’s input. zzuf’s behaviour is deterministic, making it easier to reproduce bugs. Its main areas of use are:
- quality assurance: use zzuf to test existing software, or integrate it into your own software’s testsuite
- security: very often, segmentation faults or memory corruption issues mean a potential security hole, zzuf helps exposing some of them
zzuf’s primary target is media players, image viewers and web browsers, because the data they process is inherently insecure, but it was also successfully used to find bugs in system utilities such as objdump.
zzuf is not rocket science: the idea of fuzzing input data is barely new, but zzuf’s main purpose is to make things easier and automated. You can see an impressive list of bugs found with zzuf.
Download zzuf (source code) from zzuf-0.12.tar.gz (13 June 2008). Supported platforms are: Linux (glibc), FreeBSD, OpenBSD, Mac OS X.
There is no Windows port yet and NetBSD is almost working. Help is sought for the Win32 port, see ticket #62.
The zzuf tutorial is a hands-on guide to the most important zzuf features. It starts with the working principles but goes on with very advanced uses of the tool.
Warning: this tutorial requires zzuf version 0.11 or later.
- Basic zzuf usage
1.1. Launching zzuf
1.2. Invoking different programs
1.3. The fuzzing ratio
1.4. The random seed
1.5. Creating fuzzed files
- zzuf as a batch testing tool
2.1. Debug mode
2.2. Include and exclude patterns
2.3. Seed ranges
2.4. Ratio ranges
- WORK IN PROGRESS
Sam gave a few talks about zzuf. The slides contain information you may find useful:
- FOSDEM 2007 (Sam actually missed that talk) - PDF or OpenOffice
- Hacker Space Festival 2008 - PDF or OpenOffice
zzuf is full of black magic and can be pretty difficult to hack with. The zzuf/internals internals documentation? tries to shed light on the global architecture and some specific tricks.
Development happens in a centralised Subversion repository:
There is also a Git repository that mirrors the central one:
If you want to discuss zzuf or report bugs, you can write to firstname.lastname@example.org or join #libcaca on irc.freenode.net.
- zzuf-20070225.pdf (606.8 KB) - added by sam 5 years ago.
- zzuf-20070225.odp (1.1 MB) - added by sam 5 years ago.
- zzuf-0.10.tar.gz (415.9 KB) - added by sam 5 years ago.
- zzuf-0.11.tar.gz (430.0 KB) - added by sam 5 years ago.
- zzuf-0.12.tar.gz (435.6 KB) - added by sam 5 years ago.
- zzuf-20080621.odp (419.5 KB) - added by sam 5 years ago.
- zzuf-20080621.pdf (609.8 KB) - added by sam 5 years ago.
- zzuf-0.13.tar.gz (450.7 KB) - added by sam 3 years ago.
- zzuf-osx-0.13.tar.gz (143.1 KB) - added by sam 3 years ago.
(143.4 KB) -
added by sam 3 years ago.