News for hackers. Stuff that matters.
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?