18
Authentification 2 facteurs avec token USB Matthieu Herrb Capitoul - 13 octobre 2016 https://homepages.laas.fr/matthieu/talks/token-capitoul.pdf

Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Authentification 2 facteurs avec token USB

Matthieu Herrb

Capitoul - 13 octobre 2016

https://homepages.laas.fr/matthieu/talks/token-capitoul.pdf

Page 2: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Plan

Introduction - Authentification

Yubikeys, Nitrokeys

Conclusion

Références

CNRS/LAAS 2/18

Page 3: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Authentification - rappels

DéfinitionVérification de l’identité d’une entité (personne, ordinateur. . . ),afin d’autoriser l’accès de cette entité à des ressources (systèmes,réseaux, applications. . . )

FacteursI quelque chose qu’on connaît (mot de passe, clé secrète,...)I quelque chose qu’on possède (carte à puce, token USB,...)I une caractéristique intrinsèque (biométrie: empreintes

digitales, iris, contour de la main...)

CNRS/LAAS 3/18

Page 4: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Authentification - problèmes

Limitations des mots de passe (un seul facteur)

I multiplicitéI vol (brute force, key-logger, phishing,...)

SolutionsI fédération(s) d’identité(s) (multiplicité)I gestionnaires de mots de passe (keepass, 1passwd, dashlane,

mooltipass,...)I facteurs multiples (au moins 2) (fragilité du mot de passe)

CNRS/LAAS 4/18

Page 5: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Authentification deux facteurs

Nombreuses technologiesI One Time Password token : grille, « calculette », ...I Cartes à puce / tokens USB 1ère génération :

technologie PKCS#11,....I envoi de SMS

ProblèmesI Utilisation laborieuse (⇒ rejet par les utilisateurs)I Un seul service à la foisI Vulnérabilités résiduelles (attaques connues & utilisées)

CNRS/LAAS 5/18

Page 6: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Plan

Introduction - Authentification

Yubikeys, Nitrokeys

Conclusion

Références

CNRS/LAAS 6/18

Page 7: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

YubikeysYubikey 4 Yubikey Nano yubikey NEO

CNRS/LAAS 7/18

Page 8: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Yubico OTP

I Mode « historique » des YubikeysI S’attache comme un clavier USB (HID)

CNRS/LAAS 8/18

Page 9: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

OATH-OTP

TOTPI Time-based One-time Password AlgorithmI RFC6238

HOTPI HMAC-based one-time passwordI RFC4226

→ Yubico Authenticator (Android/NFC - Desktop/USB)

supporté par Google, DropBox, Gandi,...

CNRS/LAAS 9/18

Page 10: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

FIDO U2F

Standard de la FIDO Alliance (Google, Yubico, NXP)Authentification Web, PAM, bientôt MS-Windows

CNRS/LAAS 10/18

Page 11: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

PIV

I Personal Identity VerificationI NIST SP 800-73 documentI Utilise PKCS#11I Authentification AD (smartcard) WindowsI Support Linux via OpenSCI Peut être utilisé comme HSM pour une AC X.509.

Voir : YubiKey PIV Deployment Guide

CNRS/LAAS 11/18

Page 12: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

OpenPGP

I Interface compatible PKCS#11 pour stocker clés PGP ou SSHI Support OpenSSH, PAM, GnuPG 2.x, Thunderbird,....

CNRS/LAAS 12/18

Page 13: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Récapitulatif

OTP U2F OATH PGP PIVPAM X X X X XAuth. Windows XAuth. Web X X XCAS XShibboleth X XChiffrement X XAC (HSM) X

CNRS/LAAS 13/18

Page 14: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),
Page 15: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Plan

Introduction - Authentification

Yubikeys, Nitrokeys

Conclusion

Références

CNRS/LAAS 15/18

Page 16: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Conclusion

I Authentification par mot de passe seul - problématiqueI (trop) nombreux protocoles pour l’authentification 2 facteursI Amélioration de l’expérience utilisateur → meilleure

acceptation / appropriation ?I Déploiement pas forcément simpleI À suivre

CNRS/LAAS 16/18

Page 17: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Plan

Introduction - Authentification

Yubikeys, Nitrokeys

Conclusion

Références

CNRS/LAAS 17/18

Page 18: Authentification 2 facteurs avec token USBhomepages.laas.fr/~matthieu/talks/token-capitoul.pdfAuthentification-rappels Définition Vérificationdel’identitéd’uneentité(personne,ordinateur...),

Références

I État de l’art de l’authentification renforcée, D. Algave et al,JRES 2013.

I Yubikey : https://www.yubico.com/I Nitrokey : https://www.nitrokey.com/I PGP & SSH keys on a Yubikey neo https://www.esev.com/

blog/post/2015-01-pgp-ssh-key-on-yubikey-neo/I GPG with smart cards

https://www.jfry.me/articles/2015/gpg-smartcard/I Yubikey PIV Introduction https://developers.yubico.

com/yubico-piv-tool/YubiKey_PIV_introduction.htmlI U2F avec drupal : https://www.drupal.org/project/u2f

CNRS/LAAS 18/18