And considering you can freely copy the database and someone corrupting your own is "only" going to result in you not being able to login, is that really a threat model that is more important with just encrypting everything so they can't be read?
KeePass – questionable security
81–90 of 231 posts
Re: KeePass – questionable security
#82Earlier quoted context omitted.
Do you care about that kind of side channel for an offline vault? If your adversaries are on your box while you operate your vault, then you have already lost because they will also have keyloggers, strace, etc.
What if they hack your dropbox account and get a copy of the vault that way? They're not on your box, but now they can try to break into your vault.
Re: KeePass – questionable security
#83Earlier quoted context omitted.
Considering your background and experience, do you have a recommendation for personal level password management?
I use and like 1Password.
The PDF linked below states that there is zero integrity in 1Password file format.
I happen to like and use KeePass, but that is not a secure-software guarantee.
Re: KeePass – questionable security
#84Earlier quoted context omitted.
Considering your background and experience, do you have a recommendation for personal level password management?
I use and like 1Password.
Re: KeePass – questionable security
#85Earlier quoted context omitted.
Any takers on that question?
Well, it's not thread safe but they might not think that's an issue. It looks like this: private static CryptoRandom m_pInstance = null; public static CryptoRandom Instance { get { if(m_pInstance != null) return m_pInstance; m_pInstance = new CryptoRandom(); return m_pInstance; } }
http://csharpindepth.com/Articles/General/Singleton.aspx
Note that using the last example isn't necessarily "the best", it really depends on your requirements.
Nonetheless, a very interesting read.
Re: KeePass – questionable security
#86Earlier quoted context omitted.
I notice that the "change-password" function of yourbank.com is accidentally being served over HTTP instead of HTTPS. I just need to trick you into changing your password. I have access to your kdbx db (ex. you sync to Dropbox and I'm Dropbox employee). I can alter the kdbx file to change your password so that it is no longer valid. KeePass doesn't complain at all. You have a WTF moment and try to change your passwor…
I have a private server in a datacenter that I put together myself. I use sftp to download/upload my keepass file, I also use a keyfile that stays local and a password for auth. What is the attack vector there?
It turns out that the kdbx on your private server got silently corrupted (ex. fs corruption) ~5 years prior to your death. However, your Dropbox backups only have 30 days of previous kdbx versions.
Can your Executor handle the disappointment?
I believe this issue is grave enough.
Re: KeePass – questionable security
#87Earlier quoted context omitted.
Step-1: open the above PDF. Step-2: search for "HMAC". Step-3: note which application uses HMAC. Step-4: you should prefer (3) to all others.
A note to other 1Password users like myself, per the linked PDF 1Password does not use HMAC.
"The OPVault format uses Encrypt-then-MAC for authenticated encryption with AES-CBC-256 for encryption and HMAC-SHA256 for Message Authentication. Key derivation uses PBKDF2-HMAC-SHA512"
Re: KeePass – questionable security
#88"On The Security of Password Manager Database Formats" ( https://www.cs.ox.ac.uk/files/6487/pwvault.pdf ) was a good review of KeePass, Password Safe, and others. As I understood it, only Password Safe provided both secrecy and data authenticity.
Re: KeePass – questionable security
#89Earlier quoted context omitted.
Step-1: open the above PDF. Step-2: search for "HMAC". Step-3: note which application uses HMAC. Step-4: you should prefer (3) to all others.
A note to other 1Password users like myself, per the linked PDF 1Password does not use HMAC.