News for hackers. Stuff that matters.

heliosyne

Re:Okta – Username Above 52 Characters Security Advisory on Saturday November 02, 2024 @07:09AM (#42025615)
I didn't complain about anyone. The Okta vulnerability isn't because of public salts.
Re:Okta – Username Above 52 Characters Security Advisory on Saturday November 02, 2024 @02:08AM (#42024359)
No, rainbow tables are hash-input specific. They're user-specific only if the salt is user-unique. Usernames aren't normally part of the hash input because they're assumed-public knowledge.

You can test this for yourself by creating a user account, then editing the master password database and manually changing the username without recalculating the password hash. The password will still work. If the username was part of the hash input, the password would fail.

Re:Okta – Username Above 52 Characters Security Advisory on Saturday November 02, 2024 @01:43AM (#42024289)
Because bcrypt is still viable. Its cost factor is easily scaled to commodity performance, keeping the attack cost high.

The main attack vector these days is GPU-based compute. There, SHA* algorithms are particularly weak because they can be so efficiently computed. Unlike SHA algorithms, bcrypt generates high memory contention, even on modern GPUs.

Add in the constraint of broad support, low "honest use" cost, and maturity (extensive hostile cryptanalysis), bcrypt stays as one of the better choices even 25 year later.

That said, bcrypt's main limitation is it has a low memory-size cost. There are some newer algorithms that improve on bcrypt by increasing the memory-size cost to more than is practical even for FPGA attacks.

More importantly, bcrypt didn't actually fail here. The vulnerability happened because okta didn't use it correctly. All crypto is insecure if you use it wrong enough.

Re:Okta – Username Above 52 Characters Security Advisory on Saturday November 02, 2024 @01:14AM (#42024208)
The security of salting is twofold. Yes, it defeats the common rainbow table. But if the salt is known, a rainbow table for that salt can be computed. The security of salting depends on the salt being unknown.

If the salt is externally known, which the username and userID necessarily are, then the rainbow table for that account can be computed entirely offline, defeating the point of salting.

Re:Ask HN: What ist your AdBlock strategy? on Friday November 01, 2024 @10:07AM (#42017030)
Desktop and phone: Firefox + uBlock.

Router is OPNsense with its own validating recursor, domain blacklist, and routing blackhole.

Phone runs a private VPN to my router when not on my home network.