If you’re a Chrome user, it’s important to remember your saved passwords. If you lose your password or forget it, you can’t access your browsing data or settings. And if someone gets hold of your computer and steals your login information, they could access all of your Chrome sessions and data. To protect yourself from this potential danger, here are some tips:

  1. Make a strong password: A strong password is one that is difficult to guess and one that you can remember for long periods of time. Make sure to use at least 8-10 characters and use a mix of different letters and numbers.
  2. Use two-factor authentication: Two-factor authentication helps protect against unauthorized access to your account by requiring you to provide both an email address and a code (usually a number). This helps ensure that only authorized people can log in to your account.
  3. Keep track of where you save passwords: You might want to keep a copy of all the passwords that you’ve used in the past so that you have them handy if something happens to yours or if someone gets hold of your computer and steals them.

A common question about the Google Chrome Browser is “why isn’t there a master password?” Google has (unofficially) taken the position that a master password provides a false sense of security and the most viable form of protection for this sensitive data is through overall system security.

So exactly how secure is your saved password data inside of Google Chrome?

Viewing Saved Passwords

Chrome, includes its own password manager which is accessible via Options > Personal Stuff > Manage saved passwords. This is nothing new and if you allow Chrome to store you passwords, you are probably already aware of this feature.

A nice touch of minor security is that you must first click the show button next to each password you want to view.

While there is no restriction to access this screen (i.e. if you have access to the desktop where Chrome is installed, you can get to the passwords), there is at least user intervention required to view each password with no way to export them in bulk to a plain text file.

Where is the Password Data Stored?

The saved password data is stored in an SQLite database located here:

You can open this file (the file name is just “Login Data”) using SQLite Database Browser and view the “logins” table which contains the saved passwords. You will notice the “password_value” field is unreadable because the value is encrypted.

How Secure is the Encrypted Data?

To perform the encryption (on Windows), Chrome uses a Windows provided API function which makes the encrypted data only decipherable by the Windows user account used to encrypt the password. So essentially, your master password is your Windows account password. As a result, once you are logged into Windows using your account this data is decipherable by Chrome.

However, because your Windows account password is a constant, access to the “master password” is not exclusive to Chrome as external utilities can get to this data – and decrypt it – as well. Using the freely available utility ChromePass by NirSoft, you can see all your saved password data and easily export it to a plain text file.

So it makes sense that if the ChromePass utility can access this data, malware running as the respective user could access it as well. When the ChromePass.exe is uploaded to VirusTotal, just over half of the anti-virus engines flag it as dangerous. While in this case the utility is safe, it is a bit reassuring to see that this behavior is at the very least flagged by many of AV packages (although Microsoft Security Essentials is not one of the AV engines which reported it as dangerous).

Can the Protection Be Circumvented?

Suppose your computer is stolen and the thief resets your Windows password in order to natively login to your installation. If they were to subsequently try to view the passwords in Chrome or use the ChromePass utility, the password data would not be available. The reason is simple as the “master password” (which was your Windows account password prior to them forcefully resetting it outside of Windows) does not match so the decryption fails.

Additionally, if someone were to simply copy the Chrome password SQLite database file and try to access it on another computer, ChromePass would display empty passwords for the same reason explained above.

Conclusion

At the end of the day, the security of the Chrome saved passwords depends totally on the user:

Use a very strong Windows account password. Keep in mind, there are utilities which can decipher Windows passwords. If someone gets your Windows account password then they have access to your saved browser passwords. Protect yourself from malware. If utilities are able to easily access your saved passwords, why can’t malware? Save your passwords in a password management system such as KeePass. Of course, you loose the convenience of having the browser auto-fill your passwords. Use a 3rd party utility which integrates with Chrome and uses a master password to manage your passwords. Encrypt your entire hard drive using TrueCrypt. This is completely optional and for the ultra protective, but if someone can’t decrypt your drive they surely can’t get anything off of it.

The bottom line is simply to keep your system secure and your Chrome passwords should be reasonably secure as well.

 

Download ChromePass from NirSoft

Download SQLite Browser from Sourceforge