Paper 2026/2673

Beyond the Scope of This Paper: Practical Flash-Accelerator and Cache-Collision Timing Attacks on Microcontrollers

Colin O'Flynn, Dalhousie University
Abstract

Cache and cache-collision attacks against AES are well-known since 2005, but their application to small (Cortex-M sized) microcontrollers has been limited in prior work, and in many cases the devices are assumed to be immune when they do not have a cache. However, the flash architecture of almost all microcontrollers introduces the same timing collision required for the well-known attacks and as a greatly underestimated channel. Recovery of AES keys using as little as 750 traces will be demonstrated on six popular cryptographic libraries across eight architectures and over twenty devices. Practical recovery on high-level applications is demonstrated against SPI bootloaders, Ethernet applications, CTAP2 over USB, and 802.15.4. wireless protocols. In addition, a new open-source tool called FlashWhisperer is introduced to assist with evaluation of microcontrollers, cryptographic libraries, and applications. Countermeasures already exist in the form of bitsliced implementations, and this work also discusses other countermeasures that existing libraries offer.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
side channeltiming attackcache-collisionflash timing
Contact author(s)
colin @ oflynn com
History
2026-10-31: approved
2026-10-29: received
See all versions
Short URL
https://ia.cr/2026/2673
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2673,
      author = {Colin O'Flynn},
      title = {Beyond the Scope of This Paper: Practical Flash-Accelerator and Cache-Collision Timing Attacks on Microcontrollers},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2673},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2673}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.