journal article·2024-12-05Open access

FIDO2 Facing Kleptographic Threats By-Design

Mirosław Kutyłowski, Anna Lauks-Dutka, Przemysław Kubiak, Marcin Zawada

Applied Sciences· Volume 14· Issue 23

Abstract

We analyze the popular in practice FIDO2 authentication scheme from the point of view of kleptographic threats that have not been addressed so far in the literature. We show that despite its spartan design and apparent efforts to make it immune to dishonest protocol participants, the unlinkability features of FIDO2 can be effectively broken without a chance to detect it by observing protocol executions. Moreover, we show that a malicious authenticator can enable an adversary to seize the authenticator’s private keys, thereby enabling the impersonation of the authenticator’s owner. As a few components of the FIDO2 protocol are the source of the problem, we argue that either their implementation details must be scrutinized during a certification process or the standardization bodies introduce necessary updates in FIDO2 (preferably, minor ones), making it resilient to kleptographic attacks.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: User Authentication and Security Systems · Advanced Authentication Protocols Security · Internet Traffic Analysis and Secure E-voting

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

NASK National Research Institute, Kolska 12, 01-045 Warsaw, Poland

Faculty of Computer Science and Telecommunication, Wrocław University of Science and Technology, Wybrzeże Wyspiańskiego 27, 50-370 Wrocław, Poland

References (49)

