GithubHelp home page GithubHelp logo

blindside's Introduction

Disclaimer

USE AT YOUR OWN RISK! AUTHORS OF THIS CODE ARE NOT RESPONSIBLE FOR ANY HARM DONE TO YOUR MACHINE, YOUR BELONGINGS OR YOURSELF.

Note that code in this repository exploits kernel code. In case you try the code out on a remote machine, make sure you can reboot it remotely in case of a crash.

About

This repository contains the exploits showcasing the BlindSide attack described in our paper published at CCS'20. We branched off the exploits from google project zero's exploit of CVE-2017-7308. For the demo videos of the exploits, check out the project page of BlindSide.

Our proof-of-concept exploits are configured to work with the linux kernel version 4.8.0-39-generic and are tested on a machine with Intel CPU E3-1270 v6 and 16GB of RAM. Running it on a different kernel version (but vulnerable to CVE-2017-7308) will require few changes to the exploits like setting the function pointer offset, adjusting the gadget offsets or instructions, etc. Changes to the exploits are also necessary when running on a machine with different RAM size or when running on a CPU with a different cache size or a different cache-associativity.

Config

Exploits can be configured to skip certain parts with macros in config.h files in the exploit directories.

Preparation

Execute the following commands to enable huge page tables, to set cpu governor to performance and to locally install the evsets library:

$ echo 1024 | sudo tee /proc/sys/vm/nr_hugepages
$ for gov in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do sudo sh -c "echo performance > $gov"; done
$ ./make_evsets_lib.sh

Run exploits

To run the exploits, change your directory to any of the folders under exploits and run the commands make and ./poc.

blindside's People

Contributors

egoktas avatar

Watchers

 avatar

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.