Intel SGX Emulation Using Qemu: Prerit Jain Soham Desai
Intel SGX Emulation Using Qemu: Prerit Jain Soham Desai
Emulation using
QEMU
Prerit Jain
Soham Desai
Overview
•Problem Statement
•Proposed Solution & Design
•Difficulties Faced
•What’s Next ? Future Work
Problem Statement: ( A short
Recap)
•SGX provides a set of new CPU instructions that can be used by
applications to set aside private regions of code and data.
SGX Library
Target Specific
Translation
Target Specific Translation Logic for
Translation SGX Instructions
•Number of Contributors: 5
Professors: Dr. Taesoo Kim, Dr. Dongsu Han (KAIST)
Students: Seongmin(KAIST), Prerit Jain, Soham Desai
•What we Learned :
Emulation using QEMU, Development of Console Application,
shared and static libraries, kernel module, x86 Architecture, Unit
Testing, Device Driver, GUI development using QT.
Future Work Possibilities
•Showcasing SGX functionalities for different applications and
creating prototypes.
1.Once the Enclave is created, the application can execute ENCLU leaf
instructions.
•Entering into the enclave, performing a context switch to the Enclave
execution context -> EENTER
•Restoring the context and exiting the enclave -> EEXIT