Coder Social home page Coder Social logo

zhangxin00 / segscope Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 4.96 MB

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

License: MIT License

Makefile 0.21% C 39.94% Shell 0.34% HTML 5.61% JavaScript 8.87% Python 36.43% Rust 8.61%

segscope's Introduction

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 [email protected].

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}
}

segscope's People

Contributors

zhangxin00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pku-roc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.