Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

cloud-security-research/graphene-sgx-secure-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphene-SGX Secure Container (GSC)

⚠️ DISCONTINUATION OF PROJECT - This project will no longer be maintained by Intel. This project has been identified as having known security escapes. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project.

GSC has been successfully merged into upstream Graphene. Please try GSC from Graphene repo instead: https://github.com/oscarlab/graphene/tree/master/Tools

Introduction to GSC

Graphene-SGX Secure Container (GSC) is a container system where the containerized application can be protected by Intel:registered:SGX while it is running in a container environment. The GSC system includes two parts: (1) a Docker container instance where the application is running inside Graphene-SGX; (2) a front-end named GSCE (GSC Engine) which takes a legacy Docker container image and automatically launches the contained application inside a GSC container instance.

_** Disclaimer: This software is a research proof of concept and not intended for production use **

How to use GSC

Launching a GSC container instance includes following steps:

(1) Make sure there is a Docker container image of your application in the local or remote image repository.

(2) Prerequisites: 1. Intel SGX PSW/SDK https://github.com/intel/linux-sgx 2. Intel SGX Driver https://github.com/intel/linux-sgx-driver

(2) Download and build Graphene-SGX, by executing:

./configure

(4) Launch a GSC container via the following command:

bin/gsce run [All the arguments used for launching a normal Docker container] [Docker Image Name:Tag].

Examples

Let's take redis, a key-value, in-memory database as an example. Assume the user runs a normal redis from its docker image as follows.

docker run -i -t -p 6379:6379 redis:latest

To launch a GSC container running redis, simply replace "docker" with "gsce", i.e., run the command as follows.

./gsce run -i -t -p 6379:6379 redis:latest

Contact

For any questions, Please contact Li Lei with li.lei@intel.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages