Skip to main content
QUICK REVIEW

[Paper Review] Interface-Based Side Channel Attack Against Intel SGX

Jinwen Wang, Yueqiang Cheng|arXiv (Cornell University)|Oct 8, 2018
Security and Verification in ComputingComputer Science15 references10 citations
TL;DR

This paper introduces an interface-based side channel attack targeting Intel SGX that infers enclave input data by analyzing observable interface invocation patterns (e.g., ECALL/OCALL parameters, delays) exposed to untrusted OS software. The attack achieves 87.6% accuracy and 76.6% recall in identifying whether tracked web pages were processed by SGX-assisted NFV platforms, demonstrating a critical privacy leakage vector in trusted execution environments.

ABSTRACT

Intel has introduced a trusted computing technology, Intel Software Guard Extension (SGX), which provides an isolated and secure execution environment called enclave for a user program without trusting any privilege software (e.g., an operating system or a hypervisor) or firmware. Nevertheless, SGX is vulnerable to several side channel attacks (e.g. page-fault-based attack and cache-based attack). In this paper, we explore a new, yet critical side channel attack in SGX, interface-based side channel attack, which can infer the information of the enclave input data. The root cause of the interface-based side channel attack is the input dependent interface invocation information (e.g., interface information and invocation patterns) which can be observed by the untrusted privilege software can reveal the control flow in the enclave. We study the methodology which can be used to conduct the interface-based side channel attack. To illustrate the effectiveness of the interface-based side-channel attacks, we use our methodology to infer whether tracked web pages have been processed by the SGX-assisted NFV platforms and achieve the accuracy of 87.6% and recall of 76.6%. We also identify the packets which belong to the tracked web pages, with the accuracy of 67.9%and recall of 71.1%. We finally propose some countermeasures to defense the interface-based side channel attack in SGX-assisted applications.

Motivation & Objective

  • To identify and exploit a new side channel in Intel SGX that leaks information about enclave input data through observable interface invocation patterns.
  • To demonstrate the feasibility and effectiveness of this attack in real-world scenarios, particularly within SGX-assisted Network Function Virtualization (NFV) platforms.
  • To analyze how untrusted OS-level software can infer sensitive data by monitoring interface behavior such as parameter sizes and invocation timing.
  • To propose and evaluate countermeasures that reduce or eliminate the exposure of interface-based side channel information.

Proposed method

  • Collect enclave interface invocation patterns (e.g., ECALL/OCALL call frequency, parameter sizes, timing delays) from the untrusted OS during enclave execution.
  • Analyze the collected interface patterns using statistical and machine learning techniques to correlate them with specific input data or processing states.
  • Apply the attack methodology to SGX-assisted NFV platforms to infer whether specific web pages were processed by analyzing packet-level interface behavior.
  • Implement two countermeasures: (1) padding all interface data to a fixed size to obscure input-dependent patterns, and (2) batching interface calls to mask invocation timing and frequency.
  • Evaluate the performance overhead of countermeasures by measuring bandwidth and throughput impact on SGX-assisted IDS with varying rule counts and packet sizes.

Experimental results

Research questions

  • RQ1Can observable interface invocation patterns (e.g., ECALL/OCALL parameters and timing) in Intel SGX be exploited to infer sensitive input data?
  • RQ2To what extent can interface-based side channels leak information about enclave input in practical deployments like SGX-assisted NFV platforms?
  • RQ3How effective are proposed countermeasures in eliminating interface-based side channels without incurring prohibitive performance overhead?
  • RQ4What is the performance cost of applying padding and batching mechanisms to mitigate interface-based side channels in real-world SGX workloads?

Key findings

  • The interface-based side channel attack achieved 87.6% accuracy and 76.6% recall in identifying whether tracked web pages were processed by SGX-assisted NFV platforms.
  • The attack correctly identified packets belonging to tracked web pages with 67.9% accuracy and 71.1% recall, demonstrating practical feasibility in multi-page traffic scenarios.
  • The countermeasure using fixed-size packet padding reduced attack precision to nearly zero, effectively neutralizing the side channel.
  • The batch processing countermeasure introduced negligible performance overhead, with throughput degradation of only 0.1 Gbps when processing 5k IDS rules.
  • Combining both countermeasures (padding and batching) maintained high throughput while eliminating side-channel leakage, with a 4.6% to 20% bandwidth overhead depending on packet size.
  • The performance evaluation confirmed that the countermeasures are practical, as the total throughput degradation remained under 1 Gbps even under heavy workloads.

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.