Skip to content

zhangxin00/segscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SegScope

This repository contains the experiments of evaluation and case studies discussed in the paper

  • "SegScope: Probing Fine-grained Interrupts via Architectural Footprints" (HPCA 2024).

SegScope can be used to probe interrupts without any timer. We successfully apply it to resurrect multiple end-to-end attacks in a timer-constrained scenario.

Tested Setup

Software dependencies

In order to run the experiments and proof-of-concepts, the following prerequisites need to be fulfilled:

Hardware dependencies

Throughout our experiments, we successfully evaluated our implementations on the following environments. We recommend to test SegScope on bare-metal machines.

Machine CPU Kernel
Xiaomi Air 13.3 Intel Core i5-8250U Linux 5.15.0
Lenovo Yangtian 4900v Intel Core i7-4790 Linux 5.8.0
Lenovo Savior Y9000P Intel Core i9-12900H Linux 5.15.0
Honor Magicbook 16 Pro AMD Ryzen 7 5800H Linux 5.15.0
Amazon t2.large (Xen) Intel Xeon E5-2686 Linux 5.15.0
Amazon c5.large (KVM) Intel Xeon 8275CL Linux 5.15.0

Note: The enhanced Spectral attack relies on the UMONITOR/UMWAIT instructions that are only available on Intel latest core processors (Tremont and Alder Lake). We evaluate it on our Lenovo Savior Y9000P machine. Please refer to mwait for more details.

Materials

This repository contains the following materials:

  • E1-Website Fingerprinting: contains the code that we apply SegScope to detect interrupts while opening a website.
  • E2-Enhancing Spectral attack: contains the code that we use SegScope to enhance a non-interrupt side channel attack (i.e., spectral ).
  • E3-Breaking KASLR: contains the code that we rely on SegScope-based timer to derandomize KASLR.

Contact

If there are questions regarding these experiments, please send an email to zhangxin00@stu.pku.edu.cn.

How should I cite this work?

Please use the following BibTeX entry:

@inproceedings{Zhang2024SegScope,
  year={2024},
  title={SegScope: Probing Fine-grained Interrupts via Architectural Footprints},
  booktitle={High Performance Computer Architecture},
  author={Xin Zhang and Zhi Zhang and Qingni Shen and Wenhao Wang and Yansong Gao and Zhuoxi Yang and Jiliang Zhang}
}

About

Proof-of-concept implementation for the paper "SegScope: Probing Fine-grained Interrupts via Architectural Footprints" (HPCA'24)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published