Fuzz testing
A dynamic testing technique that feeds a program large volumes of malformed, unexpected or random input and watches for crashes, hangs or other failures that reveal flaws.
Fuzz testing, or fuzzing, sends a running program large amounts of invalid, unexpected or random input and monitors it for crashes, hangs or memory errors. Each failure points to input handling the developers did not anticipate, and many turn out to be security flaws such as buffer overflows or unhandled exceptions. The technique is commonly traced to Barton Miller’s work at the University of Wisconsin around 1990, which found that random input could crash a notable share of standard utilities.
Fuzzers are commonly described as mutation-based or generation-based. Mutation fuzzing takes valid sample input and alters it, which is quick to set up. Generation fuzzing builds input from a model of the expected format or protocol, which takes more effort but can reach deeper into the program. Fuzzing is dynamic, so it differs from code review and static application security testing, which read code without running it, and it complements input validation by testing whether validation actually works. It finds crashes more readily than logic flaws, and the tooling is covered in CISSP Domain 8.
Exam relevance: a scenario that describes sending random or malformed data to an application to see whether it fails is likely to be describing fuzz testing. Candidates are expected to know its strength with input handling defects and its limits with business logic.