{
  "id": "2024/1389",
  "url": "https://opencryptology.org/2024/1389",
  "original_url": "https://eprint.iacr.org/2024/1389",
  "title": "DL-SITM: Deep Learning-Based See-in-the-Middle Attack on AES",
  "authors": [
    "Tomáš Gerlich",
    "Jakub Breier",
    "Pavel Sikora",
    "Zdeněk Martinásek",
    "Aron Gohr",
    "Anubhab Baksi",
    "Xiaolu Hou"
  ],
  "affiliations": null,
  "abstract": "The see-in-the-middle (SITM) attack combines differential cryptanalysis and the ability to observe differential patterns in the side-channel leakage traces to reveal the secret key of SPN-based ciphers. While SITM presents a fresh perspective to side-channel analysis and allows attacks on deeper cipher rounds, there are practical difficulties that come with this method. First, one must realize a visual inspection of millions of power traces. Second, there is a strong requirement to reduce noise to a minimum, achieved by averaging over 1000 traces in the original work, to see the patterns. Third, the presence of a jitter-based countermeasure greatly affects pattern identification, making the visual inspection infeasible. In this paper we aim to tackle these difficulties by using a machine learning approach denoted as DL-SITM (deep learning SITM). The fundamental idea of our approach is that, while a collision obscured by noise is imperceptible in a manual inspection, a powerful deep learning model can identify it, even when a jitter-based countermeasure is in place. As we show with a practical experiment, the proposed DL-SITM approach can distinguish the two valid differentials from over 4M differential traces with only six false positives. Extrapolating from the parameters of this experiment, we get a rough estimate of $2^{43}$ key candidates for the post-processing step of our attack, which places it easily in the practical range. At the same time, we show that even with a jitter countermeasure shifting the execution by $\\pm15$ samples, the testing f1-score stays at a relatively high (0.974).",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“DL-SITM: Deep Learning-Based See-in-the-Middle Attack on AES” by Tomáš Gerlich, Jakub Breier, Pavel Sikora, Zdeněk Martinásek, Aron Gohr, Anubhab Baksi, Xiaolu Hou, Cryptology ePrint Archive, Paper 2024/1389, https://eprint.iacr.org/2024/1389. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-09-04T15:17:23Z",
    "updated": "2024-09-07T09:23:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1389.pdf",
    "sha256": "ca1f4ffbb007a0228e8950b2685bbfd2ca9a9497c88aa53cfe11625253ca59c6",
    "size": 4267230,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1389/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1389.pdf",
      "size": 4267230,
      "sha256": "ca1f4ffbb007a0228e8950b2685bbfd2ca9a9497c88aa53cfe11625253ca59c6",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1389/versions/20240904T184132Z.pdf",
      "captured_at": "2024-09-04T18:41:32Z",
      "label": "copy captured 2024-09-04",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240904184132id_/https://eprint.iacr.org/2024/1389.pdf",
      "size": 4215041,
      "sha256": "f9fc97dc3eb7ccb5c6c9c70c9666d7a50bb8d338a78e70f25d40f4628357b9cf",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082553id_/https://eprint.iacr.org/2024/1389.pdf",
      "captured_at": "2026-10-02T08:25:53Z",
      "size": 4255607
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1389.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 4267230
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1389,\n      author = {Tomáš Gerlich and Jakub Breier and Pavel Sikora and Zdeněk Martinásek and Aron Gohr and Anubhab Baksi and Xiaolu Hou},\n      title = {DL-SITM: Deep Learning-Based See-in-the-Middle Attack on AES},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1389},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1389}\n}"
}
