Peek into the Black-Box: Interpretable Neural Network using SAT Equations in Side-Channel Analysis

被引:1
|
作者
Yap T. [1 ]
Benamira A. [1 ]
Bhasin S. [1 ]
Peyrin T. [1 ]
机构
[1] School of Physical and Mathematical Sciences, Nanyang Technological University
关键词
Deep Learning; Interpretability; Neural Network; Profiling attack; SAT; Side-channel;
D O I
10.46586/tches.v2023.i2.24-53
中图分类号
学科分类号
摘要
Deep neural networks (DNN) have become a significant threat to the security of cryptographic implementations with regards to side-channel analysis (SCA), as they automatically combine the leakages without any preprocessing needed, leading to a more efficient attack. However, these DNNs for SCA remain mostly black-box algorithms that are very difficult to interpret. Benamira et al. recently proposed an interpretable neural network called Truth Table Deep Convolutional Neural Network (TT-DCNN), which is both expressive and easier to interpret. In particular, a TT-DCNN has a transparent inner structure that can entirely be transformed into SAT equations after training. In this work, we analyze the SAT equations extracted from a TT-DCNN when applied in SCA context, eventually obtaining the rules and decisions that the neural networks learned when retrieving the secret key from the cryptographic primitive (i.e., exact formula). As a result, we can pinpoint the critical rules that the neural network uses to locate the exact Points of Interest (PoIs). We validate our approach first on simulated traces for higher-order masking. However, applying TT-DCNN on real traces is not straightforward. We propose a method to adapt TT-DCNN for application on real SCA traces containing thousands of sample points. Experimental validation is performed on software-based ASCADv1 and hardware-based AES_HD_ext datasets. In addition, TT-DCNN is shown to be able to learn the exact countermeasure in a best-case setting. © 2023, Ruhr-University of Bochum. All rights reserved.
引用
收藏
页码:24 / 53
页数:29
相关论文
共 50 条
  • [31] Compressing Deep Neural Network: A Black-Box System Identification Approach
    Sahu, Ishan
    Pal, Arpan
    Ukil, Arijit
    Majumdar, Angshul
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [32] Side-Channel Analysis of Chaos-Based Substitution Box Structures
    Acikkapi, Mehmet Sahin
    Ozkaynak, Fatih
    Ozer, Ahmet Bedri
    IEEE ACCESS, 2019, 7 : 79030 - 79043
  • [33] How to fool a black box machine learning based side-channel security evaluation
    Charles-Henry Bertrand Van Ouytsel
    Olivier Bronchain
    Gaëtan Cassiers
    François-Xavier Standaert
    Cryptography and Communications, 2021, 13 : 573 - 585
  • [34] How to fool a black box machine learning based side-channel security evaluation
    Bertrand Van Ouytsel, Charles-Henry
    Bronchain, Olivier
    Cassiers, Gaetan
    Standaert, Francois-Xavier
    CRYPTOGRAPHY AND COMMUNICATIONS-DISCRETE-STRUCTURES BOOLEAN FUNCTIONS AND SEQUENCES, 2021, 13 (04): : 573 - 585
  • [35] A Practical Introduction to Side-Channel Extraction of Deep Neural Network Parameters
    Joud, Raphael
    Moellic, Pierre-Alain
    Pontie, Simon
    Rigaud, Jean-Baptiste
    SMART CARD RESEARCH AND ADVANCED APPLICATIONS, CARDIS 2022, 2023, 13820 : 45 - 65
  • [36] A New Foe in GPUs: Power Side-Channel Attacks on Neural Network
    Jeon, Hyeran
    Karimian, Nima
    Lehman, Tamara
    PROCEEDINGS OF THE 2021 TWENTY SECOND INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED 2021), 2021, : 313 - 313
  • [37] Convolutional Neural Network Based Side-Channel Attacks with Customized Filters
    Wei, Man
    Shi, Danping
    Sun, Siwei
    Wang, Peng
    Hu, Lei
    INFORMATION AND COMMUNICATIONS SECURITY (ICICS 2019), 2020, 11999 : 799 - 813
  • [38] Striving for understanding: Deconstructing neural networks in side-channel analysis
    Chen, Yimeng
    Wang, Bo
    Su, Changshan
    Li, Ao
    Li, Gen
    Tang, Yuxing
    PATTERN RECOGNITION, 2025, 162
  • [39] Interpretability Analysis of Data Augmented Convolutional Neural Network in Mineral Prospectivity Mapping Using Black-Box Visualization Tools
    Liu, Yue
    Sun, Tao
    Wu, Kaixing
    Xiang, Wenyuan
    Zhang, Jingwei
    Zhang, Hongwei
    Feng, Mei
    NATURAL RESOURCES RESEARCH, 2025, 34 (02) : 759 - 783
  • [40] Efficient Nonprofiled Side-Channel Attack Using Multi-Output Classification Neural Network
    Hoang, Van-Phuc
    Do, Ngoc-Tuan
    Doan, Van Sang
    IEEE EMBEDDED SYSTEMS LETTERS, 2023, 15 (03) : 145 - 148