Lion Cipher Lab

Estimate how many findings two testers both missed with capture-recapture

Why it matters

Every penetration test ends with the question nobody can answer directly: how much did we miss? Coverage against scope tells you what was touched, not what was found. Ecologists counting fish in a lake face the same problem and solved it decades ago with capture-recapture. You catch and mark some fish, catch again later, and the share of marked fish in the second catch tells you roughly how many fish there are. Software engineering borrowed the idea: Eick and colleagues (ICSE 1992) used it to estimate how many faults design reviewers had not found, from how much their independent findings…

What you'll learn

Steps in this lab

  1. Two independent catches tell you about the whole pond
  2. Two engagements, two testers each
  3. Write the estimator
  4. Run it: one app well covered, one not
  5. Why it is usually an underestimate, and how to use it anyway

Open the full interactive lab →