Skip to main content
QUICK REVIEW

[Paper Review] Slick: Secure Middleboxes using Shielded Execution

Bohdan Trach, Alfred Krohmer|arXiv (Cornell University)|Sep 13, 2017
Software-Defined Networks and 5GComputer Science28 references11 citations
TL;DR

Slick is a secure middlebox framework that enables high-performance, line-rate network function (NF) processing on untrusted cloud servers by integrating Intel SGX-based shielded execution (via Scone) with DPDK for efficient packet I/O. It achieves near-native throughput and latency while supporting a wide range of NFs through a Click-based programming interface, secure enclaves, and custom optimizations for memory safety, state persistence, and NF chaining.

ABSTRACT

Cloud computing offers the economies of scale for computational resources with the ease of management, elasticity, and fault tolerance. To take advantage of these benefits, many enterprises are contemplating to outsource the middlebox processing services in the cloud. However, middleboxes that process confidential and private data cannot be securely deployed in the untrusted environment of the cloud. To securely outsource middleboxes to the cloud, the state-of-the-art systems advocate network processing over the encrypted traffic. Unfortunately, these systems support only restrictive middlebox functionalities, and incur prohibitively high overheads due to the complex computations involved over the encrypted traffic. This motivated the design of Slick --- a secure middlebox framework for deploying high-performance Network Functions (NFs) on untrusted commodity servers. Slick exposes a generic interface based on Click to design and implement a wide-range of NFs using its out-of-the box elements and C++ extensions. Slick leverages SCONE (a shielded execution framework based on Intel SGX) and DPDK to securely process confidential data at line rate. More specifically, Slick provides hardware-assisted memory protection, and configuration and attestation service for seamless and verifiable deployment of middleboxes. We have also added several new features for commonly required functionalities: new specialized Click elements for secure packet processing, secure shared memory packet transfer for NFs chaining, secure state persistence, an efficient on-NIC timer for SGX enclaves, and memory safety against DPDK-specific Iago attacks. Furthermore, we have implemented several SGX-specific optimizations in Slick. Our evaluation shows that Slick achieves near-native throughput and latency.

Motivation & Objective

  • To address the challenge of securely outsourcing middlebox processing to untrusted cloud environments without sacrificing performance.
  • To support a broad range of enterprise network functions (NFs) with programmability and line-rate performance.
  • To provide strong confidentiality and integrity guarantees for private data processed in untrusted cloud infrastructure.
  • To enable verifiable, portable, and transparent deployment of middleboxes via remote attestation and secure configuration.
  • To overcome the performance bottlenecks of end-to-end encrypted processing in prior systems by leveraging hardware-protected execution.

Proposed method

  • Slick uses a Click-based programming interface to define and compose network functions (NFs) using standard elements and C++ extensions.
  • All packet processing occurs inside Intel SGX enclaves, ensuring confidentiality and integrity of data and code.
  • Slick integrates Intel DPDK with the Scone shielded execution framework to enable high-speed, userspace packet I/O within secure enclaves.
  • It introduces new Click elements for secure packet processing, secure shared memory for NF chaining, and an on-NIC PTP timer for enclave timekeeping.
  • A secure state persistence layer enables fault tolerance and migration, while memory protection mechanisms defend against DPDK-specific Iago attacks.
  • Remote attestation and encrypted configuration loading ensure verifiable and trusted deployment in the cloud.

Experimental results

Research questions

  • RQ1Can a secure middlebox framework achieve near-native performance while ensuring strong confidentiality and integrity in untrusted cloud environments?
  • RQ2How can hardware-assisted secure enclaves (Intel SGX) be effectively combined with high-performance packet I/O frameworks (DPDK) for line-rate processing?
  • RQ3What system-level optimizations are required to support complex, stateful NFs in SGX enclaves without incurring prohibitive performance overhead?
  • RQ4How can secure, verifiable, and portable deployment of NFs be achieved in a cloud environment using remote attestation and encrypted configuration?
  • RQ5What new abstractions and components are needed to enable secure NF chaining, state persistence, and memory safety in SGX-based network processing?

Key findings

  • Slick achieves near-native throughput and latency across a wide range of network functions, with only a slight performance degradation due to general SGX memory access overhead.
  • The integration of DPDK with Scone enables efficient, high-speed packet I/O within SGX enclaves, overcoming the I/O bottleneck typical in enclave-based systems.
  • Slick supports a broad spectrum of enterprise NFs—including firewalls and IDS—using the same Click-based interface as plain-text processing, ensuring programmability and modularity.
  • The system provides verifiable deployment through remote attestation and encrypted configuration loading, enabling trust in untrusted cloud providers.
  • Custom components such as secure shared memory for NF chaining, on-NIC timekeeping, and memory protection against Iago attacks enhance security and usability.
  • Evaluation shows that Slick’s performance is close to native Click execution, with measurable but acceptable overheads, particularly in memory-intensive operations.

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.