{
  "id": "2020/960",
  "url": "https://opencryptology.org/2020/960",
  "original_url": "https://eprint.iacr.org/2020/960",
  "title": "Retrofitting Leakage Resilient Authenticated Encryption to Microcontrollers",
  "authors": [
    "Florian Unterstein",
    "Marc Schink",
    "Thomas Schamberger",
    "Lars Tebelmann",
    "Manuel Ilg",
    "Johann Heyszl"
  ],
  "affiliations": null,
  "abstract": "The security of Internet of Things (IoT) devices relies on fundamental concepts such as cryptographically protected firmware updates. In this context attackers usually have physical access to a device and therefore side-channel attacks have to be considered. This makes the protection of required cryptographic keys and implementations challenging, especially for commercial off-the-shelf (COTS) microcontrollers that typically have no hardware countermeasures. In this work, we demonstrate how unprotected hardware AES engines of COTS microcontrollers can be efficiently protected against side-channel attacks by constructing a leakage resilient pseudo random function (LR-PRF). Using this side-channel protected building block, we implement a leakage resilient authenticated encryption with associated data (AEAD) scheme that enables secured firmware updates. We use concepts from leakage resilience to retrofit side-channel protection on unprotected hardware AES engines by means of software-only modifications. The LR-PRF construction leverages frequent key changes and low data complexity together with key dependent noise from parallel hardware to protect against side-channel attacks. Contrary to most other protection mechanisms such as time-based hiding, no additional true randomness is required. Our concept relies on parallel S-boxes in the AES hardware implementation, a feature that is fortunately present in many microcontrollers as a measure to increase performance. In a case study, we implement the protected AEAD scheme for two popular ARM Cortex-M microcontrollers with differing parallelism. We evaluate the protection capabilities in realistic IoT attack scenarios, where non-invasive EM probes or power consumption measurements are employed by the attacker. We show that the concept provides the side-channel hardening that is required for the long-term security of IoT devices.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Retrofitting Leakage Resilient Authenticated Encryption to Microcontrollers” by Florian Unterstein, Marc Schink, Thomas Schamberger, Lars Tebelmann, Manuel Ilg, Johann Heyszl, Cryptology ePrint Archive, Paper 2020/960, https://eprint.iacr.org/2020/960. 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-08-11T11:38:57Z",
    "updated": "2020-08-11T11:38:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/960.pdf",
    "sha256": "d47c61ff41694a33496e98df747328059a1f263d02a571083831d0b41d6ee578",
    "size": 6490164,
    "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/960/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/960.pdf",
      "size": 6490164,
      "sha256": "d47c61ff41694a33496e98df747328059a1f263d02a571083831d0b41d6ee578",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260115073834id_/https://eprint.iacr.org/2020/960.pdf",
      "captured_at": "2026-01-15T07:38:34Z",
      "size": 6454845
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/960.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 6490164
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/960,\n      author = {Florian Unterstein and Marc Schink and Thomas Schamberger and Lars Tebelmann and Manuel Ilg and Johann Heyszl},\n      title = {Retrofitting Leakage Resilient Authenticated Encryption to Microcontrollers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/960},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/960}\n}"
}
