Lessons Learned From Cracking 2M LinkedIn Passwords
An anonymous reader writes "Qualys researcher Francois Pesce used open source password cracker John the Ripper to try to crack SHA-1 hashes of leaked LinkedIn passwords. He ran the John the Ripper default command on a small default password dictionary of less than 4,000 words. The program then switched to incremental mode based on statistical analysis of known password structures, which generated more probable passwords. The results? After 4 hours, approximately 900,000 passwords had been cracked. Francois then ran numerous iterations, incorporating older dictionaries to uncover less common passwords and ended up cracking a total of 2,000,000 passwords."
Surely this is not news.
They still dont have any account bound to them... so its like owning 2M keys to very specific doors witch resides somewhere in a city of the size of new york. Totaly useless.
gpg - --gen-rand 1 9 | gpg -cat > linkedin.asc
And presto, 72 bits of sweet entropy in your password which you don't even need to remember. It suffices to remember ONE password.
Need your linkedin password?
gpg linkedin.asc | xsel
(and type your one password).
Note that this way your linkedin password is never typed and never shows up on the screen.
That would be a new one.
What is the value of a random persons stolen linkedin account... I'm trying to figure out how its not zero. I have a pretty devious mind but I can't think of any way to make money off this with a reasonable chance of success. If you poison enough of the well, the whole data set becomes worthless so you can't threaten to modify data. Maybe they tried to extort money from linkedin inc and failed so they released purely by spite? Post IPO = the titanic has been struck by the iceberg and you've already gotten away, so it doesn't matter how fast the ship sinks, therefore no point in paying extortion fees?
Assuming only a fraction of accounts have been stolen and not the entire user list.... Why do people assume its only a tiny fraction and not the whole list of users? The same people who don't understand the concept of a "salt" must surely be correct when they say only a couple million records are out there. I would assume based on their heroic security performance to date, that ALL records are out there, we just only know about a couple.
"Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
Like "correct horse battery staple"?
Life is like a web application. Sometime you need cookies just to get by.
The predictable whining (and obligatory xkcd rebut) will be to make passwds "stronger", because open hashes or fast guessing is acceptable provider security.
I call BS! More "blaming the victim". Any secadmin/netadmin who has hashes available or allows unthrottled passwd guessing is INCOMPETANT. Staff are paid for professional-level knowledge so users do not need to be concerned.
The work itself is very nice, MD5 hashes can be cracked quickly in massive parallel on GPU hardware. This only matters after the hashes have already been stolen.
Practical security should be more systemic -- the cost of a wrong guess is more than a nanosecond of GPU. There are at least network delays, and in many cases lockouts. The latter make random guessing too costly/slow, especially progressive systems that allow 5 wrongs immediately, 10 in an hour, 20 in a day, and lock hard (manual intervention) above that.
My father had one of the early ATM cards but had me operate the machinery. It had an 8 digit assigned PIN, but dropped quickly to 4 when it was realized the 8 were hard to remember, and swallowing the card after 3 wrong guesses was more than adequate.
own up, who used the password slashdot - 0000003627a75d6c96a3d965247584a78779bc3d
Send me your password and I will verify that
-No one else is using it
-It is safe
BONUS: If you send me your credit card information I will tell if you if it's lucky!
THANKS,
"HAPPY DUDE"
742 EVERGREEN TERRACE
Most people use the same password in multiple places. I'm guessing that 80% of those Linkedin email/password combinations will also get one into bank accounts, as well.
I don't respond to AC's.
Let me admit upfront, I've never explored the world of password cracking. However part of the article doesn't make sense to me. He mentions password based on rules. However he listed the rules and it seemed really strange.
pwdlink from pwlink with the rule "insert d in 3rd position"
pwd4link from pwdlink with the rule "insert 4 in 4th position"
pwd4linked from pwd4link with the rule "append ed"
pw4linked from pwd4linked with the rule "remove 3rd char"
pw4linkedin from pw4linked with the rule "append in"
mpw4linkedin from pw4linkedin with the rule "prepend m"
mw4linkedin from mpw4linkedin with the rule "remove second character"
smw4linkedin from mw4linkedin with the rule "prepend s"
sw4linkedin from smw4linkedin with the rule "remove second character"
lsw4linkedin from sw4linkedin with the rule "prepend l".
Does that mean he made a rule that added a 'd' to EVERY word in his dictionary to try that as a password? Or was his rule "any time you see a 'pw' it might stand for 'password' and therefore adding a 'd' makes sense."?
My point is, these 'rules' don't seem like generic rules at all, rather they sound like an 'after the fact' description of how to change 'pwlink' into 'lws4linkedin'.
Can anyone explain what I'm missing, or did he just add that for 'article filler?'
--Welcome to the Realm of the Hawke--
If so-called professional websites used proper hashing and salting, even password123 would be a halfway decent password.
Without offline cracking, password weaknesses aren't very exploitable (even the most inept server will shut you down after a couple hundred attempts at brute-forcing your way through an online login).
People like to harp on those "idiots" who pick weak passwords that can be cracked with a rainbow table, but unlike the moron web devs who still fail to salt their password DB in 2012, your grandma is not paid to have basic knowledge of computer security.
SMS to phone
coming to a computer near you, for everything
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
We all know that people tend to choose weak passwords, this is not really newsworthy. Ever since the database was leaked, many people, including professionals, have performed various analyses of cracked passwords. This is fine, but I think there are more important things we need to know right now:
1) When exactly was the database leaked? It seems that it's been floating around the internet for some time before it hit the news last week.
2) What the attack vector was?
3) What security measures have been taken by LinkedIn to ensure this will not happen again?
And perhaps one more: is there a relation between LinkedIn, eHarmony and last.fm database leaks? Did the same person/group do this?
This is a nice piece of work where he uses incremental modifications of existing password templates to show that password "seasoning" with a few stray twiddles such as s/o/0/ or s/$/! isn't worth much.
linkedin is the only social network I've signed up for, and I visit less than twice a year. Don't think I used a strong password, but I do know I used a password totally unrelated to any other password on any other active account.
Sure beats being the guy with the password lsw4facebook or lsw4citibank on sites that might be easy to guess.
"IfYouCanReadThisYou'reTooCloseToMyPrivats".
"PrivacyIsDeadDon'tYouAgree".
"YouWin,NowFckOff".
"BeingParanoidDoesn'tMeanNobodyIsReadingThis".
"Kill 'em all and let Root sort 'em out"
Can they atleast confirm that the top five used password are still God, Love, Sex, etc etc, or what ever they were in that movie?
I barely trust most web-service providers with an email address that can be closed/blocked/changed with little cost or effort. Satan will skate before I start giving out my mobile number!
the above is my personal opinion and does not necessarily reflect that of the little voices in my head
Why is it the devs who get the short end of the stick in most 'xyz should be fired!' comments in this topic?
I've worked at several places (in QA) where the devs were perfectly aware that there were security weaknesses (usually a result of some small system that organically grew into some big web service - but never was designed to be a big web service) - but until something is on fire (read: bad press), management tends to not prioritize highly needed refactoring (lets not argue over what to call it) over new shiny features.
www.leakedin.org/
Nobody should use this site, period.
You seriously expect people to go to an arbitrary site and enter their password, knowing that the hashes have been leaked alongside account information?
In the kindest possible world this may be seen as a service, but the skeptic in everyone should hear very loud alarm bells. This site could easily log all of the passwords that are entered for "testing", use them to solve the harder-to-brute-force hashes, and deliver to the site operator the resulting account information and plaintext password!
Even if you had the best intentions posting that link, and even if the site actually is completely innocuous, one should never encourage any user to enter their password into a random third-party site. Please take it down immediately.
On linkedin you can see real people.. not just random net accounts. These people list their current job on Linkedin.
Someone could take their passwords, find out what company (or government agency) they work for, and download all their email.
Sell this information to hedge fund managers and investment corporations or tabloids whatever.
$$$ with no ???.
oldhack: "Security is a waste of money until shit hits the fan. 5 minutes later, it becomes waste of money again. "
In this case, you have all the tools to satisfy your inner skeptic: the source is right there, if you don't trust yourself to read it, it's trivial enough to examine all communication the page does.
As the site says, the passwords are hashed on the client, and nothing but the hash is ever sent to the server.
You make a fair point, but this is Slashdot, we're not supposed to be "users" here.
sic transit gloria mundi
So this was eye opening for me if nothing else. If you're not going to use something that generates and stores random passwords (say lastpass) - then you're forced to come up with something that you can remember. This means words, modified by "rules" - numbers and symbols attached to it. Basically this guy proved that strategy doesn't work.
So words and any rules applied to them are out. What next? Are we all forced to use truly random passwords for every single darn login we have (which in my case is literally hundreds). What about my current strategy of using obscure model numbers of things I like, and then modifying them? Is this safe or just as stupid as making a password "!pa$$w0rd"?
Has anyone located the correct zip or text file with the passwords in question? The hashes contained in the files circulating on the pirate bay have trailing zeros instead of their first characters.
In this case, you have all the tools to satisfy your inner skeptic: the source is right there, if you don't trust yourself to read it, it's trivial enough to examine all communication the page does. As the site says, the passwords are hashed on the client, and nothing but the hash is ever sent to the server. You make a fair point, but this is Slashdot, we're not supposed to be "users" here.
You also make a fair point, and I'll admit I didn't catch that and replied hastily in light of that.
There are, however, a lot of known website tricks that can get around this (e.g., collaborating iframes, etc.) as well as server-side tricks (e.g., serve a malicious page every nth visitor). A full client-side audit will prove any given instance harmless, and I suspect the site likely will pass all such tests, but I still think the encouraged trust of a one-factor authentication credential to a third-party site is in bad security taste, especially as the link propagates outside of the "expert" community to relatives and friends who will likely not have the know-how to perform such auditing.
Thank you for pointing that out!
Ironically this hack means that at least one person is actually accessing all these linkedin accounts.
You realize that the concern many computer security people here have is that your password hash is available in the open. And you want to freely type it into another website? I don't care how much you trust this site. Don't do this.
//TODO: signature
This is the point that you realise that the people with stronger passwords are the ones you want to throw more brute force processing into hacking their passwords because they have something valuable to hide.
Unfortunately, I know my password has been hacked which means that the entire segment of accounts with the same password are effectively compromised. Its not my linked.in account that is worth hacking as they attackers could be scraping information from other more valuable sites.
why not has the usernames as well? however even using salts is weak in this manner. You have to do more than just add salt and hash to have a decent measure of security. If you use only one algorithm you really do not care about security
I've seen sites that just post the plaintext password. Maybe it's not the best thing to do, but at least you know what not to change your new password to.
"If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
...And you mispeled "incompetant".
the file is password hashes alone , no username , so what ? they have the keys but n clue to what door they individually open , so lets say that a burglar has a copy of all the apartement in NYC but no clue to what key goes with what door , do you really think he'd try them all ? , not to mention that the news was widly spead and the time to live of those hashes got reduced to a couple days maybe ?
security is not limited to passwords
There are only a handful of sites that I frequent that actually allow for useful passwords (ie. longer than 30 characters). Most are "between 4 and 12" or something idiotic.
As long as the people designing sites are inept and stupid, passwords will continue to be shit.
1. it's hassle for the company. you have to send to the customer, deal with customer service inquires for new ones/ lost ones, etc. it's now a logistics headache
2. it's a hassle for the customer. i have one for banking, and i'm always misplacing it, not having it when i need it, etc. just one more thing to keep track of in my life i don't want to. and a different fob for every important relationship? I have to carry around a jangle of fobs? Or leave them someplace and I can only do my banking there? No thanks.
3. everyone has a cellphone. everyone always has a cellphone easily available. they are going to replace your wallet anyways in the near future. so i wouldn't be surprised if cell phone companies, the government, and banks get together and decide to send you a receive text messages only widget, just for cellphone averse people such as yourself
intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
because she refused to properly secure her ports to outside access.
You realize you can also compute the SHA-1 of you own password with other means like BASH (and clear the history afterwards) and then enter the SHA-1?
As others said it also claims to hash the PW in JavaScript (so in your browser)?
It may also be the case that the posted source has nothing to do with the actions of the site. I mean, maybe they're being really friendly and helpful, but maybe the evildoers are just smart enough to instill a false sense of security by giving you some otherwise valid source, that isn't doing what they're trying to accomplish at all.
The bit about watching what the site does with Firebug or other browser tools or network monitors, will really reveal their nefarious nature...
End the FUD
1. Changed my LinkedIn password
2. Went to the site, entered a fake, almost certainly unique password. Result?
"Looks like your password was not leaked. Hooray!"
3. Entered my old password -- a password now not used on any account. Result?
Your password was leaked and cracked. Sorry, friend.
It's a fair point but I got the site details from Dave Windera, an award winning UK journalist who specialises in online security so I'd say it's pretty trustworthy. He knows his stuff, deeply. It's a pity it's now been modded down as it IS a useful resource. FWIW, it confirmed my password was in the wild. Bugger.
I want a list of atrocities done in your name - Recoil
It's Jj2jt#5jgj*(892]60)81'>/sa SO THERE
aw crap
It's not anything they posted separately, I just meant 'right click -> view source...'
I agree that not giving your passwords to such sites is a sound policy, but I also think it's good to actually check out if and how they could screw you, rather than just assume they can (by some dark magic).
sic transit gloria mundi
Heh...fair enough...I did, however, heed the "don't go there" warning. OK, in reality, I had no intention of going there; no interest, really. Just pointing out that provided source (and they're out there) doesn't always equal actual source).
End the FUD
Yeah, you're not alone. I was happily using PayPal's 2 factor authentication that used SMS, and then it stopped working months ago. I haven't had a chance to figure out who to blame, Fido or PayPal. It's too bad, it was a good system, I wish my banks would do something similar.
FTFY
Mistakes: See "Repeating Patterns"
Repeating Patterns: See "Mistakes"
It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
Note that by the very generic "web dev", I meant merely the web dev team leader ultimately responsible for the decision to implement their login system that way and not to refactor it. Whoever was in charge of that part, regardless of management pressure, should have known better and clamour for a fix until they got one.
Even the most moronic upper exec will bow down to a strident warning that the user database might be vulnerable to "evil hackers" and consequences would be dire if things are left unfixed (you don't get to become upper exec without a modicum of ass-covering skills).
Also: refactoring a (decently designed) system to include salting is a relatively painless task. We aren't talking about a complete refactoring of the DB schema or whatnot.
That was one of the funniest things about this whole story I can't believe that it returned "password hacked" to some of the stuff I entered i.e. assf**ker for instance. BTW that wasn't my real password LOLOL
Running away from a challenge, little mere STUDENT boy? http://yro.slashdot.org/comments.pl?sid=2933305&cid=40421131
?
* Absolutely, and I take IMMENSE PLEASURE watching little wannabe computer guru NOOBS like yourself, a mere STUDENT, running away from a challenge that I put to you there in the link above, where I challenge you to disprove points of mine that show custom hosts files get end users of them the following items:
---
1.) Better "layered-security"/"defense-in-depth"
2.) Better online speed/bandwidth while websurfing
3.) Better "anonymity" to an extent vs. DNS request logs
4.) The ability to circumvent DNSBL's (DNS Block Lists) IF the user finds them inconvenient or unjust
---
(Now, I could care less for your pussy-like "std. evasion replies" here, but instead? Well - let's see you disprove my 21++ points in favor of custom hosts files in the link above, where you're running away like the scared little rabbitt NOOB you are!)
A few years ago, I "knocked-the-chocolate" out of a post doc student named StarKruzr (Jarrett DeAngelis) whom I also caught LYING as well, right here on these forums & also @ Windows IT Pro (where I also knocked the daylights out of Dr. Mark Russinovich of Microsoft as well on memory mgt. (MS too, I was correct that "dedicate all free memory to caches" would FAIL on Windows, because *NIX variants manage memory @ a GLOBAL LEVEL, rather than by process/atomic threads as well as showing his ideas incorrect by examples from MS themselves, then lastly correcting his work for "hardcoded" (blew me away a PhD would make errors like THAT) mistakes in pagedefrag.exe as well... which he ended up THANKING ME FOR no less in email also @ least!)).
I am going to laugh @ you since you have evaded a challenge put to you, and everyone else reading's seeing you do the same too... shame, shame, shame, lol!
You sure "talk big", but when the chips are put on the table in my challenge to you there in the link above? YOU RAN!
"Run, Forrest - RUN!"
(So much for student PUNKS like you, eh?)
APK
P.S.=> What's the matter pussy? Your grad school masters/doctoral training (good luck paying off your debts) not enough to face up to a challenge & face the music in the link above?? Obviously... you're WEAK, a punk, and you make me laugh! apk