{
  "id": "2023/1323",
  "url": "https://opencryptology.org/2023/1323",
  "original_url": "https://eprint.iacr.org/2023/1323",
  "title": "MAFIA: Protecting the Microarchitecture of Embedded Systems Against Fault Injection Attacks",
  "authors": [
    "Thomas Chamelot",
    "Damien Couroussé",
    "Karine Heydemann"
  ],
  "affiliations": null,
  "abstract": "Fault injection attacks represent an effective threat to embedded systems. Recently, Laurent et al. have reported that fault injection attacks can leverage faults inside the microarchitecture. However, state-of-the-art counter-measures, hardware-only or with hardware support, do not consider the integrity of microarchitecture control signals that are the target of these faults.\nWe present MAFIA, a microarchitecture protection against fault injection attacks. MAFIA ensures integrity of pipeline control signals through a signature-based mechanism, and ensures fine-grained control-flow integrity with a complete indirect branch support and code authenticity. We analyse the security properties of two different implementations with different security/overhead trade-offs: one with a CBC-MAC/Prince signature function, and another one with a CRC32. We present our implementation of MAFIA in a RISC-V processor, supported by a dedicated compiler toolchain based on LLVM/Clang. We report a hardware area overhead of 23.8 % and 6.5 % for the CBC-MAC/Prince and CRC32 respectively. The average code size and execution time overheads are 29.4% and 18.4% respectively for the CRC32 implementation and are 50 % and 39 % for the CBC-MAC/Prince.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-NC-SA",
    "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
    "label": "CC BY-NC-SA 4.0",
    "attribution": "“MAFIA: Protecting the Microarchitecture of Embedded Systems Against Fault Injection Attacks” by Thomas Chamelot, Damien Couroussé, Karine Heydemann, Cryptology ePrint Archive, Paper 2023/1323, https://eprint.iacr.org/2023/1323. Licensed under CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2023-09-05T12:23:32Z",
    "updated": "2023-09-10T07:20:41Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1323.pdf",
    "sha256": "0df3d0f4f06d4b191ebc2efb63d7ce936290219b5c30b06fc893119ad9667a58",
    "size": 6397577,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1323/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1323.pdf",
      "size": 6397577,
      "sha256": "0df3d0f4f06d4b191ebc2efb63d7ce936290219b5c30b06fc893119ad9667a58",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251229230804id_/https://eprint.iacr.org/2023/1323.pdf",
      "captured_at": "2025-12-29T23:08:04Z",
      "size": 6386193
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1323.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 6397577
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1323,\n      author = {Thomas Chamelot and Damien Couroussé and Karine Heydemann},\n      title = {MAFIA: Protecting the Microarchitecture of Embedded Systems Against Fault Injection Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1323},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1323}\n}"
}
