Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

How trusted Piece of code is getting protected in SGX

SAM_R_2
Beginner
482 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
482 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

0 Kudos
2 Replies
Surenthar_S_Intel
483 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

0 Kudos
SAM_R_2
Beginner
482 Views

Thanks for your information...

0 Kudos
Reply