Giter Site home page Giter Site logo

friedy10 / linux-sgx-mage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donnod/linux-sgx-mage

0.0 0.0 0.0 23.97 MB

License: Other

Shell 0.82% C++ 55.99% Python 0.24% Perl 0.94% C 34.03% Java 0.97% OCaml 0.90% Assembly 0.95% CSS 0.05% TeX 0.66% Hack 0.06% Makefile 2.48% HTML 0.77% CMake 0.12% M4 0.38% Dockerfile 0.02% Roff 0.63%

linux-sgx-mage's Introduction

MAGE: Mutual Attestation for a Group of Enclaves without Trusted Third Parties

MAGE is an extension of Intel SGX SDK (v2.6) to support mutual attestation for a group of enclaves without trusted third parties.

The extension includes:

MAGE Library (sdk/mage):

  • Reserve a read-only data section, named .sgx_mage, to store auxiliary information for mutual attestation.
  • Provide APIs for deriving trusted enclaves' measurements from .sgx_mage.

Modified Enclave Loader (psw/urts/loader, psw/urts/parser):

  • Change the order of loading EPC pages, so that the EPC pages in .sgx_mage section are loaded after all other EPC pages.

Modified Signing Tool (sdk/sign_tool/SignTool):

  • Extract auxiliary information from enclaves.
  • Insert auxiliary information into the .sgx_mage section of enclaves.

Build Instructions

Follow the original build instructions to build the SDK linux-sgx_2.6.

Sample Code

Sample Code for three enclaves to mutually derive measurements is provided in SampleCode/MutualAttestation.

Integration with Open-Sourced SGX Application

OPERA-MAGE: Open Remote Attestation for Intel's Secure Enclaves (MAGE version)

Artifact Evaluation

This repo is an prototype implementation of the following paper:

[USENIX Security’22] MAGE: Mutual Attestation for a Group of Enclaves without Trusted Third Parties by Guoxing Chen and Yinqian Zhang

The code and instructions for reproducing the results presented in the paper can be found in sec22ae.

linux-sgx-mage's People

Contributors

lzha101 avatar llly avatar andyzyb avatar yuyuany avatar donnod avatar deeglaze avatar dingelish avatar haitaohuang avatar rodolfoams avatar daveti avatar mitar avatar eximius avatar lingyuj avatar akryeem-intc avatar zhaohuidu avatar npmccallum avatar chrisr3 avatar icaro-lima avatar guzongmin avatar nhynes avatar mkow avatar lshacham avatar jmechalas avatar pdxjohnny avatar jiazhang0 avatar jat001 avatar jaak avatar greglaun avatar ffosilva avatar eunchan-kim 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.