When Oblivious is Not: Attacks against OPAM


Nirjhar Roy, Nikhil Bansal, and Gourav Takhar, Indian Institute of Technology - Kanpur; Nikhil Mittal, Fortanix; Pramod Subramanyan, Indian Institute of Technology - Kanpur


Enclave platforms like Intel SGX, Sanctum and Keystone promise attractive security guarantees but have not always lived up to their billing, mostly due to side-channel leaks in platform implementations. A particularly important side-channel in these platforms has been the page fault side-channel. This side channel has proven to be particularly problematic because it is deterministic and controllable by a malicious operating system. This paper presents a new attack on the page fault channel that works on the state-of-art proposal for secure demand paging in enclaves (InvisiPage, ISCA'19). The insight behind the attack is that even if the exact page fault addresses are hidden, the adversary may be able to infer the interval between when a page is evicted from an enclave and when it is fetched back into the enclave. Our evaluation shows this leak is sufficient to: (i) identify which application is being executed in an enclave, (ii) infer confidential details about the inputs to the application, and (iii) function as a covert channel between an untrusted enclave application and a malicious operating system.

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

@inproceedings {257196,
author = {Nirjhar Roy and Nikhil Bansal and Gourav Takhar and Nikhil Mittal and Pramod Subramanyan},
title = {When Oblivious is Not: Attacks against {OPAM}},
booktitle = {14th USENIX Workshop on Offensive Technologies (WOOT 20)},
year = {2020},
url = {https://www.usenix.org/conference/woot20/presentation/roy},
publisher = {USENIX Association},
month = aug

Presentation Video