News for hackers. Stuff that matters.
Re:LastPass Security Notice by AdmiralAsshat on Monday June 15, 2015 @04:30PM (#9721867)
See quite a few nods to 1Password in here, which is good, although I tend to favor KeePass myself, given that it's FOSS.

It also has a way better Firefox add-on than any of the others I've seen (which is my main browser), and the Android apps, if unofficial, aren't bad either [0]. Importantly, they feature the ability to either pull from a local Keepass DB or to get it from a connected Google Drive account. I've taken to using the latter to make sure my database is synced across all my devices.

At this point it works fairly well across everything I use, with the one exception that trying to keep the database synced on my Windows box requires an extension that looked a tad shady to me [1], so I opted to simply manually upload a new version each time instead.

[0]: https://play.google.com/store/apps/details?id=keepass2androi...

[1]: http://keepass.info/plugins.html#kpgsync

Re:LastPass Security Notice by rwhitman on Monday June 15, 2015 @05:12PM (#9722168)
I don't understand why 1Password's approach to the cloud - syncing via Dropbox or Google Drive - is considered that much more secure than LastPass. If anything relying on Dropbox has always seemed to me to be a huge liability
Re:LastPass Security Notice by newman314 on Monday June 15, 2015 @07:16PM (#9722800)
Dropbox is not the only option. While not officially supported, I sync 1Password just fine using BTSync in local mode (no tracker, no relay).

Sure, it's kind of a pain (I can only sync on my home network) but worth the trade off to me. I mean how often do you have to sync passwords?

Re:LastPass Security Notice by monokrome on Monday June 15, 2015 @08:02PM (#9723015)
Add a VPN and you can sync from anywhere :)
Re:LastPass Security Notice by x3n0ph3n3 on Monday June 15, 2015 @10:36PM (#9723495)
Consider using dynamic DNS for a central home server and predefined hosts in your mobile devices or laptops.
Re:LastPass Security Notice by newman314 on Tuesday June 16, 2015 @03:02AM (#9724191)
I think I did set this up but was not working for some reason. However, it's not a high priority item to debug.
Re:LastPass Security Notice by lost_my_pwd on Monday June 15, 2015 @05:54PM (#9722362)
It's a matter of target payoff. Dropbox, Drive, etc. are not specific to just storing password DBs.

If my account is compromised, the attacker has one DB for their effort. If a cloud storage is compromised, the attacker has to scan through everything looking for DB files.

LastPass cloud storage is meant only for storing password DBs, so an attacker knows that within a single target lies a large trove a specific type of data.

Re:LastPass Security Notice by savanaly on Monday June 15, 2015 @06:05PM (#9722423)
I don't understand this. So LastPass could increase their security by including a bunch of pictures of puppies in their folder for me? Why not do it then?
Re:LastPass Security Notice by acdha on Monday June 15, 2015 @08:24PM (#9723087)
I don't really buy it but I've heard the theory expressed that LastPass is more of a target because an attacker knows that a compromise could get millions of valid logins but something like Dropbox is less of a known quantity with more things to sift through.

I'm skeptical that a) our hypothetical attacker couldn't search for files to get all of those synced 1Password files or b) that such a complete compromise wouldn't turn over enough interesting personal docs to make the potential resale value quite lucrative – “They got my tax return but fortunately not my nytimes.com password!”. In either case, pure worst-case analysis isn't terribly useful without some concept of relative likelihood.

Re:LastPass Security Notice by lost_my_pwd on Tuesday June 16, 2015 @08:44AM (#9725304)
If one were looking to steal a bunch of jewelry, would it make more sense to hit a jewelry store or some large shopping mall?
Re:LastPass Security Notice by rwhitman on Monday June 15, 2015 @07:34PM (#9722875)
There are several ways to expose data on dropbox as the result of human error that don't apply to lastpass
Re:LastPass Security Notice by tzs on Tuesday June 16, 2015 @04:00AM (#9724316)
According to other comments here, your LastPass master password is used both to encrypt your stored passwords and as the password to log into their cloud storage. So someone compromising the login processing would also get the keys to the password encryption for the compromised accounts.

With 1Password and Dropbox the 1Password master password and the Dropbox login password should be unrelated. My Dropbox password, in fact, is a long password generated by 1Password's password generator. If someone gets a hold of it by compromising Dropbox, they might then get a copy of my encrypted passwords, but they get no clue to my 1Password master password.

There is some unencrypted non-password data in 1Password's data, so I'd not be happy if Dropbox were compromised, but it would not be a disaster.

Re:LastPass Security Notice by x3n0ph3n3 on Monday June 15, 2015 @10:34PM (#9723488)
I use it with a private BTSync network that I control completely.
Re:LastPass Security Notice by dragontamer on Monday June 15, 2015 @05:14PM (#9722181)
If you wanted security, you'd use a SHA256 hash of a master-password + domain name.

http://angel.net/~nic/passwdlet.html

Storage is unnecessary. LastPass, 1Password... every one of them has centralized storage. No one needs a central server, but a central server is the only way a "service" can sell itself.

Re:LastPass Security Notice by StavrosK on Monday June 15, 2015 @05:38PM (#9722290)
There are multiple problems with this approach. SHA is way too fast, some site is always going to have Auth requirements that won't be the same as the ones you have set (one service wants mandatory special characters, one wants mandatory alphanumeric only), and, most importantly, you can't change the passwords unless you change the master password and remember which you used where.
Re:LastPass Security Notice by dragontamer on Monday June 15, 2015 @07:01PM (#9722734)
Fair point. But proper key strengthening is a well-known solution to this well-known problem. The general methodology of using password-safe hash + master password + domain name is useful.

As you note, SHA isn't appropriate for this purpose. PBKDF2-strenghtened SHA, SCrypt, BCrypt and other functions should be used.

Re:LastPass Security Notice by StavrosK on Monday June 15, 2015 @07:06PM (#9722748)
I agree, I wish browsers performed some key strengthening built in.
Re:LastPass Security Notice by andrewaylett on Monday June 15, 2015 @05:40PM (#9722298)
How do you generate a different password after that one's been found to be stored in plaintext and the admin resets all of the passwords?

Or, and more to the point, having generated a different password how do you remember which sites need a V1 password and which need V2?

When sites introduce silly rules around password structure, how do you make sure your passwords conform?

And even if you could guarantee you'll never hit any of these issues, shouldn't you be using a key-derivation function, rather than a hash?

I entrust my passwords to KeePass, as I trust its authors to have more of a clue than me and it lets me store arbitrary data rather than restricting me to a specific class of generated password. That file can then be replicated to enough of my devices that it's available when I need it, without a third-party having enough access to the data to be able to issue even the kind of security alert we see here.

Re:LastPass Security Notice by dragontamer on Monday June 15, 2015 @05:48PM (#9722330)
> Or, and more to the point, having generated a different password how do you remember which sites need a V1 password and which need V2?

> When sites introduce silly rules around password structure, how do you make sure your passwords conform?

Store _THESE_ rules in a central database. Not the passwords. Those rules can be public at no cost to security to the end user.

But LastPass, KeePass, OnePass and all sorts of Password generators store the actual friggen password, instead of salts or public information (like "5th password on gmail")

Re:LastPass Security Notice by tiglionabbit on Monday June 15, 2015 @05:19PM (#9722210)
I like this idea. I think I'll try this out for all those random dumb websites that want passwords.

You linked to the old version btw. Updated version is here: http://angel.net/~nic/passwdlet.domain.html

Re:LastPass Security Notice by gregmac on Monday June 15, 2015 @05:44PM (#9722321)
I use LastPass to also store the username I used, which is handy given that:

1. Some sites use email, others use username (and sometimes your usual username is taken), and a handful of sites assign you something (eg: with an old VoIP provider I used to use, I had to log in with my customer number instead of a username)

2. I use a unique email address on every site, in the form "[email protected]", though occasionally I have "[email protected]" (eg: I use "amazon@" because I my account works with both amazon.ca and amazon.com)

LastPass remembers all this crap for me, and it also lets me keep other notes, password history, etc, as well as being quite convenient.

Re:LastPass Security Notice by dchest on Monday June 15, 2015 @05:44PM (#9722317)
Re:LastPass Security Notice by ecdavis on Monday June 15, 2015 @05:50PM (#9722347)
I've considered this before. It's a nice idea, but it suffers due to the arbitrary length and complexity requirements that many sites place on passwords.
Re:LastPass Security Notice by dragontamer on Monday June 15, 2015 @07:04PM (#9722743)
I've actually got a very basic solution to that.

Use lowercase hexadecimal as the "baseline" password. From there, truncate to the length requirement, and add symbols to the end to guarantee complexity requirement.

For example, "masterpass gmail.com" will md5sum to "194b52e5". If a password requires symbols, add a "!" to the end. If it requires a capitol letter, add "A" to the end. Add in the order of "number->letter->symbol". So... a site that requires numbers, capitol letters, and symbols would be:

"194b52e51A!". (The hashed password, followed by '1A!')

Re:LastPass Security Notice by AdamGibbins on Monday June 15, 2015 @07:42PM (#9722919)
That does't sound simple, because I'm not going to remember the site specific password requirements for each of the 250 logins I have within my password manager.
Re:LastPass Security Notice by cmdrfred on Monday June 15, 2015 @04:39PM (#9721923)
I have a sftp account on my server for my keepass data, I can sync it from anywhere and I don't have to worry about google drive having access to my (encrypted) data. I like it.
Re:LastPass Security Notice by fluidcruft on Monday June 15, 2015 @06:16PM (#9722487)
Is there any solution for keepass on ChromeOS (I mean other than the whole developer mode/crouton thing, I prefer to keep ChromeOS in secure mode)?
Re:LastPass Security Notice by AdmiralAsshat on Monday June 15, 2015 @07:51PM (#9722951)
For my Chromebook, I use a chrome app called Browsepass. It's still pretty rough, but it at least lets me open the KeePass database:

https://chrome.google.com/webstore/detail/browsepass/pihdapf...

Re:LastPass Security Notice by tokenizerrr on Monday June 15, 2015 @04:45PM (#9721964)
Which extension do you use for that?
Re:LastPass Security Notice by AdmiralAsshat on Monday June 15, 2015 @05:01PM (#9722073)
He might be using the IOProtocol Extension: http://keepass.info/plugins.html#ioprotocolext
Re:LastPass Security Notice by cmdrfred on Tuesday June 16, 2015 @10:20AM (#9725961)
That's the one.
Re:LastPass Security Notice by bgray on Monday June 15, 2015 @04:49PM (#9721992)
So you're trusting Google?
Re:LastPass Security Notice by AdmiralAsshat on Monday June 15, 2015 @04:53PM (#9722020)
The KeePass database itself is encrypted with a Master Password/Password Phrase. You can take a look at the encryption they use for it here:

http://keepass.info/help/base/security.html#secencrypt

Hence, I am reasonably confident that even if Google were to turn over my Drive account to the NSA, they wouldn't be able to crack open the database.

See also: discussion on feasibility of brute forcing a KeePass database:

https://security.stackexchange.com/questions/8476/how-diffic...

Re:LastPass Security Notice by sjwright on Monday June 15, 2015 @05:06PM (#9722126)
That's no different to how LastPass stores your vault on its servers, isn't it? They're just using their own cloud instead of Google's.
Re:LastPass Security Notice by harshreality on Monday June 15, 2015 @05:20PM (#9722220)
There actually might be a difference in favor of LP. LastPass knows, semantically, what encrypted password archives are, and can monitor for statistically unusual traffic related to an attacker downloading them.

Google has no no way to know, if 10k people are storing their encrypted keepassx archives in gdrive, and if those 10k archives are accessed in rapid succession, that it's an attack. It's lost in the noise of gdrive traffic.

Re:LastPass Security Notice by crznp on Monday June 15, 2015 @09:09PM (#9723238)
That blade cuts both ways: the keepassx archives would be lost in the noise of all the other files on Google Drive/Dropbox/etc. On Lastpass, you know you're getting password archives. To me: advantage KeePass.
Re:LastPass Security Notice by matwood on Monday June 15, 2015 @05:08PM (#9722135)
When thinking about security who has more resources and expertise? LastPass or Google?
Re:LastPass Security Notice by DoubleMalt on Monday June 15, 2015 @05:16PM (#9722196)
It depends on your threat model. If you are more afraid of the government than of a random script kiddie, the vastly bigger resources of Google do not matter as your (encrypted) database is just a NSL away.

And then the NSA is trying to crack it </tinfoil hat mode>

Re:LastPass Security Notice by matwood on Monday June 15, 2015 @05:30PM (#9722261)
Well if I put on my tinfoil hat, then there is no protection from the NSA. So, now I'm only trying to protect my password/identity from criminal elements, I tend to side with Google as knowing what they are doing. It doesn't mean they will also be mistake free, but it is something they deal with and have been dealing with before LastPass was even an idea.
Re:LastPass Security Notice by pieter_mj on Monday June 15, 2015 @06:16PM (#9722488)
When you've put your passwordfile in the cloud, you should assume it's fallen into the wrong hands (NSA) already.

I've put my keepass file in the cloud for extra backup, and I know I can only rely on its cryptographic strength to keep it safe.

Re:LastPass Security Notice by snowwrestler on Monday June 15, 2015 @04:54PM (#9722023)
The point of using a locally-encrypted password database like KeePass is that you don't have to trust Google (or DropBox, or Microsoft). You trust the encryption instead.