Recovering S-Box Design Structures and Quantifying Distances Between S-Boxes Using Deep Learning

  • Donggeun Kwon
  • , Deukjo Hong
  • , Jaechul Sung
  • , Seokhie Hong*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

At ASIACRYPT’19, Bonnetain et al. demonstrated that an S-box can be distinguished from a permutation chosen uniformly at random by quantifying the distances between their behaviors. In this study, we extend this approach by proposing a deep learning-based method to quantify distances between two different S-boxes and evaluate similarities in their design structures. First, we introduce a deep learning-based framework that trains a neural network model to recover the design structure of a given S-box based on its cryptographic table. We then interpret the decision-making process of our trained model to analyze which coefficients in the table play significant roles in identifying S-box structures. Additionally, we investigate the inference results of our model across various scenarios to evaluate its generalization capabilities. Building upon these insights, we propose a novel approach to quantify distances between structurally different S-boxes. Our method effectively assesses structural similarities by embedding S-boxes using the deep learning model and measuring the distances between their embedding vectors. Furthermore, experimental results confirm that this approach is also applicable to structures that the model has never seen during training. Our findings demonstrate that deep learning can reveal the underlying structural similarities between S-boxes, highlighting its potential as a powerful tool for S-box reverse-engineering.

Original languageEnglish
Title of host publicationApplied Cryptography and Network Security - 23rd International Conference, ACNS 2025, Proceedings
EditorsMarc Fischlin, Veelasha Moonsamy
PublisherSpringer Science and Business Media Deutschland GmbH
Pages367-390
Number of pages24
ISBN (Print)9783031957666
DOIs
Publication statusPublished - 2025
Event23rd International Conference on Applied Cryptography and Network Security, ACNS 2025 - Munich, Germany
Duration: 2025 Jun 232025 Jun 26

Publication series

NameLecture Notes in Computer Science
Volume15827 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference23rd International Conference on Applied Cryptography and Network Security, ACNS 2025
Country/TerritoryGermany
CityMunich
Period25/6/2325/6/26

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.

Keywords

  • Cryptographic tables
  • Deep learning
  • Design structure
  • Quantifying distances
  • S-box reverse-engineering

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Recovering S-Box Design Structures and Quantifying Distances Between S-Boxes Using Deep Learning'. Together they form a unique fingerprint.

Cite this