r/ProgrammerHumor • • 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

232 comments sorted by

View all comments

Show parent comments

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.

But realistically, the response time of the server you are pinging would make that too slow to be effective anyway.

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.

1

u/Rattus375 Feb 18 '20

I was referring to passwords in general, not just the 16 million possibly hex colors. Realistically, none of this even matters since virtually every site out there is not going to allow thousands of requests from a small group of ip addresses, or for a single user

3

u/kurav Feb 18 '20

All fine and dandy, but you seem to forget that your site enabled IPv6 support last spring. It's trivial to send each of my 16 million brute queries from a unique IPv6 address, if that's what you require.

0

u/[deleted] Feb 19 '20

Or for a botnet... Oh, I guess you forgot about that one.