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 条
  • [41] Malware Detection in Embedded Systems Using Neural Network Model for Electromagnetic Side-Channel Signals
    Haider Adnan Khan
    Nader Sehatbakhsh
    Luong N. Nguyen
    Milos Prvulovic
    Alenka Zajić
    Journal of Hardware and Systems Security, 2019, 3 (4) : 305 - 318
  • [42] On the Black-Box Challenge for Fraud Detection Using Machine Learning (II): Nonlinear Analysis through Interpretable Autoencoders
    Chaquet-Ulldemolins, Jacobo
    Gimeno-Blanes, Francisco-Javier
    Moral-Rubio, Santiago
    Munoz-Romero, Sergio
    Rojo-Alvarez, Jose-Luis
    APPLIED SCIENCES-BASEL, 2022, 12 (08):
  • [43] Semi-automated and Easily Interpretable Side-Channel Analysis for Modern Java']JavaScript
    Fayolle, Iliana
    Wichelmann, Jan
    Koehl, Anja
    Rudametkin, Walter
    Eisenbarth, Thomas
    Maurice, Clementine
    CRYPTOLOGY AND NETWORK SECURITY, PT II, CANS 2024, 2025, 14906 : 25 - 46
  • [44] Side-channel analysis attacks based on deep learning network
    Yu Ou
    Lang Li
    Frontiers of Computer Science, 2022, 16
  • [45] Side-channel analysis attacks based on deep learning network
    Yu OU
    Lang LI
    Frontiers of Computer Science, 2022, 16 (02) : 37 - 47
  • [46] Side-channel analysis attacks based on deep learning network
    Ou, Yu
    Li, Lang
    FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (02)
  • [47] Network Encrypted Traffic Side-channel Analysis on Chinese Search
    Li Ding
    Lin Wei
    Lu Bin
    Zhu Yuefei
    JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2022, 44 (05) : 1763 - 1772
  • [48] An Evolutionary-Based Black-Box Attack to Deep Neural Network Classifiers
    Zhou, Yutian
    Tan, Yu-an
    Zhang, Quanxin
    Kuang, Xiaohui
    Han, Yahong
    Hu, Jingjing
    MOBILE NETWORKS & APPLICATIONS, 2021, 26 (04): : 1616 - 1629
  • [49] An Evolutionary-Based Black-Box Attack to Deep Neural Network Classifiers
    Yutian Zhou
    Yu-an Tan
    Quanxin Zhang
    Xiaohui Kuang
    Yahong Han
    Jingjing Hu
    Mobile Networks and Applications, 2021, 26 : 1616 - 1629
  • [50] NeuralBO: A black-box optimization algorithm using deep neural networks
    Dat, Phan-Trong
    Hung, Tran-The
    Gupta, Sunil
    NEUROCOMPUTING, 2023, 559