Side-channel cryptographic attacks using pseudo-boolean optimization

被引:8
作者
Oren, Yossef [1 ]
Wool, Avishai [2 ]
机构
[1] Ben Gurion Univ Negev, Dept Informat Syst Engn, POB 653, IL-8410501 Beer Sheva, Israel
[2] Tel Aviv Univ, Sch Elect Engn, Cryptog & Network Secur Lab, IL-69978 Ramat Aviv, Israel
关键词
Cryptanalysis; Pseudo-boolean optimizers; Side-channel attacks; SAT SOLVERS; CRYPTANALYSIS; AES;
D O I
10.1007/s10601-015-9237-3
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Symmetric block ciphers, such as the Advanced Encryption Standard (AES), are deterministic algorithms which transform plaintexts to ciphertexts using a secret key. These ciphers are designed such that it is computationally very difficult to recover the secret key if only pairs of plaintexts and ciphertexts are provided to the attacker. Constraint solvers have recently been suggested as a way of recovering the secret keys of symmetric block ciphers. To carry out such an attack, the attacker provides the solver with a set of equations describing the mathematical relationship between a known plaintext and a known ciphertext, and then attempts to solve for the unknown secret key. This approach is known to be intractable against AES unless side-channel data - information leaked from the cryptographic device due to its internal physical structure - is introduced into the equation set. A significant challenge in writing equations representing side-channel data is measurement noise. In this work we show how casting the problem as a pseudo-Boolean optimization instance provides an efficient and effective way of tolerating this noise. We describe a theoretical analysis, connecting the measurement signal-to-noise ratio and the tolerable set size of a non-optimizing solver with the success probability. We then conduct an extensive performance evaluation, comparing two optimizing variants for dealing with measurement noise to a non-optimizing method. Our best optimizing method provides a successful attack on the AES cipher which requires surprisingly little side-channel data and works in reasonable computation time. We also make available a set of AES cryptanalysis instances and provide some practical feedback on our experience of using open-source constraint solvers.
引用
收藏
页码:616 / 645
页数:30
相关论文
共 50 条
[11]   How to Compare Profiled Side-Channel Attacks? [J].
Standaert, Francois-Xavier ;
Koeune, Francois ;
Schindler, Werner .
APPLIED CRYPTOGRAPHY AND NETWORK SECURITY, 2009, 5536 :485-+
[12]   Improved side-channel collision attacks on AES [J].
Bogdanov, Andrey .
SELECTED AREAS IN CRYPTOGRAPHY, 2007, 4876 :84-95
[13]   Towards Secure Cryptographic Software Implementation Against Side-Channel Power Analysis Attacks [J].
Luo, Pei ;
Zhang, Liwei ;
Fei, Yunsi ;
Ding, A. Adam .
PROCEEDINGS OF THE ASAP2015 2015 IEEE 26TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2015, :144-148
[14]   Hardware Architecture Implemented on FPGA for Protecting Cryptographic Keys against Side-Channel Attacks [J].
Lumbiarres-Lopez, Ruben ;
Lopez-Garcia, Mariano ;
Canto-Navarro, Enrique .
IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2018, 15 (05) :898-905
[15]   Side-Channel Attacks Based on Collaborative Learning [J].
Liu, Biao ;
Ding, Zhao ;
Pan, Yang ;
Li, Jiali ;
Feng, Huamin .
DATA SCIENCE, PT 1, 2017, 727 :549-557
[16]   Energy Efficient Obfuscation of Side-Channel Leakage for Preventing Side-Channel Attacks [J].
Jin, Shan ;
Xu, Minghua ;
Cai, Yiwei .
39TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2024, 2024, :1405-1414
[17]   DRM to Counter Side-Channel Attacks? [J].
Benadjila, Ryad ;
Billet, Olivier ;
Francfort, Stanislas .
DRM'07: PROCEEDINGS OF THE 2007 ACM WORKSHOP ON DIGITAL RIGHTS MANAGEMENT, 2007, :23-32
[18]   Codes for Side-Channel Attacks and Protections [J].
Guilley, Sylvain ;
Heuser, Annelie ;
Rioul, Olivier .
CODES, CRYPTOLOGY AND INFORMATION SECURITY, C2SI 2017, 2017, 10194 :35-55
[19]   Synthesis of Adaptive Side-Channel Attacks [J].
Quoc-Sang Phan ;
Bang, Lucas ;
Pasareanu, Corina S. ;
Malacaria, Pasquale ;
Bultan, Tevfik .
2017 IEEE 30TH COMPUTER SECURITY FOUNDATIONS SYMPOSIUM (CSF), 2017, :328-342
[20]   Soft Analytical Side-Channel Attacks [J].
Veyrat-Charvillon, Nicolas ;
Gerard, Benoit ;
Standaert, Francois-Xavier .
ADVANCES IN CRYPTOLOGY - ASIACRYPT 2014, PT I, 2014, 8873 :282-296