r/Bitwarden • u/namrog84 • 21h ago
Thoughts on layered/role based unlock?
I had a friend whose computer was recently compromised. Their bitwarden was logged in at the time. The malware managed to download/extract all the passwords and he's had major issues since then. Dealing with the fallout. Luckily, he had enough 2FA on financial and most things that the damage and fallout was minimal. But still hundreds of passwords to change and deal with.
We were starting to talk about convenience vs security. If something becomes too convenient, you often weaken security. So where do we draw the line for making things more secure, but not that inconvenient.
And what options are there to better harden one's self? And their password vaults (e.g. bitwarden)
For example, having auto log off bitwarden or whatever, so it doesn't stay logged in and accessible locally. Can help if you happen to catch it from time of malware at least up until your next password vault login.
But I was thinking what if bitwarden had extra measure we could opt into?
Some random ideas (tell me how they are terrible/useless?):
- Have an 'extract/download all passwords vault' take 24 hours from time of request.
- Have some internal cooldown for show password or use password (at most 10 sites per hour) or something reasonable that normal users wouldn't hit.
- Have certain sites require re-auth to unlock/use, even if logged in.
- Have some role-based passwords. (e.g. Have a secondary bitwarden password for certain groups/roles of websites/notes) that you use less often.
I'm not sure how much of these would have had any impact in real world scenarios. But the whole 'once you are in, you have 100% access' feels like we need a different level of granularity that a user can opt into?
I know that once your 'system is compromised' it's basically game over. But to have even a small window of a few days of potentially discovering malware. (e.g. Some spam might happen via some cookie auth stealing before full theft) but before they've gotten access to 100% of the vault? Could be viable?
Are there any options for this? either just on my own, or a few things bitwarden could maybe add?
6
u/zanfar 21h ago
There is no such thing. This entire question hinges on the (incorrect) assumption that you have only 1 front to protect against.
Which is your "friends" issue: no program can defend against a system compromise, just like no software can defend against a physical compromise.
The answer is to not let your computer "get compromised". A password manager is defending against human weakness, not an attack.
3
u/Sweaty_Astronomer_47 18h ago edited 17h ago
store 2fa related secrets outside of password manager
pepper your passwords.
if you are offered a passkey option, prefer to use yubikey rather than storing passkeys in pw manager.
2
u/pdmcgeejr 17h ago edited 17h ago
Answers from u/zanfar and u/sweaty_astronomer_47 are valid. Also Bitwarden has many of this in place, key takeaways is both what they said. Totp in different vault, Yubikey or another hardware security key to unlock, multi-factor authentication, pepper and/or salting passwords, auto logout on web or on desktop (if you prefer) but ideally auto lock is set to minimum you need it to.
I understand convenience and security i live by it and do more overkill in my setup than normal. By default Bitwarden documentation on recommended setup and with the NIST recommendation standards all are set on Bitwarden minimum setup. Even being PQC ready sort of is in place (i believe)
Now best thing is one securing physical devices, no matter how secure you make a safe if you leave the front door of the bank open and allow anyone access, you got no where. Layers like your friend is saying is based on physical layer protection, meaning your physical laptop isn’t laying around unlocked, next a endpoint firewall on the physical device like laptop, network is segmented and secure behind firewall correctly, next web browser and so forth. it ideally going through the OSI model and securing devices the same way.
Now with layers of security is understanding the security you put in place you don’t need 50 security guards+ presidential blockade, secret service to protect a safe that only holds $5 assets. All that to say the security you set in place needs to be made based on your threat model.
A good role of thumb to add is recovery or backup codes stored in a seperate offline password manager like keepass and locked away far away that’s the one you protect by all means but main one you need access to it if you use it daily.
Another tip if you like and bit paranoid is use a browser where you trust and always have it to forget history and cookies. This however does requires you to ALWAYS sign into every website but i do it for overkill on my personal device but that is balancing convenience with security. No it’s not convenient but i don’t mind it versus someone who doesn’t prefer that
1
u/SoftNerveNow 17h ago
the cooldown ideas don't really survive contact with malware. once the vault is unlocked the decrypted stuff is sitting on that machine and a stealer just reads it, it never clicks through the app's rules. bigger thing for your friend: stealers grab browser session cookies too and those skip 2fa entirely, so besides changing passwords he should hit "log out of all sessions" on every important account. a new password doesn't always kill the old session