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
- Draw the checks around a visible task, and name the check that carries the security for each threat.
- Select a score threshold from labeled lab traffic, and give its false-accept rate and its false-reject rate with intervals.
- 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.
- 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.
- Add an adversarial perturbation defense, and measure its effect on a lab solver and its cost to a person.
- 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.
- 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
- L01 why perception is not enough (not yet published)
- L02 the score and the threshold
- L03 proof of work as a cost gate (not yet published)
- L04 token binding and attestation
- L05 adversarial perturbation defenses and their usability cost (not yet published)
- L06 accessibility, user cost, and law
- L07 maintenance: rotation, solve-rate monitor, and the price of abuse (not yet published)