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 条
[21]   Side-Channel Attacks: A Short Tour [J].
Piessens, Frank ;
van Oorschot, Paul C. ;
Piessens, Frank ;
van Oorshot, Paul C. .
IEEE SECURITY & PRIVACY, 2024, 22 (02) :75-80
[22]   Secure Scan Architecture for Enhanced Testability and Resistance Against Side-Channel Attacks in Cryptographic ICs [J].
Priya, A. Swetha ;
Kamatchi, S. ;
Prasad, E. Lakshmi .
IEEE ACCESS, 2025, 13 :98837-98846
[23]   Circuit Deobfuscation from Power Side-Channels using Pseudo-Boolean SAT [J].
Shamsi, Kaveh ;
Jin, Yier .
2021 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN (ICCAD), 2021,
[24]   Amplifying side-channel attacks with techniques from block cipher cryptanalysis [J].
Phan, Raphael C. -W. ;
Yen, Sung-Ming .
SMART CARD RESEARCH AND ADVANCED APPLICATIONS, PROCEEDINGS, 2006, 3928 :135-150
[25]   SpyDetector: An approach for detecting side-channel attacks at runtime [J].
Kulah, Yusuf ;
Dincer, Berkay ;
Yilmaz, Cemal ;
Savas, Erkay .
INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2019, 18 (04) :393-422
[26]   Algebraic side-channel attacks on Trivium stream cipher [J].
Sun, Wenlong ;
Guan, Jie .
IET COMMUNICATIONS, 2024, 18 (19) :1335-1347
[27]   Timing Side-channel Attacks and Countermeasures in CPU Microarchitectures [J].
Zhang, Jiliang ;
Chen, Congcong ;
Cui, Jinhua ;
Li, Keqin .
ACM COMPUTING SURVEYS, 2024, 56 (07)
[28]   Moving Target Defense Mechanism for Side-Channel Attacks [J].
Vuppala, Satyanarayana ;
Mady, Alie El-Din ;
Kuenzi, Adam .
IEEE SYSTEMS JOURNAL, 2020, 14 (02) :1810-1819
[29]   Side-Channel Inference Attacks on Mobile Keypads Using Smartwatches [J].
Maiti, Anindya ;
Jadliwala, Murtuza ;
He, Jibo ;
Bilogrevic, Igor .
IEEE TRANSACTIONS ON MOBILE COMPUTING, 2018, 17 (09) :2180-2194
[30]   Leakage Mapping: A Systematic Methodology for Assessing the Side-Channel Information Leakage of Cryptographic Implementations [J].
Cobb, William E. ;
Baldwin, Rusty O. ;
Laspe, Eric D. .
ACM TRANSACTIONS ON INFORMATION AND SYSTEM SECURITY, 2013, 16 (01)