{
  "id": "2025/589",
  "url": "https://opencryptology.org/2025/589",
  "original_url": "https://eprint.iacr.org/2025/589",
  "title": "Defeating AutoLock: From Simulation to Real-World Cache-Timing Exploits against TrustZone",
  "authors": [
    "Quentin Forcioli",
    "Sumanta Chaudhuri",
    "Jean-Luc Danger"
  ],
  "affiliations": null,
  "abstract": "In this article, we present for the first time a cross-core Prime+Probe attack on ARM\nTrustZone, which bypasses the AutoLock mechanism. We introduce our simulation-\ndriven methodology based on gem5 for vulnerability analysis. We demonstrate its\nutility in reverse engineering a SoC platform in order to study its microarchitectural\nbehavior (caches, etc.), inside a simulator, in spite of hardware protection. We present\na novel vulnerability analysis technique, which takes into account the cache set\noccupancy for targeted victim executable. This proves to be essential in identifying\ninformation leakage in presence of AutoLock. The above tool also identifies the cache\nlines leaking a maximum amount of information. A cross-core Prime+Probe attack is\nthen mounted on these max-leakage cache lines both in simulation for fine-tuning,\nand in real hardware. We validate our analysis and attack method on OP-TEE, an\nopen-source trusted execution environment running on RockPi4 a board based on\nRK3399 SoC. More specifically we target the RSA subroutine in the MbedTLS library\nused inside OP-TEE. Despite the presence of AutoLock, multiplier obfuscation, and\nassuming a cross-core attack, we are able to retrieve 30% of the key bits, which can\nlater be used in Branch-and-Prune methods to recover the full key.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Defeating AutoLock: From Simulation to Real-World Cache-Timing Exploits against TrustZone” by Quentin Forcioli, Sumanta Chaudhuri, Jean-Luc Danger, Cryptology ePrint Archive, Paper 2025/589, https://eprint.iacr.org/2025/589. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-04-01T09:53:37Z",
    "updated": "2025-04-01T09:53:37Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/589.pdf",
    "sha256": "121672efea1ee59a3c9df0cef54382af715b096ad407fb00f552a8262c836dc9",
    "size": 5027173,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/589/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/2025/589.pdf",
      "size": 5027173,
      "sha256": "121672efea1ee59a3c9df0cef54382af715b096ad407fb00f552a8262c836dc9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/589.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 5027173
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251220202101id_/https://eprint.iacr.org/2025/589.pdf",
      "captured_at": "2025-12-20T20:21:01Z",
      "size": 4346289
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/589,\n      author = {Quentin Forcioli and Sumanta Chaudhuri and Jean-Luc Danger},\n      title = {Defeating AutoLock: From Simulation to Real-World Cache-Timing Exploits against TrustZone},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/589},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/589}\n}"
}
