AsyncShock: Exploiting Synchronisation Bugs in Intel SGX Enclaves
Open accessThe DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
Intel’s Software Guard Extensions (SGX) provide a new hardware-based trusted execution environment on Intel CPUs using secure enclaves that are resilient to accesses by privileged code and physical attackers. Originally designed for securing small services, SGX bears promise to protect complex, possibly cloud-hosted, legacy applications. In this paper, we show that previously considered harmless synchronisation bugs can turn into severe security vulnerabilities when using SGX. By exploiting use-after-free and time-of-check-to-time-of-use (TOCTTOU) bugs in enclave code, an attacker can hijack its control flow or bypass access control.
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
Eraser: a dynamic data race detector for multithreaded programs
Savage, S., Burrows, M., Nelson, G., Sobalvarro, P., & Anderson, T. (1997) · ACM Transactions on Computer Systems · doi:10.1145/265924.265927 · Cited by 1,572
Innovative instructions and software model for isolated execution
McKeen, F., Alexandrovich, I., Berenzon, A., Rozas, C. V., Shafi, H., Shanbhogue, V., & Savagaonkar, U. R. (2013) · Proceedings of the 2nd International Workshop on Hardware and Architectural Support for Security and Privacy · doi:10.1145/2487726.2488368 · Cited by 1,095 · cited 1×
“SGX allows developers to create an isolated context inside their applications, called a secure enclave [18, 13].”
BackgroundLearning from mistakes: a comprehensive study on real world concurrency bug characteristics
Lu, S., Park, S., Seo, E., & Zhou, Y. (2008) · Proceedings of the 13th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1346281.1346323 · Cited by 895 · cited 1×
“Synchronisation bugs are caused by the improper synchronised access of shared data by multiple threads, and previous studies have shown that they are a widespread issue [15, 27].”
BackgroundAddressSanitizer: a fast address sanity checker
Serebryany, K., Bruening, D. L., Potapenko, A., & Vyukov, D. (2012) · USENIX Annual Technical Conference · Cited by 724
Controlled-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 2×
“Fine-grained page tracking can be used for powerful side channel attacks [28].”
BackgroundVC3: Trustworthy Data Analytics in the Cloud Using SGX
Schuster, F., Costa, M., Fournet, C., Gkantsidis, C., Peinado, M., Mainar-Ruiz, G., & Russinovich, M. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.10 · Cited by 595 · cited 1×
“Although it was initially assumed that only small tailored applications would be executed inside enclaves [11], a recent trend is to consider enclaves as a generic isolation environment for arbitrary applications: VC3 [21] uses enclaves to secure computation for the Hadoop map/reduce framework; Haven [2] places a libr…”
MethodThreadSanitizer: data race detection in practice
Serebryany, K., & Iskhodzhanov, T. (2009) · Proceedings of the Workshop on Binary Instrumentation and Applications · doi:10.1145/1791194.1791203 · Cited by 451 · cited 2×
“Although such bugs may seem benign and unlikely to occur, synchronisation bugs are likely to lead to exploitable security vulnerabilities [26, 7, 23].”
BackgroundMethodAVIO: detecting atomicity violations via access interleaving invariants
Lu, S., Tucek, J. A., Qin, F., & Zhou, Y. (2006) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/1168857.1168864 · Cited by 449 · cited 1×
“A large number of tools were proposed to help developers find different kinds of synchronisation bugs, such as atomicity violations [6, 8, 16], order violations [9, 17, 32] and data races [20, 31].”
BackgroundAtomizer: a dynamic atomicity checker for multithreaded programs
Flanagan, C., & Freund, S. N. (2004) · Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/964001.964023 · Cited by 409 · cited 2×
“A large number of tools were proposed to help developers find different kinds of synchronisation bugs, such as atomicity violations [6, 8, 16], order violations [9, 17, 32] and data races [20, 31].”
BackgroundShielding applications from an untrusted cloud with Haven
Baumann, A., Peinado, M., & Hunt, G. C. (2014) · Operating Systems Design and Implementation · doi:10.5555/2685048.2685070 · Cited by 359
Cited by
Ekiden: A Platform for Confidentiality-Preserving, Trustworthy, and Performant Smart Contracts
Cheng, R., Zhang, F., Kos, J., He, W., Hynes, N., Johnson, N., Juels, A., Miller, A., & Song, D. (2019) · 2019 IEEE European Symposium on Security and Privacy (EuroS&P) · doi:10.1109/eurosp.2019.00023 · Cited by 431
On Security Analysis of Proof-of-Elapsed-Time (PoET)
Chen, L., Xu, L., Shah, N., Gao, Z., Lu, Y., & Shi, W. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-69084-1_19 · Cited by 351
“Trusted computing components may fail to defend against tampering due to design/implementation bugs and attacks [18,31], and become compromised.”
BackgroundGötzfried, J., Eckert, M., Schinzel, S., & Müller, T. (2017) · Proceedings of the 10th European Workshop on Systems Security · doi:10.1145/3065913.3065915 · Cited by 351
T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
Shih, M.-W., Lee, S., Kim, T., & Peinado, M. (2017) · Proceedings 2017 Network and Distributed System Security Symposium · doi:10.14722/ndss.2017.23193 · Cited by 331
ZombieLoad: Cross-Privilege-Boundary Data Sampling
Schwarz, M., Lipp, M., Moghimi, D., Van Bulck, J., Stecklina, J., Prescher, T., & Gruss, D. (2019) · Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3319535.3354252 · Cited by 328
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
Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
Lee, S., Shih, M.-W., Gera, P., Kim, T., Kim, H., & Peinado, M. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1611.06952 · Cited by 227
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
“Subsequent work [14] has leveraged page faults as an enclave execution control technique to more easily exploit thread synchronization bugs in enclaves.”
BackgroundA comparison study of intel SGX and AMD memory encryption technology
Mofrad, S., Zhang, F., Lu, S., & Shi, W. (2018) · Proceedings of the 7th International Workshop on Hardware and Architectural Support for Security and Privacy · doi:10.1145/3214292.3214301 · Cited by 102
“Intel SGX was initially designed to secure microservices and small applications [60] such as securing a log-in process to a banking account or securing password manager applications [27] that interact with very security-sensitive but small amounts of data.”
BackgroundRaziel: Private and Verifiable Smart Contracts on Blockchains
Sánchez, D. C. (2018) · arXiv · doi:10.48550/arxiv.1807.09484 · Cited by 41
SoK: 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
Machine Learning with Confidential Computing: A Systematization of Knowledge
Mo, F., Tarkhani, Z., & Haddadi, H. (2022) · arXiv · doi:10.48550/arxiv.2208.10134 · Cited by 31
Position Paper: Challenges Towards Securing Hardware-assisted Execution Environments
Ning, Z., Zhang, F., Shi, W., & Shi, W. (2017) · Proceedings of the Hardware and Architectural Support for Security and Privacy · doi:10.1145/3092627.3092633 · Cited by 25
Metadata
- Authors
- Weichbrodt, N., Kurmus, A., Pietzuch, P., & Kapitza, R.
- Venue
- Lecture Notes in Computer Science
- Publisher
- Springer International Publishing
- Published
- 2016
- Pages
- 440-457
- ISSN
- 0302-9743 (ISSN-L)
- 1611-3349
- OpenAlex
- W2519006453
- Cited by
- 173
- References
- 23
- FWCI
- 15.61
- Type
- conference paper
- Language
- en
- Open access
- green
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.