Skip to main content
QUICK REVIEW

[Paper Review] Remote Power Side-Channel Attacks on CNN Accelerators in FPGAs

Shayan Moini, Shanquan Tian|arXiv (Cornell University)|Nov 15, 2020
Physical Unclonable Functions (PUFs) and Hardware SecurityComputer Science5 citations
TL;DR

This paper presents the first remote, power-based side-channel attack on CNN accelerators in Xilinx FPGAs and AWS F1 Cloud FPGAs, exploiting voltage fluctuations during inference to recover inputs to a binarized CNN. Using remote time-to-digital converters, the attack achieves 84% normalized cross-correlation on local FPGAs and 77% on AWS, without physical access or hardware modifications.

ABSTRACT

To lower cost and increase the utilization of Cloud FPGAs, researchers have recently been exploring the concept of multi-tenant FPGAs, where multiple independent users simultaneously share the same FPGA. Despite its benefits, multitenancy opens up the possibility of malicious users co-locating on the same FPGA as a victim user, and extracting sensitive information. This issue becomes especially serious when the user is running a machine learning algorithm that is processing sensitive or private information. To demonstrate the dangers, this paper presents the first remote, power-based side-channel attack on a deep neural network accelerator running in a variety of Xilinx FPGAs and also on Cloud FPGAs using Amazon Web Services (AWS) F1 instances. This work in particular shows how to remotely obtain voltage estimates as a deep neural network inference circuit executes, and how the information can be used to recover the inputs to the neural network. The attack is demonstrated with a binarized convolutional neural network used to recognize handwriting images from the MNIST handwritten digit database. With the use of precise time-to-digital converters for remote voltage estimation, the MNIST inputs can be successfully recovered with a maximum normalized cross-correlation of 84% between the input image and the recovered image on local FPGA boards and 77% on AWS F1 instances. The attack requires no physical access nor modifications to the FPGA hardware.

Motivation & Objective

  • To investigate the security risks of multi-tenant FPGAs in cloud environments where co-located users may launch side-channel attacks.
  • To demonstrate that power side-channel leakage can be exploited remotely in FPGA-based deep learning accelerators without physical access.
  • To show that sensitive inputs to a binarized CNN can be recovered from remote voltage measurements during inference.
  • To evaluate the feasibility and effectiveness of such attacks on both local FPGA boards and AWS F1 cloud instances.

Proposed method

  • The attack uses remote time-to-digital converters (TDCs) to estimate voltage fluctuations on the FPGA during CNN inference.
  • Voltage traces are collected from the power supply lines of the FPGA, which correlate with computational activity in the accelerator.
  • A binarized convolutional neural network (BNN) for MNIST digit recognition is deployed on Xilinx FPGAs and AWS F1 instances.
  • The attack leverages the correlation between power consumption patterns and input data to reconstruct the original input image.
  • Signal processing and machine learning techniques are applied to the voltage traces to infer the input image with high fidelity.
  • The method is validated on both on-premises FPGA boards and AWS F1 cloud instances, demonstrating remote feasibility.

Experimental results

Research questions

  • RQ1Can power side-channel leakage be remotely exploited to extract inputs from a CNN accelerator running on an FPGA?
  • RQ2How effective is a remote voltage estimation attack on FPGA-based CNN accelerators in both local and cloud environments?
  • RQ3To what extent can the original input image be reconstructed from power traces without physical access or hardware modifications?
  • RQ4How does the reconstruction quality differ between local FPGA boards and cloud-based AWS F1 instances?
  • RQ5What are the practical limitations and feasibility of such attacks in real-world multi-tenant FPGA deployments?

Key findings

  • The attack successfully recovers MNIST input images with a maximum normalized cross-correlation of 84% on local FPGA boards.
  • On AWS F1 cloud instances, the attack achieves a normalized cross-correlation of 77% between the original and recovered images.
  • The attack operates entirely remotely, requiring no physical access or modifications to the FPGA hardware.
  • The method demonstrates that power side-channel leakage in FPGA-based CNN accelerators is exploitable even in cloud environments.
  • Voltage estimation via remote TDCs enables precise inference of computational activity, enabling input reconstruction.
  • The results highlight critical security vulnerabilities in multi-tenant FPGA deployments for machine learning workloads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.