Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

How trusted Piece of code is getting protected in SGX

SAM_R_2
Beginner
259 Views

Hi,
I am able to run my first program using SGX.

To ensure how our trusted piece of code is getting protected through SGX and any way to display the memory area is protected by the SGX Enclave?

-Thanks

0 Kudos
1 Solution
Surenthar_S_Intel
259 Views

Hi Sam,

When running with SGX, all of the enclave code is paged into a region of memory not visible to OS. This is the EPC memory allocation reserved in the BIOS. Generate a complete memory dump of the system with the enclave loaded. Provision a well-known-string in there at run time and then try to find it in the memory dump

-Surenthar

View solution in original post

2 Replies
Surenthar_S_Intel
260 Views

Hi Sam,

When running with SGX, all of the enclave code is paged into a region of memory not visible to OS. This is the EPC memory allocation reserved in the BIOS. Generate a complete memory dump of the system with the enclave loaded. Provision a well-known-string in there at run time and then try to find it in the memory dump

-Surenthar

SAM_R_2
Beginner
259 Views

Thanks for your information...

Reply