TY - GEN
T1 - Recovering S-Box Design Structures and Quantifying Distances Between S-Boxes Using Deep Learning
AU - Kwon, Donggeun
AU - Hong, Deukjo
AU - Sung, Jaechul
AU - Hong, Seokhie
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.
PY - 2025
Y1 - 2025
N2 - 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.
AB - 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.
KW - Cryptographic tables
KW - Deep learning
KW - Design structure
KW - Quantifying distances
KW - S-box reverse-engineering
UR - https://www.scopus.com/pages/publications/105009896177
U2 - 10.1007/978-3-031-95767-3_14
DO - 10.1007/978-3-031-95767-3_14
M3 - Conference contribution
AN - SCOPUS:105009896177
SN - 9783031957666
T3 - Lecture Notes in Computer Science
SP - 367
EP - 390
BT - Applied Cryptography and Network Security - 23rd International Conference, ACNS 2025, Proceedings
A2 - Fischlin, Marc
A2 - Moonsamy, Veelasha
PB - Springer Science and Business Media Deutschland GmbH
T2 - 23rd International Conference on Applied Cryptography and Network Security, ACNS 2025
Y2 - 23 June 2025 through 26 June 2025
ER -