SCA-LDPC: A Code-Based Framework for Key-Recovery Side-Channel Attacks on Post-quantum Encryption Schemes

被引:1
作者
Guo, Qian [1 ]
Nabokov, Denis [1 ]
Nilsson, Alexander [1 ,2 ]
Johansson, Thomas [1 ]
机构
[1] Lund Univ, Dept Elect & Informat Technol, Lund, Sweden
[2] Advenica AB, Malmo, Sweden
来源
ADVANCES IN CRYPTOLOGY, ASIACRYPT 2023, PT IV | 2023年 / 14441卷
基金
瑞典研究理事会;
关键词
Lattice-based cryptography; code-based cryptography; side-channel attacks; NIST post-quantum cryptography standardization; low-density parity-check codes;
D O I
10.1007/978-981-99-8730-6_7
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Whereas theoretical attacks on standardized cryptographic primitives rarely lead to actual practical attacks, the situation is different for side-channel attacks. Improvements in the performance of side-channel attacks are of utmost importance. In this paper, we propose a framework to be used in key-recovery side-channel attacks on CCA-secure post-quantum encryption schemes. The basic idea is to construct chosen ciphertext queries to a plaintext checking oracle that collects information on a set of secret variables in a single query. Then a large number of such queries is considered, each related to a different set of secret variables, and they are modeled as a low-density parity-check code (LDPC code). Secret variables are finally determined through efficient iterative decoding methods, such as belief propagation, using soft information. The utilization of LDPC codes offers efficient decoding, source coding, and error correction benefits. It has been demonstrated that this approach provides significant improvements compared to previous work by reducing the required number of queries, such as the number of traces in a power attack. The framework is demonstrated and implemented in two different cases. On one hand, we attack implementations of HQC in a timing attack, lowering the number of required traces considerably compared to attacks in previous work. On the other hand, we describe and implement a full attack on a masked implementation of Kyber using power analysis. Using the ChipWhisperer evaluation platform, our real-world attacks recover the long-term secret key of a first-order masked implementation of Kyber-768 with an average of only 12 power traces.
引用
收藏
页码:203 / 236
页数:34
相关论文
共 47 条
  • [1] Aguilar Melchor C., 2020, Technical report
  • [2] Albrecht M.R., 2020, Technical report
  • [3] Aragon N., 2020, Technical report
  • [4] Backlund L., 2022, Paper 2022/1692
  • [5] Bernstein DanielJ., 2020, NTRU Prime. Technical report,
  • [6] Chen C., 2020, NTRU
  • [7] csrc.nist, NIST post-quantum cryptography project
  • [8] Timing Attacks on Error Correcting Codes in Post-Quantum Schemes
    D'Anvers, Jan-Pieter
    Tiepelt, Marcel
    Vercauteren, Frederik
    Verbauwhede, Ingrid
    [J]. TIS'19: PROCEEDINGS OF ACM WORKSHOP ON THEORY OF IMPLEMENTATION SECURITY WORKSHOP, 2019, : 2 - 9
  • [9] Dachman-Soled Dana, 2020, Advances in Cryptology - CRYPTO 2020. 40th Annual International Cryptology Conference, CRYPTO 2020. Proceedings. Lecture Notes in Computer Science (LNCS 12171), P329, DOI 10.1007/978-3-030-56880-1_12
  • [10] Breaking a Fifth-Order Masked Implementation of CRYSTALS-Kyber by Copy-Paste
    Dubrova, Elena
    Ngo, Kalle
    Gartner, Joel
    Wang, Ruize
    [J]. PROCEEDINGS OF THE 10TH ACM ASIA PUBLIC-KEY CRYPTOGRAPHY WORKSHOP, APKC 2023, 2023, : 10 - 20