17 break-ins; the breach cracks the red drawers.
Chapter 7 of 7
Guard every account
Larkspur has builders and staff, and four attackers wait: a breach, a guesser, a cookie thief and a phishing page.
This chapter: Which store, second factor and session length lose the fewest accounts?
About this chapter
You will learn
- Each defence stops a different attacker
- Friction is a real cost
- Phishing needs a different tool
Words you’ll meet
- Second factor
- Something besides the password; here a TOTP code from a phone app.
- TOTP
- A time-based one-time password: a six-digit code from a shared secret and the clock.
- Phishing
- A lookalike page that collects what you type and passes it on.
Step 1 of 2
Each defence stops some attackers and costs builders or staff a little friction at sign-in.
Find the fewest break-ins for the least friction.
17 break-ins · 10 sign-in steps a monthNOT YET
The best: 6 break-ins, 374 steps.
As writtenSHA-256Salted SHA-256PBKDF2, 1,000 roundsPBKDF2, 100,000 roundsPBKDF2, 600,000 rounds
Password onlyPassword and TOTP code
1 hour1 day30 days
Password onlyPassword and TOTP code
1 hour1 day30 days
| Attacker | Accounts |
|---|---|
| Breach: cracks the stolen table on one graphics card | Ada, Bram, Cora, Dev, Esme, Finn, Gus, Hana, Ivo, Jo |
| Guesser: tries the leaked list at the sign-in form | Ada, Bram, Cora, Hana |
| Cookie thief: replays a stolen staff cookie | Jo |
| Phishing page: relays a password and code in real time | Cora, Hana Passkeys stop this, outside this bench. pages.nist.gov · checked 2026-10-30 |
10 demo accounts. The session lengths match NIST’s limits; the attackers, their timings and the sign-in counts are planning numbers written for this site.