↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

A brief introduction to fuzzing and why it’s an important tool for developers

The page defines fuzzing as automatic test generation and execution aimed at finding security vulnerabilities. It says fuzzing has become a mainstay in software security, has found thousands of vulnerabilities, and is especially useful for software that processes untrusted inputs or has large, complex parsers.

Reading notes
#

  • Fuzzing is presented as an automated way to generate and run tests with the goal of finding security vulnerabilities.
  • Microsoft’s Security Development Lifecycle requires fuzzing at every untrusted interface of every product.
  • The page says fuzzing is useful for software that processes untrusted inputs.
  • It is also described as effective for standalone applications with large, complex data parsers.
  • Fuzzing can find vulnerabilities that static program analysis and manual code inspection often miss.
  • Blackbox random fuzzing mutates well-formed inputs at random and runs the program with the mutated inputs.
  • Grammar-based fuzzing uses an input grammar to generate many new inputs that satisfy the grammar’s constraints.
  • Whitebox fuzzing symbolically executes the program, collects input constraints from branches, negates them systematically, and solves them to produce new inputs.
  • Whitebox fuzzing is described as usually more precise than blackbox random fuzzing and able to exercise more code and discover more bugs.
  • The page says fuzzing is, in practice, a mix of hack, art, and science depending on the situation or technique used.