NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Experimental Study on Attacking Homogeneous Averaging Processes via Side Channel Attacks

Olsan Ozbay, Yuntao Liu, Ankur Srivastava2024

Abstract

This study investigates the vulnerability of continuous-value computational processes, specifically averaging, to electromagnetic (EM) side-channel attacks. While traditional side-channel attacks focus on discrete secrets like cryptographic keys, modern distributed systems such as Federated Learning (FL) rely on the privacy of continuous weights. We demonstrate that the magnitude of numbers being processed in an averaging loop can be leaked through EM emissions. Using a Convolutional Neural Network (CNN) to analyze frequency-domain data, we achieved up to 93% accuracy in distinguishing between different orders of magnitude of data. Our findings suggest that the physical implementation of "privacy-preserving" algorithms may inadvertently expose sensitive information.

Introduction

Side-channel attacks (SCA) have long been a threat to cryptographic systems, typically targeting discrete bit-level secrets. However, the rise of Federated Learning introduces a new attack surface: the continuous values representing model weights. In FL, local updates are aggregated via averaging at a central server. The security of this framework rests on the assumption that as long as raw data remains local, the aggregated weights do not compromise privacy. This paper challenges that assumption by exploring whether EM emanations from a processor during an averaging operation can reveal the magnitude of the underlying data.

Methodology

The experimental setup involved a Beaglebone Black single-board computer executing a C-based averaging loop on 15 million floating-point numbers. An EMRSS RF Explorer magnetic loop antenna was positioned near the CPU to capture near-field EM emissions. These signals were processed by an Agilent E4443A spectrum analyzer, generating frequency-domain data between 25 and 69 MHz.

Experimental setup including the victim board, magnetic loop sensor, and spectrum analyzer.

The collected data consisted of 15,000 time samples for five hierarchical ranges of numbers, from $10^0$ to $10^4$. To analyze these noisy signatures, we compared several machine learning models, including Random Forest, SVM, and RNN. A Convolutional Neural Network (CNN) was ultimately selected for its superior ability to extract spatial features from the frequency arrays.

Results and Analysis

Our analysis revealed a clear correlation between the magnitude of the numbers being processed and the characteristics of the EM signal. Specifically, the standard deviation of the EM side-channel outputs increased as the magnitude of the input data grew. This variance provides a distinct signature that the machine learning models can exploit.

Average and rounded mode of the standard deviation of EM side-channel outputs across different data magnitudes.

The CNN model demonstrated high efficacy, achieving 93% accuracy when distinguishing between the $10^0$ and $10^4$ ranges. While the model's performance was robust for large magnitude differences (averaging 85% across various tests), its accuracy decreased to 54% when trying to distinguish between ranges only one order of magnitude apart (e.g., $10^0$ vs $10^1$). This indicates that while coarse-grained magnitude recovery is highly feasible, fine-grained differentiation remains a challenge under current methods.

Conclusion

This research demonstrates that even simple arithmetic operations like averaging can leak sensitive information through physical side channels. The correlation between data magnitude and EM signal variance provides a pathway for attackers to infer the "weight" of data in distributed systems. Future work will focus on improving the granularity of these attacks and evaluating their effectiveness in real-world data center environments where background noise is more prevalent, as well as exploring potential defense mechanisms like clock signal masking.

Summary updated

BibTeX
@misc{ozbay2024experimental,
  author = {Olsan Ozbay and Yuntao Liu and Ankur Srivastava},
  title = {{An Experimental Study on Attacking Homogeneous Averaging Processes via Side Channel Attacks}},
  year = {2024},
  doi = {10.14722/sdiotsec.2024.23016},
}
Figure