Auditing Security of Browser-Based Password Generators
summary
Audits 209 web generators and finds concrete failures: site control panels that produce 53-bit passphrases can be brute-forced in ~5 hours against NTLM GPUs but take 32 years against sha512crypt, so hashing choice matters; many generators use math.random is insecure or the multiply-and-floor bias with crypto.getRandomValues; the correct approach is a uniform crypto.getRandomValues method that rejects remainders. Built a client-side generator scoring 10/10 by those rules; server-side generation and third-party scripts remain the biggest risks.
AI-written summary · about
chapters (15)
- 0:00Introduction and background
- 7:08Designing my own generator
- 13:20Formal security definition
- 14:01Auditing random generators
- 27:27Client vs server generation
- 28:10Deterministic generators risks
- 33:07Security margins and bits
- 38:01Recap of secure generator
- 38:23Other security concerns
- 40:27Auditing usability and openness
- 41:30Auditing real-world generators
- 45:21My generator’s results
- 45:41Current audit status
- 47:04Web app vulnerabilities
- 48:32Q&A
