{
  "id": "2022/204",
  "url": "https://opencryptology.org/2022/204",
  "original_url": "https://eprint.iacr.org/2022/204",
  "title": "RevEAL: Single-Trace Side-Channel Leakage of the SEAL Homomorphic Encryption Library",
  "authors": [
    "Furkan Aydin",
    "Emre Karabulut",
    "Seetal Potluri",
    "Erdem Alkim",
    "Aydin Aysu"
  ],
  "affiliations": null,
  "abstract": "This paper demonstrates the first side-channel attack on homomorphic encryption (HE), which allows computing on encrypted data. We reveal a power-based side-channel leakage of Microsoft SEAL prior to v3.6 that implements the Brakerski/Fan-Vercauteren (BFV) protocol. Our proposed attack targets the Gaussian sampling in the SEAL’s encryption phase and can extract the entire message with a single power measurement.\nOur attack works by (1) identifying each coefficient index being sampled, (2) extracting the sign value of the coefficients from control-flow variations, (3) recovering the coefficients with a high probability from data-flow variations, and (4) using a Blockwise Korkine-Zolotarev (BKZ) algorithm to efficiently explore and estimate the remaining search space. Using real power measurements, the results on a RISC-V FPGA implementation of the SEAL (v3.2) show that the proposed attack can reduce the plaintext encryption security level from 2ˆ128 to 2ˆ4.4. Therefore, as HE gears toward real-world applications, such attacks and related defenses should be considered.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“RevEAL: Single-Trace Side-Channel Leakage of the SEAL Homomorphic Encryption Library” by Furkan Aydin, Emre Karabulut, Seetal Potluri, Erdem Alkim, Aydin Aysu, Cryptology ePrint Archive, Paper 2022/204, https://eprint.iacr.org/2022/204. 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-02-20T20:44:40Z",
    "updated": "2022-02-20T20:44:40Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/204.pdf",
    "sha256": "0338759e56de3bd0e87031c0f0e61ab3aff8ec1961de98b95525d051d23bf6f7",
    "size": 562531,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/204/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/204.pdf",
      "size": 562531,
      "sha256": "0338759e56de3bd0e87031c0f0e61ab3aff8ec1961de98b95525d051d23bf6f7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/204.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 562531
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20221019055611id_/https://eprint.iacr.org/2022/204.pdf",
      "captured_at": "2022-10-19T05:56:11Z",
      "size": 511402
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/204,\n      author = {Furkan Aydin and Emre Karabulut and Seetal Potluri and Erdem Alkim and Aydin Aysu},\n      title = {RevEAL: Single-Trace Side-Channel Leakage of the SEAL Homomorphic Encryption Library},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/204},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/204}\n}"
}
