Can Snowden be targeted using the Adobe breach?
7habitsofhighlyeffectivehackers.blogspot.com
7habitsofhighlyeffectivehackers.blogspot.com
I've never been a fan of password hints, but I'll admit it had never occurred to me that they could be used this way. This is yet another reason to use an algorithm like bcrypt that will generate different hashes for the same password.
I'm also amazed people put such obvious password hints, and some even had their exact password as the hint.
As to people using obvious password hints, it depends how much you care about the account - I don't use hints anywhere, but there's plenty of accounts I have where I really wouldn't care if anyone logged into it, so if I was someone who needed hints, then sure why not?
An identical password for two different accounts should never encrypt to the same string.
I'm not sure how you can keep the salt random and secret, and still use it when users log in?
I can't see why a user id could not be used as a salt though.
If this were common, someone constructing a lookup table for password hashes could include ones salted with the first N user ids. A N-times bigger table isn't something you'd be excited about as a cracker, but might still be practical.
If your user ids are randomly assigned this should be pretty much the same as generating a random salt. Still, the extra storage of a salt is going to be small compared to whatever else you're storing per-user, so better to do the safe thing and go with what's standard.
If Adobe has taken that approach, the intruders would have all the salts, but they would not be able to do this attack of seeing how many people use the same password.
However, Snowden's silly password hint would still have given the game away. If that is in fact him.
Exactly because you need it to calculate the hash and compare it.
If you want to get more security on top of that out of your salt, the only thing I can think is to add some security by obscurity on top: If it doesn't matter which field in the DB you use, just pick an unlikely one and keep secret which one it is. Might be id, email, favourite pet, or something else. Just don't forget to update the hash when the user changes that field.
> A new salt is randomly generated for each password. In a typical setting, the salt and the password are concatenated and processed with a cryptographic hash function, and the resulting output (but not the original password) is stored with the salt in a database.
Writing them is actually an excellent exercise, and humbling one too. Especially if you show your code to some skilled hacker / security expert.
Per-hash salts don't really slow that down at all, unfortunately.
Short-version: don't use the hash algorithms that are designed to be fast for protecting sensitive data; use something solid with a work factor instead.
For example, if the password is "a" and an unique salt is available in the database, it'll be trivial to brute force. If the password function is something like this, however: sha256("longsalt" + password + salt) the attacker will first have to figure out longsalt which can be slow if it's long.
Or am I completely mistaken?
In other words: there is a reason why security experts and cryptographers recommend the password storage mechanisms they do.
[1] http://arstechnica.com/security/2013/11/how-an-epic-blunder-...
Edit: Of course I mean two messages encrypted with the same key and initialisation vector. Do not reuse IVs kids, you'll get hurt.
It looks like they used 3DES which is for all intents and purposes here, immune to a this kind of attack.
EDIT: If they use 3DES in a CTR mode then it could be vulnerable to this, but looking at the base64ed texts in the blog posts, they are multiples of 8 meaning it is almost certainly in a block cipher mode. Would be interesting to see if you can find any block similarities if they used ECB.
So, say I have a two block password with '6aMjgZFLzYg' as the second block... when I just search for that block I see alot of hints that point to '123456789' as a password, implying the plaintext for that block is simply '9'. So now I believe the password is 9 characters long and ends with '9'.
Exactly how Palin's mail was "hacked", dog's name off of a wikipedia page.
This password protects something I doubt many people consider something that needs to be very secure. Why, therefore, should they use a complex password, or even feel the need to have a password at all? The risks associated with someone "hacking" your Adobe.com account are going to mostly seem like problems for Adobe, not problems for the user (and even the problems for Adobe are fairly dubious). Meanwhile, it is something you are pretty much never going to log in to.
It's like having a filing cabinet at your office that contains nothing but blank paper for the copy machine requiring a ten digit passcode. As the employee assigned a passcode for this cabinet, you are not going to consider the paper very valuable and you are hardly ever going to need to get into the cabinet to get that paper... why would you /not/ end up scrawling your passcode onto a post-it note somewhere (potentially even hiding it near the cabinet).
To get people to care about security you need to get them to care about the information being secured. In this case, I can't imagine most people would understand that anything in this account is valuable. Even to a more-trained-than-normal eye, it isn't 100% clear to me: you can read my tech support history (which might tell you more about myself or my work) and you can get my saved billing address (it does not save actual account information). My address (not everyone's, just mine) is already public record.
Really, the biggest concern is just that someone is going to change the e-mail address on my account and lock me out of it, preventing me from downloading licenses. I doubt your average normal user is going to even realize that changing the e-mail address on their account is possible, however (given the ways in which developers tend to use e-mail addresses and usernames interchangeably, I don't even blame them: this is a confusing concept and not every site provides the same functionality anyway).
People may have created their account and password for low value stuff and then started storing photos.
Your general point is of course correct.
If the cabinet for storing blank paper that I don't care about (and it's my cabinet, not something entrusted to me for safeguarding) requires a passcode, then I'd both set the passcode to '0000000' or '123456', and write it on a post-it note right there.
Similarly, if some website or forum that I don't care about (and don't fear if someone or everyone accesses my account) starts for me to require an account+password that I don't want - then I'd both set the password to something trivial ('password' ?) and ensure that my browser stores it so I don't have to. In an ideal world, I wouldn't have that account/password at all - most of accounts listed in my browser password-list are accounts where some site forces me to keep a password that I don't want to 'keep an account', do 'personalization', etc.
For example, I have a (free) account on Spotify. Is there any good reason why I should have a secure password there? Is there any good reason why I shouldn't tweet that password to everyone, other that Spotify itself might dislike it?
Basically if some one got the key they could get the passwords to everything including the FBI Agents and then they could possibly hack their emails.
Please use a randomly generated password that is as long and complex as the site you're using will allow, stored in a password safe.
I recently created a website that generates a random 'password square'. It should display nicely on latest browsers (which support flexbox). You can optionally supply a seed if you want to reuse the same path but have it yield a different password.
https://caurea.org/passwd/ https://caurea.org/passwd/#seed
The website is intentially barebones, to allow you to print it out and store offline.
So after years of telling people "Don't use table tags for layout", web devs have finally got that message... and they've started using layout tags for tables instead :(
FWIW, I use "pass", which is a short bash script that's a thin wrapper around gpg. If you can't trust that, I'm not sure how you can use a computer.
http://zx2c4.com/projects/password-store/
Btw, your password square generator isn't using a secure source of random numbers, which makes me highly doubtful.
Unless you are verifying the source and compiling yourself, your password manager IS a third party.
> FWIW, I use "pass", which is a short bash script that's a thin wrapper around gpg. If you can't trust that, I'm not sure how you can use a computer.
Sure, I probably trust GPG and the devs behind it. But unless you are downloading from them directly and verifying binaries, or building yourself from their source (and comparing source), you aren't really just trusting them, you're trusting the people that are distributing GPG to you. If the provider is a well respected linux distro, I probably trust it, but it's quite a bit less trust than the GPG devs themselves get. There's a lot more hands involved there and many more places for someone to inject some nefarious code, or just plain screw up[1].
I guess the real point is that "decent" in "decent password manager", or any security product for that matter, has higher bar than in many other industries, but this many not be common knowledge.
Edit: For that matter, I guess the only reason I trust GPG at all is that enough decentralized volunteers will look at it that coercing them all into keeping silent (or silencing them in another manner) about any backdoor they find is probably impossible (or at least requires enough effort as to make it unfeasible).
[1]: https://www.schneier.com/blog/archives/2008/05/random_number...
Looking at the whole picture, using something like LastPass or 1Password in place of bash+gpg is only marginally less secure, and since non-techies are more likely to actually use them than some console-based thing, encouraging their use is a net win for security. Saying "you shouldn't trust a password manager that you haven't inspected line-by-line" is ultimately counter-productive. The people that have the most to gain from password managers can't even read code, and certainly couldn't spot a hidden side-channel.
Manage your passwords like this: change them frequently. Remember them. Never write them anywhere you don't intend to use them.
I have a KeePass which can generate random passwords. I trust that because it's open source, so I could look at what they're doing--and build it myself--if I wanted.
I store the db file in Dropbox, but I don't trust them either: my file is encrypted with both a unique password and a second key file which I've taken pains to only ever transmit by copying on removable media.
Reuse is the main reason why theft of password dbs (as distinct from just compromise of the site) is a problem for the user.
a) Don't have an email address with your real name in it.
b) Have several different active email addresses.
c) Never reuse passwords.
d) Only Use passwords that are a random string of alphanumeric characters.
e) Never use a hint that actually means anything.
I find it hard to believe that the real Snowden would use a single dictionary word as a password.
Young me was much less paranoid than old me.
Something encrypted with by (single) DES could be broken within 7 days about 2 years ago by some bespoke hardware.
If Adobe have been using the same key for each part of the triple DES key then you can assume that bespoke hardware of several years ago could get the key within 3 weeks (3DES being ~3 times the work of single DES). With advances in technology this is probably down to less than a week.
Let's just hope that they used a full 168-bit key, rather than repeating the single 56-bit key, and that it never gets leaked.
It is almost certainly not the case that adobe is using the same key for all 3 operations. It's probably more effort to do anyways
http://en.wikipedia.org/wiki/Triple_DES#Keying_options
[EDIT]
It does seem odd though that the passwords are encrypted and not hashed, but the hints are in plaintext. Why didn't they also encrypt the hints? (Rhetorical, the answer is probably just laziness/incompetence).
Even if you do use bcrypt() or similar for hashing the passwords then encrypting the hints would prevent similar tactics being available from just a dump of the table contents.
Absolutely not! Trippling the key length does not just triple the strength... Against brute force every extra bit will force you to invest twice the time. Though 3DES only provides an effective security equivalent to 112 bits even with the strongest keying option due to an attack on it (instead of 168 bits). It's still probably infeasible to brute force currently: The factor between brute forcing DES and 3DES is about 2^56=7*10^16 (that's a big number!), not 3 as you seem to believe.
Userwise salted hashes would defeat this attack though.
Seriously.
A huge company like Adobe behaving like a beginner in programming?
WTF.
I understand leaks and breaches happen, but we've had two decades of them and learned a few things that make DB leaks pretty useless.
You are aware that Flash and Acrobat Reader are the attack vectors for something like 50% of all Windows malware, yeah?
One type of mistake is inevitable on some level, while the other just should not happen.
Wasn't that already clear due to the threat of dictionary attacks?
If you must suffer them, use random values that you note locally and store safely (just like your password). (Or that you don't store at all, simply foregoing ever being able to use the password hints mechanism.)
And, adjust your level of trust in and comfort with the site, accordingly.
Should I be worried, when I canceled my credit card immediately and used a spam address to sign up?
The only details the hackers would have on me would be my name, canceled credit card number, email address (spam email address) and answers to secret questions. Is there anything else I should be concerned about?
So if you use the same password on any other websites, better change it.
Of course this is just an Adobe account. I don't think there's anything of value on there, is there?
A unique salt per account (eg the username or some stringb you store alongside the hash)
Key strengthening - run the has some number of times over 1000, preferably prime
Any kind of cryptographic has, I think even md5 would be fine if the above are followed