{
  "id": "2024/1005",
  "url": "https://opencryptology.org/2024/1005",
  "original_url": "https://eprint.iacr.org/2024/1005",
  "title": "Differential Fault Attack on HE-Friendly Stream Ciphers: Masta, Pasta and Elisabeth",
  "authors": [
    "Weizhe Wang",
    "Deng Tang"
  ],
  "affiliations": null,
  "abstract": "In this paper, we propose the Differential Fault Attack (DFA) on three Homomorphic Encryption (HE) friendly stream ciphers \\textsf{Masta}, \\textsf{Pasta}, and \\textsf{Elisabeth}. Both \\textsf{Masta} and \\textsf{Pasta} are \\textsf{Rasta}-like ciphers with publicly derived and pseudorandom affine layers. The design of \\textsf{Elisabeth} is an extension of \\textsf{FLIP} and \\textsf{FiLIP}, following the group filter permutator paradigm. All these three ciphers operate on elements over $\\mathbb{Z}_p$ or $\\mathbb{Z}_{2^n}$, rather than $\\mathbb{Z}_2$. We can recover the secret keys of all the targeted ciphers through DFA. In particular, for \\textsf{Elisabeth}, we present a new method to determine the filtering path, which is vital to make the attack practical. Our attacks on various instances of \\textsf{Masta} are practical and require only one block of keystream and a single word-based fault. By injecting three word-based faults, we can theoretically mount DFA on two instances of \\textsf{Pasta}, \\textsf{Pasta}-3 and \\textsf{Pasta}-4. For \\textsf{Elisabeth}-4, the only instance of the \\textsf{Elisabeth} family, we present two DFAs in which we inject four bit-based faults or a single word-based fault. With 15000 normal and faulty keystream words, the DFA on \\textsf{Elisabeth}-4 can be completed in just a few minutes.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Differential Fault Attack on HE-Friendly Stream Ciphers: Masta, Pasta and Elisabeth” by Weizhe Wang, Deng Tang, Cryptology ePrint Archive, Paper 2024/1005, https://eprint.iacr.org/2024/1005. 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-06-21T06:40:58Z",
    "updated": "2025-03-27T07:54:13Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1005.pdf",
    "sha256": "9cffb50d461c4c0b551c6251d466b05599b60a001b1095a82d860c24aba8237c",
    "size": 876441,
    "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/1005/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/1005.pdf",
      "size": 876441,
      "sha256": "9cffb50d461c4c0b551c6251d466b05599b60a001b1095a82d860c24aba8237c",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1005/versions/20240624T163904Z.pdf",
      "captured_at": "2024-06-24T16:39:04Z",
      "label": "copy captured 2024-06-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240624163904id_/https://eprint.iacr.org/2024/1005.pdf",
      "size": 861287,
      "sha256": "dc2500a314954c0bc55be2c61ab875ff6815fcf00464faf397264056a82fba5b",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082537id_/https://eprint.iacr.org/2024/1005.pdf",
      "captured_at": "2026-10-02T08:25:37Z",
      "size": 876941
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1005.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 876441
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1005,\n      author = {Weizhe Wang and Deng Tang},\n      title = {Differential Fault Attack on HE-Friendly Stream Ciphers: Masta, Pasta and Elisabeth},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1005},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1005}\n}"
}
