Giter Site home page Giter Site logo

palinux's Introduction

PALinux

In-Kernel Control-Flow Integrity on Commodity OSes using ARM Pointer Authentication

PAL Artifact Evaluation

We've confirmed this artifact on Ubuntu 18.04/20.04 host machines, not virtual guest machines.

NOTE: We also tried our artifact on virtual guest Ubuntu but found some can go wrong.
So we recommend running this on host machines if possible.

Install dependencies

For ubuntu 18.04, $./bin/install_18.sh For ubuntu 20.04, $./bin/install_20.sh

Build and additional setup

Build modified GCC 7.3, GCC plugin for instrumentation, LLVM plugin for context analyzer

$ ./bin/build.sh

After build, please set up gclang according with bin/gclang-setup.md.

Functional evaluation

The all functions making up PAL are illustrated in Figure2 (i.e., Section4 Design) in our paper.
To evaluate all functional aspects in Figure2, see and follow instructions in full-workflow/README.md.

Reproducing results

Context analyzer (Table6)

See analyzer/README.md.

CFI precision (Table2 and Table3)

See 'Reproducing results of Table2 and Table3 in the paper' in precision/README.md.

Static validator (Section 4.5 - Results)

See 'Confirmed cases' in static-validator/README.md.

Benchmarks on Mac mini (Table C1 and Section 6.3 - Performance Overhead)

See benchmark/README.md.

Note: Please try it on host machine rather than virtual guest machine if possible.
We've not confirmed it on between mac mini and VM.

Note: We're not sure if you would be able to have a physical access to M1 mac mini and go successful with macOS configuration.
Any other apple silicon built on top of M1 chip would probably work with the above guide. But we have confirmed our evaluation only on Mac mini. If something goes wrong or you do not want to try this on your apple machine, let us know.
We can prepare a QEMU-based environment to help you run those benchmarks. (but, it won't be able to reproduce numbers in paper)

Benchmarks on QEMU

See benchmark/README_QEMU.md

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.