LPN-based Attacks in the White-box Setting

被引:0
作者
Charlès A. [1 ]
Udovenko A. [1 ]
机构
[1] University of Luxembourg, Esch-sur-Alzette
来源
IACR Transactions on Cryptographic Hardware and Embedded Systems | 2023年 / 2023卷 / 04期
关键词
Cryptanalysis; DCA; Dummy Shuffling; LDA; LPN; Masking; White-box Cryptography;
D O I
10.46586/tches.v2023.i4.318-343
中图分类号
学科分类号
摘要
In white-box cryptography, early protection techniques have fallen to the automated Differential Computation Analysis attack (DCA), leading to new countermeasures and attacks. A standard side-channel countermeasure, Ishai-SahaiWagner’s masking scheme (ISW, CRYPTO 2003) prevents Differential Computation Analysis but was shown to be vulnerable in the white-box context to the Linear Decoding Analysis attack (LDA). However, recent quadratic and cubic masking schemes by Biryukov-Udovenko (ASIACRYPT 2018) and Seker-Eisenbarth-Liskiewicz (CHES 2021) prevent LDA and force to use its higher-degree generalizations with much higher complexity. In this work, we study the relationship between the security of these and related schemes to the Learning Parity with Noise (LPN) problem and propose a new automated attack by applying an LPN-solving algorithm to white-box implementations. The attack effectively exploits strong linear approximations of the masking scheme and thus can be seen as a combination of the DCA and LDA techniques. Different from previous attacks, the complexity of this algorithm depends on the approximation error, henceforth allowing new practical attacks on masking schemes which previously resisted automated analysis. We demonstrate it theoretically and experimentally, exposing multiple cases where the LPN-based method significantly outperforms LDA and DCA methods, including their higher-order variants. This work applies the LPN problem beyond its usual post-quantum cryptography boundary, strengthening its interest for the cryptographic community, while expanding the range of automated attacks by presenting a new direction for breaking masking schemes in the white-box model. © 2023, Ruhr-University of Bochum. All rights reserved.
引用
收藏
页码:318 / 343
页数:25
相关论文
共 30 条
[11]  
Chow Stanley, Eisen Philip A., Johnson Harold, van Oorschot Paul C., A white-box DES implementation for DRM applications, Digital Rights Management Workshop, volume 2696 of Lecture Notes in Computer Science, pp. 1-15, (2002)
[12]  
De Mulder Yoni, Roelse Peter, Preneel Bart, Cryptanalysis of the Xiao-Lai white-box AES implementation, SAC 2012, volume 7707 of LNCS, pp. 34-49, (2013)
[13]  
Esser Andre, Kubler Robert, May Alexander, LPN decoded, CRYPTO 2017, Part II, volume 10402 of LNCS, pp. 486-514, (2017)
[14]  
Unified matrix treatment of the fast Walsh-Hadamard transform, IEEE Transactions on Computers, C-25, 11, pp. 1142-1146, (1976)
[15]  
Goubin Louis, Paillier Pascal, Rivain Matthieu, Wang Junwei, How to reveal the secrets of an obscure white-box implementation, Journal of Cryptographic Engineering, 10, 1, pp. 49-66, (2020)
[16]  
Goubin Louis, Rivain Matthieu, Wang Junwei, Defeating state-of-the-art white-box countermeasures, IACR TCHES, 2020, 3, pp. 454-482, (2020)
[17]  
Herbst Christoph, Oswald Elisabeth, Mangard Stefan, An AES smart card implementation resistant to power analysis attacks, ACNS 06, volume 3989 of LNCS, pp. 239-252, (2006)
[18]  
Ishai Yuval, Sahai Amit, Wagner David, Private circuits: Securing hardware against probing attacks, CRYPTO 2003, volume 2729 of LNCS, pp. 463-481, (2003)
[19]  
Karroumi Mohamed, Protecting white-box AES with dual ciphers, Information Security and Cryptology-ICISC 2010, pp. 278-291, (2011)
[20]  
Kocher Paul C., Jaffe Joshua, Jun Benjamin, Differential power analysis, CRYPTO’99, volume 1666 of LNCS, pp. 388-397, (1999)