What is Fuzzing?
Feeding a program huge numbers of unexpected or malformed inputs to see whether it crashes or misbehaves. Crashes point to bugs, some of which are security flaws, so developers fuzz their own code before attackers do.
A fuzzer generates or mutates inputs, such as odd file contents, network messages or web requests, sends them to the target and watches for crashes, hangs and error reports. Coverage-guided fuzzers also track which parts of the code each input reaches and steer toward new ones, which finds deep bugs surprisingly fast. Each crash is then triaged: is it a harmless failure or a flaw such as a memory error that someone could abuse? Fuzzing is used by developers in their build pipelines, by vulnerability researchers, and by testers on software they are allowed to test. Continuous fuzzing with a regression gate keeps fixed bugs from coming back.
Source: NIST CSRC Glossary (NIST SP 800-95).
Practice it in a lab
Free, hands-on labs that teach Fuzzing.
- Seed a fuzzer with model-generated inputs and measure the coverage gain against random and hand-written seeds (deterministic STUB model) (advanced, ~2 hours)
- Set up continuous fuzzing with a regression gate (libFuzzer + ASan in CI) (advanced, ~90 min)
- Fuzz your own web app to find hidden inputs and endpoints (beginner, ~40 min)
- Hunt typosquatting and phishing lookalikes of your domain with dnstwist (intermediate, ~35 min)
- Fuzz a buggy parser with AFL++ and watch it find the crash (advanced, ~60 min)
- Property-fuzz your own API with Schemathesis (find the 500s your example tests miss) (advanced, ~70 min)
Related terms
Related
- Seed a fuzzer with model-generated inputs and measure the coverage gain against random and hand-written seeds (deterministic STUB model)
- Set up continuous fuzzing with a regression gate (libFuzzer + ASan in CI)
- Fuzz your own web app to find hidden inputs and endpoints
- Hunt typosquatting and phishing lookalikes of your domain with dnstwist
- Fuzz a buggy parser with AFL++ and watch it find the crash
- Property-fuzz your own API with Schemathesis (find the 500s your example tests miss)
- Financial Theft
- Hash function
- MITRE ATT&CK
- Penetration testing
- Cybersecurity glossary
- Free cyber labs