Lune

S&P2022Top-tier venue

MeshUp: Stateless Cache Side-channel Attack on CPU Mesh

Junpeng Wan, Yanxiang Bi, Zhe Zhou, Zhou Li

Abstract

Cache side-channel attacks lead to severe security threats to the settings where a CPU is shared across users, e.g., in the cloud. The majority of attacks rely on sensing the micro-architectural state changes made by victims, but this assumption can be invalidated by combining spatial (e.g., Intel CAT) and temporal isolation. In this work, we advance the state of cache side-channel attacks by showing stateless cache side-channel attacks on server-grade CPUs, that can bypass both spatial and temporal isolation. Unlike stateful cache side-channel attacks that rely on the timing difference between a cache hit or miss, our attack exploits the timing difference caused by the interconnect congestion. Specifically, to complete cache transactions, for Intel server CPUs, which use non-inclusive and mesh interconnect, cache lines would travel across cores via the CPU mesh and UPI interconnects. Nonetheless, the interconnects are shared by all cores, and cache isolation does not segregate the traffic. An attacker can generate traffic to contend with a victim on a link, measure the extra delay, deduce the memory access pattern of the victim’s program, and infer its sensitive data. Based on this idea, we implement MESHUP, a stateless cache side-channel against mesh interconnect, and test it against the existing RSA implementations of JDK for the cross-core attack and application fingerprinting for the the cross-CPU attack. We found the RSA private key used by a victim process can be partially recovered and the co-running application can be inferred at high accuracy.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

18 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Veiled Pathways: Investigating Covert and Side Channels Within GPU Uncore cites Spectre Attacks: Exploiting Speculative Execution
  • Veiled Pathways: Investigating Covert and Side Channels Within GPU Uncore cites Uncore Encore: Covert Channels Exploiting Uncore Frequency Scaling
  • Veiled Pathways: Investigating Covert and Side Channels Within GPU Uncore cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Veiled Pathways: Investigating Covert and Side Channels Within GPU Uncore cites Meltdown: Reading Kernel Memory from User Space
  • Veiled Pathways: Investigating Covert and Side Channels Within GPU Uncore cites Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • BUSted!!! Microarchitectural Side-Channel Attacks on the MCU Bus Interconnect cites Spectre Attacks: Exploiting Speculative Execution
  • BUSted!!! Microarchitectural Side-Channel Attacks on the MCU Bus Interconnect cites Meltdown: Reading Kernel Memory from User Space
  • Uncore Encore: Covert Channels Exploiting Uncore Frequency Scaling cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites Spectre Attacks: Exploiting Speculative Execution
  • GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites Meltdown: Reading Kernel Memory from User Space
  • Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution cites Spectre Attacks: Exploiting Speculative Execution
  • Phantom: Exploiting Decoder-detectable Mispredictions cites Spectre Attacks: Exploiting Speculative Execution
  • Phantom: Exploiting Decoder-detectable Mispredictions cites Meltdown: Reading Kernel Memory from User Space
  • Phantom: Exploiting Decoder-detectable Mispredictions cites Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent PrefetchersBoru Chen, Yingchen Wang, Pradyumna Shome, Christopher W. Fletcher et al.USENIX Security 2024 · 52 citations
  2. Phantom: Exploiting Decoder-detectable MispredictionsJohannes Wikner, Daniël Trujillo, Kaveh RazaviMICRO 2023 · 19 citations
  3. BUSted!!! Microarchitectural Side-Channel Attacks on the MCU Bus InterconnectCristiano Rodrigues, Daniel Oliveira, Sandro PintoS&P 2024 · 15 citations
  4. Uncore Encore: Covert Channels Exploiting Uncore Frequency ScalingYanan Guo, Dingyuan Cao, Xin Xin, Youtao Zhang et al.MICRO 2023 · 9 citations
  5. Veiled Pathways: Investigating Covert and Side Channels Within GPU UncoreYuanqing Miao, Yingtian Zhang, Dinghao Wu, Danfeng Zhang et al.MICRO 2024 · 8 citations

Builds on26

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  3. Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin et al.USENIX Security 2018 · 1,175 citations
  4. Kitsune: An Ensemble of Autoencoders for Online Network Intrusion DetectionYisroel Mirsky, Tomer Doitshman, Yuval Elovici, Asaf ShabtaiNDSS 2018 · 945 citations
  5. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations

Related papers

  1. Don't Mesh Around: Side-Channel Attacks and Mitigations on Mesh InterconnectsMiles Dai, Riccardo Paccagnella, Miguel Gomez-Garcia, John D. McCalpin et al.USENIX Security 2022
  2. Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are PracticalRiccardo Paccagnella, Licheng Luo, Christopher W. FletcherUSENIX Security 2021 · 121 citations
  3. PREFETCHX: Cross-Core Cache-Agnostic Prefetcher-based Side-Channel AttacksYun Chen, Ali Hajiabadi, Lingfeng Pei, Trevor E. CarlsonHPCA 2024 · 15 citations
  4. Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher et al.S&P 2019 · 201 citations
  5. Cross-Core Interrupt Detection: Exploiting User and Virtualized IPIsFabian Rauscher, Daniel GrussCCS 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines