1

I' trying to figure out how secure LastPass is if you have it on your Android device and it gets stolen. If I'm not mistaken there has to be a password vault stored somewhere locally on the device.

Would in that case be enough to just keep trying to brute force the LastPass password until successful? Does this answer my question?

What about when using two-factor authentication, would that make it any harder (with no access to two-factor authentication) in this case?

  • 1
    Everything can be bruteforced given enough time and resources. Is it really the question? Or is it about methods other than brute force? – techraf Jun 2 '16 at 8:13
  • @techraf There is still second question.. Would two-factor authentication like google authenticator prevent brute-forcing or at least make it harder... – danizmax Jun 2 '16 at 8:54
  • Authentication to what? There's no authentication to a file. – techraf Jun 2 '16 at 8:57
  • 1
    You can't really apply 2FA to a file - it applies to a system to prevent access, but requires some verification process. A file doesn't have that - it can't check for a specific value being entered at a given time, since it doesn't know what the time is, and doesn't have the ability to execute code itself. A decryption program could implement some checks, but would be limited by the system it runs on - if it checked time based requirements, say, it could be fed false data. Additionally, by rewriting the decryption program, these checks could easily by bypassed. – Matthew Jun 2 '16 at 9:02
  • @techraf so what you're saying is that something like like google authenticator code is not checked against Lastpass password store data and can be avoided by using a custom cracking software for cracking the password. Note I'm asking specific for Lastpass and its not a theoretical debate. – danizmax Jun 2 '16 at 9:02
3

Making brute-force attack the only possible option is a desired feature of a security system.

This "only" would mean there are no weaknesses in the algorithm or implementation and the system could be broken only by trying all combinations of possible passwords.

On top of making sure brute-force attack is the only possibly, it should also be made difficult to perform.

In case of LastPass' database (an offline, encrypted file) the countermeasures are limited, but both the system design and user have influence over the effectiveness of an attack.

First: the database is protected with a key derived from a password using PBKDF with a specified number of iterations, which increases the time required for confirming each guess attempt.

Users need to set the number of iterations of PBKDF high to the point they can bear the time required for opening the database on their devices (this can vary for PCs and mobile devices).

Second: users must use strong passwords to make the brute-force attack harder (possibly to the point of infeasibility).


Two-Factor Authentication in LastPass does not protect the password database, but the access to the online service which provides encrypted user's password database.

Once the database is downloaded it is a static encrypted file and 2nd factor authentication is not necessary to decrypt it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.