Cryptanalysis of Hagelin M-209 Cipher Machine with Artificial Neural Networks: A Known-Plaintext Attack

dc.contributor.authorMikhalev, Vasily
dc.contributor.authorKopal, Nils
dc.contributor.authorEsslinger, Bernhard
dc.contributor.authorLampesberger, Harald
dc.contributor.authorHermann, Eckehard
dc.contributor.editorWaldispühl, Michelle
dc.contributor.editorMegyesi, Beáta
dc.date.accessioned2024-05-08T13:16:13Z
dc.date.available2024-05-08T13:16:13Z
dc.date.issued2024
dc.description.abstractThis paper introduces a machine learning (ML) approach for cryptanalysis of the ciphermachine Hagelin M-2091. For recovering the part of the secret key, represented by the wheel pins, we use Artificial Neural Networks (ANN) which take as input the pseudo-random displacement values generated by the internal mechanism of the machine. The displacement values can be easily obtained when ciphertext and plaintext are known. In particular, we are using several distinct ANNs, each recovering exactly one pin. Thus, to recover all the 131 pins, we utilize 131 model seach solving a binary classification problem. By experimenting with various ANN architectures and ciphertext lengths, ranging from 52 to 200 characters, we identified an ANN architecture that outperforms others in accuracy. This model, inspired by the architecture by Gohr used for attacking modern ciphers, achieved the following accuracies in recovering the pins of the first wheel of the machine: approximately 71% for 52-characters sequences, 88% for 104-characters, 96% for 200-characters. The first wheel has the largest size and hence represents the most complicated case. For the other wheels, these accuracies are slightly higher. To the best of our knowledge, this is the first time when ANNs are used in a key-recovery attack against such machines.
dc.identifier.issn1736-6305
dc.identifier.urihttps://hdl.handle.net/10062/98483
dc.identifier.urihttps://doi.org/10.58009/aere-perennius0108
dc.language.isoen
dc.publisherTartu University Library
dc.relation.ispartofseriesNEALT Proceedings Series 53
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 International
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subjectCryptanalysis
dc.subjectMachine Learning
dc.subjectArtificial Neural Networks
dc.subjectCipher Machine
dc.subjectHagelin M-209
dc.titleCryptanalysis of Hagelin M-209 Cipher Machine with Artificial Neural Networks: A Known-Plaintext Attack
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Article_24.pdf
Size:
285.18 KB
Format:
Adobe Portable Document Format