{
  "id": "2018/621",
  "url": "https://opencryptology.org/2018/621",
  "original_url": "https://eprint.iacr.org/2018/621",
  "title": "Cache-Attacks on the ARM TrustZone implementations of AES-256 and AES-256-GCM via GPU-based analysis",
  "authors": [
    "Ben Lapid",
    "Avishai Wool"
  ],
  "affiliations": null,
  "abstract": "The ARM TrustZone is a security extension which is used in recent Samsung flagship smartphones to create a Trusted Execution Environment (TEE) called a Secure World, which runs secure processes (Trustlets). The Samsung TEE includes cryptographic key storage and functions inside the Keymaster trustlet.\nThe secret key used by the Keymaster trustlet is derived by a hardware device and is inaccessible to the Android OS. However, the ARM32 AES implementation used by the Keymaster is vulnerable to side channel cache-attacks.\nThe Keymaster trustlet uses AES-256 in GCM mode, which makes mounting a cache attack against this target much harder. In this paper we show that it is possible to perform a successful cache attack against this AES implementation, in AES-256/GCM mode, using widely available hardware. Using a laptop's GPU to parallelize the analysis, we are able to extract a raw AES-256 key with 7 minutes of measurements and under a minute of analysis time and an AES-256/GCM key with 40 minutes of measurements and 30 minutes of analysis.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cache-Attacks on the ARM TrustZone implementations of AES-256 and AES-256-GCM via GPU-based analysis” by Ben Lapid, Avishai Wool, Cryptology ePrint Archive, Paper 2018/621, https://eprint.iacr.org/2018/621. 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-06-22T14:58:58Z",
    "updated": "2018-06-22T14:58:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/621.pdf",
    "sha256": "62eb1f867ca1223f0152177ba16b08e5dea5fda439abb3bfda71f1c964dd5b53",
    "size": 230356,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/621/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/621.pdf",
      "size": 230356,
      "sha256": "62eb1f867ca1223f0152177ba16b08e5dea5fda439abb3bfda71f1c964dd5b53",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251010013511id_/https://eprint.iacr.org/2018/621.pdf",
      "captured_at": "2025-10-10T01:35:11Z",
      "size": 227923
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/621.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 230356
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/621,\n      author = {Ben Lapid and Avishai Wool},\n      title = {Cache-Attacks on the ARM TrustZone implementations of AES-256 and AES-256-GCM via GPU-based analysis},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/621},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/621}\n}"
}
