Ask HN: How did my LastPass master password get leaked?
877 pointsI've just had a bizarre thing happen and wanted to see if the HN community could come up with some theories as to what happened.
LastPass blocked a login attempt from Brazil (it wasn't me). According to an email I received from LastPass, this login was using the LastPass account's master password. The email doesn't look like it's a phishing attempt.
What troubles me is that the master password was stored in a local encrypted KeePassX file.
I can imagine that someone has my KeePassX file and the (completely different) password to this file. If that's the case, I'm in a world of hurt.
But are there any other possibilities? Is the email from LastPass accurate i.e. was the login attempt actually using my master password? Is there some LastPass extension installed on some computer still having a valid auth token allowing them to login as me to LastPass..?
I'm really confused, and scared.
Thanks for your help.
P.S. The LastPass account had 2FA set up, but I was able to simply remove it (since I didn't have access to the token anymore). That's scary too -- what's the point of a 2FA you can remove...??
---
Update:
- the email was truly not phishing -- the same information regarding the login attempt appears in my LastPass dashboard. I also talked to LastPass support over the phone, and they confirmed seeing the same information.
- There are 2 separate users in the thread below confirming that the same exact same thing happened to them, from the exact same IP range as me.
Either the 3 of us had the same malware/Chrome extension or somehow had our master passwords compromised...? Or...? Is this a LastPass issue?
Comments (515) 101 threads
Earlier commentsI also sent off a random email to the Verge, and tried tagging LastPass on Twitter.
Does anyone have tech media connections who could try to squeeze a word out of LastPass?
Some twitter "expert" insist most of these incidents here were phished. But I read many of them hasn't even touch the password for years. And report of new account compromised suggest this isn't something done by phishing attempt. Not to mention most people here tends to be on a higher level of security and tech knowledge level.
Edit: Well Appleinsider [1] picked up the story, the only bad thing is this expose Hackernews the site to a much wider mainstream audience.
It is also interesting to see how news spread out online in real time.
[1] https://appleinsider.com/articles/21/12/28/lastpass-master-p...
Of course if Lastpass is sending ambiguous or mistaken communication about whether someone else has your master password, that's a really bad sign for them as a company too.
On the "bright" side, if somebody had your KeePassX file and master password to that, I would think they'd be doing things a lot worse than trying to log into your LastPass account from Brazil. If they had that data and were serious about LastPass for some reason, they'd probably at least break into your email too and try and intercept those warning emails. Keep an eye on email, banking, credit card, hosting systems, any other higher-value accounts that might have credentials in that file for any signs of suspicious activity. If there's none, then a successful exfiltration of that data seems unlikely.
LastPass support did confirm that the IP from Brazil did have the master password.
I also tried to login with a wrong password and that shows up as "Failed Login Attempt". This is different -- the person on the other side did have the master password.
Re: KeePassX, I agree. It's a catastrophic scenario if true, but it does seem improbable.
Given the widespread nature of this issue, I'd guess someone has discovered a flaw in the LastPass login process which is allowing a bad hash to pass the master password hash check: that contradicts what the support agent said, but I'd assume they're mistaken, rather than LastPass are lying in their documentation about how their system works.
[1] https://support.logmeininc.com/lastpass/help/about-password-...
What's a bit surprising is how "low effort" the rest of the attack was: presumably if they found this flaw to bypass passwords, they then attempted to login (which caused an email to be sent out), but LastPass stopped them because they (i.e. the folks on the Brazil IP range) were logging in from a new IP.
So this would be a case of one protective layer (the new IP detection) compensating for a vulnerability in the other one (the password protection).
That would be "re-assuring" in a certain way (as the passwords themselves did not leak -- presumably!).
Thanks
Continue this thread — 2 replies
I use Keeper and despite it being cloud based, that's exactly how it works.
I'm a bit skeptical that if someone tried a login with the correct password but from an unrecognized location that they would block it by default. People do travel and do change devices. It would really suck if you were far from home and needed to use one of your passwords and couldn't login because your are not at your normal location.
What I've seen from other services when logging in from a new location is either
1. They send an email or text to the email or phone number associated with the account, which must be acknowledged before the login is allowed, or
2. The login is allowed but they send an email or text telling me that there was such a login and that if it wasn't me how I can kick the person out and re-secure the account.
This item from their support site suggests that they do #1 [1].
[1] https://support.logmeininc.com/lastpass/help/best-practices-...
When a wrong password is entered, no email is sent.
I tested the above (using a new ip with correct password -> email; wrong password -> no email) and it also aligns with what my "Account History" shows. There's a list of bad password attempts, and there's a separate list of "Login Verification Email Sent" i.e. the password was correct (presumably -- or maybe its hash -- that's one theory going around) but it was from a new, un-verified-so-far ip.
I don’t use LastPass often and wasn’t 100% on my master so I tried logging in and also received the block login alter from my attempt. I verified the new location/device and then tried again and it told me the password was invalid. Tried again and got in fine.
Could it be that master passwords are not actually compromised but they are sending the unrecognized device/location on any login attempt regardless of correct master?
Can someone else verify blocked login from unknown device/location using a wrong master password?
I tested it here a few times, logging in with a wrong password does not generate an email, while logging in with the correct password from a new IP does generate that "Someone just used your master password to try to log in to your account from a device or location we didn't recognize" email.
Could you try again logging in with a completely wrong password (to see if you get a email) and then logging in with the correct password from a new IP?
Also, you can verify that those kinds of events (wrong password and correct password from new IP) are logged in the LastPass Account History. Instructions to get the Account History are here https://news.ycombinator.com/item?id=29708122
It isn’t sending that email for me at this point so maybe something has been corrected and LastPass will acknowledge something soon.
* Connecting from my own IP with wrong password: It tells me to "Check my master password and try again."
* Connecting from another IP with wrong password: It tells me to "Check your inbox for an email from LastPass: " and also to check my login info.
It's a bit odd that it tells me to check my email even though the master password I provided was incorrect.
Continue this thread — 8 replies
And again, to confirm, you used the wrong password and received an email saying "Someone just used your master password to try to log in to your account from a device or location we didn't recognize" ?
Thanks!
0. Consider using a new device for the following or wipe and reinstall an old device in case it's a malware/spyware attack.
1. Change your email provider(s) passphrase first, assuming it may be compromised. This is your key to recovering most other accounts if necessary. Make sure 2FA is turned on.
2. Work down the priority list (financial, work, GitHub, etc.) and reset passwords. Turn on 2FA where applicable.
3. Consider using integrated browser password managers (slightly less in-band signalling for such a security-sensitive tool) or your own locally encrypted list which can be synced with version control to other devices.
All comments shown.
Couldn't load more comments. Check your connection and try again.