FIDO U2F as a second factor in the customer menu

Summary

In May 2021 Manuel Schmitt announces that the customer portal mein.manitu.de now offers FIDO U2F as a second factor alongside SMS and OATH-TOTP. As with GitHub, all physical and virtual security keys following the U2F standard are supported, explicitly including biometric methods on smartphones or notebooks. The feature is on the list for the web hosting administration as well, but requires other technical groundwork first.

Why a security key protects better than a code

TOTP according to RFC 6238 derives a numeric code every few seconds from a shared secret and the current time. Such a code can be requested on a fake login page and reused immediately.

With FIDO, the security key signs a challenge bound to the website's origin. A phishing page under a different domain therefore receives no usable answer.

U2F, WebAuthn and platform authenticators

The W3C Recommendation Web Authentication of March 2019 introduced the browser interface for FIDO logins. It distinguishes platform authenticators inside the device, such as a TPM or a secure element, from external keys connected via USB, Bluetooth or NFC.

Through the FIDO AppID extension, WebAuthn also accepts keys that were once registered via U2F. Biometrics on a smartphone or notebook work as a platform authenticator and only serve as local approval; according to the specification, the private key is expected never to leave the authenticator.

Ideas

  • Hardware-backed factors resist phishing better than reusable one-time codes.
  • A customer portal can offer several methods without rebuilding every target system at once.
  • Biometric devices can act as security keys without sending biometric data to the service.
  • Every FIDO credential is bound to the domain of the service.

Insights

  • Strong authentication pays off first at a service's administrative control points.
  • A gradual rollout is acceptable if the remaining protection gaps stay visible.

Facts

  • FIDO U2F was offered in addition to SMS and OATH-TOTP.
  • RFC 6238 has described TOTP since May 2011.
  • Web Authentication Level 1 became a W3C Recommendation on 4 March 2019.
  • The WebAuthn extension FIDO AppID allows continued use of U2F registrations.
  • The web hosting administration itself had not yet been switched at the time of publication.

References

Remarks

  • The post speaks of U2F, but biometric methods inside the device are platform authenticators, which were introduced by WebAuthn.

Recommendations

  • Register at least two independent security keys.
  • Remove SMS as a factor once a security key is set up, if the service allows it.
  • Document recovery and revocation of lost factors.
  • Two FIDO2 keys, for example a YubiKey 5 NFC (affiliate link: if you buy something, I get a small commission and the price does not change for you), also handle U2F.

Read the original article on Hostblogger

Search the Web Archive

Found a mistake or have something to add? Get in touch.