Skip to content

A vulnerable, backdoored C program for testing fuzzers.

License

Notifications You must be signed in to change notification settings

grajagandev/fuzzgoat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Fuzzgoat Backdoor Challenge

This C program has been deliberately backdoored to test the efficacy of fuzzers and other analysis tools.

CAUTION: Do not copy any of this code - there is evil stuff in this repo.

Building

Compile with:

afl-clang-fast -o fuzzgoat -I. main.c fuzzgoat.c -lm

Replace afl-clang-fast with the compiler of your choice as appropriate for the fuzzer you are using.

We recommend the AFL fuzzer available at: http://lcamtuf.coredump.cx/afl/

Contributing

Ever want to write a backdoor? Want a free Fuzz Stati0n t-shirt? Clone the fuzzgoat repo, build it, backdoor it and send us a pull request. The first 5 accepted submissions will get a t-shirt. Some guidelines:

  • It should be neither too easy nor too hard for the fuzzer to trigger the backdoor. Ideally the fuzzer should find the crash in between 1 and 10 minutes of run time.
  • The backdoor can be as obvious or as obfuscated as you like.
  • Include a test case which triggers the backdoor and crashes fuzzgoat.
  • Please comment the code which constitutes the backdoor e.g. // Deliberate backdoor
  • Let us know your t-shirt size.
  • James Comey is ineligible - any backdoors he submits will not be considered. Nor will he get a t-shirt.
  • Have fun - contact: [email protected] with any questions or issues.

Thank You

Fuzzgoat was adapted from udp/json-parser - we chose it because:

  • Its not too big or cumbersome - ~1200 lines of C yet lots of paths for a fuzzer to dig into.
  • Performance: its very fast at ~3000 execs / sec.
  • The code is clean and very readable.

Fuzz Stati0n would like to thank the creators and maintainers of udp/json-parser.

About

A vulnerable, backdoored C program for testing fuzzers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%