News for hackers. Stuff that matters.
Re:Why does storing 2FA codes in your password manager make ... by jasonjayr on Wednesday January 01, 2025 @01:07PM (#42567815)
The risk is that if your password manager's database is stolen, then an attacker can do an offline decryption attack on it, and should they succeed, they have both parts of the login to compromise you.

At the very least, you SHOULD keep the 2FA credentials in a separate database (IE, keepassxc can keep multiple databases), so an attacker would need to double their efforts to get both parts of the login.

Re:Why does storing 2FA codes in your password manager make ... by ziml77 on Wednesday January 01, 2025 @01:16PM (#42567882)
Are there any reasonable attacks against AES-GCM-256 where the key is a mix of a randomly generated 128-bit key and a password? If not then I have no concerns about an attacker cracking my 1Password database.
Re:Why does storing 2FA codes in your password manager make ... by bluGill on Wednesday January 01, 2025 @01:32PM (#42568007)
The password is generally the weak point. If you can remember it any modern computer can guess it in a short time. Which is why password generation is so imporant.
Re:Why does storing 2FA codes in your password manager make ... by yoble on Wednesday January 01, 2025 @01:53PM (#42568167)
I don't think that's correct as a blanket statement - you can use a passphrase, or remember a 14+ character password since you only have one to remember.

Even if it's only random-ish, password managers do key stretching (for example by hashing the password 600k times - bitwarden has a high default value and lets you increase it if you like) so that it has to take some computational effort to check if a single password is correct. That's why it take a few seconds to unlock your vault each time.

With these in place I think you're pretty safe for a long time. (Well, maybe until quantum computing breaks those cyphers?)

Re:Why does storing 2FA codes in your password manager make ... by Modified3019 on Wednesday January 01, 2025 @02:28PM (#42568535)
Paraphrases are much easier than passwords in this regard. Though I fear keylogging more than brute forcing what my main password is.

But this is why I use security keys like yubikeys. Doesn’t matter if an attacker knows my main password for any number of reasons, there’s fuckall they can do with it without my physical key.

And even if they get into my vault and extract passwords, for many websites (in particular the most important ones) they’d still need to use my security key, they can’t just use the passwords.

Attacks are still possible (with browser session fuckery?) but much harder that yet another breach where a website was storing passwords in plaintext

Note, it’s best to not select “remember me” for Bitwarden: https://bitwarden.com/help/twostep-faqs/#q-why-is-bitwarden-...

Re:Why does storing 2FA codes in your password manager make ... by Brian_K_White on Wednesday January 01, 2025 @03:16PM (#42568917)
This leaves yourself too vulnerable for my taste.

I like, no I think it's simply a hard requirement, that I can recover from nothing but the contents of my head. I can wake up naked in a foreign country and regain everything.

Re:Why does storing 2FA codes in your password manager make ... by baliex on Wednesday January 01, 2025 @01:48PM (#42568123)
> If you can remember it any modern computer can guess it in a short time.

That's not true. A long sentence of your choosing is easy to memorise and plenty long enough to not be able to be guessed by a computer (brute force).

Re:Why does storing 2FA codes in your password manager make ... by bluGill on Wednesday January 01, 2025 @02:49PM (#42568715)
That isn't a word though.
Re:Why does storing 2FA codes in your password manager make ... by number6 on Thursday January 02, 2025 @01:53AM (#42572342)
As a German I have access to words like "Moselschifffahrtspolizeimützenverordnung" and that's a mild one :)
Re:Why does storing 2FA codes in your password manager make ... by bluGill on Thursday January 02, 2025 @08:55AM (#42574407)
Stupid German proving me wrong with something that most languages don't have access to.

\s

I'm sure German is not alone, but it is the only one I'm aware of - though with over 7000 known languages I doubt anyone knows enough to state anything with confidence.

Re:Why does storing 2FA codes in your password manager make ... by number6 on Friday January 03, 2025 @03:54AM (#42583884)
I believe Sanskrit has some very long words like 600 Roman letters or something
Re:Why does storing 2FA codes in your password manager make ... by yablak on Wednesday January 01, 2025 @07:01PM (#42570347)
I'm also interested in the answer to this question. Can one separate the cracking of the password and the key?
Re:Why does storing 2FA codes in your password manager make ... by Eddy_Viscosity2 on Thursday January 02, 2025 @08:39AM (#42574299)
> Are there any reasonable attacks against AES-GCM-256 where the key is a mix of a randomly generated 128-bit key and a password? If not then I have no concerns about an attacker cracking my 1Password database.

Hackers rarely break through the front door. They find a vulnerability elsewhere in the code, your OS, other programs on your computer, the companies servers, the companies staff, and so on. You have to have full faith not just in the encryption algorithm, but its implementation, everything and everyone around it and everywhere it operates and interacts with. Any one of these could be a route in.

Re:Why does storing 2FA codes in your password manager make ... by ghjfrdghibt on Wednesday January 01, 2025 @01:50PM (#42568149)
Or you can protect the database with a keyfile and/or a hardware key meaning you need 2 or 3 factors for the database.

This is what I do for my keepass database. It means I can store my database in a cloud service of my choice for sync purposes too.

Re:Why does storing 2FA codes in your password manager make ... by EPWN3D on Wednesday January 01, 2025 @11:52PM (#42571728)
The threat model of password managers and encryption as a whole assumes that the adversary has the ciphertext. If the adversary can decrypt it, then the encryption algorithm is fundamentally broken.

There is literally no point to encryption if possession of the ciphertext is sufficient to extract the secret.