Support for U2F FIDO Tokens in Mobile Applications

Total Page:16

File Type:pdf, Size:1020Kb

Support for U2F FIDO Tokens in Mobile Applications Masaryk University Faculty of Informatics Support for U2F FIDO tokens in mobile applications Bachelor’s Thesis Marek Hrašna Brno, Spring 2019 Masaryk University Faculty of Informatics Support for U2F FIDO tokens in mobile applications Bachelor’s Thesis Marek Hrašna Brno, Spring 2019 This is where a copy of the official signed thesis assignment and a copy ofthe Statement of an Author is located in the printed version of the document. Declaration Hereby I declare that this paper is my original authorial work, which I have worked out on my own. All sources, references, and literature used or excerpted during elaboration of this work are properly cited and listed in complete reference to the due source. Marek Hrašna Advisor: RNDr. Petr Švenda Ph.D. i Acknowledgements I would like to express my gratitude to my advisor, RNDr. Petr Švenda Ph.D. his guidance, patience, and helpful advice throughout the mak- ing of this thesis. iii Abstract One of the biggest security problems on the Internet is the usage of weak credentials, such as passwords, for user authentication. Second- Factor Authentication (2FA) provides a valid answer to this threat. Still, there are many 2FA schemes vulnerable to prominent web threats such as phishing attacks. The U2F protocol provides a phishing-resistant 2FA solution, optionally based on secure hardware elements. This thesis provides an analysis of the security brought by the U2F authen- tication scheme and shows its real-world adaptation in mobile plat- forms. It discusses problems that occur while using commercial tokens implementing this standard and describes the process of installing a U2F applet onto a JavaCard while discussing possible problems that may occur. iv Keywords U2F, FIDO, FIDO2, Bachelor thesis v Contents Introduction 1 1 Analysis of the U2F protocol 3 1.1 Motivation for FIDO standards ................3 1.2 Protocols overview ......................5 1.3 Security analysis .......................7 2 U2F JavaCard Applet 15 2.1 Applet description ....................... 15 2.1.1 Installation parameters . 16 2.1.2 Response status words table . 17 2.1.3 Attestation certificate upload . 18 2.1.4 Exchanged data . 18 2.2 Problems ........................... 23 2.3 Results ............................ 25 3 Testing on Android 27 3.1 Experiment setup ....................... 27 3.2 Experiment results ...................... 28 3.3 Analysis and summary .................... 32 3.4 Existing tokens ........................ 32 4 Conclusion and future work 35 5 An appendix 37 Bibliography 39 vii Introduction The need for a more secure way to authenticate has been clear for years. Time and time again, you can see news of leaks of user information – and they often come from a company with millions of users. Companies and state organization have tackled this problem di- versely – from using biometrics to using hardware tokens or other means. This required costly development for the companies, but oth- erwise, it had worked well. That inspired an idea to create a universal standard which would not only reduce the costs for the companies, but that could bring this possibility of stronger authentication to the huge user base of the Internet. “The specifications and certifications from the FIDO Alliance en- able an interoperable ecosystem of hardware-, mobile- and biometrics- based authenticators that can be used with many applications and websites. This ecosystem enables enterprises and service providers to deploy strong authentication solutions that reduce reliance on pass- words and protect against phishing, man-in-the-middle and replay attacks using stolen passwords.” (FIDO Alliance, 2013) The idea of universal second factor protocol is to provide one au- thentication device that works across any number of services with no shared secrets amongst multiple servers. This enables users to be unlinkable by third parties, and thus have multiple, yet secure identi- ties. Many companies with worldwide reach have joined the alliance, which makes pushing the protocol out to the public much easier. “The core ideas driving FIDO are (1) ease of use, (2) privacy and security, and (3) standardization. For implementing authentication be- yond a password (and perhaps an OTP), companies have traditionally been faced with an entire stack of proprietary clients and protocols.“ (FIDO Alliance, 2013) 1 The U2F authentication devices can be connected using a USB port or (in some cases) using contactless interface like Bluetooth or NFC1. The aim of this thesis is to analyze the state of these tools for second- factor authentication within mobile platforms (Android). With the continuous rise of smartphone usage for many tasks that concern the user’s privacy, it is important that this U2F standard can be applied in this scenario as well. We focus mainly on the U2F (FIDO) protocol family and hardware tokens. In the theoretical part, we cover analysis of U2F standard, consulting its strong and weak points. Next, we cover the testing of U2F tokens with a native mobile application for Android and discuss problems that we encountered. Furthermore, we provide an overview of a JavaCard applet that we used and modified so that we could usea smartcard as a U2F token. We discuss problems that we encountered along the way and modifications we had to make. The practical part consists of the said native mobile application for Android, commu- nicating with a hardware token through NFC or Bluetooth. It also includes source codes of the JavaCard U2F Applet. Firstly, we studied available documentation concerning U2F stan- dard and FIDO generally. We analyzed the strong and weak points of this standard. Secondly, we have found and modified an available demo application for Android, which would allow us to register and consequently log-in using a FIDO U2F token. Thirdly, we analyzed an existing JavaCard U2F Applet and analyzed its properties when used on programmable smartcard as FIDO U2F token. Finally, we described a real use-case scenario and used both implementations to show how it works. 1. Near Field Communication 2 1 Analysis of the U2F protocol 1.1 Motivation for FIDO standards In general, there are three factors used for authentication: ∙ Something you know - a password or a personal identifica- tion number (PIN) for example, is the most common means of authentication. It is also easiest to beat. ∙ Something you have - some form of a token or a smart card ∙ Something you are - Biometrics - fingerprint, iris scan, retina scan, face scan, handwriting, hand geometry These factors can be combined to form multi-factor authentication. As cited on FIDO Alliance’s documents, their goal is to change the nature of strong online authentication. With password being still the most common means of authenticating a user on the web, phishing attacks, data breaches and other forms of hacking are as dangerous as they have ever been. There are numerous problems with password - to be secure, they should be of some minimal length, contain uppercase and lowercase letters, use special symbols, and should be unique for each service. That is usually much more than an average user is able to remember, so it is understandable that they reuse them. That leads to undesirable problems -if a password is stolen from one service, the chances are that the same password can be used by the attacker with a number of other services. Strong authentication is looking to solve this problem. Strong authentication has several unofficial definitions and isof- ten understood as multi-factor authentication. Nevertheless, it does not have to necessarily mean that, as it does not in FIDO UFA and FIDO2 standards. Here, it is rather meant as authentication based on a challenge-response protocol. 3 1. Analysis of the U2F protocol Challenge-response protocols work in the following way: One party proposes a challenge, usually a nonce or a random value; the other party combines this value with a secret to generate a response, and sends it back. The first party can then verify the response andcon- firm that the other party possesses the secret. An example of one the earliest challenge-response protocol would be a simple password authentication - one party asks for the password, and the other must answer correctly. This method was later improved, in certain applica- tions, by providing a password identifier within the challenge, and the other party must have responded with a correct password for a given identifier. This would spoil possible interceptor’s effort tomali- ciously authenticate against challenges with different identifiers, thus improving security. The basic idea of this method is used to this day, for example, by certain internet banking solutions - but the exchanged data is cryptographically protected. The client receives a document with different passwords for different challenges during the set upof a bank account and is challenged during the log-in process. Authentication techniques that were not cryptographically pro- tected were usually sufficient before the Internet. The risk of the system asking for the password not being the system the user was trying to en- ter, or the possibility of an eavesdropper watching the communication channel were significantly lower. Cryptographic techniques used to solve this problem were mainly mutual authentication and implementation of a cryptographic nonce. Some of the challenge-response protocols developed over the years are for example CHAP1, OCRA2, and SCRAM3[1]. FIDO aims to change strong online authentication by: ∙ Developing technical
Recommended publications
  • Security Keys: Practical Cryptographic Second Factors for the Modern Web
    Security Keys: Practical Cryptographic Second Factors for the Modern Web Juan Lang, Alexei Czeskis, Dirk Balfanz, Marius Schilder, and Sampath Srinivas Google, Inc., Mountain View, CA, USA Abstract. \Security Keys" are second-factor devices that protect users against phishing and man-in-the-middle attacks. Users carry a single de- vice and can self-register it with any online service that supports the protocol. The devices are simple to implement and deploy, simple to use, privacy preserving, and secure against strong attackers. We have shipped support for Security Keys in the Chrome web browser and in Google's online services. We show that Security Keys lead to both an increased level of security and user satisfaction by analyzing a two year deployment which began within Google and has extended to our consumer-facing web applications. The Security Key design has been standardized by the FIDO Alliance, an organization with more than 250 member companies spanning the industry. Currently, Security Keys have been deployed by Google, Dropbox, and GitHub. An updated and extended tech report is available at https://github.com/google/u2f- ref-code/docs/SecurityKeys_TechReport.pdf. 1 Introduction Recent account takeovers [1{3] have once again highlighted the challenge of securing user data online: accounts are often protected by no more than a weak password [4] and whatever implicit signals (if any) that the online service provider has collected to distinguish legitimate users from account hijackers. Academic research has produced numerous proposals to move away from passwords, but in practice such efforts have largely been unsuccessful [5, 6]. In- stead, many service providers augment password-based authentication with a second factor in the form of a one-time passcode (OTP), e.g., [7, 8].
    [Show full text]
  • A Tale of Two Studies: the Best and Worst of Yubikey Usability
    A Tale of Two Studies: The Best and Worst of YubiKey Usability †∗ ∗ ∗ ∗ z ∗ Joshua Reynolds , Trevor Smith , Ken Reese , Luke Dickinson , Scott Ruoti , Kent Seamons y ∗ z University of Illinois at Urbana-Champaign, Brigham Young University, MIT Lincoln Laboratory [email protected], ftsmith, ken.reese, [email protected], [email protected], [email protected] Abstract—Two-factor authentication (2FA) significantly device that authenticates the user after the user presses a improves the security of password-based authentication. button on the security key [8]. The button tap is a test of Recently, there has been increased interest in Universal 2nd user presence and prevents malware on the host device from Factor (U2F) security keys—small hardware devices that require users to press a button on the security key to authenticate. To using the security key surreptitiously. Most commonly, security examine the usability of security keys in non-enterprise usage, keys are designed to be plugged into a USB port, though we conducted two user studies of the YubiKey, a popular line they can also communicate with other devices using wireless of U2F security keys. The first study tasked 31 participants protocols (e.g., NFC, Bluetooth). with configuring a Windows, Google, and Facebook account to U2F security keys are designed to be easy-to-adopt and authenticate using a YubiKey. This study revealed problems with setup instructions and workflow including users locking use in day-to-day life, while protecting users against phishing themselves out of their operating system or thinking they had and man-in-the-middle attacks [8].
    [Show full text]
  • Of Two Minds About Two-Factor: Understanding Everyday FIDO U2F
    Of Two Minds about Two-Factor: Understanding Everyday FIDO U2F Usability through Device Comparison and Experience Sampling Stéphane Ciolino, OneSpan Innovation Centre & University College London; Simon Parkin, University College London; Paul Dunphy, OneSpan Innovation Centre https://www.usenix.org/conference/soups2019/presentation/ciolino This paper is included in the Proceedings of the Fifteenth Symposium on Usable Privacy and Security. August 12–13, 2019 • Santa Clara, CA, USA ISBN 978-1-939133-05-2 Open access to the Proceedings of the Fifteenth Symposium on Usable Privacy and Security is sponsored by USENIX. Of Two Minds about Two-Factor: Understanding Everyday FIDO U2F Usability through Device Comparison and Experience Sampling Stéphane Ciolino Simon Parkin Paul Dunphy OneSpan Innovation Centre University College London OneSpan Innovation Centre & University College London [email protected] [email protected] [email protected] Abstract words and tokens) is widely recognized as an effective tech- Security keys are phishing-resistant two-factor authentica- nique to protect both corporate and personal online accounts tion (2FA) tokens based upon the FIDO Universal 2nd Factor against account hijacking threats. Indeed, there are already ex- (U2F) standard. Prior research on security keys has revealed amples of citizens being advised to use Two-Factor Authenti- intuitive usability concerns, but there are open challenges to cation (2FA) by government agencies (as in the UK [35]). The better understand user experiences with heterogeneous de- most common second factor is a One-Time Passcode (OTP) vices and to determine an optimal user experience for every- received via a text message to a mobile device [5].
    [Show full text]
  • The Webauthn Standard: Why It Should Matter to the Public Sector and How It Works Executive Summary
    WEBAUTHN WHITE PAPER SERIES: MAY 2020 The WebAuthn Standard: Why It Should Matter to the Public Sector and How It Works Executive Summary This paper is the second in a series of WebAuthn whitepapers published by Yubico. For an introduction to WebAuthn and why it is both more secure and easier to use, see the first paper, Introducing WebAuthn: Enabling a Streamlined and More Secure User Authentication Experience. Most websites, services, and applications have difficulty providing secure, convenient authentication for users. Passwords are the problem. They tend to be either so simple they are easily guessed by hackers or so complex they are hard for users to remember. And all passwords, regardless of their complexity, are vulnerable to phishing and data breaches. Fortunately, WebAuthn, a new web authentication standard approved in March 2019 by the World Wide Web Consortium (W3C), makes it easy for websites, services, and applications to offer strong authenti- cation without relying on passwords. By replacing passwords with strong authentication based on public key cryptography, in which the private key never leaves the user’s device, WebAuthn makes authentication both easier to use and more secure, benefitting users and service providers alike. The WebAuthn standard is already supported by all major browsers and most platforms including: ● Windows 10 ● Android ● Google Chrome ● Mozilla Firefox ● Microsoft Edge ● Apple Safari ● Apple iOS WebAuthn supports various models for account authentication, leveraging both external roaming authenticators, such as hardware security keys, and authenticators built into computing and mobile devices, such as fingerprint readers and facial recognition technology. Applications and web services can choose to implement WebAuthn for passwordless authentication, two-factor authentication (2FA), and multi-factor authentication (MFA).
    [Show full text]
  • A Tale of Two Studies: the Best and Worst of Yubikey Usability
    2018 IEEE Symposium on Security and Privacy A Tale of Two Studies: The Best and Worst of YubiKey Usability †∗ ∗ ∗ ∗ ‡ ∗ Joshua Reynolds , Trevor Smith , Ken Reese , Luke Dickinson , Scott Ruoti , Kent Seamons † ∗ ‡ University of Illinois at Urbana-Champaign, Brigham Young University, MIT Lincoln Laboratory [email protected], {tsmith, ken.reese, luke}@isrl.byu.edu, [email protected], [email protected] Abstract—Two-factor authentication (2FA) significantly device that authenticates the user after the user presses a improves the security of password-based authentication. button on the security key [8]. The button tap is a test of Recently, there has been increased interest in Universal 2nd user presence and prevents malware on the host device from Factor (U2F) security keys—small hardware devices that require users to press a button on the security key to authenticate. To using the security key surreptitiously. Most commonly, security examine the usability of security keys in non-enterprise usage, keys are designed to be plugged into a USB port, though we conducted two user studies of the YubiKey, a popular line they can also communicate with other devices using wireless of U2F security keys. The first study tasked 31 participants protocols (e.g., NFC, Bluetooth). with configuring a Windows, Google, and Facebook account to U2F security keys are designed to be easy-to-adopt and authenticate using a YubiKey. This study revealed problems with setup instructions and workflow including users locking use in day-to-day life, while protecting users against phishing themselves out of their operating system or thinking they had and man-in-the-middle attacks [8].
    [Show full text]
  • Understanding Everyday FIDO U2F Usability Through Device Comparison and Experience Sampling
    Of Two Minds about Two-Factor: Understanding Everyday FIDO U2F Usability through Device Comparison and Experience Sampling Stéphane Ciolino Simon Parkin Paul Dunphy OneSpan Innovation Centre University College London OneSpan Innovation Centre & University College London [email protected] [email protected] [email protected] Abstract words and tokens) is widely recognized as an effective tech- Security keys are phishing-resistant two-factor authentica- nique to protect both corporate and personal online accounts tion (2FA) tokens based upon the FIDO Universal 2nd Factor against account hijacking threats. Indeed, there are already ex- (U2F) standard. Prior research on security keys has revealed amples of citizens being advised to use Two-Factor Authenti- intuitive usability concerns, but there are open challenges to cation (2FA) by government agencies (as in the UK [35]). The better understand user experiences with heterogeneous de- most common second factor is a One-Time Passcode (OTP) vices and to determine an optimal user experience for every- received via a text message to a mobile device [5]. While this day Web browsing. In this paper we contribute to the growing technique conveniently leverages pre-existing telecommuni- usable security literature on security keys through two user cations infrastructure and mobile devices that users already studies: (i) a lab-based study evaluating the first-time user ex- own, it is vulnerable to Person-In-The-Middle (PITM) at- perience of a cross-vendor set of security keys and SMS-based tacks [8, 23, 32], such as phishing attacks. Hardware-based one-time passcodes; (ii) a diary study, where we collected authentication tokens have historically been deployed for 2FA 643 entries detailing how participants accessed accounts and in closed user communities such as corporations, or for bank- experienced one particular security key over the period of ing customers, particularly in territories such as Europe.
    [Show full text]
  • Installation
    privacyIDEA Authentication System Release 2.17 Cornelius Kölbel January 10, 2017 Contents 1 Table of Contents 3 1.1 Overview.................................................3 1.2 Installation................................................3 1.3 First Steps................................................ 17 1.4 Configuration............................................... 25 1.5 Components............................................... 70 1.6 Tokenview................................................ 70 1.7 Userview................................................. 75 1.8 Policies.................................................. 79 1.9 Event Handler.............................................. 106 1.10 Audit................................................... 115 1.11 Client machines............................................. 116 1.12 Workflows and Tools........................................... 118 1.13 Application Plugins........................................... 121 1.14 Code Documentation........................................... 129 1.15 Frequently Asked Questions....................................... 254 2 Indices and tables 265 HTTP Routing Table 267 Python Module Index 269 i ii privacyIDEA Authentication System, Release 2.17 privacyIDEA is a modular authentication system. Using privacyIDEA you can enhance your existing applications like local login, VPN, remote access, SSH connections, access to web sites or web portals with a second factor during authentication. Thus boosting the security of your existing applications. Originally
    [Show full text]
  • Yubikey 5 Series
    YubiKey 5Ci YubiKey 5 NFC YubiKey 5 Nano YubiKey 5 Series: The Multi-Protocol Security Key YubiKey 5C YubiKey 5C Nano Streamline authentication for existing enterprise systems and pave the way to a passwordless The YubiKey 5 Series security keys deliver future. expanded authentication options ● Strong Single Factor—Passwordless: Replaces weak Relying solely on username and password passwords with passwordless tap-n-go secure login. security puts enterprise data at risk ● Strong Two Factor—Password + Authenticator: Adds a tap- Catastrophic security breaches top world headlines n-go second factor for secure two factor authentication. every day, and for good reason. A single corporate security breach costs an average of $3.86M1, and 81% ● Strong Multi-Factor—Passwordless + PIN: Combines of breaches are caused by stolen or weak passwords.2 tap-n-go authentication with a PIN, to solve high As a result, IT organizations cannot rely exclusively on assurance requirements such as financial transactions, passwords to protect access to corporate data. Adopting or submitting a prescription. stronger employee and customer authentication is The YubiKey delivers strong authentication at scale essential to avoiding risk and becoming the next target. The YubiKey multi-protocol support streamlines authenti- From smart card to a passwordless future cation for existing systems while paving the way forward The YubiKey 5 Series is a hardware based authentication to a passwordless future. solution that provides superior defense against account ● Authentication and cryptographic protocols supported takeovers and enables compliance. The YubiKey offers include FIDO Universal 2nd Factor (U2F), WebAuthn/ strong authentication with support for multiple protocols, FIDO2, Personal Identity Verification-compatible (PIV) including existing Smart Card authentication, and WebAuthn/ Smart Card, and OpenPGP smart card.
    [Show full text]
  • Citrix Workspace, Yubico, and Microsoft
    Solution Overview Citrix Workspace, Yubico, and Microsoft Passwordless Yubikey authentication for Citrix Workspace via Microsoft Azure Active Directory Citrix.com Embrace passwordless authentication and access to Citrix Workspace using FIDO2 with Microsoft Azure Active Directory and the Yubikey. With most cyberattacks now beginning with compromised passwords, organizations need better ways to authenticate users and provide access to critical applications, services, and data.1 Multifactor authentication solutions are an improvement, but have been known to complicate and slow the user experience. In contrast, FIDO2 passwordless authentication with a Yubikey lets Citrix Workspace customers strengthen network security, reduce IT expenses, and improve their productivity. It's time to leave passwords behind Long the defacto standard for access and authentication, passwords have indeed outlived their usefulness. Though almost every digital experience still requires Citrix Workspace passwords in some form, they have become a severe liability. The average U.S. Only Citrix offers the most complete consumer tries to keep track of over 14 different passwords, which they use and integrated workspace to enable across all of their web sites and services.2 Business users are responsible for even people to securely access their apps, more, having to manage as many as 191 passwords.3 These unsustainable trends desktops, and data from anywhere. lead to inevitable compromise. Rely on Windows and Linux app and • Password fatigue leads to data breaches. Users grow tired of creating new desktop delivery from Citrix Virtual passwords for different services and resist being forced to change passwords Apps and Desktops, device security periodically, often relying on simplistic passwords that are easy to crack.
    [Show full text]
  • Yubikey Edge and Yubikey Edge-N Product Sheet
    YubiKey Edge and YubiKey Edge-n • YubiKey Edge and YubiKey Edge-n offer strong Description: authentication via Yubico one-time passwords (OTP) YubiKey Edge and YubiKey Edge-n are USB devices and FIDO Universal 2nd Factor (U2F) with a simple tap supporting multiple authentication and cryptographic or touch of a button protocols. With a simple touch, YubiKey protects access to computers, networks, and online services for everyone from • Works instantly with no need to re-type passcodes -- individual consumers to the world’s largest organizations. replacing SMS texts, authenticator apps, RSA tokens, YubiKey Edge and YubiKey Edge-n work on Microsoft and similar devices Windows, Mac OS X, and Linux operating systems, and on major browsers. • Identifies as a USB keyboard -- no client software or drivers need to be installed, no batteries, no moving parts -- and works over USB Product Identification Information • Crush- and water-resistant, YubiKey Edge and YubiKey YubiKey Edge YubiKey Edge-n Edge-n are practically indestructible during normal use Size 18mm x 45mm x 3mm 12mm x 13mm x 3mm • YubiKey Edge weighs only 3g, and attaches to your Weight 3g 1g keychain alongside your house and car keys while YubiKey Edge-n fits inside a USB port FIDO Certified™ Yes Yes ECCN 5A992.a ECCN 5A992.a BIS Classification • Manufactured in USA and Sweden with high security CCATS G153476 CCATS G153476 and quality yubico.com One key many services: YubiKey Edge and YubiKey Edge -n Where Can You Use and easily using your own tools or Gmail, GitHub, or Dropbox accounts. Your YubiKey? tools from our enterprise partners.
    [Show full text]
  • Security Analysis of U2F Remember Me Implementations in the Wild Gwendal Patat, Mohamed Sabt
    Please Remember Me: Security Analysis of U2F Remember Me Implementations in The Wild Gwendal Patat, Mohamed Sabt To cite this version: Gwendal Patat, Mohamed Sabt. Please Remember Me: Security Analysis of U2F Remember Me Implementations in The Wild. Actes SSTIC 2020, 18ème Symposium sur la sécurité des technologies de l’information et des communications (SSTIC 2020), 2020, Rennes, France. hal-02865105 HAL Id: hal-02865105 https://hal.inria.fr/hal-02865105 Submitted on 11 Jun 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Please Remember Me: Security Analysis of U2F Remember Me Implementations in The Wild Gwendal Patat and Mohamed Sabt [email protected] [email protected] Univ Rennes, CNRS, IRISA Abstract. Users and service providers are increasingly aware of the security issues that arise because of password breaches. Recent studies show that password authentication can be made more secure by relying on second-factor authentication (2FA). Supported by leading web service providers, the FIDO Alliance defines the Universal 2nd Factor (U2F) protocols, an industrial standard that proposes a challenge-response 2FA solution. The U2F protocols have been thoughtfully designed to ensure high security.
    [Show full text]
  • Authentication Module Based on the Protocol of Zero- Knowledge Proof*
    365 Authentication Module Based on the Protocol of Zero- Knowledge Proof* Alexander M. Kadan1[0000-0003-3701-8100], Egor R. Kirichonok2[0000-0002-5904-6391] 1 Yanka Kupala State University of Grodno, Grodno, Belarus, [email protected] 2 Yanka Kupala State University of Grodno, Grodno, Belarus, [email protected] Abstract. This article discusses passwordless authentication methods. These methods are now becoming commonplace and eliminate the problems associated with the difficulty of remembering secrets. Passwordless authentication has clear security and privacy advantages over traditional authentication methods. The us- ability of passwordless authentication depends on the type of authenticator used. The paper proposes an implementation of an authentication module based on the Zero Knowledge Proof (ZKP) protocol. The issues of its application for pass- wordless user authentication to web application resources are discussed within the framework of the Web Authentication (WebAuthn) passwordless web au- thentication standard developed by the FIDO Alliance. The module is based on the use of the FIDO2 authenticator. It also allows the use of various authentica- tors, including hardware keys connected to the device via USB, Bluetooth Low Energy or NFC, software keys, the implementation of which can be very differ- ent. Currently, the cost of implementing passwordless authentication can be sig- nificant. This is a major obstacle to the widespread adoption of this advanced technology. Keywords: Zero-Knowledge Proof, ZKP, Cryptographic Protocols, Authentica- tion, Web Authentication, WebAuthn, FIDO Alliance. 1 Introduction In cryptography, Zero-Knowledge Proof (ZKP) is considered as an interactive protocol that allows one of the parties (the Verifier) to verify the validity of a statement (usually mathematical) without receiving any other information from the second party (the Prover), neither the content of the statement nor the source from which the Prover learned about its truth.
    [Show full text]