Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?




Photo * * * * * 1 votes

Overblown reaction to LastPass "hack"

So I've been watching the reaction to the news that the LastPass servers could have possibly been compromised. Needless to say, there's been a certain level of ignorance coming from people who don't understand the technical details of LastPass.

1. All of the information on their servers is encrypted
LastPass uses very secure encryption, it's at the same level as popular products such as KeePass or TrueCrypt. I've been looking into it, and these are the details I could find: AES-256 encryption, SHA-256 for hashing. The key used to encrypt your passwords is derived from your username, password, and a random salt. I couldn't find any details on the size of the salt or key iterations. However, in reaction to this possible intrusion, LastPass mentioned in their blog that they will be beefing up the encryption.

Quote

We're also taking this as an opportunity to roll out something we've been planning for a while: PBKDF2 using SHA-256 on the server with a 256-bit salt utilizing 100,000 rounds. We'll be rolling out a second implementation of it with the client too. In more basic terms, this further mitigates the risk if we ever see something suspicious like this in the future. As we continue to grow we'll continue to find ways to reduce how large a target we are.

http://blog.lastpass...tification.html

2. LastPass doesn't know your "master" password.
This is very important to understand - LastPass doesn't know your master password. All of your information (accounts and passwords) is locally encrypted on your PC using your master password before it's uploaded to the server. This means that the information stored on their servers cannot be decrypted without your password, which they don't have. So as long as you choose a strong master password, there's no threat of hackers decrypting and reading your account details.

To put this in perspective, the threat here is no different than if you were to upload a KeePass database or TrueCrypt volume to a Dropbox account.


So what is the real threat here?
Those who should be worried are those who chose weak passwords for their LastPass account. A dictionary attack involves using a large list of words and common passwords, testing them one by one until they guess a password correctly. Even this would be time consuming since LastPass uses salted keys, they would have to test each password against each account, one at a time.

There's also a threat of phishing attacks. LastPass does know your e-mail address, and it's possible they could have been compromised if LastPass was indeed hacked. A likely phishing attack will involve e-mails that appear to be from LastPass, asking users to change their password and providing a link to a fake website. So if you use LastPass, watch out for these types of phishing scams.

The only other thing I can say about LastPass is that it is an obvious target. My example of uploading KeePass to a Dropbox account is inaccurate in the sense that hackers are unlikely to hack Dropbox looking for files containing passwords. They're much more likely to attack LastPass and performing a dictionary attack or phishing attack.



How can they not have the master password when you use it to login to their services? I'm genuinely curious, not claiming your wrong. I've been trying out a few solutions for this and gave lastpass a go, you can login to their website using your master password to view your vault, meaning that they must have your master password stored somewhere

Olemus, on 07 May 2011 - 18:27, said:

How can they not have the master password when you use it to login to their services? I'm genuinely curious, not claiming your wrong. I've been trying out a few solutions for this and gave lastpass a go, you can login to their website using your master password to view your vault, meaning that they must have your master password stored somewhere
They store a hash of the password + salt. "Salt" is just randomly generated data, so that if two accounts use the same password, they don't produce the same hash.

For example, the text, "This is my password.", gives this SHA-256 hash:
6A6E563376FF16BC697A8D62F99B26BAAB6371EF4BCDE398F5A80D533A08DA4F

Append a random salt, "This is my password.fj8drawjf890awjf890awjf90a", and you get a different hash:
A1BC4B6C41C60FE6F9DA23E61D2F4CFE3444083DA21F92A76D4133BF631E0C1A

In theory, it's impossible to retrieve the original password from the hash in any reasonable time frame. A brute force attack would take millions, even billions of years for a strong password.

<span style='color:#323DD2'><b>+</b>Xinok</span>, on 07 May 2011 - 20:51, said:

Olemus, on 07 May 2011 - 18:27, said:

How can they not have the master password when you use it to login to their services? I'm genuinely curious, not claiming your wrong. I've been trying out a few solutions for this and gave lastpass a go, you can login to their website using your master password to view your vault, meaning that they must have your master password stored somewhere
They store a hash of the password + salt. &quot;Salt&quot; is just randomly generated data, so that if two accounts use the same password, they don't produce the same hash.For example, the text, &quot;This is my password.&quot;, gives this SHA-256 hash:6A6E563376FF16BC697A8D62F99B26BAAB6371EF4BCDE398F5A80D533A08DA4FAppend a random salt, &quot;This is my password.fj8drawjf890awjf890awjf90a&quot;, and you get a different hash:A1BC4B6C41C60FE6F9DA23E61D2F4CFE3444083DA21F92A76D4133BF631E0C1AIn theory, it's impossible to retrieve the original password from the hash in any reasonable time frame. A brute force attack would take millions, even billions of years for a strong password.


ahhh I see, thanks for the info.
Glad to see there are some people still out there that have some common sense. Thanks for the post Xinok, unfortunately, the reality is that there are more inept computer users out there who will hear the news about LastPass and go into 9/11 FUD mode, than there are people who realize how the system actually works.

I really hope more people read this.

Recent Entries

Recent Comments