← Lab /Security & privacy

Timerless shared-memory races can reliably measure microarchitectural latencies across CPUs

PhotoFinish provides a portable timerless primitive that accurately classifies cache states and other microarchitectural latencies

Security & privacy arXiv 6 Nov 2026 Method Prototype evidence

Published as “PhotoFinish: Portable Timerless Probing of Microarchitectural Latencies”

Why it matters

Restricting high-resolution timers alone does not prevent microarchitectural side-channel attacks, as PhotoFinish enables precise timing-free attacks even in sandboxed browsers.

Summary

PhotoFinish provides a portable timerless probing primitive that matches or exceeds counting-thread timers, achieving near-perfect cache-state classification (up to 100 % success) across 38 CPUs and in browsers, and can even resolve LLC slice membership with 96.9 % accuracy; the evidence is strong, based on extensive experiments on 45 platform configurations, thousands of measurements per test, and real-world attack case studies.

What they found 5

  1. Unpadded PhotoFinish provides calibration-free L1-versus-DRAM classification on 41 of 45 cross-core platforms

    “Unpadded PhotoFinish. For L1 versus DRAM on separate physical cores, 41 of 45 platforms achieve F1 ≥0.97.”

  2. Padded PhotoFinish achieves timer-free classification on all tested CPUs

    “Thus, padded PhotoFinish provides timer-free Flush+Reload-style classification on all tested CPUs, including platforms where the unpadded condition fails.”

  3. In a browser, unpadded WebAssembly PhotoFinish obtains F1 ≥0.99 in 46 of 50 configurations for L1-versus-DRAM

    “Despite this reduced resolution, unpadded WebAssembly PhotoFinish obtains F1 ≥0.99 in 46 of 50 configurations for L1 versus DRAM.”

  4. AES T-table attack using PhotoFinish succeeds with 100 % success on 37 of 41 platforms

    “Of the 41 tested platforms, 37 have a success rate of 100 %.”

  5. LLC slice detection using PhotoFinish reaches 96.9 % accuracy on 1000 random addresses

    “Using this technique, we observe a slice detection accuracy of 96.9 % with 1000 random addresses.”

Caveats 6

  • On Core i5-6400T and Ampere Altra Q64-30, the L1-to-DRAM separation is too small relative to ∆sync, violating the unpadded condition.
  • There are only 3 machines on which the attack is unreliable: the StarFive JH7100 (3.5 % success rate), the Ampere Altra Q64-30 (55 % success rate), and the Intel Core i5-6400T (0 % success rate).
  • Consequently, an SMT-sibling counting thread remains the stronger baseline for the smaller LLC-to-DRAM difference, but at the cost of threshold calibration.
  • We cannot perform this validation on the RISC-V and LoongArch64 systems or on Huawei Kunpeng 920. Thus, their L2/L3 results are conservative.
  • The values in Appendix A are optimistic lower bounds on the total classification noise.
  • For the latter two, this is expected, as Section 4.2 predicts: on these platforms ∆L1DRAM does not exceed ∆sync, so the precondition for the unpadded variant does not hold.

What’s new here 4

  • A generic timerless primitive that works across x86_64, AArch64, RISC-V, and LoongArch without ISA-specific features
  • Implementation in WebAssembly that operates inside modern browsers using only Web Workers and SharedArrayBuffer
  • Elimination of threshold calibration by encoding latency differences directly into a shared-memory race outcome
  • Ability to distinguish very fine latency differences, such as individual LLC slice offsets, using multiple measurements