Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAL/Linux-SGX] Add AEX-Notify support #1530

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 29, 2024

  1. [PAL/Linux-SGX] Add AEX-Notify feature enabling code and update doc.

    AEX-Notify is a security feature used to mitigate the SGX-Step type
    attacks on SGX. The SGX-Step type attacks rely on frequent enclave
    preemptions (e.g. interrupts) to execute an SGX enclave in small
    increments and strategically extract secret data from the enclave
    through one or more side channels. The AEX Notify feature allows
    a mitigation handler to run after ERESUME from each Async Exit,
    aiming to mitigate the side-channel information exposed by the attacks.
    
    This commit includes below changes for aex-notify support:
    - add a new manifest option `sgx.enable_aex_notify`
    - update related structures for aex-notify feature
    - add initialization/finalization code for aex-notify
    - update document
    
    Co-authored-by: Gu, Junjun <[email protected]>
    Co-authored-by: Dmitrii Kuvaiskii <[email protected]>
    Signed-off-by: Gu, Junjun <[email protected]>
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    Signed-off-by: Zhang, Lili Z <[email protected]>
    3 people committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7fd9c80 View commit details
    Browse the repository at this point in the history
  2. [PAL/Linux-SGX] Add AEX-Notify enabling and documentation.

    AEX-Notify is a security feature used to mitigate the SGX-Step type
    attacks on SGX. The SGX-Step type attacks rely on frequent enclave
    preemptions (e.g. interrupts) to execute an SGX enclave in small
    increments and strategically extract secret data from the enclave
    through one or more side channels. The AEX-Notify feature allows
    a mitigation handler to run after each asynchronous exit (AEX).
    
    This commit is first in a series that adds the complete AEX-Notify
    feature. It includes the following enablement changes:
    - add a new manifest option `sgx.experimental_enable_aex_notify`
    - update related structures for AEX-Notify feature
    - add initialization/finalization code for aex-notify
    - update documentation
    
    Signed-off-by: Zhang, Lili Z <[email protected]>
    lzha101 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7bea2f1 View commit details
    Browse the repository at this point in the history
  3. fixup! [PAL/Linux-SGX] Add AEX-Notify enabling and documentation.

    Signed-off-by: Zhang, Lili Z <[email protected]>
    lzha101 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d6f3c9f View commit details
    Browse the repository at this point in the history