You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, page-fault attack code is rather unclean and has a lot of code duplication to setup fault handlers and revoke enclave page permissions through either mprotect calls and/or PTE remapping + editing..
Goal: Offer a simple and intuitive abstraction in libsgxstep/pf.c to mount page-fault controlled-channel attacks on enclaves so applications need only to focus on the actual attack logic (state machines) to interpret page-fault sequences.
The text was updated successfully, but these errors were encountered:
Looks like a file pf.c does not exist and has never existed in the repository. (The output of git log --all --name-only --pretty=format: | grep 'pf.c' is empty.) Did you mean to write libsgxstep/pt.c?
yes, the idea indeed would be to create a new pf.c file but it's not here yet. This issue is open already way too long -- ideally I should make some time to cleanup the code and extract the common logic in a proper abstraction 😅
FWIW: you may want to have a look at an (unmaintained) tutorial I made long time ago with some support for page faults:
Currently, page-fault attack code is rather unclean and has a lot of code duplication to setup fault handlers and revoke enclave page permissions through either
mprotect
calls and/or PTE remapping + editing..Goal: Offer a simple and intuitive abstraction in
libsgxstep/pf.c
to mount page-fault controlled-channel attacks on enclaves so applications need only to focus on the actual attack logic (state machines) to interpret page-fault sequences.The text was updated successfully, but these errors were encountered: