News for hackers. Stuff that matters.
Re:How does Google Authenticator work? by jeromegv on Friday August 27, 2021 @05:02PM (#28332938)
If your passwords are leaked in a data leak, they still wouldn't get your 2FA. So I wouldn't say it entirely defeats the purpose of 2FA.
Re:How does Google Authenticator work? by tialaramex on Friday August 27, 2021 @05:11PM (#28333015)
Depending on the leak, the secret that drives TOTP could also be in the same database table (or a nearby one). This means anybody with that secret can trivially run the TOTP algorithm and get the correct six digit code for any time present or future.

If you care about MFA that can survive leaks, you want WebAuthn. As with phishing this known problem was considered in the design of WebAuthn and so your WebAuthn credentials aren't designed to need to be secret.

In fact here you go, here are WebAuthn credentials for a vanity system I own, copied out of its authentication database:

ID: AXnUJ920FfJlRjZtocN+9Bc9IP6gvsBiWA3GfJxckh3nQ/KekQ6xB2byfI2GM7IcGS2MpzxZs6IHmAxvgAcE/Mw= Public key: pQECAyYgASFYIFf0iDSfNpYNA5Br9zXSIUH69BqyvFcgbqy6tWC8rsLwIlggCDqury9UOzI1DnOFyE3aYwaBLvP0NyNez98v0TcieKs=

That's all the backend needs to check I'm really me, and yet it's also completely useless to an attacker, they can't even use it to compare across sites and "unmask" me.

Re:How does Google Authenticator work? by bdamm on Friday August 27, 2021 @11:07PM (#28335287)
WebAuthn is great. Put it to work recently in a new control system and it sure is a nice feeling to deploy with zero need for passwords.
Re:How does Google Authenticator work? by brokenmachine on Sunday August 29, 2021 @11:54PM (#28352673)
I had a quick look on wikipedia about how webauthn works, looks like you use a hardware (USB?) device to sign something with the PIN you enter.

What happens if you lose that device, or if it fails?

Re:How does Google Authenticator work? by tshaddox on Friday August 27, 2021 @06:54PM (#28333862)
If they stored my password in plain text, I'm not sure I would trust their 2FA implementation to actually function as a second factor to protect my account. :) Seriously though, isn't this a little like saying that a website could have two passwords on each account so if they suffer a data leak that happens to leak only one of your passwords, that wouldn't be enough to access your account?