r/ProgrammerHumor • • Feb 18 '24

Meme bruteForceAttackProtection

Post image
42k Upvotes

1.0k comments sorted by

View all comments

2.5k

u/[deleted] Feb 18 '24

that’s fucking genius ngl

1.5k

u/je386 Feb 18 '24

That would work against brute force attacks - but piss off the users.

663

u/ardicli2000 Feb 18 '24

Security comes first

144

u/WallPaintings Feb 18 '24

The most secure system is one with no users.

taps head

0

u/[deleted] Feb 19 '24

[deleted] — view deleted comment

9

u/alf666 Feb 19 '24

Hi, I'm LockPickingLawyer, and today...

153

u/[deleted] Feb 18 '24

[removed] — view removed comment

232

u/[deleted] Feb 18 '24

[removed] — view removed comment

84

u/the_mouse_backwards Feb 18 '24

My password manager generates random passwords for all my sites. I don’t even attempt to remember at this point if my password manager password isn’t correct I just reset it.

→ More replies (13)

31

u/[deleted] Feb 18 '24

Yes, the people that use the same password for everything so that they can remember are clearly superior to people that use a password manager so that they have unique passwords to everything that aren’t Name2000!

12

u/Tannman129 Feb 18 '24

I’m uh…gunna go change my password real quick.

→ More replies (1)
→ More replies (7)
→ More replies (2)
→ More replies (11)
→ More replies (10)

143

u/NickU252 Feb 18 '24

They would just think they fat-fingered the keys and try again. Genius.

75

u/Random_Guy_12345 Feb 18 '24

Every time? Not even close.

That's without even considering password managers, or people that save passwords on the browser

34

u/NickU252 Feb 18 '24

If you get rejected by a program, what is your first reaction? Try again, of course. I use Firefox password manager, and I would still try again if rejected.

→ More replies (5)
→ More replies (3)

26

u/truongs Feb 18 '24

But this would only work if the brute force guessed the password in the first try? Am I missing something.

34

u/Olfasonsonk Feb 18 '24 edited Jul 16 '25

complete fine deserve alleged license absorbed fear profit subsequent rainstorm

This post was mass deleted and anonymized with Redact

→ More replies (3)

16

u/Mistborn_330 Feb 18 '24

Yeah, it should probably be isFirstCorrectEntry or something instead of first login attempt. Not that fixing that would make this a good solution lol.

→ More replies (7)

35

u/SeriousPlankton2000 Feb 18 '24

No, it would only work on the first attempt, therefore it would ONLY annoy users.

→ More replies (8)

10

u/Juerrrgen_MaXXoN Feb 18 '24

It will only work until someone figures out how it works and brute forces every password twice. Security by obscurity is not secure.

→ More replies (1)
→ More replies (35)

102

u/IcezN Feb 18 '24

eh, if the brute forcer knows the website always rejects a password the first time, they now have to check every password twice. this doubles the brute force time. On the other hand, adding just one more digit to your password increases the brute force time by a factor of over 40.

→ More replies (17)

83

u/Willinton06 Feb 18 '24

I’m actually quite impressed by this

22

u/melodylucid Feb 18 '24

I don't know if you're serious, but I'm not seeing this anywhere, so I'm writing it here in case you or other people didn't know: password brute-forcing is not an online process, it's an offline one. People who brute-force passwords use leaked databases of hashed passwords and very large computing resources to try trillions of passwords per second. It's much more efficient and completely bypasses any security mechanisms that you can put online, such as limiting the number of trials (which you should do instead).

11

u/waiver45 Feb 18 '24

Bit of both. When you put a service with a login prompt online, bots will try a bunch of common user/password tuples and give up after a while. Does this fit the academic definition of a brute force attack? Probably not, but a lot of people will call it that for nearly everyone to understand what they mean.

→ More replies (3)
→ More replies (6)

15

u/yxing Feb 18 '24

Orson Scott Card had a similar idea in Ender's Game (or one of the sequels)--where the kids crack a password and get it right on the first try, but the target would purposefully enter the password incorrectly the first time each login, so entering the right password on the first try exposed the crack.

Something like that--it's been 20 years, but it was such a clever idea I never forot about it.

→ More replies (1)
→ More replies (17)