Skip to main content
QUICK REVIEW

[Paper Review] SPX: Preserving End-to-End Security for Edge Computing

Ketan Bhardwaj, Ming-Wei Shih|arXiv (Cornell University)|Sep 24, 2018
Security and Verification in ComputingComputer Science30 references7 citations
TL;DR

SPX is a framework that enables end-to-end secure edge computing by extending protocols like TLS and Noise with Intel SGX-based remote attestation, allowing edge functions to process encrypted traffic without breaking security or performance guarantees. It achieves E³ security—equivalent to end-to-end semantics—while maintaining transparency to clients and low overhead.

ABSTRACT

Beyond point solutions, the vision of edge computing is to enable web services to deploy their edge functions in a multi-tenant infrastructure present at the edge of mobile networks. However, edge functions can be rendered useless because of one critical issue: Web services are delivered over end-to-end encrypted connections, so edge functions cannot operate on encrypted traffic without compromising security or degrading performance. Any solution to this problem must interoperate with existing protocols like TLS, as well as with new emerging security protocols for client and IoT devices. The edge functions must remain invisible to client-side endpoints but may require explicit control from their service-side web services. Finally, a solution must operate within overhead margins which do not obviate the benefits of the edge. To address this problem, this paper presents SPX - a solution for edge-ready and end-to-end secure protocol extensions, which can efficiently maintain end-to-edge-to-end ($E^3$) security semantics. Using our SPX prototype, we allow edge functions to operate on encrypted traffic, while ensuring that security semantics of secure protocols still hold. SPX uses Intel SGX to bind the communication channel with remote attestation and to provide a solution that not only defends against potential attacks but also results in low performance overheads, and neither mandates any changes on the end-user side nor breaks interoperability with existing protocols.

Motivation & Objective

  • Address the critical challenge of enabling edge functions to process encrypted traffic without compromising end-to-end security or performance.
  • Ensure compatibility with existing and emerging secure protocols (e.g., TLS, Noise) and diverse client devices, including IoT and mobile clients.
  • Provide transparent, non-intrusive operation that requires no changes to end-user devices or protocols.
  • Mitigate known attacks on remote attestation—such as TOCTTOU and cuckoo attacks—by binding the secure execution environment to the communication channel.
  • Achieve practical deployability in multi-tenant, distributed edge infrastructures with minimal performance overhead.

Proposed method

  • Extend existing secure protocols (TLS, Noise) with SPX protocol extensions to enable secure, authenticated access to encrypted traffic at the edge.
  • Use Intel SGX to isolate edge functions and enforce remote attestation for verifying the trustworthiness of the edge execution environment.
  • Bind the remote attestation report directly to the TLS session via a channel-binding mechanism, preventing TOCTTOU and cuckoo attacks.
  • Integrate SPX at the web service side to control access to encrypted traffic, ensuring only authorized, attested edge functions can decrypt and process data.
  • Leverage SGX’s memory encryption and secure enclaves to protect data in use, while minimizing performance impact through optimized cryptographic operations.
  • Design the system to be transparent to clients, avoiding any need for client-side changes or new protocols on end devices.

Experimental results

Research questions

  • RQ1How can edge functions securely process end-to-end encrypted traffic without breaking end-to-end security guarantees?
  • RQ2Can a solution be built that is both interoperable with existing protocols like TLS and emerging protocols like Noise, and transparent to end-user devices?
  • RQ3How can remote attestation be securely bound to the communication channel to prevent TOCTTOU and cuckoo attacks in edge environments?
  • RQ4What performance overhead does a secure, edge-ready protocol extension incur, and can it preserve the low-latency benefits of edge computing?
  • RQ5Is it feasible to deploy such a system in a multi-tenant, distributed edge infrastructure without requiring changes to client devices or protocols?

Key findings

  • SPX successfully enables edge functions to operate on encrypted traffic while preserving end-to-end security semantics, achieving E³ security equivalent to native end-to-end encryption.
  • The prototype demonstrates low performance overhead, with memory page encryption and lack of vectorized crypto operations being the main contributors, but still significantly lower than alternatives like BlindBox using searchable encryption.
  • SPX prevents TOCTTOU and cuckoo attacks by binding the remote attestation report to the TLS session, ensuring that only a trusted, attested edge function can access decrypted data.
  • The solution is interoperable with existing protocols and does not require changes to end-user devices, making it suitable for heterogeneous edge deployments including IoT and mobile clients.
  • SPX enables full access to encrypted traffic with minimal trust assumptions, unlike prior solutions that either break security or impose prohibitive performance costs.
  • Compared to prior work like mbTLS and SafeBricks, SPX avoids requiring client-side IPsec or TLS modifications, and eliminates the need for per-client tunnels, improving scalability and deployability in edge settings.

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.