LightBox: Full-stack Protected Stateful Middlebox at Lightning Speed
Authors:
- Huayi DuanHDHuayi Duan
- Cong WangCWCong Wang
- Xingliang YuanXYXingliang Yuan
- Yajin ZhouYZYajin Zhou
- Qian WangQWQian Wang
- Kui RenKRKui Ren
Preprint
Abstract
Running off-site software middleboxes at third-party service providers has been a popular practice. However, routing large volumes of raw traffic, which may carry sensitive information, to a remote site for processing raises severe security concerns. Prior solutions often abstract away important factors pertinent to real-world deployment. In particular, they overlook the significance of metadata protection and stateful processing. Unprotected traffic metadata like low-level headers, size and count, can be exploited to learn supposedly encrypted application contents. Meanwhile, tracking the states of 100,000s of flows concurrently is often indispensable in production-level middleboxes deployed at real networks. We present LightBox, the first system that can drive off-site middleboxes at near-native speed with stateful processing and the most comprehensive protection to date. Built upon commodity trusted hardware, Intel SGX, LightBox is the product of our systematic investigation of how to overcome the inherent limitations of secure enclaves using domain knowledge and customization. First, we introduce an elegant virtual network interface that allows convenient access to fully protected packets at line rate without leaving the enclave, as if from the trusted source network. Second, we provide complete flow state management for efficient stateful processing, by tailoring a set of data structures and algorithms optimized for the highly constrained enclave space. Extensive evaluations demonstrate that LightBox, with all security benefits, can achieve 10Gbps packet I/O, and that with case studies on three stateful middleboxes, it can operate at near-native speed.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- The Dark Side(-Channel) of Mobile Devices: A Survey on Network Traffic AnalysisIEEE Communications Surveys & Tutorials, 2018
- SPABox: Safeguarding Privacy During Deep Packet Inspection at a MiddleBoxIEEE/ACM Transactions on Networking, 2017
- Analyzing Android Encrypted Network Traffic to Identify User ActionsIEEE Transactions on Information Forensics and Security, 2015
- The click modular routerACM Transactions on Computer Systems, 2000
- Corrigendum: “A New Approach to Proving the Correctness of Multiprocess Programs”ACM Transactions on Programming Languages and Systems, 1980