Intel Confidential Computing
Discussion board focused on Intel Confidential Computing technologies and how they can protect data and AI security, privacy, and sovereignty.

Detect SGX at runtime

X99
Nouveau contributeur I
2 250 Visites

Is there a way for a piece of code to detect it's being run inside of an enclave?

0 Compliments
3 Réponses
KFPW_Intel
Modérateur
2 213 Visites

Hi X99,

Thank you for reaching out to us.

 

The code in an enclave is no different than code that exists as part of a regular application. However, enclave code is loaded in a special way such that once the enclave has been initialized, privileged code and the rest of the untrusted application cannot directly read data that resides in the protected environment, or change the behaviour of the code within the enclave without detection.

 

Could you please share your use cases and details that you are trying to achieve with Intel SGX? We can gain additional insights to support your use cases.

 

Sincerely,

Ken


0 Compliments
X99
Nouveau contributeur I
2 204 Visites

I have no code, I was just wondering if this was possible.

0 Compliments
KFPW_Intel
Modérateur
2 186 Visites

Hi X99,


We would need more information on your use case. Can you describe what you are trying to do in depth? Do you need to verify the code is running internally or externally?


Sincerely,

Ken


0 Compliments
Répondre