Live data from Hacker News

YouPorn passwords available for download, thousands of users exposed

nakedsecurity.sophos.com

71–80 of 90 posts

Re: YouPorn passwords available for download, thousands of users exposed

#71

Earlier quoted context omitted.

What baffles me even more is how some people actually whip out their credit card and give the digits to a porn site. Why? Most of the big porn studios are as trustworthy as any other Internet business of the same size, and if your credit card number is misused, you're not liable for the charges anyway. Porn popularized selling DRM-free content for money long before Louis CK made it popular. Porn actors need to pay th…

> Why? Most of the big porn studios are as trustworthy as any other Internet business of the same size The probability of a leak may be similar but the downside isn't. It's no problem whatsoever if your name is linked to cheapprogrammingbooks.com, you cancel the card, get a new one. The situation is somewhat different for spermgarglingteens.com.

How? Someone that regularly peruses leaked password lists will know that you look at porn?

Re: YouPorn passwords available for download, thousands of users exposed

#72
post #70
post #69

Earlier quoted context omitted.

Hah, you're right. It's practically impossible to generate passwords in such way that they will give hashes differing by only a byte. Sorry, I see timing attacks everywhere.

Have you actually ever written an exploit for one? It'll cure you of that problem really fast. (I'm being serious, not snarky).

This is actually a very good advice, especially for people like me who have hard time visualizing how complex things work. For example, when I tried to understand what the meet-in-the-middle attack is, and couldn't, it was incredibly helpful to implement it (https://gist.github.com/1062437). Then I understood.

Re: YouPorn passwords available for download, thousands of users exposed

#73
post #65

Top 10 domains: 1469 yahoo.com / 1071 hotmail.com / 882 gmail.com / 205 hotmail.co.uk / 178 web.de / 136 gmx.de / 127 aol.com / 116 hotmail.de / 115 live.com / 104 hotmail.fr Top 10 passwords: 110 123456 / 75 123456789 / 30 12345 / 23 melinda / 19 fuck / 18 1234567890 / 17 Nightmare / 16 allzen / 15 password / 15 anal That's of about 6400 records.

I'm curious about these: 23 melinda 16 allzen Seems odd that so many people would end up with those passwords. Maybe these represent multiple accounts by the same person?

You're right, it's mostly just a few people. There are duplicate entries in the input file I didn't account for.

Re: YouPorn passwords available for download, thousands of users exposed

#74
post #15

so who is going to be the first person to parse this out and determine what the most commonly used password is? Any bets on asdfghjkl;' ?? i think i'll do this tonight

it's 123456, and that's pretty common across a lot of sites.

Re: YouPorn passwords available for download, thousands of users exposed

#75
post #11
post #2

How many sites need to be humiliated like this before people learn to hash passwords with something like bcrypt? It's like two damn functions. You just call them! It's so easy that even a baby squirrel could do it! There is no excuse. Until then, I hope everyone is using a throwaway password for accounts that can be non-disastrously stolen, and using strong unique passwords for the important ones.

Based entirely on the format of the data that was publicly accessible, it looks like this data, including usernames and passwords, are raw $_POST server variables spit out in a debug log. All the hashing and encryption in the world can't protect you against saving the data to disk, above your webroot, in plain text before you hit your security component. This was pure programmer error, a form of ignorance, but not ne…

My point still stands in general, though apparently not in this particular case. :-)

Nice catch, by the way.

Re: YouPorn passwords available for download, thousands of users exposed

#76
post #46
post #28

I'm CTO for Manwin Canada and ultimately responsible for YouPorn. It's unfortunate that people are associating chat.youporn.com to the actual YouPorn.com site, but they are not affiliated at all. It was operated by a completely separate entity, which we've obviously closed as soon as we discovered it. The accounts on chat.youporn.com are different than the accounts on YouPorn. Though as was mentioned, it is probably…

Thanks for showing up here! By hashing, do you mean current best practice (bcrypt, scrypt, or possibly a pbkdf with high work factor), or something easily brute forced like MD5 and SHA1. There are issues with migration if you're doing the latter, but not a big deal. Do you have any contractual recourse against the chat provider? Have you considered including such terms in future contracts with partners? Do you have a…

What is wrong with salted SHA or even MD5 for that matter?

Re: YouPorn passwords available for download, thousands of users exposed

#77
post #76
post #46

Earlier quoted context omitted.

Thanks for showing up here! By hashing, do you mean current best practice (bcrypt, scrypt, or possibly a pbkdf with high work factor), or something easily brute forced like MD5 and SHA1. There are issues with migration if you're doing the latter, but not a big deal. Do you have any contractual recourse against the chat provider? Have you considered including such terms in future contracts with partners? Do you have a…

What is wrong with salted SHA or even MD5 for that matter?

A single round of a hash -- salted or not -- is simply broken in 2012. When you can rent time on a bunch of GPUs on EC2 for effectively nothing, breaking the vast majority of hashes takes no work at all. PBKDF2 with a large number of rounds (10000 recommended), bcrypt, or scrypt are a requirement IMO.

Re: YouPorn passwords available for download, thousands of users exposed

#78
post #15

so who is going to be the first person to parse this out and determine what the most commonly used password is? Any bets on asdfghjkl;' ?? i think i'll do this tonight

Unfortunately there are only 4800 unique users of total 6000 in pastie, a lot of dups. So recent arstechnica statistics, especially tag cloud by Ashkan Soltani, is not very accurate. It was very strange to discover generated '3kpm1858' password as popular. Check it here http://pastebin.com/f7MUMw6t

Re: YouPorn passwords available for download, thousands of users exposed

#79
post #48
post #25

Earlier quoted context omitted.

"Use bcrypt" is the answer to all those things. Bcrypt includes a salt, which is stored along with the method in the hash string. Hashing is not the same as encryption, so there is no key involved.

If you are using PHP then do this: $salt = '$2a$08$' . $random_data; $hash = crypt($password, $salt); $random_data is 22 random letters from A-Za-z0-9.= (16.5 bytes) (08 is the cost factor - you can change it, but 8 seemed reasonable in my tests.) If you google bcrypt and php you'll find a very complex and large class for doing this. It's no longer necessary - current versions of PHP have it built in.

Marco Arment (marco.org) has written a nice wrapper for it.

https://gist.github.com/1053158

Re: YouPorn passwords available for download, thousands of users exposed

#80
post #77
post #76

Earlier quoted context omitted.

What is wrong with salted SHA or even MD5 for that matter?

A single round of a hash -- salted or not -- is simply broken in 2012. When you can rent time on a bunch of GPUs on EC2 for effectively nothing, breaking the vast majority of hashes takes no work at all. PBKDF2 with a large number of rounds (10000 recommended), bcrypt, or scrypt are a requirement IMO.

Do you have any links to articles regarding being able to easily crack a single round hash?

I'm wondering what sort of time frame you'd be looking at for a single round password, i.e; md5(salt.cleartext)

Post reply on HN