jovanbulck / sgx-step

A practical attack framework for precise enclave execution control
GNU General Public License v3.0
441 stars 83 forks source link

example of porting to open enclave #58

Closed randoruf closed 1 year ago

randoruf commented 1 year ago

It gives an example of how to porting sgx-step to open-enclave. I hope it helps.

jovanbulck commented 1 year ago

Hi @randoruf,

Thanks for sharing the code in this PR! It's nice to see you're experimenting with porting SGX-Step to OE, and I think this can indeed be helpful for future researchers.

Let me know if you're still working on this and I'd certainly be interested in looking further and merging any needed changes upstream :)

randoruf commented 1 year ago

Hi @jovanbulck I'm still working on porting sgx-step to OE, but I am trying to write more OE examples as some test cases (for example, the aep redirect, bench and idt). I feel happy that you have interests on the porting. I will let you know when the patch is ready.

jovanbulck commented 1 year ago

Hi @randoruf,

Great to hear, feel free to open a PR at any time and/or reach out with comments or questions!

fwiw: you may also want to keep an eye on the master branch, as some important stability improvements for IRQ handling like idt/bench may be merged there soonish :)