Improving Attacks on Round-Reduced Speck32/64 Using Deep Learning

被引:111
作者
Gohr, Aron [1 ]
机构
[1] BSI, Bonn, Germany
来源
ADVANCES IN CRYPTOLOGY - CRYPTO 2019, PT II | 2019年 / 11693卷
关键词
Deep Learning; Differential cryptanalysis; Speck; CRYPTANALYSIS; GO; ALGORITHMS; GAME;
D O I
10.1007/978-3-030-26951-7_6
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper has four main contributions. First, we calculate the predicted difference distribution of Speck32/64 with one specific input difference under the Markov assumption completely for up to eight rounds and verify that this yields a globally fairly good model of the difference distribution of Speck32/64. Secondly, we show that contrary to conventional wisdom, machine learning can produce very powerful cryptographic distinguishers: for instance, in a simple low-data, chosen plain-text attack on nine rounds of Speck, we present distinguishers based on deep residual neural networks that achieve a mean key rank roughly five times lower than an analogous classical distinguisher using the full difference distribution table. Thirdly, we develop a highly selective key search policy based on a variant of Bayesian optimization which, together with our neural distinguishers, can be used to reduce the remaining security of 11-round Speck32/64 to roughly 38 bits. This is a significant improvement over previous literature. Lastly, we show that our neural distinguishers successfully use features of the ciphertext pair distribution that are invisible to all purely differential distinguishers even given unlimited data. While our attack is based on a known input difference taken from the literature, we also show that neural networks can be used to rapidly (within a matter of minutes on our machine) find good input differences without using prior human cryptanalysis. Supplementary code and data for this paper is available at https://github.com/agohr/deep speck.
引用
收藏
页码:150 / 179
页数:30
相关论文
共 41 条
[1]  
Abadi M., 2015, TENSORFLOW LARGE SCA, DOI DOI 10.48550/ARXIV.1603.04467
[2]   Differential Cryptanalysis of Round-Reduced SIMON and SPECK [J].
Abed, Farzaneh ;
List, Eik ;
Lucks, Stefan ;
Wenzel, Jakob .
FAST SOFTWARE ENCRYPTION, FSE 2014, 2015, 8540 :525-545
[3]  
Albrecht M.R., 2013, LNCS, V7707, P1, DOI [10.1007/978-3-642-35999-6_1, DOI 10.1007/978-3-642-35999-6_1]
[4]  
Ankele Ralph, 2019, Selected Areas in Cryptography - SAC 2018. 25th International Conference. Revised Selected Papers: Lecture Notes in Computer Science (LNCS 11349), P163, DOI 10.1007/978-3-030-10970-7_8
[5]  
[Anonymous], 2012, P 5 ACM WORKSHOP SEC
[6]  
[Anonymous], 2015, IACR CRYPTOLOGY EPRI
[7]  
Awad WS, 2015, IMPROVING INFORM SEC, P28
[8]  
Bahdanau D, 2016, Arxiv, DOI arXiv:1409.0473
[9]   The SIMON and SPECK lightweight block ciphers [J].
Beaulieu, Ray ;
Shors, Douglas ;
Smith, Jason ;
Treatman-Clark, Stefan ;
Weeks, Bryan ;
Wingers, Louis .
2015 52ND ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2015,
[10]  
Biham E, 2004, LECT NOTES COMPUT SC, V3152, P290