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
Using innovative instructions to create trustworthy software solutions
Hoekstra, M., Lal, R., Pappachan, P., Phegade, V., & Del Cuvillo, J. (2013) · Proceedings of the 2nd International Workshop on Hardware and Architectural Support for Security and Privacy · doi:10.1145/2487726.2488370 · Cited by 347 · 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…”
MethodRaceTrack: efficient detection of data race conditions via adaptive tracking
Yu, Y., Rodeheffer, T., & Chen, W. (2005) · ACM SIGOPS Operating Systems Review · doi:10.1145/1095809.1095832 · Cited by 318
Learning from mistakes: Factors that influence how students and residents learn from medical errors
Fischer, M. A., Mazor, K. M., Baril, J., Alper, E., DeMarco, D., & Pugnaire, M. (2006) · Journal of General Internal Medicine · doi:10.1111/j.1525-1497.2006.00420.x · Cited by 258
Checking for Race Conditions in File Accesses
Bishop, M., & Dilger, M. (1996) · Cited by 241
Iago attacks: why the system call API is a bad untrusted RPC interface
Checkoway, S., & Shacham, H. (2013) · Proceedings of the eighteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/2451116.2451145 · Cited by 215 · cited 3×
“Furthermore, Haven tries to defend against Iago attacks be sanitising and checking the parameters of Ecalls and results of Ocalls.”
BackgroundConMem: detecting severe concurrency bugs through an effect-oriented approach
Zhang, W., Sun, C., & Lu, S. (2010) · ACM SIGPLAN Notices · doi:10.1145/1735971.1736041 · Cited by 116
Finding concurrency bugs with context-aware communication graphs
Lucia, B., & Ceze, L. (2009) · IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1145/1669112.1669181 · Cited by 113 · 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].”
BackgroundConMem: detecting severe concurrency bugs through an effect-oriented approach
Zhang, W., Sun, C., & Lu, S. (2010) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/1736020.1736041 · Cited by 108 · 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].”
BackgroundMoat: Verifying Confidentiality of Enclave Programs
Sinha, R., Rajamani, S. K., Seshia, S. A., & Vaswani, K. (2015) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/2810103.2813608 · Cited by 105 · cited 1×
“Moat [24] makes a first step towards the verification of SGX enclaves.”
BackgroundKivati: fast detection and prevention of atomicity violations
Chew, L., & Lie, D. (2010) · European Conference on Computer Systems · doi:10.1145/1755913.1755945 · Cited by 83 · 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].”
BackgroundIago attacks: why the system call API is a bad untrusted RPC interface
Checkoway, S., & Shacham, H. (2013) · ACM SIGARCH Computer Architecture News · doi:10.1145/2490301.2451145 · Cited by 51
Making parallel programs reliable with stable multithreading
Yang, J., Cui, H., Wu, J., Tang, Y. S., & Hu, G. (2014) · Communications of the ACM · doi:10.1145/2500875 · Cited by 38 · cited 1×
“If parallelism is needed, one can also adapt other techniques to work inside enclaves such as Stable Multithreading [30] or use tools such as ThreadSanitizer [23] during development in order to find and eliminate synchronisation bugs.”
MethodFixing races for fun and profit: how to use access(2)
Dean, D., & Hu, A. J. (2004) · Cited by 37
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
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.