Skip to main content
QUICK REVIEW

[Paper Review] Aurora: Providing Trusted System Services for Enclaves On an Untrusted System

Hongliang Liang, Mingyu Li|arXiv (Cornell University)|Feb 10, 2018
Security and Verification in ComputingComputer Science50 references9 citations
TL;DR

Aurora is a novel architecture that provides trusted system services (TSS) for Intel SGX enclaves by leveraging system management RAM (SMRAM) and system management interrupts (SMI) to securely offload critical I/O operations from the untrusted OS. It enables high-precision, attack-aware time and end-to-end secure networking with only ~1ms overhead, making it practical for real-world applications like SQLite and OpenSSL.

ABSTRACT

Intel SGX provisions shielded executions for security-sensitive computation, but lacks support for trusted system services (TSS), such as clock, network and filesystem. This makes extit{enclaves} vulnerable to Iago attacks~\cite{DBLP:conf/asplos/CheckowayS13} in the face of a powerful malicious system. To mitigate this problem, we present Aurora, a novel architecture that provides TSSes via a secure channel between enclaves and devices on top of an untrusted system, and implement two types of TSSes, i.e. clock and end-to-end network. We evaluate our solution by porting SQLite and OpenSSL into Aurora, experimental results show that SQLite benefits from a extit{microsecond} accuracy trusted clock and OpenSSL gains end-to-end secure network with about 1ms overhead.

Motivation & Objective

  • Address the critical lack of trusted system services (TSS) like clock and network in Intel SGX, which exposes enclaves to Iago attacks.
  • Mitigate vulnerabilities arising from reliance on untrusted OS services for time and network I/O, which are susceptible to spoofing, tampering, and traffic analysis.
  • Design a secure, extensible, and transparent framework that integrates with commodity hardware and operating systems without modification.
  • Enable trusted, high-precision time and end-to-end secure networking for enclaves to strengthen the security of real-world applications like SQLite and OpenSSL.

Proposed method

  • Leverages SMRAM as a hardware-protected, privileged enclave to host a secure SMI handler that directly accesses I/O devices without OS involvement.
  • Uses SMI-based event-driven I/O with exit-less interrupts and batching to minimize performance overhead compared to monolithic kernel I/O.
  • Employs identity authentication, hardware encryption, and constant-time protocols to ensure confidentiality and integrity of communication between enclaves and the SMI handler.
  • Introduces a secure session establishment mechanism between enclaves and the SMI handler using remote attestation and cryptographic authentication.
  • Supports POSIX-compliant system calls for TSS access, enabling seamless integration with existing enclave applications.
  • Designs and implements two TSSs: a high-precision, attack-aware clock service and an end-to-end secure network service using commodity network adapters.

Experimental results

Research questions

  • RQ1How can trusted system services (TSS) such as clock and network be securely provided for SGX enclaves on an untrusted system?
  • RQ2Can a secure I/O path be established between enclaves and hardware devices without relying on the untrusted OS or kernel?
  • RQ3How can high-precision, absolute time be provided to enclaves while detecting time spoofing and monotonicity attacks?
  • RQ4Can end-to-end secure network I/O be achieved for enclaves with minimal performance overhead and strong confidentiality and integrity guarantees?
  • RQ5Is it possible to build a TSS framework that is transparent to existing OS and hardware, extensible to new devices, and secure against advanced attacks like DMA and interrupt spoofing?

Key findings

  • Aurora successfully implements a high-precision, attack-aware trusted clock service that detects time spoofing and provides microsecond-level accuracy.
  • The end-to-end secure network TSS achieves strong confidentiality and integrity with only about 1ms overhead per I/O operation, enabling secure communication without relying on untrusted network stacks.
  • Evaluation with SQLite shows measurable performance benefits from using the trusted clock, particularly in time-sensitive operations.
  • OpenSSL integration demonstrates that Aurora enables end-to-end secure network I/O with minimal performance degradation, making it viable for real-world cryptographic workloads.
  • The prototype is extensible and supports both a hardware timer and a commodity network adapter, with no modifications required to commercial OS or hardware.
  • Security analysis confirms that Aurora prevents common Iago-style attacks such as system call snooping, I/O traffic analysis, and time tampering, while maintaining transparency and efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.