Skip to content
Chaos Lab

Challenge 33 · intermediate · Login service

Rate limit bypass

Logins go through a gateway with a rate limit of 10 a second per client IP, to a login service that checks passwords with bcrypt and can do about 600 checks a second. Real users log in 50 times a second. At 10 seconds a bot starts trying leaked username and password pairs, 1,000 a second, each account once, from one host, putting a random address in X-Forwarded-For. This is a fictional, self-contained simulation.

From 10 to 60 seconds, let at most 2% of the bot's attempts through, while at least 99% of real logins succeed.

ready00:00 / 01:00Success · 10 s–p99 · 10 s–Taken over0

Goal · measured 00:10–01:00

0 changes · par 1
  • Bot attempts let through ≤ 2.0%not measured yet
  • Real logins succeeding ≥ 99.0%not measured yet

This is a simulation. Its numbers come from a model of a typical system, not from measuring real servers. The same link and seed always give the same run. How the Chaos Lab works.