Spy in the GPU-box: Covert and Side Channel Attacks on Multi-GPU System
- University of California, Riverside
- University of New Mexico
- BATTELLE (PACIFIC NW LAB)
The deep learning revolution has been enabled in large part by GPUs, and more recently accelerators, which make it possible to carry out computationally demanding training and inference in acceptable times. As the size of machine learning networks and workloads continues to increase, multi-GPU machines have emerged as an important platform offered on High Performance Computing and cloud data centers. Since these machines are shared among multiple users, it becomes increasingly important to protect applications against potential attacks. In this paper, we explore the vulnerability of Nvidia's DGX multi-GPU machines to covert and side channel attacks. These machines consist of a number of discrete GPUs that are interconnected through a combination of custom interconnect (NVLink) and PCIe connections. We reverse engineer the interconnected cache hierarchy and show that it is possible for an attacker on one GPU to cause contention on the L2 cache of another GPU. We use this observation to first develop a covert channel attack across two GPUs, achieving the best bandwidth of around 4 MB/s. We also develop a prime and probe attack on a remote GPU allowing an attacker to recover the cache access pattern of another workload. This access pattern can be used in any number of side channel attacks: we demonstrate a proof of concept attack that fingerprints the application running on the remote GPU, with high accuracy. We also develop a proof of concept attack to extract hyperparameters of a machine learning workload. Our work establishes for the first time the vulnerability of these machines to microarchitectural attacks and can guide future research to improve their security.
- Research Organization:
- Pacific Northwest National Laboratory (PNNL), Richland, WA (United States)
- Sponsoring Organization:
- USDOE
- DOE Contract Number:
- AC05-76RL01830
- OSTI ID:
- 2222406
- Report Number(s):
- PNNL-SA-184963
- Country of Publication:
- United States
- Language:
- English
Similar Records
Beyond the Bridge: Contention-Based Covert and Side Channel Attacks on Multi-GPU Interconnect
Leaky Buddies: Cross-Component Covert Channels on Integrated CPU-GPU Systems
Evaluating On-Node GPU Interconnects for Deep Learning Workloads
Conference
·
Tue Nov 05 23:00:00 EST 2024
·
OSTI ID:2560299
Leaky Buddies: Cross-Component Covert Channels on Integrated CPU-GPU Systems
Conference
·
Wed Aug 04 00:00:00 EDT 2021
·
OSTI ID:1827283
Evaluating On-Node GPU Interconnects for Deep Learning Workloads
Conference
·
Sun Dec 31 23:00:00 EST 2017
·
OSTI ID:1525777