Construction of distinguishers for iterative block ciphers on the base of neural networks | Applied Discrete Mathematics. Supplement. 2020. № 13. DOI: 10.17223/2226308X/13/16

Construction of distinguishers for iterative block ciphers on the base of neural networks

We present a new machine learning approach for creating distinguishers (or distinguishing attacks) for iterative block ciphers with a variable number of rounds. A main idea of the approach is based, firstly, on the observation that block cipher ciphertexts (if represented as images) have different textures (patterns) depending on the number of rounds and, secondly, on the fact that modern neural networks can classify images with high accuracy. So, we suggest to represent ciphertexts as images and train neural network to recognize them. In such a case, a level of the ciphertexts randomness can be determined by a classification error value. We introduce two methods that can be used for practice: the "etalon-ciphertext" method and the "neighbor-rounds" method. It has been experimentally demonstrated that the "etalon" method is slightly more accurate than the "neighbor-rounds" method, however, it requires an etalon sequence of true-random numbers or, at least, numbers with good statistical properties. At the same time, the second method requires only one cipher. In our experiments, we used the AES256 cipertext as the etalon, however, any other proper random number generator can be used. In both cases, the classification error converges to 50 % when the number of rounds increases. Both methods can also be employed in order to estimate the minimal number of rounds which provides acceptable statistical properties of the ciphertext.

Download file
Counter downloads: 99

Keywords

блочный шифр, машинное обучение, нейронная сеть, статистический анализ, атака-различитель, block cipher, machine learning, neural network, statistical analysis, distinguishing attack

Authors

NameOrganizationE-mail
Perov A. A.Novosibirsk State University of Economics and Managementperov_artem@inbox.ru
Pestunov A. I.Novosibirsk State University of Economics and Managementpestunov@gmail.com
Всего: 2

References

 Construction of distinguishers for iterative block ciphers on the base of neural networks | Applied Discrete Mathematics. Supplement. 2020. № 13. DOI: 10.17223/2226308X/13/16

Construction of distinguishers for iterative block ciphers on the base of neural networks | Applied Discrete Mathematics. Supplement. 2020. № 13. DOI: 10.17223/2226308X/13/16

Download full-text version
Counter downloads: 461