SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Ruiyi, Cheu, Albert, Gascon, Adria, Moghimi, Daniel, Schoppmann, Phillipp, Schwarz, Michael, Suciu, Octavian
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914196336148480
author Zhang, Ruiyi
Cheu, Albert
Gascon, Adria
Moghimi, Daniel
Schoppmann, Phillipp
Schwarz, Michael
Suciu, Octavian
author_facet Zhang, Ruiyi
Cheu, Albert
Gascon, Adria
Moghimi, Daniel
Schoppmann, Phillipp
Schwarz, Michael
Suciu, Octavian
contents Confidential virtual machines (CVMs) based on trusted execution environments (TEEs) enable new privacy-preserving solutions. Yet, they leave side-channel leakage outside their threat model, shifting the responsibility of mitigating such attacks to developers. However, mitigations are either not generic or too slow for practical use, and developers currently lack a systematic, efficient way to measure and compare leakage across real-world deployments. In this paper, we present SNPeek, an open-source toolkit that offers configurable side-channel tracing primitives on production AMD SEV-SNP hardware and couples them with statistical and machine-learning-based analysis pipelines for automated leakage estimation. We apply SNPeek to three representative workloads that are deployed on CVMs to enhance user privacy-private information retrieval, private heavy hitters, and Wasm user-defined functions-and uncover previously unnoticed leaks, including a covert channel that exfiltrates data at 497 kbit/s. The results show that SNPeek pinpoints vulnerabilities and guides low-overhead mitigations based on oblivious memory and differential privacy, giving practitioners a practical path to deploy CVMs with meaningful confidentiality guarantees.
format Preprint
id arxiv_https___arxiv_org_abs_2506_15924
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs
Zhang, Ruiyi
Cheu, Albert
Gascon, Adria
Moghimi, Daniel
Schoppmann, Phillipp
Schwarz, Michael
Suciu, Octavian
Cryptography and Security
Confidential virtual machines (CVMs) based on trusted execution environments (TEEs) enable new privacy-preserving solutions. Yet, they leave side-channel leakage outside their threat model, shifting the responsibility of mitigating such attacks to developers. However, mitigations are either not generic or too slow for practical use, and developers currently lack a systematic, efficient way to measure and compare leakage across real-world deployments. In this paper, we present SNPeek, an open-source toolkit that offers configurable side-channel tracing primitives on production AMD SEV-SNP hardware and couples them with statistical and machine-learning-based analysis pipelines for automated leakage estimation. We apply SNPeek to three representative workloads that are deployed on CVMs to enhance user privacy-private information retrieval, private heavy hitters, and Wasm user-defined functions-and uncover previously unnoticed leaks, including a covert channel that exfiltrates data at 497 kbit/s. The results show that SNPeek pinpoints vulnerabilities and guides low-overhead mitigations based on oblivious memory and differential privacy, giving practitioners a practical path to deploy CVMs with meaningful confidentiality guarantees.
title SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs
topic Cryptography and Security
url https://arxiv.org/abs/2506.15924