Show source-provided references
1. The European Parliament and the Council of the European Union (2024, October 22). Regulation (EU) 2024/1183 of the European Parliament and of the Council of 11 April 2024 Amending Regulation (EU) No 910/2014 as Regards Establishing the European Digital Identity Framework. Available online: https://eur-lex.europa.eu/eli/reg/2024/1183/oj.
2. The European Parliament and the Council of the European Union (2014). Regulation
3. (EU) No 910/2014 of the European Parliament and of the Council of 23 July 2014 on electronic identification and trust services for electronic transactions in the internal market and repealing Directive 1999/93/EC. Off. J. Eur. Union, 257, 73-114. Available online: https://eur-lex.europa.eu/eli/reg/2014/910/oj.
4. The European Parliament and the Council of the European Union (2016). REGULATION
5. (EU) 2016/679 OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation). Off. J. Eur. Union, 119, 1-88. Available online: https://eur-lex.europa.eu/eli/reg/2016/679/oj.
6. The European Parliament and the Council of the European Union (2019). Regulation (EU) No 2019/881 of the European Parliament and of the Council of 17 April 2019 on ENISA (the European Union Agency for Cybersecurity) and on information and communications technology cybersecurity certification and repealing Regulation (EU) No 526/2013 (Cybersecurity Act). Off. J. Eur. Union, 151, 15–69. Available online: https://eur-lex.europa.eu/eli/reg/2019/881/oj.
7. National Security Archive (2024, November 25). The CIA’s ‘Minerva’ Secret. Available online: https://nsarchive.gwu.edu/briefing-book/chile-cyber-vault-intelligence-southern-cone/2020-02-11/cias-minerva-secret.
8. The Cousins of Stuxnet: Duqu, Flame, and Gauss10.3390/fi4040971 ↗
9. Reverse-Engineering of the Cryptanalytic Attack Used in the Flame Super-Malware10.1007/978-3-662-48800-3_24 ↗
10. Nemec, M., Sýs, M., Svenda, P., Klinec, D., and Matyas, V. (November, January 30). The Return of Coppersmith’s Attack: Practical Factorization of Widely Used RSA Moduli. Proceedings of the ACM SIGSAC Conference on Computer and Communications Security, CCS 2017, Dallas, TX, USA.10.1145/3133956.3133969 ↗
11. Dual EC: A Standardized Back Door10.1007/978-3-662-49301-4_17 ↗
12. Bors, D. (2024, November 24). CVE-2024-3094—The XZ Utils Backdoor, a Critical SSH Vulnerability in Linux. Available online: https://pentest-tools.com/blog/xz-utils-backdoor-cve-2024-3094.
13. Sequential Digital Signatures for Cryptographic Software-Update Authentication
14. Supervised Usage of Signature Creation Devices
15. Young, A.L., and Yung, M. (2004). Malicious Cryptography—Exposing Cryptovirology, Wiley.10.1016/S0267-3649(04)00079-2 ↗
16. Kleptography: Using Cryptography Against Cryptography10.1007/3-540-69053-0_6 ↗
17. Xia, W., Wang, G., and Gu, D. (2024, December 02). Post-Quantum Backdoor for Kyber-KEM. Selected Areas in Cryptography 2024. Available online: https://sacworkshop.org/SAC24/preproceedings/XiaWangGu.pdf.
18. Green, M. (2024, December 02). A Few Thoughts on Cryptographic Engineering: A Few More Notes on NSA Random Number Generators. Available online: https://blog.cryptographyengineering.com/2013/12/28/a-few-more-notes-on-nsa-random-number/.
19. Anamorphic Encryption: Private Communication Against a Dictator10.1007/978-3-031-07085-3_2 ↗
20. Blazy, O., and Yeun, C.Y. (2018, January 10–11). Bringing Kleptography to Real-World TLS. Proceedings of the Information Security Theory and Practice—12th IFIP WG 11.2 International Conference, WISTP 2018, Brussels, Belgium.
21. Suga, Y., Sakurai, K., Ding, X., and Sako, K. (June, January 30). ASAP: Algorithm Substitution Attacks on Cryptographic Protocols. Proceedings of the ASIA CCS ’22: ACM Asia Conference on Computer and Communications Security, Nagasaki, Japan.
22. Schmidbauer, T., Keller, J., and Wendzel, S. (2022, January 23–26). Challenging Channels: Encrypted Covert Channels within Challenge-Response Authentication. Proceedings of the 17th International Conference on Availability, Reliability and Security, ARES ’22, New York, NY, USA.10.1145/3538969.3544455 ↗
23. Provable Security Analysis of FIDO210.1007/978-3-030-84252-9_5 ↗
24. Bindel, N., Cremers, C., and Zhao, M. (2023, January 21–25). FIDO2, CTAP 2.1, and WebAuthn 2: Provable Security and Post-Quantum Instantiation. Proceedings of the 44th IEEE Symposium on Security and Privacy, SP 2023, San Francisco, CA, USA.10.1109/SP46215.2023.10179454 ↗
25. FIDO Alliance (2024, October 22). FIDO Attestation: Enhancing Trust, Privacy, and Interoperability in Passwordless Authentication. Available online: https://fidoalliance.org/wp-content/uploads/2024/06/EDWG_Attestation-White-Paper_2024-1.pdf.
26. Hanzlik, L., Loss, J., and Wagner, B. (2023, January 21–25). Token meets Wallet: Formalizing Privacy and Revocation for FIDO2. Proceedings of the 44th IEEE Symposium on Security and Privacy, SP 2023, San Francisco, CA, USA.10.1109/SP46215.2023.10179373 ↗
27. Greengard, S. (2024, November 23). Pegasus (Spyware). Available online: https://www.britannica.com/topic/Pegasus-spyware.
28. FIDO Alliance (2024, October 22). Certified Authenticator Levels. Available online: https://fidoalliance.org/certification/authenticator-certification-levels.
29. To Attest or Not to Attest, This is the Question—Provable Attestation in FIDO210.1007/978-981-99-8736-8_10 ↗
30. Bundesamt für Sicherheit in der Informationstechnik (2024, December 02). Product Certification: IT Security Certification Scheme Common Criteria (CC). Available online: https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Certification/Product_certification_IT_security_certification_scheme_Common_Criteria_CC.html.
31. Bundesamt für Sicherheit in der Informationstechnik (2024, December 02). Guidelines for Evaluating Side-Channel and Fault Attack Resistance of Elliptic Curve Implementations (Part of AIS 46). Available online: https://www.bsi.bund.de/EN/Themen/Unternehmen-und-Organisationen/Informationen-und-Empfehlungen/Kryptografie/Seitenkanalresistenz/seitenkanalresistenz.html.
32. Bojko, D., Cichoń, J., Kutyłowski, M., and Sobolewski, O. (2024). Rejection Sampling for Covert Information Channel: Symmetric Power-of-2-Choices, In preparation.
33. Kubiak, P., Kutylowski, M., and Zagórski, F. (2007, January 20–22). Kleptographic attacks on a cascade of mix servers. Proceedings of the ACM Symposium on Information, Computer and Communications Security, ASIACCS 2007, Singapore.10.1145/1229285.1229297 ↗
34. Knuth, D.E. (1997). The Art of Computer Programming, Volume 2: Seminumerical Algorithms, Addison-Wesley. [3rd ed.].
35. FIDO Alliance (2024, October 22). FIDO Authenticator Allowed Cryptography List. Available online: https://fidoalliance.org/specs/fido-security-requirements-v1.0-fd-20170524/fido-authenticator-allowed-cryptography-list_20170524.html.
36. Elligator Squared: Uniform Points on Elliptic Curves of Prime Order as Uniform Random Strings
37. W3C (2024, October 22). Web Authentication: An API for Accessing Public Key Credentials, Level 2. Available online: https://www.w3.org/TR/webauthn-2/.
38. (2012). PKCS #1 v2.2 RSA Cryptography Standard (Standard No. RFC 8017, 2012).
39. A Space Efficient Backdoor in RSA and Its Applications
40. A Timing-Resistant Elliptic Curve Backdoor in RSA
41. Cesati, M. (2023). A New Idea for RSA Backdoors. Cryptography, 7.10.3390/cryptography7030045 ↗
42. Bernstein, D.J., Hamburg, M., Krasnova, A., and Lange, T. (2013, January 4–8). Elligator: Elliptic-curve points indistinguishable from uniform random strings. Proceedings of the 2013 ACM SIGSAC conference on Computer & Communications Security, New York, NY, USA.10.1145/2508859.2516734 ↗
43. Binary Elligator Squared
44. Finding a Small Root of a Bivariate Integer Equation; Factoring with High Bits Known10.1007/3-540-68339-9_16 ↗
45. On a class of error correcting binary group codes10.1016/S0019-9958(60)90287-4 ↗
46. A Public-Key Encryption Scheme with Pseudo-random Ciphertexts
47. 2DT-GLS: Faster and Exception-Free Scalar Multiplication in the GLS254 Binary Curve
48. Pornin, T. (2023). Faster Complete Formulas for the GLS254 Binary Curve. Cryptol. ePrint Arch., 2023/1688.
49. The Common Criteria Arrangement (2024, November 22). The Common Criteria for Information Technology Security Evaluation. Available online: https://www.commoncriteriaportal.org/.