28 July 2010 | 5,007 views

FuzzDiff – Tool For Fuzzing and Crash Analysis

Want to Learn Penetration Testing

FuzzDiff is a simple tool to help make crash analysis during file format fuzzing a bit easier. I’m sure many people have written similar tools for their own purposes, but I haven’t seen any that are publicly available. Hopefully at least one person finds it useful.

When provided with a fuzzed file, a corresponding original un-fuzzed file, and the path to the targeted program, FuzzDiff will selectively “un-fuzz” portions of the fuzzed file while re-launching the application to monitor for crashes. This will yield a file that still crashes the target application, but contains a minimum set of changes from the original, un-fuzzed file. This can be useful in pinning down the exact cause of a crash.

The tool is written in Python and currently only works on Unix-based systems, since it monitors for crashes by checking for SIGSEGV. It also assumes that the target program adheres to the syntax “[program] [args] [input file]“. Both of these limitations can be easily worked around. The code is hardly what I’d call production-ready, but it gets the job done.

You can download FuzzDiff here:

fuzzdiff.py

Or read more here.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon


  



Recent in Exploits/Vulnerabilities:
- Windows Binary Planting DLL Preloading/Hijacking Bug
- Serious Vulnerability In Adobe ColdFusion Application Server
- Dangerous iPhone iOS JailBreak Exploit Goes Public

Related Posts:
- 4f: The File Format Fuzzing Framework
- Keep on Fuzzing! Advice
- Browser Fuzzer 3 (bf3) – Comprehensive Web Browser Fuzzing Tool

Most Read in Exploits/Vulnerabilities:
- AJAX: Is your application secure enough? - 103,664 views
- Learn to use Metasploit – Tutorials, Docs & Videos - 99,163 views
- No Emergency Patch For Latest Windows Exploit - 46,712 views

Leave a Reply