Paper 2019/689

On-Device Power Analysis Across Hardware Security Domains

Colin O'Flynn and Alex Dewar

Abstract

Side-channel power analysis is a powerful method of breaking secure cryptographic algorithms, but typically power analysis is considered to require specialized measurement equipment on or near the device. Assuming an attacker first gained the ability to run code on the unsecure side of a device, they could trigger encryptions and use the on-board ADC to capture power traces of that hardware encryption engine. This is demonstrated on a SAML11 which contains a M23 core with a TrustZone-M implementation as the hardware security barrier. This attack requires 160 million traces, or approximately 5 GByte of data. This attack does not use any external measurement equipment, entirely performing the power analysis using the ADC on-board the microcontroller under attack. The attack is demonstrated to work both from the non-secure and secure environment on the chip, being a demonstration of a cross-domain power analysis attack. To understand the effect of noise and sample rate reduction, an attack is mounted on the SAML11 hardware AES peripheral using classic external equipment, and results are compared for various sample rates and hardware setups. A discussion on how users of this device can help prevent such remote attacks is also presented, along with metrics that can be used in evaluating other devices. Complete copies of all recorded power traces and scripts used by the authors are publicly presented.

Note: Revised June14/2019 - Minor typos fixed, add citation to [GKT11].

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint. MINOR revision.
Keywords
side-channelpower analysiscross-domainDPAAES
Contact author(s)
coflynn @ newae com
History
2019-06-14: revised
2019-06-11: received
See all versions
Short URL
https://ia.cr/2019/689
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2019/689,
      author = {Colin O'Flynn and Alex Dewar},
      title = {On-Device Power Analysis Across Hardware Security Domains},
      howpublished = {Cryptology {ePrint} Archive, Paper 2019/689},
      year = {2019},
      url = {https://eprint.iacr.org/2019/689}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.