A side-channel attack on a masked hardware implementation of CRYSTALS-Kyber

被引:0
|
作者
Ji, Yanning [1 ]
Dubrova, Elena [1 ]
机构
[1] KTH Royal Inst Technol, Stockholm, Sweden
关键词
Public key cryptography; Post-quantum cryptography; CRYSTALS-Kyber; LWE/LWR-based KEM; Side-channel attack; Deep learning;
D O I
10.1007/s13389-025-00375-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
NIST has recently selected CRYSTALS-Kyber as a new public key encryption and key establishment algorithm to be standardized. This makes it important to evaluate the resistance of CRYSTALS-Kyber implementations to side-channel attacks. Software implementations of CRYSTALS-Kyber have already been thoroughly analysed. The discovered vulnerabilities have helped improve subsequently released versions and promoted stronger countermeasures against side-channel attacks. In this paper, we present the first attack on a protected hardware implementation of CRYSTALS-Kyber. We demonstrate a practical message (shared key) recovery attack on the first-order masked FPGA implementation of Kyber-512 by Kamucheka et al. (2022) using power analysis based on the Hamming distance leakage model. The presented attack exploits a vulnerability located in the masked message decoding function executed during the decryption step of decapsulation. The message recovery is performed using a profiled deep learning-assisted method which extracts the message directly, without explicitly retrieving each share. By repeating the same decapsulation multiple times, it is possible to increase the success rate of full shared key recovery to 99%. We also analyse the feasibility of recovering shared keys during encapsulation and propose a countermeasure against the presented attack that is also applicable to FPGA implementations of other cryptographic algorithms.
引用
收藏
页数:23
相关论文
共 50 条
  • [1] A Side-Channel Attack on a Masked Hardware Implementation of CRYSTALS-Kyber
    Ji, Yanning
    Dubrova, Elena
    PROCEEDINGS OF THE 2023 WORKSHOP ON ATTACKS AND SOLUTIONS IN HARDWARE SECURITY, ASHES 2023, 2023, : 27 - 37
  • [2] A Side-Channel Attack on a Hardware Implementation of CRYSTALS-Kyber
    Ji, Yanning
    Wang, Ruize
    Ngo, Kalle
    Dubrova, Elena
    Backlund, Linus
    2023 IEEE EUROPEAN TEST SYMPOSIUM, ETS, 2023,
  • [3] A Side-Channel Attack on a Higher-Order Masked CRYSTALS-Kyber Implementation
    Wang, Ruize
    Brisfors, Martin
    Dubrova, Elena
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY, ACNS 2024, PT III, 2024, 14585 : 301 - 324
  • [4] A Configurable CRYSTALS-Kyber Hardware Implementation with Side-Channel Protection
    Jati, Arpan
    Gupta, Naina
    Chattopadhyay, Anupam
    Sanadhya, Somitra Kumar
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2024, 23 (02)
  • [5] A comprehensive side-channel leakage assessment of CRYSTALS-Kyber in IIoT
    Huang, Zitian
    Wang, Huanyu
    Cao, Bijia
    He, Dalin
    Wang, Junnian
    INTERNET OF THINGS, 2024, 27
  • [6] Practical Side-Channel Attack on Message Encoding in Masked Kyber
    Wang, Jian
    Cao, Weigiong
    Chen, Hua
    Li, Haoyuan
    2022 IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS, TRUSTCOM, 2022, : 882 - 889
  • [7] Chosen-Ciphertext Clustering Attack on CRYSTALS-KYBER Using the Side-Channel Leakage of Barrett Reduction
    Sim, Bo-Yeon
    Park, Aesun
    Han, Dong-Guk
    IEEE INTERNET OF THINGS JOURNAL, 2022, 9 (21) : 21382 - 21397
  • [8] Efficient Hardware Implementation of the Lightweight CRYSTALS-Kyber
    Nguyen, Trong-Hung
    Dam, Duc-Thuan
    Duong, Phuc-Phan
    Kieu-Do-Nguyen, Binh
    Pham, Cong-Kha
    Hoang, Trong-Thuc
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2025, 72 (02) : 610 - 622
  • [9] Side-Channel Analysis of CRYSTALS-Kyber and A Novel Low-Cost Countermeasure
    Hamoudi, Meziane
    Korchi, Amina Bel
    Guilley, Sylvain
    Takarabt, Sofiane
    Karray, Khaled
    Souissi, Youssef
    SECURITY AND PRIVACY, ICSP 2021, 2021, 1497 : 30 - 46
  • [10] A Shared Key Recovery Attack on a Masked Implementation of CRYSTALS-Kyber's Encapsulation Algorithm
    Wang, Ruize
    Dubrova, Elena
    FOUNDATIONS AND PRACTICE OF SECURITY, PT I, FPS 2023, 2024, 14551 : 424 - 439