ZeroTrace : Oblivious Memory Primitives from Intel SGX
Open accessThe DOI matches its Crossref record; 49 of the 49 references it cites were found in a registry or an index.
Abstract
We are witnessing a confluence between applied cryptography and secure hardware systems in enabling secure cloud computing.On one hand, work in applied cryptography has enabled efficient, oblivious data-structures and memory primitives.On the other, secure hardware and the emergence of Intel SGX has enabled a low-overhead and mass market mechanism for isolated execution.By themselves these technologies have their disadvantages.Oblivious memory primitives carry high performance overheads, especially when run non-interactively.Intel SGX, while more efficient, suffers from numerous softwarebased side-channel attacks, high context switching costs, and bounded memory size.In this work we build a new library of oblivious memory primitives, which we call ZeroTrace.ZeroTrace is designed to carefully combine state-of-the-art oblivious RAM techniques and SGX, while mitigating individual disadvantages of these technologies.To the best of our knowledge, ZeroTrace represents the first oblivious memory primitives running on a real secure hardware platform.ZeroTrace simultaneously enables a dramatic speed-up over pure cryptography and protection from softwarebased side-channel attacks.The core of our design is an efficient and flexible block-level memory controller that provides oblivious execution against any active software adversary, and across asynchronous SGX enclave terminations.Performance-wise, the memory controller can service requests for 4 B blocks in 1.2 ms and 1 KB blocks in 3.4 ms (given a 10 GB dataset).On top of our memory controller, we evaluate Set/Dictionary/List interfaces which can all perform basic operations (e.g., get/put/insert). A. This WorkWe address this challenge by designing and implementing ZeroTrace -an oblivious library enabling applications to be built out of fine-grained building-blocks at the application's data-structure interface boundary.Any operation on the data stored by the library is protected using SGX enclaves and remains secure against all software attacks, including all known side-channels.Partitioning applications at the oblivious data-structure boundary hits a sweet spot for several reasons.First, the data-structure interface is narrow, which makes it easier to sanitize application to data-structure requests-improving intra-Network and
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
Kocher, P., Jaffe, J., & Jun, B. (1999) · Lecture Notes in Computer Science · doi:10.1007/3-540-48405-1_25 · Cited by 7,407
Fully homomorphic encryption using ideal lattices
Gentry, C. (2009) · Proceedings of the forty-first annual ACM symposium on Theory of computing · doi:10.1145/1536414.1536440 · Cited by 6,806 · cited 1×
“Up until recently, secure cloud computing could only be achieved through cryptography (e.g., fully homomorphic encryption – FHE [12]), or through course-grained hardware isolation techniques (e.g., Intel TPM+TXT [18], [26], [14]).”
BackgroundResilient distributed datasets: a fault-tolerant abstraction for in-memory cluster computing
Zaharia, M., Chowdhury, M., Das, T., Dave, A., Ma, J. H., McCauley, M., Franklin, M. J. M., Shenker, S. J., & Stoica, I. G. (2012) · UC Berkeley · Cited by 4,952
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
Software protection and simulation on oblivious RAMs
Goldreich, O., & Ostrovsky, R. (1996) · Journal of the ACM · doi:10.1145/233551.233553 · Cited by 1,617 · cited 3×
“Our memory controller, which implements an Oblivious RAM (ORAM) protocol [13], can be called as a subroutine in a larger application and defends against any active software adversary.”
BackgroundMethodCache Attacks and Countermeasures: The Case of AES
Osvik, D. A., Shamir, A., & Tromer, E. (2006) · Lecture Notes in Computer Science · doi:10.1007/11605805_1 · Cited by 1,352 · cited 1×
“Using a shared resource (e.g., a cache [16], [19], [23], [31], [45], [47], [55], [58] or branch predictor [21]) can be detected by an adversary and can reveal fine-grain details about program execution.”
Background(2016) · IACR Cryptology ePrint Archive · Cited by 1,288
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×
“Recently, Intel released an instruction set extension called Software Guard Extensions (SGX) which addresses the above performance challenges [9], [27], [28].”
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 1×
“Using a shared resource (e.g., a cache [16], [19], [23], [31], [45], [47], [55], [58] or branch predictor [21]) can be detected by an adversary and can reveal fine-grain details about program execution.”
BackgroundControlled-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 4×
“Similarly, a malicious OS can induce and monitor appli-13 cation page fault behavior to learn program memory access patterns [53].”
BackgroundMethodInfluentialOblivious multi-party machine learning on trusted processors
Ohrimenko, O., Schuster, F., Fournet, C., Mehta, A., Nowozin, S., Vaswani, K., & Costa, M. (2016) · MPG.PuRe (Max Planck Society) · Cited by 657
Flicker: 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×
“Up until recently, secure cloud computing could only be achieved through cryptography (e.g., fully homomorphic encryption – FHE [12]), or through course-grained hardware isolation techniques (e.g., Intel TPM+TXT [18], [26], [14]).”
BackgroundSCONE: secure Linux containers with Intel SGX
(2016) · Operating Systems Design and Implementation · doi:10.5555/3026877.3026930 · Cited by 582
Native Client: A Sandbox for Portable, Untrusted x86 Native Code
Yee, B., Sehr, D., Dardyk, G., Chen, J. B., Muth, R., Ormandy, T., Okasaka, S., Narula, N., & Fullagar, N. (2009) · 2009 30th IEEE Symposium on Security and Privacy · doi:10.1109/sp.2009.25 · Cited by 549
Cache 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
Shielding Applications from an Untrusted Cloud with Haven
Baumann, A., Peinado, M., & Hunt, G. (2015) · ACM Transactions on Computer Systems · doi:10.1145/2799647 · Cited by 463 · cited 1×
“Alternatively, a number of works study how to load unmodified applications into enclaves [2], [4], [17], [46].”
BackgroundProofs of retrievability: theory and implementation
Bowers, K. D., Juels, A., & Oprea, A. (2009) · Proceedings of the 2009 ACM workshop on Cloud computing security · doi:10.1145/1655008.1655015 · Cited by 447 · cited 1×
“Without changing the application-side interface, this backend can be transparently changed to support a different ORAM, different security level for memory protection (e.g., plain encryption) or different security primitive entirely (e.g., a proof of retrievability [5]).”
BackgroundEfficient Cache Attacks on AES, and Countermeasures
Tromer, E., Osvik, D. A., & Shamir, A. (2010) · Journal of Cryptology · doi:10.1007/s00145-009-9049-y · Cited by 444 · cited 1×
“Using a shared resource (e.g., a cache [16], [19], [23], [31], [45], [47], [55], [58] or branch predictor [21]) can be detected by an adversary and can reveal fine-grain details about program execution.”
BackgroundOpaque: an oblivious and encrypted distributed analytics platform
Zheng, W., Dave, A., Beekman, J. G., Popa, R. A., Gonzalez, J. E., & Stoica, I. G. (2017) · Networked Systems Design and Implementation · Cited by 440
Malware Guard Extension: Using SGX to Conceal Cache Attacks
Schwarz, M., Weiser, S., Gruss, D., Maurice, C., & Mangard, S. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-60876-1_1 · Cited by 339 · cited 3×
“Correspondingly, the literature has demonstrated attacks that extract sensitive data through hardware resource pressure (e.g., cache [6], [35], [48] and branch predictor [21]) and the application’s page-level access pattern [7], [53]. b) EPC scope: Since the integrity verification tree for EPC pages…”
BackgroundMethodT-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 · cited 1×
“…between defenses that detect if an enclave is undergoing a shared resource attack based on frequency or magnitude of enclave exits/interruptions (e.g., T-SGX [38] and Deja Vu [8]) and new attacks (e.g., Brasser et al. [6], Wang et al. [48]) that work towards reducing the required enclave exits.”
BackgroundCross-Tenant Side-Channel Attacks in PaaS Clouds
Zhang, Y., Juels, A., Reiter, M. K., & Ristenpart, T. (2014) · Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2660267.2660356 · Cited by 327 · cited 1×
“Using a shared resource (e.g., a cache [16], [19], [23], [31], [45], [47], [55], [58] or branch predictor [21]) can be detected by an adversary and can reveal fine-grain details about program execution.”
BackgroundTelling your secrets without page faults: stealthy page table-based attacks on enclaved execution
Bulck, J. V., Weichbrodt, N., Kapitza, R., Piessens, F., & Strackx, R. (2017) · Lirias · Cited by 325
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 · cited 3×
“…between defenses that detect if an enclave is undergoing a shared resource attack based on frequency or magnitude of enclave exits/interruptions (e.g., T-SGX [38] and Deja Vu [8]) and new attacks (e.g., Brasser et al. [6], Wang et al. [48]) that work towards reducing the required enclave exits.”
BackgroundMethodWait a Minute! A fast, Cross-VM Attack on AES
Irazoqui, G., Inci, M. S., Eisenbarth, T., & Sunar, B. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-11379-1_15 · Cited by 258 · cited 1×
“Using a shared resource (e.g., a cache [16], [19], [23], [31], [45], [47], [55], [58] or branch predictor [21]) can be detected by an adversary and can reveal fine-grain details about program execution.”
BackgroundYang, K., Hicks, M., Dong, Q., Austin, T., & Sylvester, D. (2016) · 2016 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2016.10 · Cited by 255 · cited 1×
“We do not defend against hardware attacks (e.g., power analysis [20] or EM emissions [36]), compromised manufacturing (e.g., hardware trojans [54]) or denial of service attacks.”
BackgroundObliviStore: High Performance Oblivious Cloud Storage
Stefanov, E., & Shi, E. (2013) · 2013 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2013.25 · Cited by 248 · cited 2×
“To achieve obliviousness, the standard approach is for the client to use an Oblivious RAM protocol where the client runs the ORAM controller locally [41], [52].”
MethodSoftware Grand Exposure: SGX Cache Attacks Are Practical
Brasser, F., Müller, U., Dmitrienko, A., Kostiainen, K., Čapkun, S., & Sadeghi, A. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1702.07521 · Cited by 234 · cited 4×
“…between defenses that detect if an enclave is undergoing a shared resource attack based on frequency or magnitude of enclave exits/interruptions (e.g., T-SGX [38] and Deja Vu [8]) and new attacks (e.g., Brasser et al. [6], Wang et al. [48]) that work towards reducing the required enclave exits.”
BackgroundMethodInfluentialInferring 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 · cited 3×
“…has demonstrated attacks that extract sensitive data through hardware resource pressure (e.g., cache [6], [35], [48] and branch predictor [21]) and the application’s page-level access pattern [7], [53]. b) EPC scope: Since the integrity verification tree for EPC pages is located in the…”
BackgroundMethodCircuit ORAM: On Tightness of the Goldreich-Ostrovsky Lower Bound
Wang, X., Chan, H., & Shi, E. (2015) · Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2810103.2813634 · Cited by 225 · cited 7×
“We now briefly highlight the differences between Circuit ORAM [49] and Path ORAM.”
BackgroundMethodInfluentialPHANTOM: practical oblivious computation in a secure processor
Maas, M., Love, E., Stefanov, E., Tiwari, M., Shi, E., Asanovic, K., Kubiatowicz, J., & Song, D. (2013) · Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13 · doi:10.1145/2508859.2516692 · Cited by 209 · cited 3×
“2) Caching the ORAM tree: A popular Tree ORAM optimization is to cache the top portion of the ORAM tree in a fast memory [24], [33].”
BackgroundMethodMolnar, D., Piotrowski, M., Schultz, D., & Wagner, D. (2006) · Lecture Notes in Computer Science · doi:10.1007/11734727_14 · Cited by 199 · cited 1×
“Thus security against software attacks reduces to accessing in-enclave data in a data oblivious fashion [13], [29], [30], [32].”
BackgroundPanoply: Low-TCB Linux Applications with SGX Enclaves
Shinde, S., Le Tien, D., Tople, S., & Saxena, P. (2017) · Proceedings 2017 Network and Distributed System Security Symposium · doi:10.14722/ndss.2017.23500 · Cited by 191 · cited 3×
“The default approach, natively supported by Intel SGX, is to manually partition the application into trusted and untrusted code [40], [59].”
BackgroundMethodPreventing Page Faults from Telling Your Secrets
Shinde, S., Chua, Z. L., Narayanan, V., & Saxena, P. (2016) · Proceedings of the 11th ACM on Asia Conference on Computer and Communications Security · doi:10.1145/2897845.2897885 · Cited by 191 · cited 1×
“Shinde et al. [39] proposed compiler-based defense mechanisms against page-level attacks by moving secret-dependent control and data flows into the same page.”
BackgroundA secure processor architecture for encrypted computation on untrusted programs
Fletcher, C. W., Dijk, M. V., & Devadas, S. (2012) · Proceedings of the seventh ACM workshop on Scalable trusted computing · doi:10.1145/2382536.2382540 · Cited by 188 · cited 1×
“Another similar direction of research is secure hardware projects such as Phantom [24], Aegis [44] and Ascend [11].”
Self-citationRaccoon: closing digital side-channels through obfuscated execution
Rane, A., Lin, C., & Tiwari, M. (2015) · Cited by 182
Ryoan: a distributed sandbox for untrusted computation on secret data
Hunt, T., Zhu, Z., Xu, Y., Peter, S., & Witchel, E. (2016) · Operating Systems Design and Implementation · doi:10.5555/3026877.3026919 · Cited by 170
ROTE: Rollback Protection for Trusted Execution
Matetić, S., Ahmed, M., Kostiainen, K., Dhar, A., Sommer, D., Gervais, A., Juels, A., & Čapkun, S. (2017) · UCL Discovery (University College London) · Cited by 160
Strong and efficient cache side-channel protection using hardware transactional memory
Gruss, D., Lettner, J., Schuster, F., Ohrimenko, O., Haller, I., & Costa, M. (2017) · TUGraz OPEN Library (Graz University of Technology) · Cited by 160
Onion ORAM: A Constant Bandwidth Blowup Oblivious RAM
Devadas, S., van Dijk, M., Fletcher, C. W., Ren, L., Shi, E., & Wichs, D. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-662-49099-0_6 · Cited by 158 · cited 1×
“This idea has been explored by combining homomorphic encryption with ORAM [10], and by the ORAM-based systems Oblivistore [41] and ObliviAd [3] (which assume hypothetical secure hardware).”
MethodSelf-citationObliviAd: Provably Secure and Practical Online Behavioral Advertising
Backes, M., Kate, A., Maffei, M., & Pecina, K. (2012) · IEEE Symposium on Security and Privacy (S&P) · doi:10.1109/sp.2012.25 · Cited by 145 · cited 1×
“This idea has been explored by combining homomorphic encryption with ORAM [10], and by the ORAM-based systems Oblivistore [41] and ObliviAd [3] (which assume hypothetical secure hardware).”
MethodCooperation and security isolation of library OSes for multi-process applications
Tsai, C.-C., Arora, K. S., Bandi, N., Jain, B., Jannen, W. K., John, J., Kalodner, H., Kulkarni, V., Oliveira, D. S., & Porter, D. E. (2014) · European Conference on Computer Systems · doi:10.1145/2592798.2592812 · Cited by 125 · cited 1×
“Alternatively, a number of works study how to load unmodified applications into enclaves [2], [4], [17], [46].”
BackgroundFlicker: an execution infrastructure for tcb minimization
McCune, J. M., Parno, B. J., Perrig, A., Reiter, M. K., & Isozaki, H. (2008) · ACM SIGOPS Operating Systems Review · doi:10.1145/1357010.1352625 · Cited by 121
AEGIS: A single-chip secure processor
Suh, G. E., O'Donnell, C. W., & Devadas, S. (2005) · Information Security Technical Report · doi:10.1016/j.istr.2005.05.002 · Cited by 119 · cited 1×
“Another similar direction of research is secure hardware projects such as Phantom [24], Aegis [44] and Ascend [11].”
Liu, C., Harris, A., Maas, M., Hicks, M., Tiwari, M., & Shi, E. (2015) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/2694344.2694385 · Cited by 114 · cited 2×
“GhostRider [22] proposed a software-hardware hybrid approach to achieve program obliviousness.”
BackgroundMethodvan de Pol, J., Smart, N. P., & Yarom, Y. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-16715-2_1 · Cited by 64 · cited 1×
“Using a shared resource (e.g., a cache [16], [19], [23], [31], [45], [47], [55], [58] or branch predictor [21]) can be detected by an adversary and can reveal fine-grain details about program execution.”
BackgroundMalware Guard Extension: Using SGX to Conceal Cache AttacksPreprint
Schwarz, M., Weiser, S., Gruss, D., et al. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1702.08719 · Cited by 45 · cited 3×
“Correspondingly, the literature has demonstrated attacks that extract sensitive data through hardware resource pressure (e.g., cache [6], [35], [48] and branch predictor [21]) and the application’s page-level access pattern [7], [53]. b) EPC scope: Since the integrity verification tree for EPC pages…”
BackgroundMethodCircuit ORAM: On Tightness of the Goldreich-Ostrovsky Lower Bound
Wang, X. S., Chan, T.-H. H., & Shi, E. (n.d.) · Cited by 40
Aegis: A single-chip secure processor
Suh, G. E., O'Donnell, C., & Devadas, S. (2007) · IEEE Design & Test of Computers · doi:10.1109/mdt.2007.4343587 · Cited by 23
Cited by
Oblix: 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
“ZeroTrace [57] uses a doubly-oblivious Path ORAM”
MethodSoK: 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
Metadata
- Authors
- Sasy, S., Gorbunov, S., & Fletcher, C. W.
- Venue
- Proceedings 2018 Network and Distributed System Security Symposium
- Publisher
- Internet Society
- Published
- 2018
- Volume
- 2017
- Pages
- 549
- OpenAlex
- W2793957616
- Cited by
- 191
- References
- 49
- FWCI
- 10.82
- Type
- conference paper
- Language
- en
- Open access
- bronze
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.