Two's Complement: Monitoring Software Control Flow Using Both Power and Electromagnetic Side Channels

Michael Amar, Lojenaa Navanesan, Asanka Sayakkara, Yossi Oren

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Embedded devices leak information about their inner activity through power and EM side channels. A defender who measures this leakage can thus use it to monitor the device and ensure its control-flow integrity. Previous works have investigated the use of power and EM side channels for control-flow monitoring, but they have only used a single side channel at a time. In this paper, we propose an approach that integrates both power and EM side channels to detect deviations from the device's normal behavior. Our model takes inspiration from multimodal machine learning used in image and speech recognition, and uses an intermediate integration design which passes multiple input modalities in parallel through a single self-attention transformer network. We evaluate our model on an off-the-shelf device at multiple noise levels, and show that it outperforms models that use only a single channel as input. In particular, we show how the multimodal approach can improve trace classification and anomaly detection accuracies by up to 18% and 11 %, respectively, compared to power/EM-only approaches. Additionally, we show that our approach is superior over the early and late integration approaches currently used in multimodal side channel analysis work. We release our machine-learning architecture, including trained models based on real-world data, as an open-source repository. Our work highlights how advances in the wider field of machine learning can be used to improve the security of embedded systems.

Original languageEnglish
Title of host publicationProceedings - 2024 27th Euromicro Conference on Digital System Design, DSD 2024
EditorsTomasz Kryjak, Frederic Petrot
PublisherInstitute of Electrical and Electronics Engineers
Pages218-226
Number of pages9
ISBN (Electronic)9798350380385
DOIs
StatePublished - 1 Jan 2024
Event27th Euromicro Conference on Digital System Design, DSD 2024 - Paris, France
Duration: 28 Aug 202430 Aug 2024

Publication series

NameProceedings - 2024 27th Euromicro Conference on Digital System Design, DSD 2024

Conference

Conference27th Euromicro Conference on Digital System Design, DSD 2024
Country/TerritoryFrance
CityParis
Period28/08/2430/08/24

Keywords

  • Deep learning
  • Em-bedded devices
  • Malware detection
  • Multi-model architecture
  • Side channel analysis

ASJC Scopus subject areas

  • Hardware and Architecture
  • Control and Systems Engineering
  • Electrical and Electronic Engineering
  • Computer Networks and Communications
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Two's Complement: Monitoring Software Control Flow Using Both Power and Electromagnetic Side Channels'. Together they form a unique fingerprint.

Cite this