Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are Practical

Riccardo Paccagnella, Licheng Luo, Christopher W. Fletcher
3/5/2021
135 citations
cs.CRcs.AR

Official code: FPSG-UIUC/lotr (145 stars, C, NCSA, last commit 2021-07-10).

Abstract

We introduce the first microarchitectural side channel attacks that leverage contention on the CPU ring interconnect. There are two challenges that make it uniquely difficult to exploit this channel.

Show full abstract

First, little is known about the ring interconnect's functioning and architecture. Second, information that can be learned by an attacker through ring contention is noisy by nature and has coarse spatial granularity. To address the first challenge, we perform a thorough reverse engineering of the sophisticated protocols that handle communication on the ring interconnect. With this knowledge, we build a cross-core covert channel over the ring interconnect with a capacity of over 4 Mbps from a single thread, the largest to date for a cross-core channel not relying on shared memory. To address the second challenge, we leverage the fine-grained temporal patterns of ring contention to infer a victim program's secrets. We demonstrate our attack by extracting key bits from vulnerable EdDSA and RSA implementations, as well as inferring the precise timing of keystrokes typed by a victim user.

View on arXivView PDF

Code Implementations(1)

FPSG-UIUC/lotrOfficial100%
NCSA

Source code of the paper "Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are Practical"

14511C, PythonJan 22, 20215 years agoNCSA
lotr

Similar Papers

Cite this paper

@article{paccagnella2021lord,
  title  = {Lord of the Ring(s): Side Channel Attacks on the CPU On-Chip Ring Interconnect Are Practical},
  author = {Riccardo Paccagnella and Licheng Luo and Christopher W. Fletcher},
  year   = {2021},
  eprint = {2103.03443},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.03443}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.03443.svg)](https://codeofpaper.com/paper/2103.03443)

Discussion