Slashdot Mirror


LastPass Reporting a Security Breach, Including Authentication Hashes and Salts

hawkeyeMI writes: LastPass, the popular password manager, has been hacked. The company says that the “vast majority” of users are safe, and has posted a notice which begins: "We want to notify our community that on Friday, our team discovered and blocked suspicious activity on our network. In our investigation, we have found no evidence that encrypted user vault data was taken, nor that LastPass user accounts were accessed. The investigation has shown, however, that LastPass account email addresses, password reminders, server per user salts, and authentication hashes were compromised."

31 of 206 comments (clear)

  1. Re:Who the fuck would use something like that? by EmeraldBot · · Score: 4, Informative

    Who the fuck would think it's smart to use some web service like that, where some third party ends up with your passwords, even if they are encrypted in some way?

    They're very handy for websites that have poor native security, as the passwords Lastpass generates are extremely tough. In a lot of cases, I'd rather trust Lastpass's security over that of a native website, and they have open sourced their client side decryption process as well (which has received several audits). I don't use it for anything I consider super sensitive (my bank account, for example), but it's pretty good for a lot of other applications.

    --
    "Set a man a fire, he'll be warm for the rest of the night. Set a man afire, he'll be warm for the rest of his life."
  2. Re:My Brain by Sowelu · · Score: 3, Insightful

    It's very hard to hack, but susceptible to data loss.

  3. Re:Who the fuck would use something like that? by Anonymous Coward · · Score: 5, Funny

    They're very handy for websites that have poor native security

    Like lastpass.com?

  4. Re:Who the fuck would use something like that? by UnknownSoldier · · Score: 2

    I know. That's just a disaster waiting to happen. "We got hacked." "You don't say ..."

    For the first and last time:

    ANYTHING on the internet is NOT secure

    Use a local password manager.

  5. KeePassX by smutt · · Score: 5, Informative

    I'd like to take this time to recommend an excellent open source project called KeePassX.

    https://www.keepassx.org/

    It's a password vault application. Remember local applications, they run on your computer, that you physically have to be at to use(usually).

    --
    The Information Revolution will be fought on the command line.
    1. Re:KeePassX by kosmosik · · Score: 3, Interesting

      > https://www.keepassx.org/ [keepassx.org]

      > It's a password vault application. Remember local applications,
      > they run on your computer, that you physically have to be at to use(usually).

      Usually Keepass and alike are used to store passwords for network services. So the computer storing your passwords in KeepassX is still networked and susceptible to attacks. Also people tend to use multiple machines (sometime even not own) so in order to use KeepassX you still need to transfer its data file somehow. You could keep this file on a pendrive probably with portable version of the app.

      So KeepassX in my opinion is less convinient to use than Lastpass - with the latter I just login to service (using two factor authentication) and access my passwords. But mind you I use Keepass only for not-so-sensitive accounts like 100+ eshops, forums and crap like thant (not financial, medical, otherwise sensitive, essential internet authentication account hubs like Google or Facebook).

      So for me in order to use Keepass would be to carry a medium with data file (which can be lost, stolen, copied) or to share the data file via some kind of authenticated network service like SFTP, HTTPS, Dropbox etc.

      I know the Keepass/local pass file way would be probably slightly more secure but Lastpass method is just more convinient.

      Oh and if I were to use password manager I would not go Keepass way - what for? Passwords are just some lines in text file. I would just use encrypted text file, shell utilities like grep and have access to it via SSH with two way authentication (I love Google Authenticator with PAM module for my private use).

      My point being that if used correctly (only for not sensitive accounts, two form authentication enabled) a trusted service like Lastpass (I find them very concerned about security - they are targeted all the time) is quite secure and more convinient that Keepass.

      Also I would love to have some offline device for my sensitive stuff like financial, medical and so on - I lone for something in form of small ipod-like MP3 player that can be fed with data and when prompted for authentication I could choose my credentials from it and display it would generate QR code with token that could be scanned via webcam to authenticate. Of coure it would be suspectible to MITM attacks and physical loss but in my opinion it would be the most secure way for using password store without sharing it via network.

    2. Re:KeePassX by rtb61 · · Score: 2

      I would recommend that people install network alarms. All networks will have a particular set of data transmission patterns, that are accept and normal. The very first time a data packet contains a binary signature of an undesirable pattern (instruction, unexpected data transmission), that connection should be blocked at the router, a signal sent to a monitoring station and the connection either allowed to continue or blocked. There are quite simply some data packets, with their embedded binary signatures that should not exist when the system is functioning normally and that connection should be immediately terminated. It would mean slowing down the network to cache and inspect packets as a series to get a better feel for the content but in security terms it would be worthwhile.

      Some instructions should simply not be occurring and when they do, the system needs to block them, how radical the block will depend upon the instruction risk and it's source. The best thing to monitor the activities of a computer is another computer and there are a range of computer instruction that should simply never appear on a normally functioning computer network.

      --
      Chaos - everything, everywhere, everywhen
  6. Hash and Salt by psyclone · · Score: 4, Interesting

    We are confident that our encryption measures are sufficient to protect the vast majority of users. LastPass strengthens the authentication hash with a random salt and 100,000 rounds of server-side PBKDF2-SHA256, in addition to the rounds performed client-side. This additional strengthening makes it difficult to attack the stolen hashes with any significant speed.

    Salting is nice, but when the attacker gets both the hash and the salt, they can attack specific users. Still, the 100k rounds of SHA256 seem decent.

    Would bcrypt be any better than PBKDF2 here?

    1. Re:Hash and Salt by viperidaenz · · Score: 2

      100,000 rounds of ROT-13!

    2. Re:Hash and Salt by blueg3 · · Score: 3, Informative

      Salting is nice, but when the attacker gets both the hash and the salt, they can attack specific users.

      Of course they can. The entire purpose of salting is to make it so that the same password, hashed two different times, produces completely different hashes. This has two important consequences. First, it makes it basically impossible to precompute password hashes. That's a big deal compared to the "without salt" case, where rainbow tables make checking against precomputed hashes very easy. Second, if two users on a system have the same password, you can't tell without computation. Said another way, it means you need to crack passwords individually rather than in bulk. This isn't game-breaking, but it's significant when you have million-user breaches.

      All of the typical ways of storing password hashes store the salt alongside it. It's expected that an attacker that obtains the hash will obtain the salt. It's within the design.

      If you want the password hash separate from a piece of key password-validation data, at that point the extra piece of data is a secret and what you're basically making is a message authentication code. But, it's very difficult to argue that this is ever really more secure.

      Still, the 100k rounds of SHA256 seem decent.

      Would bcrypt be any better than PBKDF2 here?

      100k rounds of SHA256 is decent. The longer SHA2 variants are better, sure. More rounds is always better, of course. 100k is better than what most people use. But, if the decryption is always happening client-side (which it should), then ideally you can afford and should use many more rounds of SHA1. Maybe if they're using JavaScript, that limits how high they can jack the number of rounds up and still get reasonable performance on low-end devices.

      I don't know that bcrypt is necessarily much better than what they're doing. It may be, but at a "details" level, not a "major benefit" level. Both bcrypt and PBKDF2 support many rounds and prevent precomputation, which are major features.

      What would be better, if the devices they want to support can run it, is something like scrypt, which is resistant to hardware acceleration and thus much harder to crack in practice.

  7. Re:Who the fuck would use something like that? by Anonymous Coward · · Score: 4, Insightful

    That's just stupid. No one can remember 30+ passwords. And not using unique passwords is the dumbest possible thing (gmail account "hack" from earlier this year)

    So, *sometimes* use your brain.

  8. Re:I believe I have a pile of I-told-you-sos to se by hawkeyeMI · · Score: 5, Informative

    I'm the submitter. I'm a LastPass user and I'll stay that way. If you actually read the article you'll see that things are under control. This is the second time LastPass has reported an attack that I can remember, and because of the client-side encryption and so on it's not a huge deal. Bravo to them for their proactive stance and sound methods.

    --
    Error 404 - Sig Not Found
  9. Re:Who the fuck would use something like that? by Applehu+Akbar · · Score: 2

    "Almost everyone has a local password manager... it's commonly referred to as a brain."

    Unfortunately the H. Sapiens Mark I brain is only good at remembering bad passwords. To remember good ones, you need a password manager.

  10. Re:My Brain by dsmatthews9379 · · Score: 2
    You know that dream you had about being at work and logging into your admin system? Well... http://www.nature.com/news/sci...

    Using auditory clues to induce dreams about a given topic is not impossible, and if the visual cortex activity can be decoded the simpler motor cortex that plays back your typing movements during password entry could also be decoded.

    Your brain is hackable, with tools other than an axe.

  11. Write only off-site aggregated log server .. by nickweller · · Score: 2

    "We’ve commissioned a write only off-site aggregated log server which can only be accessed via the console. This will allow us a guarantee that any logging is intact." ref

  12. Passwords in the cloud? I use simple local scripts by 25albert · · Score: 2

    It's a strange idea to store passwords in the cloud anyway. I use these simple scripts in Ubuntu. Could work on Mac too, and I had a Windows/Perl/batch-file version long ago:

    $ cat `which p`
    #!/bin/bash

    [ -d /media/truecrypt1 ] || t on

    # accept up to 3 arguments, and filter on all 3
    if [ -z "$2" ]; then
            grep -ni "$1" /media/truecrypt1/p
    else
            grep -ni "$1" /media/truecrypt1/p | grep -i "$2" | grep -i "$3"
    fi

    $ cat `which padd`
    #!/bin/bash
    [ -d /media/truecrypt1 ] || t on
    echo `date +%F` " $@" >>/media/truecrypt1/p

    And to mount the truecrypt volume:

    $ cat `which t`
    #!/bin/sh

    file=$HOME/timecode
    tcvol=/media/truecrypt1

    do=$1

    case "$do" in
            "on")
            if grep -q /media/truecrypt1

  13. Re:Passwords in the cloud? I use simple local scri by 25albert · · Score: 2

    There is a bit missing in the post above:

    $ cat `which t`
    #!/bin/sh

    file=$HOME/timecode
    tcvol=/media/truecrypt1

    do=$1

    case "$do" in
            "on")
            if grep -q /media/truecrypt1 < /proc/mounts ; then
                      logger -t truecrypt "$0 Starting tc: already mounted"
                    exit
            fi
            logger -t truecrypt "$0 Starting tc"
            DISPLAY=:0.0 truecrypt $file ;;
            "off")
            t=$(find $tcvol -type f -printf "%TY-%Tm-%Td %TH:%TM\n" | sort -n | tail -1)
            truecrypt -d
            if [ -n "$t" ] ; then
                    touch -d "$t" $file
                    logger -t truecrypt "$0 Stopped tc and set mtime to $t"
            else
                    logger -t truecrypt "$0 Stopped tc; no mtime to set found"
            fi ;;
            "status")
            truecrypt -t -l ;;
            "*")
            echo "Usage: $0 on|off|status";
            logger -t truecrypt "Bad option '$do' given to $0"
            exit 1; ;;
    esac

  14. People need to settle down... by gbcox · · Score: 5, Insightful

    LastPass of course is going to be a target; but if you used the product as recommended with 2nd factor authentication and not reusing your master password elsewhere you don't have anything to worry about. LastPass is handling this in a measured, logical, efficient manner - and as always, they err on the safe side. Of course, this being the internet, you have the usual suspects crying chicken little, the sky is falling.

    1. Re:People need to settle down... by j-turkey · · Score: 4, Insightful

      ...Of course, this being the internet, you have the usual suspects crying chicken little, the sky is falling.

      They're also smugly saying "I told you so" - and doing so seemingly without understanding the situation. The situation hasn't changed since the beginning: don't use the service if you don't trust the encryption. If the service is breached and the (open source, peer reviewed) encryption stands up to attack, then the threat is astronomically minimal.

      --

      -Turkey

  15. Re:I believe I have a pile of I-told-you-sos to se by Rich0 · · Score: 4, Informative

    I'm the submitter. I'm a LastPass user and I'll stay that way. If you actually read the article you'll see that things are under control.

    This is the second time LastPass has reported an attack that I can remember, and because of the client-side encryption and so on it's not a huge deal. Bravo to them for their proactive stance and sound methods.

    Not only that, but even if the encrypted vault were compromised along with the hashes/etc (allowing somebody to start brute-forcing them), I could easily use lastpass to identify all my accounts and the last change date for each. Since almost all my accounts use random passwords changing them all is a bit of a pain, but not too big a deal. I'm just replacing one random string of values with another. I could change all my accounts in a weekend and all the new passwords are synced across my devices.

    Lastpass is extremely convenient and I don't know of many practical alternatives that are any more secure against the same threat models. Maybe a piece of paper in my pocket would be more secure against the remote attacks, but I don't really see that as a step up.

  16. Re:Who the fuck would use something like that? by Anonymous+Psychopath · · Score: 5, Informative

    Who the fuck would think it's smart to use some web service like that, where some third party ends up with your passwords, even if they are encrypted in some way?

    People who understand how LastPass security works.

    LastPass security is actually quite good, and designed to be resilient against data breaches. The attackers haven't gotten any passwords. What they have gotten is hashes, salts, and hints which could lead to passwords, given enough time and computational power.

    The clock started ticking as soon as the attackers obtained the data dump. As soon as I reset my master password, the clock stops ticking. Between those two events is the only window of time the attackers have to brute-force the hash or guess my password based on the hint. As soon as I change my master password as prompted by the LastPass email, they have nothing.

    If you use 2-factor authentication with LastPass, like Google Auth, even if they crack your master password before you change it, they still have nothing.

    --

    Eagles may soar, but weasels don't get sucked into jet engines.

  17. Re:Who the fuck would use something like that? by rahvin112 · · Score: 2, Informative

    By centralizing all the passwords they are a prime target for infiltration. The hackers knew that by taking this one business they would potentially gain access to millions of websites. In a normal attack they have no idea if they will get good data, with LastPass they couldn't miss. That then makes them one of the most high profile targets on the internet and they'd need NSA level security to keep people out. I little internet company with world class security? I don't think so, even Google got hacked with a spear fishing attack.

    I agree with the other posters, you'd have to be nuts to use LastPass for anything that was tied to financial transactions. And just even the secondary effects could be tremendous now that they have login information (depending on the number of websites the last pass information could give them all kinds of information out accounts and names/emails used making the hacking significantly easier).

  18. LastPass has many 2-factor options by Beryllium+Sphere(tm) · · Score: 4, Informative

    In fact, when I wanted to demo about half a dozen dual-factor solutions for a colleague, I showed them all on my LastPass account.

  19. Re:Who the fuck would use something like that? by Anonymous Coward · · Score: 2, Insightful

    "What can a person do with my bank account anyway? Nothing, that can't be traced and/or reversed."

    Then you should feel perfectly safe posting your bank credentials on this site.

  20. Re:Who the fuck would use something like that? by KGIII · · Score: 3, Interesting

    My niece has a friend (this is, sadly, a true story) who got their first credit card. She was pleased and activated it. She was so excited, and I kid you not, she took a picture of this card and posted it to her Facebook account. I am not sure how they got the 3 or 4 digit number on the back of the card (or if they did) but it took less than a day for the card to reach its limits and, sadly, she is not being held liable for the fraudulent transactions. Some folks should not be allowed credit cards or internet access. My point is, I suppose, that people do not understand even basic security.

    --
    "So long and thanks for all the fish."
  21. Re:Who the fuck would use something like that? by execthis · · Score: 2

    LMAO. Your local password manager on your computer which is ON THE INTERNET!

  22. Re:My Brain by johanw · · Score: 2

    But it's quite easy to brute force. "So, you didn't like us breaking your finger? You have 9 more to go unless you give us the password".

  23. Re:Who the fuck would use something like that? by thsths · · Score: 3, Informative

    To be honest, the idea that anybody who can see your credit card can take your money is not really security at all. Usually transactions require additional evidence - either the physical card, the PIN, the address, or the security code.

  24. Re:Who the fuck would use something like that? by execthis · · Score: 3, Insightful

    I know that a company like Lastpass has paid professionals to maintain infrastructure with strict security, vs. whatever I would be able to muster on my own. I could use Keepass and perhaps sync with my Owncloud server, but then is my security going to be better than theirs? Probably not even close.

    I like the idea of Keepass and have it installed, but their plugins are not as good as Lastpass and using it is kind of cludgy. I have no special allegiance to Lastpass in particular, although I personally think they are probably the best at what they do and have been around the longest and the annual fee - something I'm more than happy to pay knowing they are professionals - it totally reasonable and worth far more than the amount of resources I would have to expend to produce duplicate functionality on my own.

  25. Re:Heh by Jawnn · · Score: 5, Informative

    Store it on "the cloud"! Everything will be fine!

    And guess what? If you used even the most basic security hygiene, especially with your LastPass master password, it still is.

  26. Re:Who the fuck would use something like that? by gbjbaanb · · Score: 3, Informative

    And how else are you going to manage the hundreds of dozen-character long, unique, and complex passwords you want to use with each site?

    with an offline tool, like keepass. Same functionality, only stored locally (or on your phone), not on the cloud.