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

Deleting an enclave

Ron__Eyal
初学者
1,090 次查看

I know that a user/OS/regular software cannot modify or temper with a code running in an enclave. But can a user/OS/regular software delete an arbitrary enclave?

If not? Who can delete an enclave? Or where can I find documentation about the process of deleting an enclave?

0 项奖励
1 回复
Dr__Greg
超级用户
1,090 次查看

Good morning Ron, I hope this post finds your week starting well.

The only time that integrity guarantees are implemented by the SGX hardware instructions and platform hardware is when the enclave has been loaded and initialized into EPC memory.  Otherwise an enclave is simply a statically linked shared library file and has no protections other then standard discretionary and/or mandatory access controls that are placed on the file by the filesystem.

So there is nothing mysterious about deleting an enclave file on disk, anyone with write permission to the file can delete it.

Have a good day.

Dr. Greg

0 项奖励
回复