116 points · by yakz · 3y ago · 123 comments
I also make copies of my KeepassXC database in several cloud storage services incase of a house eating event which destroys my hard-drives (unlikely but still a possibility). I really don't like the idea of being locked out of my digital life.
Terence Eden has a good article about this potential scenario;
https://shkspr.mobi/blog/2022/06/ive-locked-myself-out-of-my...
For those wondering why I use Bitwarden as-well as KeepassXC:
1.) Redundancy. Can't get at my KeepassXC?, then I try Bitwarden. Can't get at my Bitwarden? Then I try KeepassXC. Can't get access to both? Then I'm screwed (but this is unlikely).
2.) Browser extension. I like to be able to login easily to sites using their extension.
3.) LOCKSS (Lots of copies keeps stuff safe). Having a cloud-based mirror of my login entries stored in Bitwarden is marginally better than solely relying on KeepassXC.
4.) Logging into KeepassXC is sometimes more complicated than logging into Bitwarden. I have a long seven word passphrase for KeepassXC, and use a keyfile which I have to 'hunt down' in the filesystem each time I go to access KeepassXC (I have disabled the ability to store the last used database & keyfile for security reasons). With Bitwarden I just open the app and if it's unlocked, I get quick access to everything.
1. Out-of-the-box integrated sync with a dedicated default host: keepass has 8 different sync plugins, all with different levels of maintenance & UX, each for separate sync backends, all requiring separate 3rd party backend account setup
2. Consistent cross-device features & UX: Keepass has 3 browser plugins with varying levels of browser support (not sure if any have mobile support?)
On top of the above, Bitwarden is open source and allows self-hosted sync
1.) Redundancy. Can't get at my KeepassXC?, then I try Bitwarden. Can't get at my Bitwarden? Then I try KeepassXC. Can't get access to both? Then I'm screwed (but this is unlikely).
2.) Browser extension. I like to be able to login easily to sites using their extension.
3.) LOCKSS (Lots of copies keeps stuff safe). Having a cloud-based mirror of my login entries stored in Bitwarden is marginally better than solely relying on KeepassXC.
4.) Logging into KeepassXC is sometimes more complicated than logging into Bitwarden. I have a long seven word passphrase for KeepassXC, and use a keyfile which I have to 'hunt down' in the filesystem each time I go to access KeepassXC (I have disabled the ability to store the last used database & keyfile for security reasons). With Bitwarden I just open the app and if it's unlocked, I get quick access to everything.
1) I have my database replicated several places already. Cloud storage, mobile, FTP server, etc.
2) I don't use a browser extension on desktop, but I know there is one. On mobile the accessibility permissions allow it to suggest login information both in third party apps and in the browser. I've found it works fairly well. If you aren't able to open your database quickly it might not be as convenient.
3) This sounds the same as what I was considering for (1). Historical backups would be important for recovering from possible corruption, but I have not run into this yet for Keepass.
4) Understood. Bitwarden doesn't support keyfiles?
I have been close to splitting my Keepass DB up into several, but haven't pulled the trigger on that effort.
I'm a Keepass user since 2006 and never had a problem with them. My database is saved in OneDrive and always keep local copy in my system. If OneDrive is down, my local copy is always there for me.
In my case even sync new passwords once the seever/Internet comes back up.
I do use keypass to save things I don't want to expose in an online service, no matter how secure it is.
The official bitwarden self hosted setup works flawlessly. Hosting it at home and access it through tailscale.
I do this manually and I want to know if you automate it and how.
A - the service doesn't encrypt your data (or has access to your private keys), and
B - that you have access to the second factor which is used to reset your password (e.g. a backup email address).
Secure password managers do not have access to your private key (i.e. the encryption key), as such if you lose the seed there is no recovery.
In the case with other services (i.e. they can reset your password) there is a chance you could lose access to your backup email or phone number used for resetting.
Edit: some services do allow reset by proving your "identity" (e.g. bank), in which case you have to go through customer service and provide requested information. (I put "identity" in quotes, because nefarious actors can sometimes prove this too).
> incase of a house eating event which destroys my hard-drives
I worry about this as well. Yes, a friend's house is an option, but not everybody has friends or family in the same city, and if they're further away, updating copies is a pain.
That would probably be balanced out with my self-hosted instance hopefully being less of a target, but the downside there is that I might not even know that my database was compromised and it's down to my passphrase strength now.
With Bitwarden's SaaS, I'd hope that I would hear about such a compromise before too long, giving me time to rotate passwords while GPUs gnaw at my (and everybody else's) passphrase.
Additionally, there are certain opportunities for account access recovery that are much harder or impossible when self-hosting, e.g. things like a cool-down period and a warning e-mail before allowing a less-secure 2FA method.
2.) Browser extension. I like to be able to login easily to sites using their extension.
3.) LOCKSS (Lots of copies keeps stuff safe). Having a cloud-based mirror of my login entries stored in Bitwarden is marginally better than solely relying on KeepassXC.
4.) Logging into KeepassXC is sometimes more complicated than logging into Bitwarden. I have a long seven word passphrase for KeepassXC, and use a keyfile which I have to 'hunt down' in the filesystem each time I go to access KeepassXC (I have disabled the ability to store the last used database & keyfile for security reasons). With Bitwarden I just open the app and if it's unlocked, I get quick access to everything.
2. KeepassXC has a browser extension.
3. Refer to point 1.
4. Using a keyfile is optional and IMO don't see how it adds any security benefits to the master passphrase.
The only reason Bitwarden "just opens" from the last session is because of the very features you have disabled in KeepassXC (remember last used kdbx).
Launching KeepassXC for me has exactly the same steps as Bitwarden has. Open program, put correct passphrase (or insecure PIN on Bitwarden for the lazy folks) and the password database unlocks.
The lack of backups is also a concern.
Carbon copy
1. Carry around your carbon copy with you - making it not really any backup at all
2. Remember to make your carbon copy at a later time every time you create or update a password - pretty cumbersome and prone to forgetting
Plus if you have any decent number of passwords you're dealing with many pages (*2 for the carbon copy), which is also error prone. What about longer passphrases as well? I have a bunch of very long phrases I use as encryption keys and such that would be very annoying to manually write out.
The "hang up and call back" defense also would work with your "wife clone attack" too
Everyone know the satellites are arranged into a constellation to form a massive C.T. scanner.
So leaving the house is irrelevant.
Edit: commenting about downvotes is almost always pointless. But pointing out the truth about this comic always gets lots of commentless downvotes, and so this time I want to say that you people are wrong, and you are actively misinforming people. Security is about economics, increasing the time/cost for attackers vs defenders. Additionally, different security measures are about specific threat models. Encryption is entirely orthogonal to physical attacks, which are addressed by physical defenses. But physical attacks are much more expensive and riskier, if they're possible at all, vs electronic. And encryption still yields the important value of knowing you were attacked at all. If you are going through an airport and they demand your password at gunpoint, you can surrender it right away and you've lost nothing, but now you also know they were interested and all the data is likely compromised. Whereas if it was all unencrypted, they could have just quickly and transparently copied it all off, added a root kit, etc with you never being the wiser. But in much of the world, official services threatening you physically isn't legal. And if it's criminals, how often is the "lead pipe" a thing vs "we stole this from some tourist and we don't even know who it belongs to" or the like?
XKCD is rightfully popular. But this comic is shallow and bad. It shouldn't be held up as at all valuable in security discussions on HN or anywhere else.
Perhaps you think the link was to a different comic (maybe the entropy one about the horses and the batteries) and didn’t actually click it?
Nowhere is Randall saying that the crowbar is the only or the most likely attack scenario to worry about.
He's simply mentioning that it's there and worth keeping in mind, especially when going overboard with other security measures not appropriate in the threat model.
Not few, it's pretentious most of the times. I am with you on the criticism, XKCD is the loud, smart-ass kid in the room that everyone thinks is smart because he's using big words.
It’s a subtle yet poignant reminder that our inclination, as tech-savvy individuals, is often to envision sophisticated technical exploits when considering hacking scenarios. However, the stark reality is that, in the vast majority of cases, both individuals and organizations fall prey to breaches not through intricate code manipulation, but rather via the art of social engineering. (beating the sh*t out of someone can be thought as an extreme form of social eng.) This comic underscores the importance of understanding and mitigating the very human vulnerabilities that persist at the heart of cybersecurity.
Bitwarden doesn't run an onion service? Anyone who acknowledges Tor and wants to support users there and doesn't have an onion is missing out.
So if there is an observation of an issue, it's reasonable to connect those dots, plus their statement on that page "All uptime, scalability, security updates, and guarantees are backed by Microsoft and their cloud infrastructure" pretty much says any issues are MS/Azure problems.
Bitwarden themselves aren’t blaming Azure.
I’m not aware of any SaaS that achieves 100% uptime. If you want to control your own destiny, I hear that you can self-host bitwarden, but the uptime will almost certainly be lower than a well-managed hosted service.
I do self-host things, but nothing so security-sensitive.
First: E2EE. You're thinking in terms of a web gui, not a E2EE client-server where the server itself is untrusted. If done properly (and I've seen no indication Bitwarden's isn't) that would mean that server compromise is irrelevant anyway beyond uptime.
But second in general: Bitwarden has people attacking it full time, and necessarily must be on the public internet with untrusted clients. And I do not. One's own server doesn't need to be on the public internet at all, you can have 100% of access exclusively through a Wireguard or other secure VPN. You have completely control of every single client, because they're all yours. Server blocked from internet entirely, update it out of band, or at least restrict what it can talk to to exclusively upstream update servers. This massively reduces attack surface. If only trusted clients can access something, then compromising it means going through a trusted client. But if the trusted client is compromised in this scenario you're hosed regardless. The server is irrelevant.
There's lots of good reasons of course not to run your own thing, but the security aspect gets overdone with false equivalences. It's the equivalent of people pointing at what the likes of Amazon or Google or whomever have to do for database work. But while they have far more resources, they also have far more demands and requirements. Stuff that is very challenging at hyperscale can be done far more simply but still effectively at small/medium scale. It's not wrong to think about the tradeoffs, but worth being cautious of apples to watermelons comparisons.
Another great option is Cloudlare with it's "cloudflared" tool. Combine that with OIDC+forwardauth and I would be OK exposing some not so critical systems to the internet.
This way, I only have to focus on making sure my vpn is secured.
I wish password protection was a lot simpler.
- It's great they offer it of course, as for many people it _is_ a good fit.
being able to transmit information across open or even adversarial channels is the literal reason encryption exists
This is security theater, if your security method is keeping your data local you can use notepad, you don't need to go through the hassle of setting up a password manager
must be in a different AZ
Have never had a point where I haven't been able to access my passwords.