Tag Info

New answers tagged


This is a great question! Never thought about this until you asked. Firstly, code running inside a secure enclave runs in ring 3. So all restrictions that apply to untrusted non enclave ring 3 code apply. So an enclave cannot write to MSR's. Next, the specs don't explicitly mention anything about MSR's but it does tell you about interaction with IA32 ...


Depends on the language and environment , I have had success with encrypting executable code and decrypting it on the fly. Changing the key between minor versions slows down cracks significantly, As does comparison of code in ram vs encrypted code checks at runtime. Grabbing the pointer to an auth function, calculating it's checksum and comparing it ...

Top 50 recent answers are included