{
  "id": "2022/1247",
  "url": "https://opencryptology.org/2022/1247",
  "original_url": "https://eprint.iacr.org/2022/1247",
  "title": "Peek into the Black-Box: Interpretable Neural Network using SAT Equations in Side-Channel Analysis",
  "authors": [
    "Trevor Yap",
    "Adrien Benamira",
    "Shivam Bhasin",
    "Thomas Peyrin"
  ],
  "affiliations": null,
  "abstract": "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 \\textit{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. \nIn 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.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Peek into the Black-Box: Interpretable Neural Network using SAT Equations in Side-Channel Analysis” by Trevor Yap, Adrien Benamira, Shivam Bhasin, Thomas Peyrin, Cryptology ePrint Archive, Paper 2022/1247, https://eprint.iacr.org/2022/1247. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-09-20T05:59:58Z",
    "updated": "2023-01-16T09:37:06Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1247.pdf",
    "sha256": "34cb6bd411056295dd4849ae7886e72a5431251cec46ba51f1637dbf750f2174",
    "size": 3591348,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1247/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1247.pdf",
      "size": 3591348,
      "sha256": "34cb6bd411056295dd4849ae7886e72a5431251cec46ba51f1637dbf750f2174",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1247/versions/20221019T174246Z.pdf",
      "captured_at": "2022-10-19T17:42:46Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019174246id_/https://eprint.iacr.org/2022/1247.pdf",
      "size": 2579492,
      "sha256": "325b31b5eb9688c25d5a3046a3382a2f364053a7aedcecae1b92ed76dc5a8074",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260225102818id_/https://eprint.iacr.org/2022/1247.pdf",
      "captured_at": "2026-02-25T10:28:18Z",
      "size": 3517487
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1247.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 3591348
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1247,\n      author = {Trevor Yap and Adrien Benamira and Shivam Bhasin and Thomas Peyrin},\n      title = {Peek into the Black-Box: Interpretable Neural Network using SAT Equations in Side-Channel Analysis},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1247},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1247}\n}"
}
