Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Take Your Authentication Beyond Passwords

Pradheepa P
September 27, 2023

Take Your Authentication Beyond Passwords

According to Verizon DBIR Report 2023, 80% of web application attacks are due to stolen credentials/passwords. While MFA is introduced to reduce the attacks, it is not immune to phishing. It's time to think beyond passwords. FIDO2 standards define specifications to go passwordless. Let us see what the standards define and how to implement them.

Pradheepa P

September 27, 2023
Tweet

More Decks by Pradheepa P

Other Decks in Technology

Transcript

  1. 80% Passwords are the root cause of over 80% of

    data breaches. 90 Users have more than 90 online accounts. 51% Up to 51% of passwords are reused.
  2. Problem of Passwords • Easily guessed and vulnerable to brute

    force attacks. ◦ E.g. “password” • Complex Passwords ◦ E.g. “tYU&56jhfl!m” ◦ Credential Stuffing ◦ Sticky Note • Multi-Factor Authentication ◦ Phishing ◦ Sim Swapping ◦ User Friction & Less adapted • Password Managers ◦ ???
  3. Passwords are like cockroaches of the internet and companies have

    been trying to kill them off for years.- Merritt Maxim, Forrester Research
  4. FIDO - Fast Identity Online - Consortium of major global

    players like Apple, Microsoft, Amazon created in 2013 to solve the World's Password Problem. - Working to change the nature of authentication with open standards. - Striving to create credentials more secure than passwords and SMS OTPs, simpler for consumers to use, and easier for service providers to deploy and manage.
  5. WebAuthn - Browser based API implementation of FIDO2 standard -

    Global authentication standard based on public key cryptography instead of a password.
  6. Registration - Selecting the biometric If the application supports passkey,

    it prompts the user to register with the passkey Username : Pradheepa rpId : www.webauthn.me challenge : we345yiom Conditions for creating the passkeys
  7. Server recognizes you already have passkeys Login - Choosing the

    passkeys Username : Pradheepa rpId : www.webauthn.me challenge : we345yire Sign the challenge with your private key
  8. Every passkey is bound to a domain ◦ Phishing Resistant

    ◦ By design each website has one passkey
  9. No more shared credentials ◦ Attack on server is not

    interesting anymore ◦ No stolen credentials, weak passwords, complex rules for passwords
  10. Resources • FIDO2 Developer Primer: webauthn.guide • FIDO2 Demo: webauthn.io

    webauthn.me • Python Code - https://github.com/duo-labs/webauthn.io • https://nordpass.com/most-common-passwords-list/ • https://auth0.com/docs/quickstart/backend/python/01-authorization • https://github.com/auth0/auth0-python