{
  "id": "2018/761",
  "url": "https://opencryptology.org/2018/761",
  "original_url": "https://eprint.iacr.org/2018/761",
  "title": "New Single-Trace Side-Channel Attacks on a Specific Class of Elgamal Cryptosystem",
  "authors": [
    "Parinaz Mahdion",
    "Hadi Soleimany",
    "Pouya Habibi",
    "Farokhlagha Moazami"
  ],
  "affiliations": null,
  "abstract": "In 2005, Yen et al. proposed the first $N-1$ attack on the modular exponentiation algorithms such as BRIP and square-and-multiply-always methods. This attack makes use of the ciphertext  $N-1$ as a distinguisher  of low order to obtain a strong relation between side-channel leakages and secret exponent. The so-called $N-1$ attack is one of the most important order-2 element attacks, as it requires a non-adaptive chosen ciphertext which is considered as a more realistic attack model compared to adaptive chosen ciphertext scenario. To protect the implementation against $N-1$ attack, several literatures propose the simplest solution, i.e. \\textquotedblleft block the special message $N-1$\". In this paper, we conduct an in-depth research on the $N-1$ attack based on the square-and-multiply-always (SMA) and Montgomery Ladder (ML) algorithms. We show that despite the unaccepted ciphertext  $N-1$ countermeasure,  other types of $N-1$ attacks is applicable to specific classes of Elgamal cryptosystems. We propose new chosen-message power-analysis attacks  with order-4 elements which utilize a chosen ciphertext $c$ such that $c^2= -1 \\bmod p$ where $p$ is the prime number used as  a modulus  in Elgamal. Such a ciphertext can be found simply when $p\\equiv 1\\mod 4$. We demonstrate that ML and SMA algorithms are subjected to our new $N-1$-type attack  by utilizing a different ciphertext.  We implement the proposed attacks on the TARGET Board of the ChipWhisperer CW1173 and our experiments validate the feasibility and effectiveness of the attacks by using only a single power trace.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“New Single-Trace Side-Channel Attacks on a Specific Class of Elgamal Cryptosystem” by Parinaz Mahdion, Hadi Soleimany, Pouya Habibi, Farokhlagha Moazami, Cryptology ePrint Archive, Paper 2018/761, https://eprint.iacr.org/2018/761. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-08-20T18:21:17Z",
    "updated": "2019-12-11T08:19:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/761.pdf",
    "sha256": "139595693b0886d462ba925e8a1edf04bd197428d2a67ed488e0001e89ab941f",
    "size": 681380,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/761/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/761.pdf",
      "size": 681380,
      "sha256": "139595693b0886d462ba925e8a1edf04bd197428d2a67ed488e0001e89ab941f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2018/761/versions/20190218T001132Z.pdf",
      "captured_at": "2019-02-18T00:11:32Z",
      "label": "copy captured 2019-02-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20190218001132id_/https://eprint.iacr.org/2018/761.pdf",
      "size": 665283,
      "sha256": "328a8e704adcf83e2308f5d7db340df241fa4a771a5337a6486a8aec4cfa6908",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260103033547id_/https://eprint.iacr.org/2018/761.pdf",
      "captured_at": "2026-01-03T03:35:47Z",
      "size": 603341
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/761.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 681380
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/761,\n      author = {Parinaz Mahdion and Hadi Soleimany and Pouya Habibi and Farokhlagha Moazami},\n      title = {New Single-Trace Side-Channel Attacks on a Specific Class of Elgamal Cryptosystem},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/761},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/761}\n}"
}
