Awesome-Fuzzing/README.md

278 lines
14 KiB
Markdown
Raw Normal View History

Welcome to Awesome Fuzzing [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
===================
2016-07-11 10:42:39 -04:00
A curated list of fuzzing resources ( Books, courses - free and paid, videos, tools, tutorials and vulnerable applications to practice on ) for learning Fuzzing and initial phases of Exploit Development like root cause analysis.
### Table of Contents
- [Books](#books)
- [Courses](#courses)
+ [Free](#free)
+ [Paid](#paid)
- [Videos](#videos)
+ [NYU Poly Course videos](#nyu-poly-videos)
+ [Conference talks/tutorials on Fuzzing](#conf-talks-tutorials)
- [Tutorials](#tutorials)
- [Tools](#tools)
+ [File Format Fuzzers](#file-format-fuzzers)
+ [Network Protocol Fuzzers](#network-protocol-fuzzers)
+ [Taint Analysis](#taint-analysis)
+ [Symbolic Execution + SAT/SMT Solvers](#smt-solvers)
+ [Essential Tools (generic)](#essential-tools)
- [Vulnerable Applications](#vuln-apps)
2016-07-02 17:42:55 -04:00
- [Contributing](#contribution)
Awesome Fuzzing Resources
-------------
<a name="books" />
2016-07-11 10:42:39 -04:00
## Books
*Books on fuzzing*
2016-07-11 10:42:39 -04:00
+ [Fuzzing: Brute Force Vulnerability Discovery](https://www.amazon.com/Fuzzing-Brute-Force-Vulnerability-Discovery/dp/0321446119) by Michael Sutton, Adam Greene, Pedram Amini.
2016-07-11 10:42:39 -04:00
+ [Fuzzing for Software Security Testing and Quality Assurance ](https://www.amazon.com/Fuzzing-Software-Security-Assurance-Information/dp/1596932147) by Ari Takanen, Charles Miller, and Jared D Demott.
2016-07-11 10:42:39 -04:00
+ [Open Source Fuzzing Tools](https://www.amazon.com/Open-Source-Fuzzing-Tools-Rathaus/dp/1597491950) by by Gadi Evron and Noam Rathaus.
2016-07-11 10:42:39 -04:00
+ [Gray Hat Python](https://www.amazon.com/Gray-Hat-Python-Programming-Engineers/dp/1593271921) by Justin Seitz.
2016-07-11 10:42:39 -04:00
> **Note:** Chapter(s) in the following books are dedicated to fuzzing.
2016-07-11 10:42:39 -04:00
> - [The Shellcoder's Handbook: Discovering and Exploiting Security Holes ( Chapter 15 )](https://www.amazon.com/Shellcoders-Handbook-Discovering-Exploiting-Security/) by Chris Anley, Dave Aitel, David Litchfield and others.
2016-07-11 10:42:39 -04:00
> - [iOS Hacker's Handbook - Chapter 1](https://www.amazon.com/iOS-Hackers-Handbook-Charlie-Miller/dp/1118204123/) Charles Miller, Dino DaiZovi, Dion Blazakis, Ralf-Philip Weinmann, and Stefan Esser.
2016-07-11 10:42:39 -04:00
IDA Pro - The IDA Pro Book: The Unofficial Guide to the World's Most Popular Disassembler.
<a name="courses" />
2016-07-11 10:42:39 -04:00
## Courses
*Courses/Training videos on fuzzing*
<a name="free" />
2016-07-11 10:42:39 -04:00
### Free
[NYU Poly ( see videos for more )](https://vimeo.com/5236104 ) - Made available freely by Dan Guido.
2016-07-11 10:42:39 -04:00
[Samclass.info ( check projects section and chapter 17 ) ](https://samsclass.info/127/127_F15.shtml) - by Sam.
2016-07-11 10:42:39 -04:00
[Modern Binary Exploitation ( RIPESEC ) - Chapter 15 ](https://github.com/RPISEC/MBE) - by RPISEC.
[Offensive Computer Security - Week 6](http://www.cs.fsu.edu/~redwood/OffensiveComputerSecurity/lectures.html) - by W. Owen Redwood and Prof. Xiuwen Liu.
<a name="paid" />
2016-07-11 10:42:39 -04:00
### Paid ( $$$ )
[Offensive Security, Cracking The Perimeter ( CTP ) and Advanced Windows Exploitation ( AWE )](https://www.offensive-security.com/information-security-training/)
2016-07-11 10:42:39 -04:00
[SANS 660/760 Advanced Exploit Development for Penetration Testers](https://www.sans.org/course/advance-exploit-development-pentetration-testers)
[Exodus Intelligence - Vulnerability development master class](https://blog.exodusintel.com/2016/05/18/exodus-intelligence-2016-training-course/)
<a name="videos" />
2016-07-11 10:42:39 -04:00
## Videos
*Videos talking about fuzzing techniques, tools and best practices*
<a name="nyu-poly-videos" />
2016-07-11 10:42:39 -04:00
### NYU Poly Course videos (from Dan Guido)
[Fuzzing 101 (Part 1)](https://vimeo.com/5236104) - by Mike Zusman.
2016-07-11 10:42:39 -04:00
[Fuzzing 101 (Part 2)](https://vimeo.com/5237484) - by Mike Zusman.
2016-07-11 10:42:39 -04:00
[Fuzzing 101 (2009)](https://vimeo.com/7574602) - by Mike Zusman.
[Fuzzing - Software Security Course on Coursera](https://www.coursera.org/learn/software-security/lecture/VgyOn/fuzzing) - by University of Maryland.
<a name="conf-talks-tutorials" />
2016-07-11 10:42:39 -04:00
### Conference talks/tutorials on Fuzzing
[Youtube Playlist of various fuzzing talks and presentations ](https://www.youtube.com/playlist?list=PLtPrYlwXDImiO_hzK7npBi4eKQQBgygLD)
Consider watching talks from Charlie Miller,
2016-07-11 10:42:39 -04:00
[Browser bug hunting - Memoirs of a last man standing](https://vimeo.com/109380793) - by Atte Kettunen
<a name="tutorials" />
2016-07-11 10:42:39 -04:00
## Tutorials/Blogs.
*Tutorials and blogs which explain methodology, techniques and best practices of fuzzing*
### [2016 articles]
[A year of Windows kernel font fuzzing Part-1 the results](http://googleprojectzero.blogspot.in/2016/06/a-year-of-windows-kernel-font-fuzzing-1_27.html) - Amazing article by Google's Project Zero, describing what it takes to do fuzzing and create fuzzers.
[A year of Windows kernel font fuzzing Part-2 the techniques](http://googleprojectzero.blogspot.in/2016/07/a-year-of-windows-kernel-font-fuzzing-2.html) - Amazing article by Google's Project Zero, describing what it takes to do fuzzing and create fuzzers.
[Interesting bugs and resources at fuzzing project](https://blog.fuzzing-project.org/) - by fuzzing-project.org.
[Fuzzing workflows; a fuzz job from start to finish](https://foxglovesecurity.com/2016/03/15/fuzzing-workflows-a-fuzz-job-from-start-to-finish/) - by @BrandonPrry.
[A gentle introduction to fuzzing C++ code with AFL and libFuzzer](http://jefftrull.github.io/c++/clang/llvm/fuzzing/sanitizers/2015/11/27/fuzzing-with-sanitizers.html) - by Jeff Trull.
[A 15 minute introduction to fuzzing](https://www.mwrinfosecurity.com/our-thinking/15-minute-guide-to-fuzzing/) - by folks at MWR Security.
> **Note:** Folks at fuzzing.info has done a great job of collecting some awesome links, I'm not going to duplicate their work. I will add papers missed by them and from 2015 and 2016.
[Fuzzing Papers](https://fuzzing.info/papers) - by fuzzing.info
[Fuzzing Blogs](https://fuzzing.info/resources/) - by fuzzing.info
[Root Cause Analysis of the Crash during Fuzzing](
https://www.corelan.be/index.php/2013/02/26/root-cause-analysis-memory-corruption-vulnerabilities/) - by Corelan Team.
[Root cause analysis of integer flow](https://www.corelan.be/index.php/2013/07/02/root-cause-analysis-integer-overflows/) - by Corelan Team.
[Creating custom peach fuzzer publishers](http://blog.opensecurityresearch.com/2014/01/creating-custom-peach-fuzzer-publishers.html) - by Open Security Research
2016-07-11 10:42:39 -04:00
[7 Things to Consider Before Fuzzing a Large Open Source Project](https://www.linux.com/blog/7-things-consider-fuzzing-large-open-source-project) - by Emily Ratliff.
2016-07-11 10:42:39 -04:00
##### From Fuzzing to Exploit:
[From fuzzing to 0-day](https://blog.techorganic.com/2014/05/14/from-fuzzing-to-0-day/) - by Harold Rodriguez(@superkojiman).
2016-07-11 10:42:39 -04:00
[From crash to exploit](https://www.corelan.be/index.php/2013/02/26/root-cause-analysis-memory-corruption-vulnerabilities/) - by Corelan Team.
2016-07-11 10:42:39 -04:00
##### Peach Fuzzer related tutorials
[Getting Started with Peach](http://community.peachfuzzer.com/v2/PeachQuickstart.html)
[Fuzzing with Peach Part 1](http://www.flinkd.org/2011/07/fuzzing-with-peach-part-1/) - by Jason Kratzer of corelan team.
[Fuzzing with Peach Part 2](http://www.flinkd.org/2011/11/fuzzing-with-peach-part-2-fixups-2/) - by Jason Kratzer of corelan team.
[Auto generation of Peach pit files/fuzzers](http://doc.netzob.org/en/latest/tutorials/peach.html) - by Frédéric Guihéry, Georges Bossert.
##### AFL Fuzzer related tutorials
[Fuzzing workflows; a fuzz job from start to finish](https://foxglovesecurity.com/2016/03/15/fuzzing-workflows-a-fuzz-job-from-start-to-finish/) - by @BrandonPrry.
2016-07-14 00:23:05 -04:00
[Fuzzing capstone using AFL persistent mode](https://toastedcornflakes.github.io/articles/fuzzing_capstone_with_afl.html) - by @toasted_flakes
2016-07-11 10:42:39 -04:00
##### Spike Fuzzer related tutorials
[Fuzzing with Spike to find overflows](http://null-byte.wonderhowto.com/how-to/hack-like-pro-build-your-own-exploits-part-3-fuzzing-with-spike-find-overflows-0162789/)
[Fuzzing with Spike](https://samsclass.info/127/proj/p18-spike.htm) - by samclass.info
##### FOE Fuzzer related tutorials
[Fuzzing with FOE](https://samsclass.info/127/proj/p16-fuzz.htm) - by Samclass.info
<a name="tools" />
2016-07-11 10:42:39 -04:00
## Tools
*Tools which helps in fuzzing applications*
<a name="file-format-fuzzers" />
2016-07-11 10:42:39 -04:00
### File Format Fuzzers
*Fuzzers which helps in fuzzing file formats like pdf, mp3, swf etc.,*
[MiniFuzz](https://www.microsoft.com/en-sg/download/details.aspx?id=21769) - Basic file format fuzzing tool by Microsoft.
2016-07-11 10:42:39 -04:00
[BFF from CERT](https://www.cert.org/vulnerability-analysis/tools/bff.cfm?) - Basic Fuzzing Framework for file formats.
2016-07-11 10:42:39 -04:00
[AFL Fuzzer (Linux only)]( http://lcamtuf.coredump.cx/afl/) - American Fuzzy Loop Fuzzer by Michal Zalewski aka lcamtuf
2016-07-11 10:42:39 -04:00
[Win AFL](https://github.com/ivanfratric/winafl) - A fork of AFL for fuzzing Windows binaries by Ivan Fratic
2016-07-11 10:42:39 -04:00
[TriforceAFL](https://www.nccgroup.trust/uk/about-us/newsroom-and-events/blogs/2016/june/project-triforce-run-afl-on-everything/) - A modified version of AFL that supports fuzzing for applications whose source code not available.
2016-07-11 10:42:39 -04:00
[Peach Fuzzer](https://peachfuzz.sourceforge.net/) - Framework which helps to create custom dumb and smart fuzzers.
2016-07-11 10:42:39 -04:00
[MozPeach](https://github.com/MozillaSecurity/peac://github.com/MozillaSecurity/peach) - A fork of peach 2.7 by Mozilla Security.
[Failure Observation Engine (FOE)](www.cert.org/vulnerability-analysis/tools/foe.cfm) - mutational file-based fuzz testing tool for windows applications.
[rmadair](http://rmadair.github.io/fuzzer/) - mutation based file fuzzer that uses PyDBG to monitor for signals of interest.
2016-07-14 00:06:54 -04:00
[hongfuzz](https://github.com/google/honggfuzz) - A general-purpose, easy-to-use fuzzer with interesting analysis options. Supports feedback-driven fuzzing based on code coverage. Supports GNU/Linux, FreeBSD, Mac OSX and Android.
2016-07-14 00:10:36 -04:00
[zzuf](https://github.com/samhocevar/zzuf) - A transparent application input fuzzer. It works by intercepting file operations and changing random bits in the program's input.
2016-07-14 00:12:38 -04:00
[radamsa](https://github.com/aoh/radamsa) - A general purpose fuzzer and test case generator.
<a name="network-protocol-fuzzers" />
2016-07-11 10:42:39 -04:00
### Network Protocol Fuzzers
*Fuzzers which helps in fuzzing applications which use network based protocals like HTTP, SSH, SMTP etc.,*
[Peach Fuzzer](https://peachfuzz.sourceforge.net/) - Framework which helps to create custom dumb and smart fuzzers.
[Sulley](https://github.com/OpenRCE/sulley) - A fuzzer development and fuzz testing framework consisting of multiple extensible components by Michael Sutton.
2016-07-11 10:42:39 -04:00
[boofuzz](https://github.com/jtpereyda/boofuzz) - A fork and successor of Sulley framework.
2016-07-11 10:42:39 -04:00
[Spike](http://www.immunitysec.com/downloads/SPIKE2.9.tgz) - A fuzzer development framework like sulley, a predecessor of sulley.
2016-07-11 10:42:39 -04:00
[Metasploit Framework](https://www.rapid7.com/products/metasploit/download.jsp) - A framework which contains some fuzzing capabilities via Auxiliary modules.
2016-07-14 00:15:33 -04:00
[Nightmare](https://github.com/joxeankoret/nightmare) - A distributed fuzzing testing suite with web administration, supports fuzzing using network protocols.
<a name="taint-analysis" />
2016-07-11 10:42:39 -04:00
### Taint Analysis ( How user input affects the execution)
2016-07-11 10:42:39 -04:00
[PANDA ( Platform for Architecture-Neutral Dynamic Analysis )](https://github.com/moyix/panda)
[QIRA (QEMU Interactive Runtime Analyser)](http://qira.me/)
<a name="smt-solvers" />
2016-07-11 10:42:39 -04:00
### Symbolic Execution + SAT/SMT Solvers
[Z3](https://github.com/Z3Prover/z3)
2016-07-11 10:42:39 -04:00
[SMT-LIB](http://smtlib.cs.uiowa.edu/)
2016-07-11 10:42:39 -04:00
### References
I haven't included some of the legends like AxMan, please refer the following link for more information.
https://www.ee.oulu.fi/research/ouspg/Fuzzers
<a name="essential-tools" />
2016-07-11 10:42:39 -04:00
### Essential Tools (generic)
2016-07-11 10:42:39 -04:00
*Tools of the trade for exploit developers, reverse engineers*
<a name="debuggers" />
2016-07-11 10:42:39 -04:00
#### Debuggers
2016-07-11 10:42:39 -04:00
[Windbg](https://msdn.microsoft.com/en-in/library/windows/hardware/ff551063(v=vs.85).aspxi) - The preferred debugger by exploit writers.
2016-07-11 10:42:39 -04:00
[Immunity Debugger](http://debugger.immunityinc.com) - Immunity Debugger by Immunity Sec.
2016-07-11 10:42:39 -04:00
[OllyDbg ](http://www.ollydbg.de/) - The debugger of choice by reverse engineers and exploit writers alike.
2016-07-11 10:42:39 -04:00
[Mona.py ( Plugin for windbg and Immunity dbg )](https://github.com/corelan/mona/) - Awesome tools that makes life easy for exploit developers.
2016-07-11 10:42:39 -04:00
[x64dbg](https://github.com/x64dbg/) - An open-source x64/x32 debugger for windows.
2016-07-11 10:42:39 -04:00
[Evan's Debugger (EDB)](http://codef00.com/projects#debugger) - Front end for gdb.
2016-07-11 10:42:39 -04:00
[GDB - Gnu Debugger](http://www.sourceware.org/gdb/) - The favorite linux debugger.
2016-07-11 10:42:39 -04:00
[PEDA](https://github.com/longld/peda) - Python Exploit Development Assistance for GDB.
2016-07-11 10:42:39 -04:00
[Radare2](http://www.radare.org/r/) - Framework for reverse-engineering and analyzing binaries.
<a name="dissembers" />
2016-07-11 10:42:39 -04:00
#### Disassemblers and some more
2016-07-11 10:42:39 -04:00
*Dissemblers, disassembly frameworks etc.,*
2016-07-11 10:42:39 -04:00
[IDA Pro](https://www.hex-rays.com/products/ida/index.shtml) - The best disassembler
2016-07-11 10:42:39 -04:00
[binnavi](https://github.com/google/binnavi) - Binary analysis IDE, annotates control flow graphs and call graphs of disassembled code.
2016-07-11 10:42:39 -04:00
[Capstone](https://github.com/aquynh/capstone) - Capstone is a lightweight multi-platform, multi-architecture disassembly framework.
<a name="others" />
2016-07-11 10:42:39 -04:00
#### Others
2016-07-11 10:42:39 -04:00
[ltrace](http://ltrace.org/) - Intercepts library calls
2016-07-11 10:42:39 -04:00
[strace](http://sourceforge.net/projects/strace/) - Intercepts system calls
<a name="vuln-apps"/>
2016-07-11 10:42:39 -04:00
## Vulnerable Applications
Exploit-DB - https://www.exploit-db.com
(search and pick the exploits, which have respective apps available for download, reproduce the exploit by using fuzzer of your choice)
2016-07-11 10:42:39 -04:00
##### Samples files for seeding during fuzzing:
https://files.fuzzing-project.org/
[MS Office file format documentation](https://www.microsoft.com/en-us/download/details.aspx?id=14565)
2016-07-02 17:42:55 -04:00
<a name="contribution"/>
2016-07-11 10:42:39 -04:00
## Contributing
2016-07-02 17:42:55 -04:00
[Please refer the guidelines at contributing.md for details](Contributing.md).
Thanks to the following folks to made contributions to this project.
+ [Tim Strazzere](https://twitter.com/timstrazz)
+ [jksecurity](https://github.comecurity)