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

Let’s stop blaming our users for getting hacked when it is our problem to solve

Let’s stop blaming our users for getting hacked when it is our problem to solve

Users cannot secure your web applications through password choice alone. You cannot blame them for this; it is not their problem to solve. It is ours, as security professionals, identity professionals, and software developers.

Typical 2FA implementations such as TOTP and push notification have had some success, but they can be frustrating to use and are still vulnerable to basic phishing techniques. OWASP and NIST are now recommending FIDO2, which offers a realistic solution in the form of frictionless, possession-based authentication that has inbuilt anti-phishing techniques. But what does FIDO2 look like to a developer and how does it actually work?

In this talk, I’m going to look at:
- why common 2FA mechanisms aren’t up to scratch
- how to phish your friends using Evilginx
- spooky biometrics
- how to use WebAuthn and FIDO2 to protect your users

Scott Brady

June 11, 2020
Tweet

Other Decks in Programming

Transcript

  1. © 2020 Rock Solid Knowledge “Let’s stop blaming our users

    for getting hacked when it is our problem to solve” Scott Brady
  2. © 2020 Rock Solid Knowledge Then why am I hating

    on passwords? haveibeenpwned.com
  3. © 2020 Rock Solid Knowledge Hang on a minute, why

    do we care? • Authentication • to prevent unauthorized access • Attacks • Targeted • Untargeted • Methods • Stolen credentials • Guessed credentials • How much do you care?
  4. © 2020 Rock Solid Knowledge This is a problem Number

    of sites deemed dangerous by Google Safe Browsing (2007 – 2019) transparencyreport.google.com/safe-browsing/overview
  5. © 2020 Rock Solid Knowledge What can we do to

    improve passwords? • Store passwords correctly • Make the user choose a better password • Education • Password strength
  6. © 2020 Rock Solid Knowledge Avoid snake oil If it

    still comes down to something you know, consider it snake oil
  7. © 2020 Rock Solid Knowledge Improve by adding another factor

    • Something you know (passwords) • Something you are • Something you own
  8. © 2020 Rock Solid Knowledge “SMS 2FA is weak AF”

    gizmodo.com/psa-sms-2fa-is-weak-af-1834681656
  9. © 2020 Rock Solid Knowledge How do soft tokens work?

    gizmodo.com/psa-sms-2fa-is-weak-af-1834681656
  10. © 2020 Rock Solid Knowledge TOTP: It’s just another shared

    secret • Not going to save you in a breach • Opinion: still something you know • Article: “Software Tokens Won't Save You”
  11. © 2020 Rock Solid Knowledge Spooky biometrics • Bit of

    an unknown • Two types • Physical • Behavioural
  12. © 2020 Rock Solid Knowledge No, they are just probabilistic

    • Acceptable false match rate = 1 in 1000 • Don’t send across the internet • Should not be considered a secret • Physical is public • Behavioural is public • Mitigate with presentation attack detection • Good for local auth only • NIST SP 800-63b – 5.2.3 Use of Biometrics
  13. © 2020 Rock Solid Knowledge Not for me • Proprietary!

    • Distracts us from a much better solution…
  14. © 2020 Rock Solid Knowledge What is FIDO? The flow

    Server (FIDO Relying Party) Browser (WebAuthn) Security Key (FIDO Authenticator)
  15. © 2020 Rock Solid Knowledge What is FIDO? The flow

    Server (FIDO Relying Party) Browser (WebAuthn) Security Key (FIDO Authenticator)
  16. © 2020 Rock Solid Knowledge What FIDO brings to the

    table Useless in a breach “Unphishable”
  17. © 2020 Rock Solid Knowledge What FIDO brings to the

    table Protection for the at-risk High-Value Employees Advanced Protection Program
  18. © 2020 Rock Solid Knowledge How hard is this to

    implement? ASP.NET Core OSS (Anders Åberg) Commercial (Rock Solid Knowledge – IdentityServer.com)
  19. © 2020 Rock Solid Knowledge FIDO2 relying party Validation –

    IdentityServer.com github.com/abergs/fido2-net-lib OR github.com/RockSolidKnowledge/Samples.Fido
  20. © 2020 Rock Solid Knowledge Passwords: we still make mistakes

    (bonus) theverge.com/2018/5/3/17316684/twitter-password-bug-security-flaw-exposed-change-now theverge.com/2019/3/21/18275837/facebook-plain-text-password-storage-hundreds-millions-users
  21. © 2020 Rock Solid Knowledge Improving transport with PAKE (bonus)

    blog.cryptographyengineering.com/2018/10/19/lets-talk-about-pake/ Password Authenticated Key Exchange (PAKE)