News for hackers. Stuff that matters.
Re:EHarmony Confirms Password Hack by Lukeas14 on Thursday June 07, 2012 @05:29PM (#4081450)
If this is part of the same attack that hit LinkedIn and Last.fm are there any theories on what the exploit was? I'm having a hard time imagining how someone could steal passwords from 3 large, completely independent web services at the same time.
Re:EHarmony Confirms Password Hack by tzs on Thursday June 07, 2012 @05:38PM (#4081484)
It's possible that these were accumulated at very different times, by very different exploits, and possibly by very different people, and ended up in the hands of one group that released them together.

I saw speculation that the easy to break ones have already been long broken and exploited, and this release is the ones that weren't easy. That could explain why all three were dumped at the same time...they basically just went through and dumped the ones they couldn't use from all of the accumulated lists.

Re:EHarmony Confirms Password Hack by seanp2k2 on Thursday June 07, 2012 @06:51PM (#4081754)
See also: VUPEN hack with 130 0-days supposedly leaked.
Re:EHarmony Confirms Password Hack by stcredzero on Thursday June 07, 2012 @05:50PM (#4081536)
Couldn't password databases be implemented as hardened "appliances?" This wouldn't have to be sold as hardware, it could just be an install.

The machine would only have the function of storing and verifying passwords, and secure communication with authorized clients. All apis could use fixed-length fields.

Passwords themselves could be stored using a modified salting technique using a white-box version of block cipher. This would make it much harder for attackers to crack the password database.

The block cipher used for the modified salt could also be implemented by separate hardware, which would make it much harder to crack the password database.

Re:EHarmony Confirms Password Hack by lawnchair_larry on Thursday June 07, 2012 @06:15PM (#4081625)
I think if you care enough about password security to know these appliances exist, you already know how to use a proper password storage scheme. The ones that we are seeing dumped were not even trying.
Re:EHarmony Confirms Password Hack by derefr on Thursday June 07, 2012 @06:32PM (#4081693)
What the parent is talking about is basically a solution to the http://en.wikipedia.org/wiki/Principal%E2%80%93agent_problem. I don't think these password compromises were likely failures of management to say "let's build a secure system"; they were failures of the engineers told to "build a secure system" to know and care enough about building secure systems to learn about things like bcrypt/scrypt in the first place.

The solution to this, of course, is to make password security into its own industry, with its own principals who are incentivized to understand every facet of secure systems. This would resolve as the parent explains--third-party vendors selling these companies multi-million-dollar "password appliances" with installation, support contracts, and all of that brouhaha--and then bringing in their support engineers to teach the company's own people how to securely call into the appliance.

Re:EHarmony Confirms Password Hack by stcredzero on Thursday June 07, 2012 @11:04PM (#4082469)
I don't think these password compromises were likely failures of management to say "let's build a secure system";...

The solution to this...would resolve as the parent explains--third-party vendors selling these companies multi-million-dollar "password appliances" with installation, support contracts, and all of that brouhaha--and then bringing in their support engineers to teach the company's own people how to securely call into the appliance.

Screw that. Just use a specific API in BSON structured with fixed-length fields to make the call. Build the appliance as proprietary software to install on top of an existing secure Linux distro. Sell to small sites for $1000 a pop or so, with different licensing for virtual server and cloud hosting companies. If Big Co. needs serious bandwidth, then they can do a project.

Hardware component: that we'd need VC funding for. Hardware is just harder.

Re:EHarmony Confirms Password Hack by lawnchair_larry on Friday June 08, 2012 @01:15PM (#4085189)
My position is that the engineers were probably told to "build a system". It's still uncommon for security to even be a thought, sadly.
Re:EHarmony Confirms Password Hack by Lukeas14 on Thursday June 07, 2012 @06:40PM (#4081709)
I don't think the problem is that storing passwords is too hard, at least not for the majority of startups not dealing with PCI compliance. Setting up a user system with bcrypt/scrypt is pretty trivial. The problem is you have several apps that were built before "just use bcrypt" became a meme and switching to bcrypt or some kind of hardened "appliance" just isn't seen as a priority, especially if it would require changes in several legacy systems. It's like telling people to backup their databases. Everyone knows they should do it. It's not hard. But it doesn't directly bring in revenue so therefore some people will inevitably just never get around to it (until they get get hacked and it becomes a PR issue).
Re:EHarmony Confirms Password Hack by pbreit on Thursday June 07, 2012 @07:07PM (#4081807)
_Beginning_ to use bcrypt/etc may not be that hard but migrating existing users from some other scheme to bcrypt/etc takes a bit more thought and planning. And the "use bcrypt" crowd _never_ provides any guidance on that.
Re:EHarmony Confirms Password Hack by jleader on Friday June 08, 2012 @05:34PM (#4086275)
I've heard 2 ways to do it:

1. Add a flag column to your password database; whenever anyone signs in without the flag set, encrypt their password the old way (for checking against their old entry in the database) and the new way (for storage in the database) and set their flag. The only trouble is, users who never log in don't get migrated.

2. It's possible to treat the old encrypted form of the password as if it's plaintext, salt that, encrypt with bcrypt, and store the result in the database. Then password checking becomes: encrypt password with old algorithm, salt, encrypt with bcrypt, and check against the database. It lets you convert everyone at once, but makes the login code a little more complicated, forever. If you can't convert everyone's database entry at once, you might still want a flag column, so you can migrate more gradually.

There are still all the usual headaches of QA, release management, etc., but presumably you already know how to handle them. What else am I missing?

Re:EHarmony Confirms Password Hack by stcredzero on Thursday June 07, 2012 @11:09PM (#4082483)
This would be a good selling point for companies once they have a little funding. Save yourself some embarrassment and plop down $1000 for a properly secured password db. There's also a strong selling point for the sites that have gotten hacked.
Re:EHarmony Confirms Password Hack by viraptor on Thursday June 07, 2012 @06:22PM (#4081654)
How many services use ldap with per-user controlled access, kerberos or radius for authenticating their users? Yeah... If we're not using what's available now, why would people start using specific appliances?

I know the list here has a wide range of possibilities and doesn't map exactly to what you describe. What I mean is that we can do things 10 times better than we do them now with off-the-shelf (or even, off-the-github) products right now. Yet there's still a lot of services authenticating by `SELECT ... WHERE user='" + $user + "' AND pass='" + $pass + "'`.

Re:EHarmony Confirms Password Hack by stcredzero on Friday June 08, 2012 @11:14AM (#4084572)
Yeah... If we're not using what's available now, why would people start using specific appliances?

Convenience? If it was possible to just plop down $1000, redirect some calls, setup a migration, and be done with it in an afternoon, more people would do it.

Re:EHarmony Confirms Password Hack by eli on Thursday June 07, 2012 @06:06PM (#4081594)
That seems like it would be just as much work (and just as prone to errors) as building it right in the first place.
Re:EHarmony Confirms Password Hack by stcredzero on Friday June 08, 2012 @11:25AM (#4084618)
Nah, you just a) have to make the call to an authentication function twice (first call sends the old hash hashed again into to the new system, then if that doesn't auth, call the old system), b) set up a migration that inserts the old password hashes into the new system. The new system hashes that data for you.
Re:EHarmony Confirms Password Hack by kibwen on Thursday June 07, 2012 @06:38PM (#4081704)
Perhaps users would be better served by salting their passwords manually before signing up for any web services. If your usual throwaway password is "Passw0rd1", try "eharmonyPassw0rd1" for your eHarmony account, and "linkedinPassw0rd1" for your LinkedIn account.

At this point, I can't even tell if this is sarcasm.

Re:EHarmony Confirms Password Hack by mjschultz on Thursday June 07, 2012 @06:44PM (#4081730)
It might help, but I think the cracking tools would simply get an update that tries `password` and `<salt>password` (and even `password<salt>`).

As the salt is guessable (as it is in your examples) it just turns into a cat-and-mouse game that the crackers win every time (since for every one of you there are probably 2 or more of them).

Re:EHarmony Confirms Password Hack by AdamGibbins on Thursday June 07, 2012 @06:49PM (#4081745)
One of the primary ideas behind salts is to render pre-generated rainbow tables useless. Using a salt like the OP mentioned meets this need.

Although I'm unsure to how useful and widely used pre-generated rainbow tables are with modern computing.

Re:EHarmony Confirms Password Hack by AncientPC on Thursday June 07, 2012 @09:33PM (#4082209)
Self-salting with the domain name serves another purpose: prevents you from using the same password across multiple sites.

If your password is "password_linkedin", it's fairly obvious what the salt is. However, most released passwords are not heavily scrutinized. It's most likely that those using exposed passwords will instead try [email protected] / password_linkedin elsewhere.

You can also easily change self-salt so it doesn't fit any obvious pattern. What I do is a strong base password, then self-salt with the domain name. For example:

Mk3+e1_T2iei

I'm using "Mk3+e1_T" as the base password, "2" as a divider, and "iei" are the first 3 vowels of a domain name (LinkedIn in this example).

Re:EHarmony Confirms Password Hack by mjschultz on Thursday June 07, 2012 @07:11PM (#4081827)
Well, in the eHarmony case we're talking about MD5 hashes, so even if you self-salt the password but still choose a weak password a good password cracker will find the password fairly quickly.

As an example, yesterday user rorrr posted this comment: https://news.ycombinator.com/item?id=4076840.

> > MD5, SHA-1, SHA-256, SHA-512, et al, are not "password hashes." By all means use them for message authentication and integrity checking, but not for password authentication.

> Bullshit. MD5 is just fine, as long as you use the salt. Here, hack this:

    MD5(password + salt) = "b520542710812f347432232b2a1fba83"
    salt = "MD5 rules"
Self chosen salt, unknown password, known MD5 hashing method. Fire up a password cracker and feed it in a decent dictionary, and you get the password = "Spiderpig1".

    $ echo -n "Spiderpig1MD5 rules" | md5sum
    b520542710812f347432232b2a1fba83  -
No rainbow table needed.
Re:EHarmony Confirms Password Hack by AdamGibbins on Thursday June 07, 2012 @07:15PM (#4081845)
Indeed, the hashing is useless so the salts are rendered ineffective. But again, they're not 100% useless - they still do serve their purpose, to render pre-generated tables useless. But when one can generate them again so quick it provides negligible benefit.
Re:EHarmony Confirms Password Hack by diminoten on Thursday June 07, 2012 @06:14PM (#4081621)
Is this newfound outpouring of confirmed hacks a result of the market becoming more blasé about leaked passwords, or is this just a statistical anomale?
Re:EHarmony Confirms Password Hack by joenathan on Thursday June 07, 2012 @06:31PM (#4081688)
I'm not going to trust these companies again, I closed my accounts with last.fm and linkedin, you get one shot with my data.
Re:EHarmony Confirms Password Hack by Mz on Thursday June 07, 2012 @06:16PM (#4081630)
Eclipse? Transit of Venus?*

* (I know, I know: Wrong crowd. But take it as a tongue in cheek way of saying that it could be a "trend" with another explanation than either of the two you posit.)

Re:EHarmony Confirms Password Hack by diminoten on Thursday June 07, 2012 @06:46PM (#4081740)
That's fair, I just wonder if there's some valid research worth doing here to figure out what's going on. Hacks aren't exactly going down, after all, and if we knew at least one of the causes that we don't already know about now, security might be slightly easier.
Re:EHarmony Confirms Password Hack by Mz on Thursday June 07, 2012 @06:50PM (#4081751)
If you are curious about what is behind the trend, you could start a file collecting stories and see if you can spot any similarities, then ask around or whatever (I am not a hacker, so not sure what the next research step would be).

That is the kind of thing I do when something piques my curiosity and I want it answered enough to satisfy my curiosity but don't care if it is answered well enough to "prove" anything to anyone else.

Re:EHarmony Confirms Password Hack by ecaron on Thursday June 07, 2012 @05:39PM (#4081488)
I have to imagine that this will open the potential for a viral website of the "is your spouse still playing the field" variety.
Re:EHarmony Confirms Password Hack by 5549900 on Thursday June 07, 2012 @06:18PM (#4081642)
Is it safe to let websites store personal information for you. Why not store the information on your own storage media that you control with your own hands? How long before Facebook is hacked? Would they even tell us about it when it happens? The websites have not proven they can safeguard personal information. Why should we keep giving it to them?
Re:EHarmony Confirms Password Hack by toyg on Thursday June 07, 2012 @06:34PM (#4081698)
Any info on how these passwords were hashed? MD5, SHA*, salted, unsalted...?
Re:EHarmony Confirms Password Hack by jleader on Friday June 08, 2012 @05:37PM (#4086278)
The news articles I've read said SHA-1 for LinkedIn, and MD5 for eHarmony, though I can't find the references right now.
Re:EHarmony Confirms Password Hack by debacle on Thursday June 07, 2012 @05:29PM (#4081448)
What a strange week for security.