Detecting Privileged Side-Channel Attacks in Shielded Execution with Déjà Vu
Open accessThe DOI matches its Crossref record; 52 of the 52 references it cites were found in a registry or an index.
Abstract
Intel Software Guard Extension (SGX) protects the confidentiality and integrity of an unprivileged program running inside a secure enclave from a privileged attacker who has full control of the entire operating system (OS). Program execution inside this enclave is therefore referred to as shielded. Unfortunately, shielded execution does not protect programs from side-channel attacks by a privileged attacker. For instance, it has been shown that by changing page table entries of memory pages used by shielded execution, a malicious OS kernel could observe memory page accesses from the execution and hence infer a wide range of sensitive information about it. In fact, this page-fault side channel is only an instance of a category of side-channel attacks, here called privileged side-channel attacks, in which privileged attackers frequently preempt the shielded execution to obtain fine-grained side-channel observations. In this paper, we present Deja Vu, a software framework that enables a shielded execution to detect such privileged side-channel attacks. Specifically, we build into shielded execution the ability to check program execution time at the granularity of paths in its control-flow graph. To provide a trustworthy source of time measurement, Deja Vu implements a novel software reference clock that is protected by Intel Transactional Synchronization Extensions (TSX), a hardware implementation of transactional memory. Evaluations show that Deja Vu effectively detects side-channel attacks against shielded execution and against the reference clock itself.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Transactional memory: architectural support for lock-free data structures
Herlihy, M., & Moss, J. E. B. (1993) · Proceedings of the 20th annual international symposium on Computer architecture - ISCA '93 · doi:10.1145/165123.165164 · Cited by 2,141
DART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · ACM SIGPLAN Notices · doi:10.1145/1064978.1065036 · Cited by 2,067
FLUSH+RELOAD: a high resolution, low noise, L3 cache side-channel attackPreprint
Yarom, Y., & Falkner, K. E. K. (2013) · IACR Cryptology ePrint Archive · Cited by 1,779
The 26th USENIX Security Symposium 2017
Αλεξόπουλος, Ν., Kiayias, A., Zacharias, T., & Talviste, R. (2017) · USENIX Security Symposium · Cited by 1,168
Last-Level Cache Side-Channel Attacks are Practical
Liu, F., Yarom, Y., Ge, Q., Heiser, G., & Lee, R. B. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.43 · Cited by 1,009 · cited 4×
“, [58, 55, 24, 33]), non-root userspace processes (e.”
BackgroundInfluentialCross-VM side channels and their use to extract private keys
Zhang, Y., Juels, A., Reiter, M. K., & Ristenpart, T. (2012) · Proceedings of the 2012 ACM conference on Computer and communications security · doi:10.1145/2382196.2382230 · Cited by 787 · cited 5×
“A cache-based side channel can be constructed using data caches (including per-core L2 unified caches) on shared processors [39, 47, 20, 23], instruction caches [5, 58], shared last-level caches (LLC) [55, 59, 33, 18, 40, 25].”
BackgroundInfluentialSelf-citationControlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems
Xu, Y., Cui, W., & Peinado, M. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.45 · Cited by 713 · cited 3×
“The second category includes applications like libjpeg and freetype that contain much larger secrets that might eventually leak over the course of a longer execution [53].”
BackgroundFlicker: an execution infrastructure for tcb minimization
McCune, J. M., Parno, B. J., Perrig, A., Reiter, M. K., & Isozaki, H. (2008) · Proceedings of the 3rd ACM SIGOPS/EuroSys European Conference on Computer Systems 2008 · doi:10.1145/1352592.1352625 · Cited by 640 · cited 1×
“There is a long history of research on shielded execution on untrusted operating systems [31, 46, 9, 10, 37, 54, 42, 56, 22, 11, 14, 30].”
BackgroundSelf-citationCache Games -- Bringing Access-Based Cache Attacks on AES to Practice
Gullasch, D., Bangerter, E., & Krenn, S. (2011) · 2011 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2011.22 · Cited by 528
New cache designs for thwarting software cache-based side channel attacks
Wang, Z., & Lee, R. B. (2007) · Proceedings of the 34th annual international symposium on Computer architecture · doi:10.1145/1250662.1250723 · Cited by 500 · cited 1×
“Modifying the processor architecture [50, 36, 15, 32] and relying on system-level isolation enhancement [49, 27, 29, 60, 48, 57] are not possible in the settings we consider.”
Background
Cited by
Khan, R., Kumar, P., Jayakody, D. N. K., & Liyanage, M. (2020) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2019.2933899 · Cited by 572
Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
Wang, W., Chen, G., Pan, X., Zhang, Y., Wang, X., Bindschaedler, V., Tang, H., & Gunter, C. A. (2017) · Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3133956.3134038 · Cited by 320
“terms of their AEX frequency (which are used by the prior research to detect page side-channel attacks [34], [14]), we ran the page-fault attack, B-SPM and T-SPM against the latest version of Libgcrypt (v1.”
BackgroundMethodInfluentialSelf-citationSgxPectre: Stealing Intel Secrets from SGX Enclaves Via Speculative Execution
Chen, G., Chen, S., Xiao, Y., Zhang, Y., Lin, Z., & Lai, T. H. (2019) · 2019 IEEE European Symposium on Security and Privacy (EuroS&P) · doi:10.1109/eurosp.2019.00020 · Cited by 319
“am;they are not applicablein the detectionof the gadgets used in our attacks. Third, detecting page-fault attacks or interrupt-based attacks against SGX enclave usingIntel’shardwaretransactionalmemory[61,16,24]. These approaches can be used to detect frequent AEX. But they do not prevent SGXPECTRE Attacks. 9 Conclusio…”
BackgroundSelf-citationEnclaveDB: A Secure Database Using SGX
Priebe, C., Vaswani, K., & Costa, M. (2018) · 2018 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2018.00025 · Cited by 284
CacheZoom: How SGX Amplifies the Power of Cache Attacks
Moghimi, A., Irazoqui, G., & Eisenbarth, T. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-66787-4_4 · Cited by 237
SGX-Step: A Practical Attack Framework for Precise Enclave Execution Control
Van Bulck, J., Piessens, F., & Strackx, R. (2017) · Proceedings of the 2nd Workshop on System Software for Trusted Execution · doi:10.1145/3152701.3152706 · Cited by 179
“Déjà Vu [2] instruments an enclave program to detect frequent preemptions through a reliable in-enclave reference clock thread that uses TSX to ensure it cannot be silently stopped by an untrusted OS.”
BackgroundOblix: An Efficient Oblivious Search Index
Mishra, P., Poddar, R., Chen, J., Chiesa, A., & Popa, R. A. (2018) · 2018 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2018.00045 · Cited by 168
Security Vulnerabilities of SGX and Countermeasures: A Survey
Fei, S., Yan, Z., Ding, W., & Xie, H. (2022) · ACM Computing Surveys · doi:10.1145/3456631 · Cited by 122
“The experiment results in [10] showed that the best policy for anomaly detection is application-specific, even so, such anomaly detection techniques supported by Déjá vu can be used to effectively thwart the page-fault driven attacks against the SGX.”
BackgroundMethodInfluentialSoK: SGX.Fail: How Stuff Gets eXposed
Van Schaik, S., Seto, A., Yurek, T., Batori, A., AlBassam, B., Genkin, D., Miller, A., Ronen, E., Yarom, Y., & Garman, C. (2024) · 2024 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp54263.2024.00260 · Cited by 31
Establishing Trusted I/O Paths for SGX Client Systems With Aurora
Liang, H., Li, M., Chen, Y., Jiang, L., Xie, Z., & Yang, T. (2020) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2019.2945621 · Cited by 25
Metadata
- Authors
- Chen, S., Zhang, X., Reiter, M. K., & Zhang, Y.
- Venue
- Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security
- Publisher
- ACM
- Published
- 2017-04-02
- Pages
- 7-18
- OpenAlex
- W2599829375
- Cited by
- 171
- References
- 52
- FWCI
- 12.70
- Type
- conference paper
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.