Earlier quoted context omitted.
> So suppose you are developing an agile product, someone loses access to their account and asks for a new password, you type `head -c 9 /dev/urandom | base64`....`UPDATE users` I don't think I ever want to be _that_ agile. My agile projects usually have a set of application functions exposed as scripts immediately. And yes, proper password change is one of them. (besides, how about just using `pwgen 16` and not some…
... and since you are not danish, you don't realize that base64 emits the danish word "badeanstalts" and therefore fall to even the most trivial dictionary attack.
Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
31–40 of 62 posts
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#32This is of course not run-time configurable to increase the computational complexity of the password scrambling, but besides that, what are the problems? (I assume that there must be some, since I haven't ever heard of anybody handling passwords this way.)
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#33I had a long discussion with a my colleague Commander Adams today about improving password management policies for Krell Power Systems client logins. This is a change that would have to be added to the current project backlog, specified and designed, developed, and implemented. Selling this means making a compelling case that salting and changing our hashes would actually solve a problem for us and our clients. My se…
Information leaks are common: a backup tape gets FedExed to the wrong address, file sharing gets accidentally turned on, a Russian hacker finds a security hole in your machine while scanning millions of machines, some idiot puts the password database on a laptop and loses it. These sorts of problems are constantly making the headlines.
If you have bcrypt-style password encryption, such leaks are a nuisance and embarrassment.
If you do not have password encryption, the leak recipient can easily impersonate any and all users. They can control your system, create false communication, cause industrial equipment to destroy itself, send harassing messages, conduct financial fraud, and so forth.
The cost to use password encryption is a little engineering labor, the return on investment is a substantial reduction in risk.
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#34Earlier quoted context omitted.
In that case you just change the password. It's now whatever the client (pre)computes, the user input is just used to derive the 'real password'.
That's not entirely correct. The scheme that chris_j proposed can help prevent weak passwords from being cracked, since now an attacker needs to do one of two things to crack passwords: 1. Try lots of weak password - hash each one and compare to the list. This is slow, because the hash is slow. 2. Try breaking passwords with the partial hash - in this case the attacker either needs to try very difficult passwords (si…
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#35Earlier quoted context omitted.
In that case you just change the password. It's now whatever the client (pre)computes, the user input is just used to derive the 'real password'.
That's not entirely correct. The scheme that chris_j proposed can help prevent weak passwords from being cracked, since now an attacker needs to do one of two things to crack passwords: 1. Try lots of weak password - hash each one and compare to the list. This is slow, because the hash is slow. 2. Try breaking passwords with the partial hash - in this case the attacker either needs to try very difficult passwords (si…
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#36In last.fm's defense, they argued that there were some hardware devices (radios) that had last.fm clients, so they couldn't update their password system. I have a question though, how would a strong password that takes around 1 second to hash affect the scalability of these systems; would it impact the login times of users a lot? Imagine thousands of people trying to login at once. Might it be the reason linkedin did…
Sha-X, md5, etc, where designed to be fast. You don't want slow checksums.
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#37Dear tech journalists, please stop saying stuff like "But we have yet to find out why nobody objected to them protecting 150+ million user passwords with 1970s methods." We do know why people use SHA1(unsalted password), and it's because the dev stack still doesn't support something like SHA-256 or better yet bcrypt/PBKDF2 at all levels. So, right, I was a web developer pushing my PHP-based company to have a more rob…
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#38Would it be possible to come up with a simple little icon that can be put on sign-up pages to indicate that the service is using PBKDF2 or bcrypt of the like? Then, it would need to become popular enough for users to start to recognise it and look out for it when signing up. Even if most users don't have any idea what it's about, plenty of the more technically inclined users would, and they tend to be the early adopt…
This is a bad idea, and here's why: Honestly, I see it as almost self-evident that user would never ever learn this. But more importantly, what would stop anyone from putting up these icons? Who would check that they actually implemented it? Even if that was solved, people would just implement this one thing because it looked good. But there are plenty of other ways to ruin your password security, so you couldn't rea…
This does not detract from the rest of what you said, of course, and I agree that this wouldn't really be useful.
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#39Earlier quoted context omitted.
In that case you just change the password. It's now whatever the client (pre)computes, the user input is just used to derive the 'real password'.
That's not entirely correct. The scheme that chris_j proposed can help prevent weak passwords from being cracked, since now an attacker needs to do one of two things to crack passwords: 1. Try lots of weak password - hash each one and compare to the list. This is slow, because the hash is slow. 2. Try breaking passwords with the partial hash - in this case the attacker either needs to try very difficult passwords (si…
1. The attacker doesn't need the text the user entered anymore, just the precomputed hash
2. Probably the length and alphabet is fixed now, which might obfuscate/protect 'password' or 'test', but reduces the value of a strong password. Granted, this last part is a gut feeling.
Re: Poul-Henning Kamp: LinkedIn Password Leak? Salt Their Hide
#40I had a long discussion with a my colleague Commander Adams today about improving password management policies for Krell Power Systems client logins. This is a change that would have to be added to the current project backlog, specified and designed, developed, and implemented. Selling this means making a compelling case that salting and changing our hashes would actually solve a problem for us and our clients. My se…
These guys did a nice example: http://howsecureismypassword.net/
Lists are available from various sources. Here's a good page http://www.skullsecurity.org/wiki/index.php/Passwords