cyber-security-resources/fuzzing_resources
2022-04-01 07:35:52 -04:00
..
README.md Update README.md 2022-04-01 07:35:52 -04:00

Fuzzing Resources

Commercial Fuzzers

Community-supported/Open Source Fuzzers

Free Tutorials

Types of Fuzzing Techniques

The following are the most common types of fuzzing categories:

Mutation

Mutation-based fuzzers use samples of valid input that are mutated randomly to produce malformed input. A dumb mutation fuzzer can simply select a valid sample input and alter parts of it randomly. You can build in greater intelligence by allowing the fuzzer to do some level of parsing of the samples to ensure it only modifies specific parts or doesnt break the overall structure of the input so its immediately rejected by the program. Some protocols or file formats will incorporate checksums that will fail if theyre modified arbitrarily. A mutation-based fuzzer should usually fix these checksums so the inputs accepted for processing or the only code tested is the checksum validation and nothing else.

Generation

Generation-based fuzzers actually generate input from scratch rather than mutating existing input. They usually require some level of intelligence to construct input that makes at least some sense to the program, although generating completely random data would also technically be generation. Generation fuzzers often split a protocol or file format into chunks, which they can build up in a valid order, and randomly fuzz some of those chunks independently. This can create inputs that preserve their overall structure, but contain inconsistent data within it. The granularity of these chunks and the intelligence with which theyre constructed define the level of intelligence of the fuzzer. While mutation-based fuzzing can have a similar effect as generation fuzzing (as, over time, mutations will be randomly applied without completely breaking the inputs structure), generating inputs ensures this will be so. Generation fuzzing can also get deeper into a protocol more easily, as it can construct valid sequences of inputs applying fuzzing to specific parts of that communication. It also allows the fuzzer to act as a true client/server, generating correct, dynamic responses where these cant be blindly replayed.

Evolutionary

Evolutionary fuzzings an advanced technique, which well briefly describe. It allows the fuzzer to use feedback from each test case to learn the format of the input over time.