{
  "id": "2020/891",
  "url": "https://opencryptology.org/2020/891",
  "original_url": "https://eprint.iacr.org/2020/891",
  "title": "Keep it Unsupervised: Horizontal Attacks Meet Deep Learning",
  "authors": [
    "Guilherme Perin",
    "Lukasz Chmielewski",
    "Lejla Batina",
    "Stjepan Picek"
  ],
  "affiliations": null,
  "abstract": "To mitigate side-channel attacks, real-world implementations of public-key cryptosystems adopt state-of-the-art countermeasures based on randomization of the private or ephemeral keys. Usually, for each private key operation, a \"scalar blinding\" is performed using 32 or 64 randomly generated bits. Nevertheless, horizontal attacks based on a single trace still pose serious threats to protected ECC or RSA implementations. If the secrets learned through a single-trace attack contain too many wrong (or noisy) bits, the cryptanalysis methods for recovering remaining bits become impractical due to time and computational constraints. This paper proposes a deep learning-based framework to iteratively correct partially correct secret keys resulting from a clustering-based horizontal attack. By testing the trained network on scalar multiplication (or exponentiation) traces, we demonstrate that a deep neural network can significantly reduce the number of error bits from randomized scalars (or exponents). When a simple horizontal attack can recover around 52% of private key bits, the proposed iterative framework improves the private key correctness to 100%. Our attack model remains fully unsupervised and excludes the need to know where the error or noisy bits are located in each separate randomized private key.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Keep it Unsupervised: Horizontal Attacks Meet Deep Learning” by Guilherme Perin, Lukasz Chmielewski, Lejla Batina, Stjepan Picek, Cryptology ePrint Archive, Paper 2020/891, https://eprint.iacr.org/2020/891. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-07-16T13:38:57Z",
    "updated": "2020-10-16T14:51:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/891.pdf",
    "sha256": "cb3edb274b88f85364dbcddcd55c947a6601c796f3ad2500c5a7af40f2cb9cb9",
    "size": 2081955,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/891/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/891.pdf",
      "size": 2081955,
      "sha256": "cb3edb274b88f85364dbcddcd55c947a6601c796f3ad2500c5a7af40f2cb9cb9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260924174659id_/https://eprint.iacr.org/2020/891.pdf",
      "captured_at": "2026-09-24T17:46:59Z",
      "size": 2044491
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/891.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 2081955
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/891,\n      author = {Guilherme Perin and Lukasz Chmielewski and Lejla Batina and Stjepan Picek},\n      title = {Keep it Unsupervised: Horizontal Attacks Meet Deep Learning},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/891},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/891}\n}"
}
