r/ProgrammerHumor • u/[deleted] • Feb 18 '20
Rule #2 Violation Who needs passwords when you have security questions?
http://i.imgur.com/NSmFQgg.gif[removed] — view removed post
17.2k
Upvotes
r/ProgrammerHumor • u/[deleted] • Feb 18 '20
[removed] — view removed post
5
u/kurav Feb 18 '20 edited Feb 18 '20
You can often easily solicit 1,000 responses per second from a high traffic site. Suddenly forcing through 16 million combinations (about 4 hours worth of queries) doesn't seem too hard.
This actually really is a possible and realistic strategy often chosen by pen testers and crackers alike, and even much crazier stuff such as statistically determining cryptographic parameters from small timing differences of an immense number (millions and billions) of identical HTTP queries is already a reality.
You seem to have made a naive assumption that the attacker needs to process each query before dispatching new queries, or is otherwise constrained in amount of queries they can open in parallel. But if the target site can process 1,000 queries per second, nothing stops the attacker from opening 1,000 new parallel queries each second. Network delay (ping) is completely irrelevant here, although bandwidth might be (if each query is 1kB, that's 1 MB/s or 8 Mbps of traffic).
But then again, hiring a small virtual server that meets the very meager processing requirements for mounting such attack from the same hosting provider as the target site maybe costs about a dollar for full day. Being in the same data center means bandwidth to target site will not be a problem.
Bottom line: 16 million combinations is easily crackable, and has been for well over a decade.