A machine learning approach to predicting block cipher security

Ting Rong Lee, Je Sen Teh, Jasy Liew Suet Yan, Norziana Jamil, Wei Zhu Yeoh

Research output: Contribution to conferencePaperpeer-review

9 Citations (Scopus)

Abstract

Existing attempts in applying machine learning to cryptanalysis has seen limited success. This paper introduces an alternative approach in applying machine learning to block cipher cryptanalysis. Rather than trying to extract secret keys, machine learning classifiers are trained to predict a cipher's security margin with respect to the number of active s-boxes. Prediction is based on cipher features such as the number of rounds, permutation pattern, and truncated differences. Experiments are performed on a simplified generalised Feistel structure (GFS) block cipher. Prediction accuracy is optimised by refining how cipher features are represented as training data, and tuning hyperparameters. Results show that the machine learning classifiers are able formulate a relationship between the cipher features and security. When used to predict an unseen cipher (a cipher whose data was not used for training), an accuracy of up to 62% was obtained, depicting the feasibility of the proposed approach.

Original languageEnglish
Pages122-132
Number of pages11
Publication statusPublished - 2020
Externally publishedYes
Event7th International Cryptology and Information Security Conference 2020, CRYPTOLOGY 2020 - Virtual, Online, Malaysia
Duration: Jun 9 2020Jun 10 2020

Conference

Conference7th International Cryptology and Information Security Conference 2020, CRYPTOLOGY 2020
Country/TerritoryMalaysia
CityVirtual, Online
Period6/9/206/10/20

Keywords

  • Active s-box
  • Block cipher
  • Differential cryptanalysis
  • Linear classifier
  • Machine learning
  • Security

ASJC Scopus subject areas

  • Computer Science Applications
  • Information Systems

Fingerprint

Dive into the research topics of 'A machine learning approach to predicting block cipher security'. Together they form a unique fingerprint.

Cite this