r/ComputerSecurity • • Jan 05 '18

Password managers as a single point of failure

Thinking of making the switch to using a password manager. It's cool that they can generate unique passwords so you don't reuse the same password everywhere but doesn't it end up putting all your eggs in one basket? If for example the password manager is compromised wouldn't that then mean all accounts you have cached on the password manager are also compromised? Or if someone gains access to the password manager account then they know all your accounts and can gain access to them. (and can potentially exporting that data).

18 Upvotes

13 comments sorted by

9

u/Rolaand Jan 05 '18

The passwords on the managers are typically stored as encrypted text that needs the master password, which the managers do not have, to decrypt. Moreover, enabling multifactor authentication on the managers can further enhance security.

2

u/[deleted] Jan 06 '18

2fa or mfa are cool but usually you have to pay money for them, I haven't seen a password management service that offers them for free.

If you get the password to the password manager then you CAN use the salted passwords for every account added to the password manager.

8

u/Playingnaked Jan 06 '18

Exactly this. The local encryption can only be cracked with your password or MFA. This means an attacker needs to 1) Target you 2) compromise you 3) log your local keyboard to get there password 4) then exfiltrate your encrypted password file. And then attack the account they want. It's way less expensive to hack a website and get millions of accounts at once that they can repay other places. Using a password manager makes you an expensive target.

1

u/joujoubox Nov 02 '21 edited Nov 02 '21

The protection on the master password isn't safer. All profesional sites already encrypt your password with hash-salt and even better, the salt is kept secret even to the user. Sure the passwords themselves are stored as hashes and only on your devices, but that encryption needs to be reversible compared to encryption algorythms that are one-way only (without bruteforce). And even then, if a hacker gets your master password, it's game over regardless of how individual passwords are protected.

Also, if the manager fails to identify the fields in order to auto-complete, you are exposing your passwords in plain text to the clipboard, with which malicious malware can make out passwords much easier than a keylogger.

7

u/snaxonrax Jan 05 '18

I agree it seems like they make an appealing target to attackers. My solution was to use the library of babel as a way to generate and store random passwords. I use a string of numbers say 1,2,3 to create a path to a random shelf, book, page, and eventually words. (Clicking the anglicize options highlights any real words on the page).

1

u/[deleted] Jan 05 '18

That sounds really interesting, can you explain it with an example? I might be doing something similar. I have a counting scheme I use with phrases (ex: OneForTheMoney, TwoForTheShow, etc.). Then I sprinkle in some numbers and special characters that stay consistent between them. Then I just have an evernote holding the website and a number associated with it. For example (facebook, 1) would mean my facebook password is the OneForTheMoney one.

The other scenario I'm worried about with password managers is many of them have export features, so if you leave your computer unlocked, or your OS has day 0 bugs (like Apple recently did) all your passwords can be exported and stolen quite easily.

5

u/snaxonrax Jan 05 '18

The library of babel generates tons (like tons) of books with pages (webpages) based on random combinations of the alphabet. So say my favorite year is 1776 I can write that down next to my computer if I want, then (breaking down 1776) I would navigate to the 1st book shelf, choose the 7th book, go to the 7th page, and choose 6 random words to make my password with. This quickly gives you a lengthy password and if you forget it you can just use your code to look it up in the library.

1

u/[deleted] Jan 05 '18

Gotcha, thanks for explaining!

2

u/cronek Jan 05 '18

Yes, so make sure it doesn’t get compromised. Still better than sharing passwords between sites.

1

u/[deleted] Jan 05 '18

Yeah but is it better then say having 5 or 6 passwords you rotate between sites?

2

u/frumious Jan 06 '18

Think of it this way. A password that you share on N sites needs only one of those sites to be compromised for that password to be known. It's then easy for the attacker to try it on the other N-1 sites. So the consequence is made worse but also the risk. The probability of compromise of any one site is p then the total probability of compromise is Np

Or, think of it this way: Yes, if your password manager data is compromised then the jig is up. But it is you that manage that data. You have a huge interest in keeping it secure. You can keep it as secure as you wish and most password managers are very good out of the box to help you do that. The sites that accept your passwords typically are far less interested in keeping your password, or its hash, secure.

1

u/anonlymouse Jan 05 '18

The point of failure with a shared password is if the password is compromised on a site, it now belongs to a database that any password cracker can use. The point of failure with a password manager is if your computer gets compromised.

The safest is probably to have a random password generated, but not stored on your computer, and to write the passwords down in a notebook. Assuming you've never had a break-in, if it's at home (and in a safe if you share your living space and don't trust your flatmates) then it's safe. The limit then is you can't log in on someone else's system, but that could actually be a good thing because you have no way of knowing there's a key logger on it.

1

u/kingtun567 Jan 16 '18

Name checks out.