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 条
  • [21] Robust Black-box Watermarking for Deep Neural Network using Inverse Document Frequency
    Yadollahi, Mohammad Mehdi
    Shoeleh, Farzaneh
    Dadkhah, Sajjad
    Ghorbani, Ali A.
    2021 IEEE INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, INTL CONF ON CLOUD AND BIG DATA COMPUTING, INTL CONF ON CYBER SCIENCE AND TECHNOLOGY CONGRESS DASC/PICOM/CBDCOM/CYBERSCITECH 2021, 2021, : 574 - 581
  • [22] On the Performance of Convolutional Neural Networks for Side-Channel Analysis
    Picek, Stjepan
    Samiotis, Ioannis Petros
    Kim, Jaehun
    Heuser, Annelie
    Bhasin, Shivam
    Legay, Axel
    SECURITY, PRIVACY, AND APPLIED CRYPTOGRAPHY ENGINEERING, SPACE 2018, 2018, 11348 : 157 - 176
  • [23] Convolutional Neural Networks for Profiled Side-Channel Analysis
    Hou, Shourong
    Zhou, Yujie
    Liu, Hongming
    RADIOENGINEERING, 2019, 28 (03) : 651 - 658
  • [24] Counteract Side-Channel Analysis of Neural Networks by Shuffling
    Brosch, Manuel
    Probst, Matthias
    Sigl, Georg
    PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 1305 - 1310
  • [25] Power Side-Channel Analysis and Mitigation for Neural Network Accelerators based on Memristive Crossbars
    Sapui, Brojogopal
    Tahoori, Mehdi B.
    29TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC 2024, 2024, : 612 - 617
  • [26] Extraction of Binarized Neural Network Architecture and Secret Parameters Using Side-Channel Information
    Yli-Mayry, Ville
    Ito, Akira
    Homma, Naofumi
    Bhasin, Shivam
    Jap, Dirmanto
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [27] BLACK-BOX ANALYSIS OF THE SKIN SENSES AS A MULTIPLE COMMUNICATION CHANNEL
    EIJKMAN, EGJ
    BIOLOGICAL CYBERNETICS, 1989, 61 (03) : 163 - 170
  • [28] Neural network approach to black-box expert systems with certainty factors
    Huffman, John E.
    International Journal of Industrial Engineering : Theory Applications and Practice, 1997, 4 (02): : 73 - 80
  • [29] A neural network approach to black-box expert systems with certainty factors
    Huffman, JE
    INTERNATIONAL JOURNAL OF INDUSTRIAL ENGINEERING-APPLICATIONS AND PRACTICE, 1997, 4 (02): : 73 - 80
  • [30] A side-channel analysis resistant description of the AES S-box
    Oswald, E
    Mangard, S
    Pramstaller, N
    Rijmen, V
    FAST SOFTWARE ENCRYPTION, 2005, 3557 : 413 - 423