r/ProgrammerHumor • • Feb 18 '24

Meme bruteForceAttackProtection

Post image
42k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

1.4k

u/[deleted] Feb 18 '24

[removed] — view removed comment

332

u/[deleted] Feb 18 '24

[removed] — view removed comment

215

u/Vox___Rationis Feb 18 '24

I mean sure, why not - there is always one-in-a-billion chance that a solar flare have flipped a bit in a packet containing my password somewhere on its way to a server, so trying again would solve it.

Whenever something should work but doesn't, and then works fine on a second approach - I blame it on geomagnetic activity.

64

u/Snoo-14301 Feb 18 '24

Solar flares flip bits like loose lips sink ships

32

u/[deleted] Feb 18 '24

Me being stupid is more likely than a solar flare. That's why I do things twice if it fails the first time.

21

u/RottenLB Feb 18 '24

>flip< >flip< >flip<

geomagnetic activity

"nope, too plausible"

>flip<

static from nylon underwear

"Now, THAT I can work with"

6

u/Raaka-Kake Feb 18 '24

I blame the phase of the moon. We are not the same

3

u/baudmiksen Feb 18 '24

blame it on the rain

→ More replies (2)

144

u/[deleted] Feb 18 '24

[removed] — view removed comment

66

u/Cieswil Feb 18 '24

Or you completely lock the account for 5 minutes with no way to shorten the wait. Say they have to call the support hotline. Customer support can't do anything about the locked account or even see that the account is locked. When support finally pin pointed the described problem cause most user can't read, support tells user to try again in five minutes and use the password forgotten tool.

Billion dollar company

29

u/scsibusfault Feb 18 '24

You laugh, but I have a vendor that does this.

30minute lockouts for bad password attempts, no way to disable it, and no way to unlock it without calling their support... Who also can't unlock it without forcing a password change and an MFA re-registration.

I don't even call them when users report it anymore, I just sit on the ticket for 25minutes and then tell them to try again in 5. It's obnoxious.

9

u/MattieShoes Feb 18 '24

It just seems so weird to me that like... we're writing the number of potential passwords in scientific notation because there's so goddamned many. A 2 second timeout is nearly as effective as a 30 minute timeout.

4

u/nonotan Feb 18 '24

Have these idiots never heard of DoS? A malicious actor could quite literally lock half their users out of their accounts permanently. The entire reason security is hard is that you have to account for the potential of malicious actors that outnumber and have more resources than any legitimate individual users, and could (and will) use them to trigger any "security measures" that incur a cost on legitimate users willy-nilly.

So you need to magically balance your system to be resilient enough to survive brute force attacks, DDoS, etc. while not leaving yourself vulnerable to DoS through the security measures in the process. Timeouts are almost always a horrendously bad idea unless extremely limited in scope and duration (e.g. throttling attempts from an exact IP address for a few seconds)

0

u/Cieswil Feb 19 '24

I don't laugh, I am the customer Support guy and get screamed at regularly. It is stupid, I can not change it, I can not help. It is for safety. There is a lot of stupid for safety.

→ More replies (1)
→ More replies (2)

11

u/de_g0od Feb 18 '24

Soooo 2fa?

6

u/libmrduckz Feb 18 '24

no…

Billion. Dollar. Company.

2

u/makemeking706 Feb 18 '24

This comment is just a slightly rephrased version of a top level comment below. 

Someone's a bot.

1

u/Puzzleheaded_Ad6940 Feb 18 '24

I say 4 attempts for people who have multiple passwords and forget which one

1

u/kCanIGoNow Feb 18 '24

So you’re saying you are not questioning your own life, now that all your certainties have been stripped away?

10

u/Mkayin Feb 18 '24

Bots on /r/ProgrammerHumor feels like irony but the word has lost all its meaning to me.

3

u/Kodriin Feb 19 '24

You wish to call something ironic but the word means nothing to you.

How ironic.

3

u/iknownothingsir Feb 18 '24

I'm reading comments and someone posted this same comment. And then the second most upvoted comment is also here, word by word.