skip to content

part 4 · sources checked 2026-11-22

design and build a challenge that survives a solver

This module shows how a defender designs, builds, and measures a challenge gate in a lab of its own.

purpose

A correct answer to a challenge does not pass a gate when the other checks of the gate do not agree with it.

You build one gate in your own lab, with servers and open-source tools that you host. The overview of challenges is in Challenges: CAPTCHA design and solver design (not yet published). After the module, you can say which parts of a challenge carry the security, and what each part costs a real user.

objectives

  1. Draw the checks around a visible task, and name the check that carries the security for each threat.
  2. Select a score threshold from labeled lab traffic, and give its false-accept rate and its false-reject rate with intervals.
  3. Build a proof of work (PoW) gate with a difficulty schedule. Calculate the attacker cost that the gate sets, and the delay for a real user on a low-end device.
  4. Build a token server that verifies each token on the server of the site. Give it a token lifetime and a single-use check, and bind each token to its web session.
  5. Add an adversarial perturbation defense, and measure its effect on a lab solver and its cost to a person.
  6. Check a challenge against WCAG 2.2 SC 3.3.8 and the W3C note. Design an accessible path that is not a harder perception task.
  7. Write a maintenance plan with a scheme rotation and a price of abuse. Add a monitor of the pass rate of each scheme.

lessons

3 of 7 published

a dim title is not yet published

  1. L01 why perception is not enough (not yet published)
  2. L02 the score and the threshold
  3. L03 proof of work as a cost gate (not yet published)
  4. L04 token binding and attestation
  5. L05 adversarial perturbation defenses and their usability cost (not yet published)
  6. L06 accessibility, user cost, and law
  7. L07 maintenance: rotation, solve-rate monitor, and the price of abuse (not yet published)