News for hackers. Stuff that matters.
Re:Evernote hacked by UnoriginalGuy on Saturday March 02, 2013 @11:27AM (#5309943)
The following blog post is also being sent to all Evernote users as an email communication.

Evernote’s Operations & Security team has discovered and blocked suspicious activity on the Evernote network that appears to have been a coordinated attempt to access secure areas of the Evernote Service.

As a precaution to protect your data, we have decided to implement a password reset. Please read below for details and instructions.

In our security investigation, we have found no evidence that any of the content you store in Evernote was accessed, changed or lost. We also have no evidence that any payment information for Evernote Premium or Evernote Business customers was accessed.

The investigation has shown, however, that the individual(s) responsible were able to gain access to Evernote user information, which includes usernames, email addresses associated with Evernote accounts and encrypted passwords. Even though this information was accessed, the passwords stored by Evernote are protected by one-way encryption. (In technical terms, they are hashed and salted.(http://en.wikipedia.org/wiki/Salt_(cryptography) ))

While our password encryption measures are robust, we are taking additional steps to ensure that your personal data remains secure. This means that, in an abundance of caution, we are requiring all users to reset their Evernote account passwords. Please create a new password by signing into your account on evernote.com(https://www.evernote.com/Login.action).

After signing in, you will be prompted to enter your new password. Once you have reset your password on evernote.com, you will need to enter this new password in other Evernote apps that you use. We are also releasing updates to several of our apps to make the password change process easier, so please check for updates over the next several hours.

As recent events with other large services have demonstrated, this type of activity is becoming more common. We take our responsibility to keep your data safe very seriously, and we’re constantly enhancing the security of our service infrastructure to protect Evernote and your content.

There are also several important steps that you can take to ensure that your data on any site, including Evernote, is secure:

Avoid using simple passwords based on dictionary words Never use the same password on multiple sites or services Never click on ‘reset password’ requests in emails — instead go directly to the service Thank you for taking the time to read this. We apologize for the annoyance of having to change your password, but, ultimately, we believe this simple step will result in a more secure Evernote experience. If you have any questions, please do not hesitate to contact Evernote Support(http://evernote.com/support).

The Evernote team

Re:Evernote hacked by Terretta on Saturday March 02, 2013 @01:34PM (#5310462)
Your blog post says:

> "Avoid using simple passwords based on dictionary words"

And yet your password algorithm rejects highly secure pass phrases:

> "New passwords can contain letters, numbers and punctuation."

Disallowing spaces is particularly annoying for a company with a strong security requirement, as passphrases are simultaneously far more secure and far more memorable than the monkey rules your validation demand.

It gets worse.

If I type a long sentence without spaces such as "thisphraseisdefinitelynotinthedictionary", you give me an orange warning checkmark and suggest:

> "Try using a combination of letters and numbers"

If I replace that long phrase with "abcde1", just 5 lowercase letters and a digit, you give me a green checkmark! Same green checkmark for "abc123", the third most popular password online.

Have whoever wrote your validator needs to go read http://xkcd.com/936/ and really internalize the idea.

EDIT: See also:

1. How people choose passwords: http://www.troyhunt.com/2011/07/science-of-password-selectio...

2. Top 25 passwords: http://www.prweb.com/releases/2012/10/prweb10046001.htm

3. Twitter banned passwords: http://securitywatch.pcmag.com/none/284196-the-twitter-banne...

Re:Evernote hacked by Niten on Saturday March 02, 2013 @02:20PM (#5310636)
Anyone using this comic to imply that a passphrase is more secure than a short random password hasn't done the math. This is comparing a passphrase drawn from four of the 2048 most common words against not a random password, but one based on a mutated version of one of the 65536 most common words.

The example passphrase does have the equivalent of 44 bits of entropy:

log_2 (2048^4) = 4 * 11 = 44

However, if we take a random password formed by just seven of the 95 printable ASCII characters, we already have a password four times stronger than such a passphrase:

log_2 (95^7) ≈ 45.99

XKCD is great and all, but I wish Randall had been more clear that this comparison does not touch on the strength of a random password, because I have since seen an infuriating number of people point to it to claim that passphrases are more secure than random passwords. They are not.

Re:Evernote hacked by Terretta on Saturday March 02, 2013 @03:42PM (#5310942)
> to imply that a passphrase is more secure than a short random password

I noted to internalize the idea, the entropy idea versus human "random" passwords which aren't random at all. "Normals" are using their name with a 3 instead of an E, or some word with a 1 on the end. This tends to put them in rainbow tables or easy attacks. See my link #1 in GP comment for reference.

That's why I said "pass-phrases are stronger than monkey rules".

Meanwhile, "random" passwords don't necessarily come up stronger. Forget just seven. Let's use 1Password's random sixteen (16) char generator as an example[1]:

    2Fro%7gMfQbwBktm : 85.3 bits of entropy from 72 char set
    [xNyCHZc44RzPeMJ : 85.1 bits of entropy from 82 char set
Meanwhile, going by length and charset alone and ignoring whether the characters are words (using my passphrase from GP comment):

    thisphraseisdefinitelynotinthedictionary : 153.7 bits of entropy from 26 char set
The thing is, when you're attacking Evernote's database, you don't know someone's using XKCD's idea. So you're not looking at (2048^4) [2]. You're looking at (using the XKCD password):

    correct horse battery staple : 104.2 bits from 27 char set
If as an attacker we magically know "thisphraseisdefinitelynotinthedictionary" is words without spaces, and even assume they come from the 2048 word set (though neither "definitely" nor "dictionary" are in that 2048 word set), then by your formula:

    log_2 (2048^8) = 8 * 11 = 88 bits of entropy
markedly stronger than your example random password's 45.99 bits. And as I noted, "far more memorable", meaning such a phrase could be used by regular folks.

1. Quick entropy check: http://rumkin.com/tools/password/passchk.php

2. Manual entropy check: http://www.wolframalpha.com/input/?i=log_2%282048%5E4%29

Re:Evernote hacked by Niten on Saturday March 02, 2013 @04:28PM (#5311144)
Respectfully, you are flat out wrong. This "entropy check" doesn't prove what you think it does.

This password strength test is attempting to estimate the entropy of given passwords under the assumption that it is a word roughly obeying the character distributions of English text, using Shannon's approximation. It does not apply to randomly generated passwords, which violate these assumptions, as described in Appendex A of the NIST plublication linked on that very site.[1] As that document describes, the entropy of a randomly (not user!) selected password is not estimated in this manner, but calculated according to the same formula I provided: H = log_2 (b^L), where b is the number of letters in the alphabet (95) and L is the length of the password. (If the password had any less entropy than that, then by definition it would not have been pseudorandomly generated!)

Additionally, the algorithm employed by this site does not take into account that an intelligent password cracker is capable of exploiting the construction of passphrases.

In other words, you've taken an algorithm designed to approximate the entropy of a user-selected password and misapplied it to both randomly-generated passwords and user-selected passphrases. The fact that the algorithm is able to give you a number for these inputs does not mean it is any valid indication of how difficult such a password or passphrase would be to crack.

[1] http://csrc.nist.gov/publications/nistpubs/800-63/SP800-63V1...

EDIT: But you're right that passphrases can be easier to use by people. I personally think a password manager like keepass / lastpass / etc. is a better choice than trying to select a memorable password, though.

Re:Evernote hacked by Terretta on Saturday March 02, 2013 @05:06PM (#5311296)
First, all this is beside the point. Evernote hasn't understood the concepts of either entropy or human chosen passwords. Rejecting my passphrase and accepting "abc123" is wrong. That's my original post, and that's what you objected to. Computer generated random passwords that nobody's going to use on their mobile phone Evernote client, simply don't figure into normal human use.

Our job is to recommend things that can help real people use tech more safely.

> "the entropy of a randomly (not user!) selected password is not estimated in this manner, but calculated according to the same formula I provided: H = log_2 (b^L), where b is the number of letters in the alphabet (95) and L is the length of the password"

Yes, I'm aware of that. Using that site's check, "correct horse battery staple" comes out weaker at 104.2 bits, so I listed that weaker "lower bound"[1] for that phrase. I'm happy to use whatever formula comes up with less entropy for reasons discussed in [1].

I also don't care when sharing with less technical users if it's exact. I care if I can point them to a URL that gives a reasonable approximation, which that "quick check" does. For users who want to do math, I listed both approaches:

> 1. Quick entropy check: http://rumkin.com/tools/password/passchk.php

> 2. Manual entropy check: http://www.wolframalpha.com/input/?i=log_2%282048%5E4%29

The "manual" check is pre-filled with your suggested formula. It's interesting to compare the entropy check to http://www.passwordmeter.com which I think users will "solve" as if it were a password meter puzzle, in very predictable ways.

Meanwhile, to an attacker trying the whole character space, "correct horse battery staple" is log2(27^28) or 133.1 bits of entropy. And if you use H = log_2 (b^L) on the passphrase that Evernote wouldn't accept, it comes in at 188 bits of entropy.

In any case, the approximation is a more conservative "lower bound" than the formula you're suggesting as applied to character set ^ length.

> I personally think a password manager like keepass / lastpass / etc. is a better choice than trying to select a memorable password, though.

I agree. And I use 1Password and generate random passwords.

Btw, the two truly random passwords from 1Password (equivalent of keepass, lastpass, etc), if working with the H = log_2 (b^L) formula, give only 98 bits and 101 bits. Again in their case, the "quick entropy check" URL gives lower numbers, meaning it's a remains a reasonable "lower bound" check for casual users who don't grok formulas.

I tell non-technical family members and friends who can't be bothered with password minders to use sentences meaningful to them and unlikely to be in a book.

    This phrase is definitely not in the dictionary! : 227 bits or 286 bits
That's a pretty good password that my Mom can remember.

--

1. lower bounds: http://subrabbit.wordpress.com/2011/08/26/how-much-entropy-i...

Re:Evernote hacked by Volpe on Saturday March 02, 2013 @11:38PM (#5312549)
While "This phrase is definitely not in the dictionary" is true, every component is. If this sort of password became popular brute forcing passwords would just start using whole word combinations when cracking passwords. i.e a word becomes the equivalent of a character (though from a larger set of characters).

Also wouldn't a hash of a long passphrase be longer? (I am completely ignorant the details of hashing algorithms)... so if I'm cracking a table of hashed passwords, I could set a "passphrase" cracker on hashed passwords of above average length?

Re:Evernote hacked by rudedogg on Sunday March 03, 2013 @02:50AM (#5312902)
No, the hash is always the same length, a single character and a 4GB movie will generate a hash of the same length (using the same hash algorithm (md5, sha512, etc). I've casually read about it, I think that is the point of the hash, to take an input of any size or length and represent it as a fixed size.

The problem with this is hash collisions, weaknesses found in hash algorithms can make it so attackers could generate files to match another files hash (or password or w/e). I think the idea is that they create a harmful file, then add null characters or w/e so the hash algorithm will generate/assign the two different files the same hash.

Re:Evernote hacked by ajanuary on Sunday March 03, 2013 @07:25AM (#5313493)
The key idea behind any hashing algorithm is to take inputs of any length and turn them into an output of a fixed length.

Different problem domains have different additional requirements: password hashes want to minimise collisions (multiple inputs hashing to the same output), checksums want to make similar inputs produce wildly different outputs, hashtable/dictionary/map key hashes want to create an even distribution of outputs etc. But the thing common to all hashing algorithms is the output is the same size.

Re:Evernote hacked by vikstrous4 on Saturday March 02, 2013 @04:21PM (#5311114)
When cracking passwords attackers don't just use brute force. The most effective attacks are ones that exploit human patterns such as leet replacements, capital first letter, punctuation at the end, etc. Concatenated words in all lowercase with no spaces is another pattern that can easily be added to their list and probably already is there, so yes, you can assume that that they will be looking at the space of 2048^4 such passwords.
Re:Evernote hacked by Terretta on Saturday March 02, 2013 @04:38PM (#5311188)
> The most effective attacks are ones that exploit human patterns such as leet replacements...

I think you missed my first paragraph, where I made that point:

"Normals" are using their name with a 3 instead of an E, or some word with a 1 on the end. This tends to put them in rainbow tables _or_easy_attacks_.

Also, my example passphrase that I was annoyed Evernote wouldn't let me us isn't log2(2048^4), but ~ log2(5000^8) even assuming you know it is words.

This thread is getting of on the tangent of debating XKCD's particular formula. XKCD is not the point.

My original post asked Evernote Team to please grok the idea of that cartoon, which it's obvious they had not given their clearly wrong tips and rejection of a very strong password and acceptance of one of the weakest.

Re:Evernote hacked by m8urn on Saturday March 02, 2013 @11:08PM (#5312465)
The problem with your argument is that you are equating entropy with password strength. While entropy is a valid measurement of password randomness, it is not a direct measurement of how strong a password is. Take the password "vvvvvv.vvvvvvvvvv7vvvvvv" which has terrible entropy yet is very unlikely to be cracked. Why? because a cracker does not know that your password contains only three distinct characters and would still perform a brute force attack based on an assumption of higher entropy.

If you are talking about short passwords, entropy is critical in determining the strength of the password, but the true measure of a password's strength is the permutations required to perform a brute force attack. While range of character sets determine permutations, so does the password length. You can make up for one with the other, which is why "vvvvvv.vvvvvvvvvv7vvvvvv" is a very secure password.

That aside, I did address more of the math of the XKCD comic here: http://xato.net/passwords/analyzing-the-xkcd-comic/

Re:Evernote hacked by miles on Saturday March 02, 2013 @04:50PM (#5311230)
Thanks for igniting this discussion, Niten. While digging around, I stumbled onto this tool which others might find helpful:

https://github.com/lowe/zxcvbn

zxcvbn, named after a crappy password, is a JavaScript password strength estimation library. Use it to implement a custom strength bar on a signup form near you!

zxcvbn attempts to give sound password advice through pattern matching and conservative entropy calculations. It finds 10k common passwords, common American names and surnames, common English words, and common patterns like dates, repeats (aaa), sequences (abcd), and QWERTY patterns.

Sample results (including Tr0ub4dour&3 and correcthorsebatterystaple) and a demo can be found here:

http://dl.dropbox.com/u/209/zxcvbn/test/index.html

Re:Evernote hacked by rpearl on Saturday March 02, 2013 @08:44PM (#5312092)
I also ported zxcvbn to python for those of you looking to integrate it into things that don't have javascript support (a native app or something--that was the original motivation for it).

https://github.com/rpearl/python-zxcvbn/

I am a bit slow at pulling patches (sorry, I just get super busy) but I do get to it eventually.

Re:Evernote hacked by cynwoody on Sunday March 03, 2013 @03:44AM (#5313015)
Interesting.

xyzzy scores 'instant'.

My B of A pass phrase, Jer1m1ah Cl4rke, scores 31 years. Should I change it?

https://dl.dropbox.com/u/209/zxcvbn/test/index.html

Edit: I just checked 9223372036854775808L, and it answered 'centuries' with a suspiciously round crack time in seconds. Don't think so.

Re:Evernote hacked by mbreese on Sunday March 03, 2013 @04:46PM (#5315368)
You should probably change it now...
Re:Evernote hacked by luser001 on Saturday March 02, 2013 @05:04PM (#5311287)
Pretty cool tool! My passphrases (omitting spaces between words) get a score of 2. But if I drop the vowels, the score goes to 4 and crack time to 'centuries'.

I wonder if this is a good way to create passphrases. Anybody want to chime in?

Re:Evernote hacked by tempestn on Saturday March 02, 2013 @05:38PM (#5311404)
Originally was going to chastise you for typing your actual passwords into a random demo version that could have been modified in whatever way. But since it's all js I guess it's a simple matter to verify it's not transmitting anything. Although I guess it could be some really devious thing where it saves the info in a cookie to be snagged later or some such. Did you check the JS code? ;)
Re:Evernote hacked by rorrr on Sunday March 03, 2013 @12:10AM (#5312635)
Don't use phrases. Use one really strong password that you can remember with a tool like KeePass. Generate random long passwords (30 characters) for everything and store them in KeePass.

I've recently converted all my accounts to that - my passwords are practically unbreakable, at least with the current tech. I feel way more secure than with the shit I had to memorize before.

Re:Evernote hacked by patrickaljord on Sunday March 03, 2013 @10:21AM (#5313994)
If I enter the first 10 characters in regular order of my French azerty keyboard that are &é"'(-è_çà)= I get a top 4/4 score :). Not very good for security.
Re:Evernote hacked by miles on Sunday March 03, 2013 @01:55PM (#5314766)
The author of zxcvbn acknowledges this weakness (and others) here:

https://tech.dropbox.com/2012/04/zxcvbn-realistic-password-s...

zxcvbn currently only supports English words, with a frequency list skewed toward American usage and spelling. Names and surnames, coming from the US census, are also skewed. Of the many keyboard layouts in the world, zxcvbn recognizes but a few. Better country-specific datasets, with an option to choose which to download, would be a big improvement.

Re:Evernote hacked by borski on Saturday March 02, 2013 @08:14PM (#5312019)
zxcvbn is great. We actually use it for people registering on https://www.tinfoilsecurity.com
Re:Evernote hacked by wamatt on Saturday March 02, 2013 @05:29PM (#5311369)
>"I have since seen an infuriating number of people point to it to claim that passphrases are more secure than random passwords. They are not."

It appears you have assumed all passphrases must take the same methodological route as outlined in the xkcd comic.

However, 'noozle stroodle' has an entropy of 69.303 [1]

The above quotation, is a passphrase, and it's more secure than any 7char printable ASCII password.

While I accept your argument that not all pass phrases are necessarily more secure than seven lettered passwords, one cannot rightly make the antithetical claim either.

The correct judgement is: It depends

[1] According to the JS tester, http://dl.dropbox.com/u/209/zxcvbn/test/index.html

Re:Evernote hacked by jimminy on Saturday March 02, 2013 @07:54PM (#5311953)
I agree with you, but that's not how Randall got the entropy for the comic. His entropy numbers come from NIST SP 800-63[0], for "correct horse battery staple" spaces included. But NIST SP 800-63 has been shown to be invalid in metric for entropy, making the comic's numbers incorrect in real application.[1]

[0]: http://en.wikipedia.org/wiki/Password_strength#NIST_Special_... [1]: http://reusablesec.blogspot.com/2010/10/new-paper-on-passwor...

Re:Evernote hacked by catharsis on Saturday March 02, 2013 @03:07PM (#5310816)
This assumes that it is known that the password is four random words. The security of this method hinges on the fact that that information is not known.
Re:Evernote hacked by Niten on Saturday March 02, 2013 @03:36PM (#5310914)
That's not the case, though. Even knowing the general manner in which the passphrase is constructed, if the four words are randomly selected then the best an attacker can do is to brute force the space of 2^44 possible phrases, which is difficult enough to be considered secure. The very same can be said for the seven-character random password: the best an attacker can do, knowing how the password is constructed, is to brute-force a space of about 2^46 possible passwords, which is secure enough.

And this must be true in order for passphrases to be a reasonable choice. Because if people start using passphrases commonly, then this formulation will immediately be added to password cracking toolchains along with all the other common types of password.

On the other hand, the passphrases's actual "entropy" is probably lower than the advertised 44 bits, because patterns like the appearance of an adjective ("correct") before a noun ("horse") are common enough in the English language that they, too, could be factored into a smart password cracking tool.

Re:Evernote hacked by miles on Saturday March 02, 2013 @03:22PM (#5310868)
Exactly. In a thread about "900gage!@#" being cracked in a few hours[1], this same discussion came up. It's worth reading for those who are wondering about passphrases vs. complex passwords.

[1] http://news.ycombinator.com/item?id=4545893

Re:Evernote hacked by Niten on Saturday March 02, 2013 @03:49PM (#5310973)
This is, again, not about a random password, as moxie explains in that thread. And as he continues, with regard to the comic: "I think that's totally on the right track, but if people start to do that, chances are that they'll start to create exploitable patterns again".

Any password cracker smart enough to exploit the patterns in "900gage!@#" is also smart enough to exploit the construction of an English language passphrase. The passphrase is still secure enough (probably), but it is not more secure than the random password. And if there is any one thing to take away from that thread, it should be that it's foolish to assume the obscurity of your passphrase's formulation gives you any extra security whatsoever.

Re:Evernote hacked by miles on Saturday March 02, 2013 @04:10PM (#5311053)
Thanks for your reply, Niten! Sorry, I didn't mean to imply that "900gage!@#" was random, but many people would (wrongly) consider it complex. Users who are not generating and storing random passwords (with KeePass or the like) may make safer password decisions when thinking in terms of a phrase rather than a "complex" word. Of course, they'd be far safer still by using a good password manager and long, truly random passwords.
Re:Evernote hacked by pyre on Saturday March 02, 2013 @03:01PM (#5310797)
Passphrases are more secure than random passwords when you factor in the human element. A 64 character passphrase is more memorable than a 64 random character string and less likely to be written on a post-it note.
Re:Evernote hacked by apawloski on Saturday March 02, 2013 @03:08PM (#5310821)
Be careful -- you're starting to argue a slightly different point than what your parent made. You're not wrong, but you also haven't done anything to dismiss his claim. He's talking about a 7 character password vs a 4-word passphrase. Not equal sized, 64 character passwords.
Re:Evernote hacked by fiatpandas on Saturday March 02, 2013 @02:23PM (#5310648)
>Disallowing spaces is particularly annoying for a company with a strong security requirement, as passphrases are simultaneously far more secure and far more memorable than the monkey rules your validation demand.

I just don't understand the logic behind some of these password rules. Wouldn't it require more effort to explicitly disallow certain characters? Like, they wrote code somewhere that is specifically making sure your password doesn't have a spaces, and other arbitrarily chosen characters.

It doesn't make sense to restrict anything in passwords other than length (and of course testing that is meets certain complexity/length requirements-- smartly). Just set your DB field to be 30 characters, accept any character, and be done with it.

There must be some logical explanation behind why companies implement these rules. And banks are the worst. Because people far more experienced than me at programming (e.g. Evernote devs) make these decisions, so there must be some reason. Is the decision a defense against SQL injection techniques? Since injections usually contain spaces. But then again, this is 2013 so you think they would use prepared statements, or something.

Madness!

Re:Evernote hacked by pyre on Saturday March 02, 2013 @03:04PM (#5310806)
My understanding is that banks have these weird rules because of the legacy systems that they interface with. I've even heard of new systems built on top of old ones by writing an interface layer on top of the green-screen UI of the old system (i.e. automating the green-screen interaction / screen scraping).
Re:Evernote hacked by cynwoody on Sunday March 03, 2013 @04:18AM (#5313088)
I used to have an account with New England Merchants Bank. My ATM PIN was seven digits. But I noticed that the ATM screen would flash after the first four. A little trial and error revealed that that was all I needed to enter! Comparing notes with friends (this was before the internet) revealed that this little secret was common knowledge.

Subsequently, NEMB got subsumed by successively larger banks, until, finally, Bsnk of America took over. Suddenly, my ATM card wouldn't work! It turned out that they had kept my full PIN on file through the whole chain of acquisitions, but only with B of A did they start comparing ATM PIN entry against the full PIN! My card still worked with the full PIN (which I still remembered, it being an old phone number).

Re:Evernote hacked by entropic on Saturday March 02, 2013 @04:27PM (#5311140)
Some banks have IVR systems that allow users to log in to their account via telephone, so they only allow characters that can be entered via the touch-pad.

When you first create your password they translate the characters to the numerals on the phone and then hash it.

In my experience that is the most common reason why you'll see password for policies like: "Your password must be between 6 and 20 characters and only contain upper and lower case letters."

Re:Evernote hacked by sdevlin on Saturday March 02, 2013 @02:44PM (#5310723)
Since you're only going to store the hashed value, there's no practical reason to limit the maximum length of the password.
Re:Evernote hacked by georgemcbay on Saturday March 02, 2013 @04:32PM (#5311164)
"Since you're only going to store the hashed value"...

Look fellas, we've got an optimist over here!

Re:Evernote hacked by bproctor on Saturday March 02, 2013 @05:02PM (#5311279)
netteller (I think was the name?), an online banking system used by many smaller banks, including the bank I used to bank at in Tennessee, used to require passwords be exactly 6 alphanumeric characters. This didn't change until just a year or two ago. Scary.
Re:Evernote hacked by j_s on Sunday March 03, 2013 @06:50AM (#5313428)
See also: Steve Gibson's "Password Haystack" https://www.grc.com/haystack.htm

  > everyone has always believed or been told that passwords
  > derived their strength from having “high entropy”. [...]
  > But [...] when the only available attack is guessing, 
  > that long-standing common wisdom is not correct!
(Practical advice for normal users seems to be Steve's raison d'etre; I would be glad to hear anyone share their concerns about his recommendations.)
Re:Evernote hacked by hdra on Saturday March 02, 2013 @09:59PM (#5312281)
seriously though, its 2013, is there any reason to enforce character sets allowed in a password? I should be able to use any kind of character i want.
Re:Evernote hacked by apawloski on Saturday March 02, 2013 @02:56PM (#5310768)
I don't think UnoriginalGuy actually works for dropbox -- that first line is on the actual blog post too.
Re:Evernote hacked by jgrahamc on Saturday March 02, 2013 @11:49AM (#5310040)
Even though this information was accessed, the passwords stored by Evernote are protected by one-way encryption. (In technical terms, they are hashed and salted.(http://en.wikipedia.org/wiki/Salt_(cryptography) ))

That's great. But to really reassure people they would do best to reveal the algorithm. After all, DES-based password hashes are both 'hashed and salted' but are easily broken with JtR.

Re:Evernote hacked by NoPiece on Saturday March 02, 2013 @12:09PM (#5310140)
Curious, if the attacker knows what the encryption algorithm is, does it help them at all in breaking it? I.e., does it potentially delay breaking it by not revealing it?
Re:Evernote hacked by anonymfus on Saturday March 02, 2013 @02:24PM (#5310653)
For public service like Evernote attacker can usually create own accounts with known passwords before stealing database and then try to found algorithm and salt by brute force hashes against known password.
Re:Evernote hacked by UnoriginalGuy on Saturday March 02, 2013 @12:13PM (#5310152)
In theory, yes, in practice it is fairly obvious how something is hashed just by eye. Different hash algorithms produce different output (lengths, starting character, and spread).

So with some experience you can often tell (or guess and test) what something is hashed with.

Re:Evernote hacked by tobyjsullivan on Saturday March 02, 2013 @01:26PM (#5310434)
I would say that's not really true. The output hash will look the same if I apply a simple salted SHA-1 with a salt or if I apply 500 MD5's followed up followed up with 200 SHA-1's, each salted differently. I'm not a security expert, but I think this is closer to best practice these days.

That said, revealing the exact algorithm would basically be throwing people with weak passwords to the wolves while really only supplying the rest of us with a false sense of security (because it will probably be cracked anyway).

We'd also be better off if they didn't announce the algorithm if the passwords get leaked (like with LinkedIn).

Re:Evernote hacked by gcr on Saturday March 02, 2013 @04:30PM (#5311159)
For practice, see if you can't identify the hashing algorithm for the following stored passwords:

    $6$AhHvI8ay$I0ED2wWVU9eheJKvCxzcbc/ZYRoN60q5XNHruYp8yFlQvEOjJ1WtIHUwjG6L4ZGntf3ei8osB7s2GYdkN01gx1
    dGhpcyBpcyBzdHVwaWQKCg==
    286755fad04869ca523320acce0dc6a4
    some_salt:ac01346ad1553221506dd091800a1974
    c8fed00eb2e87f1cee8e90ebbe870c190ac3848c
    6b3a55e0261b0304143f805a24924d0c1c44524821305f31d9277843b8a10f4e
    /5L0cR/wpFqSA
Note how they don't look the same, so it's quite easy for an attacker to tell the difference.

Want to see how you did? Here's the answer key, in base64:

    MTogTW9kZXJuIGNyeXB0LCBsaWtlIHRoZSBraW5kIHlvdSdkIGZpbmQgaW4gL2V0Yy9zaGFkb3cK
    MjogSnVzdCBiYXNlNjRpbmcgdGhlIHJhdyBwYXNzd29yZCAoc3R1cGlkKQozOiBVbnNhbHRlZCBt
    ZDVzdW0KNDogbWQ1c3VtLCB3aXRoIHNhbHQgcHJlcGVuZGVkCjU6IFVuc2FsdGVkIHNoYTFzdW0K
    NjogVW5zYWx0ZWQgc2hhMjU2c3VtCjc6IE9sZCBVTklYIGNyeXB0KCk=
Re:Evernote hacked by reyan on Saturday March 02, 2013 @03:51PM (#5310981)
The definition of a symmetric cipher requires the cipher text to be (practically) indistinguishable from random. Length is not particularly useful (multiple blocks, different block ciphers with equal block length).
Re:Evernote hacked by gcr on Saturday March 02, 2013 @07:12PM (#5311792)
Lots of developers who read "Learn PHP in 24 Hours" and similar texts use md5 (32 chars) or sha1 (40 chars). If you're an attacker and see a hex string that's 40 chars long, that gives you a great place to start since you know it's likely to be a naïve SHA1 hash.
Re:Evernote hacked by reyan on Sunday March 03, 2013 @01:38PM (#5314702)
If Evernote is not using a key derivation function, I don't know what to say.
Re:Evernote hacked by raverbashing on Saturday March 02, 2013 @12:18PM (#5310172)
No, it's usually known by the format, or even stored together with the password

Example: crypt stored the password in the format: $id$salt$encrypted

Re:Evernote hacked by aadamov on Saturday March 02, 2013 @01:02PM (#5310321)
But this is why we do one or both things: strip obvious things from hashed password and store them separately or add a trivial character reshuffling algorithm. The point is that hacker would not only have to steal your hashed passwords, but also steal and understand your code. Makes it more complicated.
Re:Evernote hacked by raverbashing on Saturday March 02, 2013 @01:49PM (#5310528)
No

The security of your system can never depend on an attacker not knowing the implementation.

Or: Security through obscurity (is no security)

Using gimmicks like for example shuffling some characters in the hash may delay some attacks. But the problem is that these techniques are usually done on systems that have no sufficient security.

Have a big salt and use PBKDF2 or Bcrypt and you know the exact difficulty of getting the passwords.

Re:Evernote hacked by cschneid on Saturday March 02, 2013 @02:22PM (#5310647)
IMO, you should be doing both. People should use strong bcrypted passwords, with a salt, then ALSO a 'secret' pepper value (long value stored in app code). This adds additional security in the case of a db-only dump being released, and doesn't harm the strength or a full code+db release at all either.

Stripping off identifying info from hashes like talked about in this thread doesn't weaken the hash in any way, but instead makes it another thing to figure out by an attacker. At worse, you slow them down a bit, allowing you to do things like mass-email everybody affected.

Security is about depth, not putting 100% of your trust in a single algorithm. Even if that algorithm is well trusted. It's simply not an either/or.

Re:Evernote hacked by pixl97 on Saturday March 02, 2013 @07:49PM (#5311940)
With publicly creatable accounts by the potential hacker, a pepper is just another password.

Leaving identifiable bits in the hash makes it easier to do things like

if pass_type ($1$) { on_logon $upgrade_to_pass_type$6$)

> At worse, you slow them down a bit, allowing you to do things like mass-email everybody affected.

If you ever know at all.

Better to use 'not fast' hashes like bcrypt, scrypt, or PB(something) that requires far more work and far slower cracking.

Re:Evernote hacked by cschneid on Monday March 04, 2013 @12:27AM (#5316817)
Re pepper: It's a STRONG password. It turns '12345' into 64 random characters + '12345'. Meaning that you can't brute force against a dictionary, unless you have that pepper value. Which is only stored on the production system. This turns a well-known attack vector of "developer loses a data dump" into something that won't expose passwords.

Re hash: yeah, use a strong hash function. Never advocated otherwise.

Defense in depth is awesome, and not to be ignored. Just like we secure the database with a password, in addition to securing the server (with ssh keys), in addition to keeping software up to date, in addition to rate-limiting online password attempts, in addition to... well, you get the idea. Protect at every level. Make the attacker work as hard as possible.

Re:Evernote hacked by raverbashing on Sunday March 03, 2013 @04:24AM (#5313104)
Let me try to explain this better

Suppose you're doing the byte shuffling right? Or you split the hash value in two and you concatenate them in the reverse order, something like that.

Now here's the thing: if you have a determined attacker, they will figure out your code does that. So you gain no extra security from it

For a casual attacker this may be a bigger deterrent. Now, this casual attacker may try to create (or already has) an account, for which the password is known. So he goes and compares it trying to figure out your encryption mechanism

It's slightly more difficult than the guy that just used MD5 to hash the passwords (let's assume that's the minimum security people use - "in theory")

So, it's all fine and dandy until you have another 'increase the security' idea that actually decreases the security. And this is more common than you think.

Example: taking the hash and encrypting it (for some choices of hash and encryption)

(Not to mention when people think that because they use this 'improved security scheme' that they invented they can be lax in security elsewhere in the chain)

Re:Evernote hacked by cschneid on Sunday March 03, 2013 @12:47PM (#5314501)
You're right. Throwing shit at the wall can screw things up, and you must still be using a proper full-strength hash, and not just throw crypto primitives at it.

What I'm suggesting is that secrecy is a useful layer on top of a valid cryptography approach.

What you can do is that you can have the inputs to your hash function come from several places. User password, a salt per-password to protect against rainbow table attacks, a pepper forces an attacker to get both the application code, AND the database dump.

So it's bcrypt(password + salt + pepper). If you don't know the pepper, all of a sudden you have a 128+ character totally random password to break, instead of the user's totally insecure '12345'.

And in the case that you have the application code broken (ie, attacker gets the production code), well, then you're still using bcrypt, so no problem.

That step would protect against the common "db dump stolen off a dev's laptop" attack. Since the pepper only exists in production.

So yea, you're right that you can't just make shit up and hope for the best. But separating the data that needs to be stolen strengthens your overall defense.

Re:Evernote hacked by aadamov on Saturday March 02, 2013 @04:08PM (#5311041)
Indeed, the assumption is that attacker has limited window of opportunity to grab the data. Taking that as a base assumption, it would make sense two store parts of the hashed password in two separate databases on two separate machines. Hacker would have to gain access to both. My initial alternative was to add some trick inside of the code, like a simple shuffling of characters. Assuming that code is not stored on the same machine as DB that should increase security considerably. But either concept would work. Of course it does not remove the need for higher degree of difficulty for hashing itself.
Re:Evernote hacked by archivator on Saturday March 02, 2013 @02:04PM (#5310582)
If you need a citable name, taking the transparency of the cryptosystem as an assumption is called Kerckhoffs's principle.
Re:Evernote hacked by nawitus on Saturday March 02, 2013 @02:55PM (#5310763)
Using a big salt is essentially the same as using a secret character shuffling algorithm. The difference is that the salt value is thought to be on the 'data side' and not in the code side, so it's allowed to be secret. The distinction is pretty arbitrary, though.
Re:Evernote hacked by brown9-2 on Saturday March 02, 2013 @03:13PM (#5310837)
If someone can steal your passwords, doesn't it follow that they'd more than likely also have stolen your code?
Re:Evernote hacked by wsargent on Saturday March 02, 2013 @09:45PM (#5312250)
It's MD5 with a salt.

"Since the hashed password is never exposed outside of our data center, we don’t think that the differences between MD5 and SHA-1 are relevant. I.e. the risks for MD5 are about producing two inputs that match the same output. In the case of a purely back-end MD5 hash, any hypothetical attacker doesn’t have access to either the output (the MD5 hash) or the original input (the user’s password and our salt), so there really isn’t any productive attack based on MD5 vulnerabilities.

Of course, if someone has your original password and our salt, they might be able to come up with a SECOND synthetic password that hashes to the same value. (Since we constrain password characters that we accept, that might not be possible, but let’s assume it is…) The attacker could theoretically use this second password to access your account. But that same attacker could just use your original password, so I don’t see a real-world attack that would be improved with SHA1.

(Before Evernote, I spent five years building high-end cryptographic systems for government customers [e.g. http://www.isto.org/ose-site/file-fix/Public/corestreet-secu..., so I get to make use of my old crypto knowledge from time to time…)"

http://blog.evernote.com/tech/2011/05/17/architectural-diges...

Re:Evernote hacked by josephscott on Saturday March 02, 2013 @12:00PM (#5310098)
Agreed, it would be nice to know they are using something reasonable, like bcrypt.

Their description would satisfied by a simple MD5 + salt, which wouldn't be very good for password storage.

Re:Evernote hacked by admford on Saturday March 02, 2013 @01:09PM (#5310354)
From the Evernote support pages:

What type of encryption does Evernote Use?

If you encrypt text within a note, we derive a 64-bit RC2 key from your passphrase and use this to encrypt the text. This is the longest symmetric key length permitted by US Export restrictions without going through a complex process to gain export approval.

We do not receive any copy of the key or your passphrase, or any escrow mechanism to recover your encrypted data. I.e., if you forget your passphrase, we can't recover your data.

User authentication (i.e. username + password) is always performed over SSL when you communicate with Evernote. This uses 1024-2048 bit RSA keys and a symmetric session key that's negotiated between your client/browser and our server.

The data in user notes is also transferred via SSL.

Several of the company's founders come from a strong encryption background (founders of CoreStreet, recently acquired by ActiveIdentity). For Evernote's consumer product, the current encryption algorithms are chosen more for exportability under the Commerce Department rather than strength, since our software permits the encryption of arbitrary user data with no escrow.

We'd be interested in offering something stronger in the future when we have the staffing to fight the lengthy export battle, but Premium users can currently use an external encryption solution to encrypt important files and then add these encrypted into Evernote.

Re:Evernote hacked by stordoff on Saturday March 02, 2013 @02:13PM (#5310615)
That still doesn't tell you how the password is hashed though.
Re:Evernote hacked by sigkill on Saturday March 02, 2013 @04:03PM (#5311028)
Can anyone tell me why they're using RC2 and not AES? Does the export restriction even disallow that? Seems a bit disingenuous if that is the case.
Re:Evernote hacked by devicenull on Saturday March 02, 2013 @11:52AM (#5310057)
Your average user has no idea what a hash nor a salt is. There's really no reason for them to include their hashing algorithm in an email like that.
Re:Evernote hacked by kmfrk on Saturday March 02, 2013 @11:56AM (#5310078)
Technology-savvy users want to be informed and assured as well. Why would they not include it?

Situations like these specifically call for not leaving things up to the users' imagination.

The recent Facebook incident (well, one of them) created a big scare. Better to control the narrative, before others decide to tell their version of the story.

Re:Evernote hacked by bitcartel on Saturday March 02, 2013 @12:55PM (#5310298)
Also the email doesn't talk about the time-frame: when exactly did Evernote discover this activity and how long might they have been compromised for.
Re:Evernote hacked by kordless on Saturday March 02, 2013 @12:01PM (#5310105)
Where 'their version' == some made up bullshit that sounds good.
Re:Evernote hacked by Joeri on Saturday March 02, 2013 @01:07PM (#5310345)
It doesn't really matter what they used, as hashing speeds improve so quickly. You have to assume that the password you were using on evernote will be cracked, so to be safe you have to change it everywhere you were using it. Given that most people reuse passwords i expect a lot of follow-on exploiting of other systems with the passwords retrieved from evernote.
Re:Evernote hacked by sdevlin on Saturday March 02, 2013 @01:27PM (#5310438)
If this were true, there would be no reason to hash passwords.

There are hashing algorithms (bcrypt, scrypt, PBKDF2) that are specifically designed to be slow to prevent these attacks.

Re:Evernote hacked by Joeri on Saturday March 02, 2013 @03:31PM (#5310900)
PBKDF2 is not memory hard, so even with known technology it can be broken relatively easy. Bcrypt seems secure for now, but you shouldn't rely on security through obscurity, which is essentially what putting faith in the irreversability of a hash is. The reality is that if a hashed password leaks, you should assume it will be broken. It's like with bank vaults. They're not designed to withstand attack, just to delay it. Well-hashed passwords delay attack, but they do not prevent it.
Re:Evernote hacked by benaiah on Saturday March 02, 2013 @11:58PM (#5312602)
Hashes are mathematically proven to be irreversible except through rainbow tables (easily beaten with salting) or brute force. There's no faith needed (well, I suppose that non-mathematicians like myself have to put faith in the math, but I trust the hundreds of independent studies of these algorithms quite well), and it's not anything close to "security through obscurity".

That said, you are right. You should always change passwords that are leaked. This, however, is due to the poor security practices of most companies, not some bizarre distrust of hashes.

Re:Evernote hacked by Joeri on Sunday March 03, 2013 @06:12AM (#5313365)
Brute force was exactly what i was talking about. It doesn't matter whether a hash is broken through a mathematical flaw, or through improvements in the brute forcing process, if in practice it still gets broken. Once a hash is leaked brute force becomes possible in theory, and what is possible in theory is usually possible in practice with sufficient dedication.

There have been such huge improvements in hashing through tools like hashcat and hardware implementations that i don't think it's unreasonable to distrust hashes. Once a hash is leaked you're essentially hoping that brute forcing it is too high of a cost. Given the history of order of agnitude improvements in hashing speed, i consider it unreasonable to believe that any password database remains safe indefinitely once leaked.

I find your trust in the difficulty of brute forcing a hash just as bizarre as you seem to find my distrust of hashes.

Re:Evernote hacked by samstave on Saturday March 02, 2013 @01:23PM (#5310419)
IANASE (I am not a security expert): Would the following service work:

Assume a central account/profile service. This service would allow you to have a single login to this service, with a directory of pretty much any/all sites and services online.

The external services would receive a hashed token of your account/authorization. They would check for the validity of the token each [interval|day|time-the-service-was-accessed] to determine if the token/auth is still valid.

They would also be able to tell the central service whether or not they require an updated token/auth, for circumstances just like this.

Further, form data could be stored on the central service, like mailing, shipping, billing, etc info. A log of all sites/accounts that request/require/use this information is kept.

Access to this and all other profile information can be reviewed/revoked by the user at any time.

Groups and layers of account information would be something that could alternately be added to the central service. I.E. - you could have a first level login to get to your dashboard, but additional security could be required to change various portions of your profile details (one passwd for address info, another for accounts)....

Avatar galleries would be available and you could tell each service which avatar to associate with what.

Re:Evernote hacked by simcop2387 on Saturday March 02, 2013 @02:18PM (#5310628)
While it would work in the sense that compromising the other systems wouldn't compromise anything else. It does leave that central service as a very very very big and attractive target. It introduces a single point of failure (security wise) that lets someone compromise everyone at everything all at once. It would also make it a good target for warrants and subpoena to be sent to gather information about people without their knowledge (less of an issue, but still a concern for privacy).
[deleted]
Re:Evernote hacked by sdevlin on Saturday March 02, 2013 @12:18PM (#5310173)
This is not accurate. If it were, what would be the point of hashing at all?

Password hashes like scrypt, bcrypt, and PBKDF2 are specifically designed to be slow, such that breaking them takes not weeks but many years.

Re:Evernote hacked by jacquesm on Saturday March 02, 2013 @11:48AM (#5310035)
> Please create a new password by signing into your account on evernote.com(https://www.evernote.com/Login.action).

and

> Never click on ‘reset password’ requests in emails

Is sure to confuse a lot of people.

Re:Evernote hacked by dhughes on Saturday March 02, 2013 @01:04PM (#5310328)
I didn't even get an e-mail, not even as of now March 2 14:03 AST, I saw this on HN first.
Re:Evernote hacked by ninetax on Saturday March 02, 2013 @12:28PM (#5310214)
Huh. I just went to their site to reset my password, and instead of logging in I just used the standard way which sent me and email. Now I'm not so sure I should have trusted that email. Seems like they should have just emailed everyone with new passwords immediately.
Re:Evernote hacked by uxp on Saturday March 02, 2013 @12:43PM (#5310261)
I've yet to receive an email so I just went to their site.

Upon logging in with my (presumably) exposed password, I was given the option to enter a new password immediately. Their password reset should fire off an email instantly, not using a batch delivery process, with a confirmation link that then logs me into their system with a one-time key, forcing me to change my password only then.

Yes, that is marginally more complicated, but it's miles more secure. They just gave a free password reset form to whoever is sitting on their database dump for any trivial dictionary passwords they're able to bruteforce. Not doing a mass password reset would have had the same effect.

FWIW, I've also yet to receive any confirmation email that my password has been reset, another potential security problem.

Re:Evernote hacked by wahsd on Saturday March 02, 2013 @01:22PM (#5310407)
Especially since if you hit "Forgot Password" you are sent an email with a big "Reset Password" button in it. A bit of poor wording.
Re:Evernote hacked by tomjen3 on Saturday March 02, 2013 @11:50AM (#5310046)
I haven't received such an email, wonder why.

Anyway Evernotes android client wasn't very good and it was far too slow to start.

And now the have been hacked. Anybody know a good alternative?

Re:Evernote hacked by EwanG on Saturday March 02, 2013 @12:21PM (#5310182)
FWIW, but this is what I use MS SkyDrive and DropBox for. Setup your notebook txt or rtf (or odt or whatever) files and get all the same sync. Save a webpage using your browser and get much of the web clipping functionality. Not exactly the same, but clients on all the platforms and also some functionality that Evernote doesn't have.
Re:Evernote hacked by TeeDub on Saturday March 02, 2013 @01:47PM (#5310519)
OneNote is pretty great. It uses SkyDrive, but is available for free on most mobile platforms (Iphone,Android,Win8 Phone) and any platform with a moderately up to date browser. (Via the web app on Skydrive)
Re:Evernote hacked by aw3c2 on Saturday March 02, 2013 @12:14PM (#5310157)
Seconding that request but for a local app. I would not ever want my notes to be available to strangers under any circumstances.
Re:Evernote hacked by driverdan on Saturday March 02, 2013 @01:52PM (#5310540)
What phone and Android version? Evernote was slow but usable on my Optimus V (600mhz, Android 2.1). On my Nexus 4 it's fast.
Re:Evernote hacked by maxcan on Saturday March 02, 2013 @03:45PM (#5310962)
I've heard good things about pocket
Re:Evernote hacked by ilconsigliere on Saturday March 02, 2013 @12:00PM (#5310100)
catch.com incredibly simple + fast + easy to capture. no notebooks though only "spaces"
Re:Evernote hacked by Tichy on Saturday March 02, 2013 @02:20PM (#5310631)
"Please create a new password by signing into your account on evernote.com"

I dunno, isn't logging into a site that has just been hacked exactly the thing I don't want to do?

For that matter, linking to a hacking announcement on a hacked site seems like a bad idea, too.

Re:Evernote hacked by djhworld on Saturday March 02, 2013 @12:59PM (#5310308)
I never received this email.

I only found out about the hack because my evernote client kept on bugging me saying my password had changed.

Curious as to why I found out the cause via Twitter.

Email is way too slow for these sorts of things

Re:Evernote hacked by pbhjpbhj on Saturday March 02, 2013 @03:32PM (#5310901)
Me neither - I wonder if in fact Evernote's website was hacked instead ...
Re:Evernote hacked by bradleybuda on Saturday March 02, 2013 @03:25PM (#5310876)
> "Never use the same password on multiple sites or services"

As long as we're stuck with passwords, this is the single best practice for protecting your accounts. Services WILL be compromised, again and again, and attackers have made a pattern of compromising a poorly-secured service as a side channel to get credentials for a more critical service.

Props to Evernote - it seems like they've done the right thing with password salting and hashing and hopefully this breach won't result in actual plaintext password reveals. But every week on HN we read about another shitty web app that is storing passwords in plaintext or with weak / unsalted hashes - when those services are breached, at least you'll know that the attackers don't have a credential they can use elsewhere.

Re:Evernote hacked by CamperBob2 on Saturday March 02, 2013 @04:00PM (#5311014)
As long as we're stuck with passwords, this is the single best practice for protecting your accounts.

This would be easier if non-critical password cookies didn't expire. Why does my Slashdot or HN password cookie need to expire? Answer: it doesn't, but the fact that it does means that I have to write down dozens of different passwords... and carry them with me if I expect to use those services on a mobile basis.

Life would be a lot easier if password cookies didn't expire (or even if - gasp! - the user was given a choice in the matter). Whenever I'd find myself locked out due to the use of a different browser or platform, I'd request an email reset and keep track of the resulting new password only long enough to update all of my browsers.

If I try to use this strategy now -- and I have -- I'll spend an hour every other day doing nothing but resetting password cookies that didn't need to expire in the first place.

Christ, passwords are stupid. Somebody fix this shit.

/rant

Re:Evernote hacked by maxerickson on Saturday March 02, 2013 @05:41PM (#5311413)
My HN cookie is scheduled to expire in 2038.

I'm comfortable with that level of forced inconvenience.

Re:Evernote hacked by CamperBob2 on Saturday March 02, 2013 @05:58PM (#5311477)
Yeah, I wonder if I'm blaming the HN case on a Safari oddity. It never seems to expire on my desktop PC running Firefox, yet I have to log in almost every time I access HN on my iPhone.
Re:Evernote hacked by rasur on Saturday March 02, 2013 @04:19PM (#5311109)
And if you specifically mouse over the links contained in the email received, the domain looks like it could even be a phishing scam:

e.g.:http://links.evernote.mkt5371.com/ctt?other_params_removed

I just went straight to the site instead of following the email links in order to confirm the legitimacy of this mail.

Re:Evernote hacked by landhar on Saturday March 02, 2013 @03:37PM (#5310920)
> Even though this information was accessed, the passwords stored by Evernote are protected by one-way encryption. (In technical terms, they are hashed and salted.

Were the attackers ables to access the salt ?

Re:Evernote hacked by pixl97 on Saturday March 02, 2013 @07:22PM (#5311841)
Of course, every password should have a large individual salt to prevent rainbow tables.

A hidden salt that is used across all passwords is useless on a public service, because that becomes the password to hack.

The attacker takes an account that has a known password and brute forces the salt from that.

Salt and hash are good for protecting well chosen passwords, but because the speed they can be processed mean the hacker can try billions of different passwords a second. These days choosing a cryptographically hard (memory hard) is the best bet to extend the time from a breach to password discovery so the majority of the users can change their password.

Re:Evernote hacked by bryanh on Saturday March 02, 2013 @04:12PM (#5311061)
Most implementations store the salt with the hash itself. Take Django's storage of "password" for example:

    pbkdf2_sha256$10000$rdfyoPhMNhnC$3QEJ9hp0Qe68/p8+b1tVsYmNqVHiFrhmpWizXq+xQoo=
Which of course stores it as:

    algo $ iterations $ salt $ hash
Salts simply protect against rainbow tables and force CPU cycles to be re-spent on each password individually.

But to answer your question: I'm not sure, but probably.

Re:Evernote hacked by kmfrk on Saturday March 02, 2013 @11:39AM (#5309988)
"One-way encryption" is a peculiar choice of phrase.
Re:Evernote hacked by UnoriginalGuy on Saturday March 02, 2013 @11:45AM (#5310021)
No, it is an accurate choice of phase. The passwords are "hashed" which is literally one-way encryption, since the encryption is lossy - the information to reverse it literally doesn't exist in the output.

The only way to "break" correctly working hashes is to encrypt tons of passwords (+salt) and see if the lossy output is identical to the output you got from the previously hashed password.

Which is a very time consuming and computably expensive process (in particular when using something newer/better than MD5/3DES).

Re:Evernote hacked by gameshot911 on Saturday March 02, 2013 @11:58AM (#5310089)
If the output is lossy and doesn't contain all the info needed to reverse it, is it possible to guaranteeing that each each output is unique? Or could two different inputs theoretically create the same lossy output?
Re:Evernote hacked by UnoriginalGuy on Saturday March 02, 2013 @12:07PM (#5310128)
Each output is NOT unique. Since it can take in an almost unlimited amount of data and output a set length string we know for a fact collisions will eventually occur.

The question is - can we predict these collisions or guestimate when they might occur without having to actually try every combination? If the answer is "yes" then the hashing algorithm is broken (see MD5).

Re:Evernote hacked by ocharles on Saturday March 02, 2013 @12:03PM (#5310110)
It depends on your hashing function. What you're talking about is a https://en.wikipedia.org/wiki/Collision_(computer_science)
Re:Evernote hacked by floody-berry on Saturday March 02, 2013 @12:11PM (#5310143)
"hashed and salted" is not necessarily time consuming, it really matters what process they used. Their post gives no confidence that the passwords cannot be trivially cracked.
Re:Evernote hacked by apawloski on Saturday March 02, 2013 @11:47AM (#5310030)
People are going to argue with you semantically, but you'll all generally be in agreement (except 3DES is a block cipher, not a hash function).
Re:Evernote hacked by UnoriginalGuy on Saturday March 02, 2013 @11:57AM (#5310084)
3DES is a black cipher but block ciphers can be used for hashing. 3DES in particular was used on UNIX/Linux based systems quite extensively.

http://www.freebsd.org/doc/handbook/crypt.html

See this: http://en.wikipedia.org/wiki/One-way_compression_function#Co...

Re:Evernote hacked by apawloski on Saturday March 02, 2013 @12:11PM (#5310146)
Yeah, in retrospect I should have realized that (especially with bcrypt, also made from a block cipher, being the current standard for password storage). I didn't know DES was actually used for hashing though (perhaps unfortunately revealing my younger age and naiveté :)
Re:Evernote hacked by quinndupont on Saturday March 02, 2013 @12:21PM (#5310184)
All cryptography is fundamentally transposition and substitution of "symbols" (across a combinatoric space, an "alphabet"). Hash functions can be made from block ciphers, but really, symmetric and asymmetric crypto is just moving around some letters, but in interesting, deterministic ways.
Re:Evernote hacked by lucian1900 on Saturday March 02, 2013 @11:42AM (#5310003)
It's easier to understand by lay persons than hashing.
Re:Evernote hacked by apawloski on Saturday March 02, 2013 @11:43AM (#5310010)
Meh, it's a PR person who probably had it explained 10 minutes before. They explicitly state that they are hashed and salted, so I'm not super concerned.
Re:Evernote hacked by kmfrk on Saturday March 02, 2013 @11:47AM (#5310034)
Someone should write a boilerplate "we've been hacked" blog post with parameters for the kind of hashing and factors of authentication used, and what they know - or don't know - was compromised.

I can't blame companies for not having one such on hand to begin with, but I'm sure they'd appreciate that someone with the unfortunate experience crafted a draft for them in stressful times like these.

Re:Evernote hacked by sdevlin on Saturday March 02, 2013 @12:11PM (#5310144)
Depending on how they're hashed, that may or may not be an effective countermeasure.
[deleted]
Re:Evernote hacked by UnoriginalGuy on Saturday March 02, 2013 @11:53AM (#5310064)
An oxymoron is two words which mean the opposite but yet the two combined words form a new expression which remains "true."

For example "bitter sweet." Bitter and sweet mean two different opposite things, but the two words together are "true" because something can be both bitter and sweet.

Encryption means simply to convert information into a form which cannot be easily read by an unauthorised party. One way or lossy encryption is not a contradiction of that.

Re:Evernote hacked by floody-berry on Saturday March 02, 2013 @09:51PM (#5312266)
Encryption implies that an authorized party can also decrypt/read the encrypted data. In that sense, "one way" + "encryption" is an oxymoron.

Further, "one way encryption" appears to only exist so nobody has to explain to regular users (and a lot of developers apparently) what is actually being done with their passwords.

Re:Evernote hacked by benaiah on Sunday March 03, 2013 @12:07AM (#5312627)
"One way encryption" == hashing. Maybe not the best term, but it's pretty obvious what they mean.
Re:Evernote hacked by menacingly on Saturday March 02, 2013 @11:47AM (#5310026)
How is it an oxymoron?
Re:Evernote hacked by Evbn on Saturday March 02, 2013 @11:42AM (#5310006)
It goes to efficient write-only memory.

Or the author is not qualified to do security, or thinks readers are ignorant.