LightBox:全栈保护的有状态中间盒,速度快如闪电
LightBox: Full-stack Protected Stateful Middlebox at Lightning Speed
摘要:
在第三方服务提供商处运行非现场软件中间盒已经是一种流行的做法。然而,将可能携带敏感信息的大量原始流量路由到远程站点进行处理会引起严重的安全问题。先前的解决方案通常抽象出与实际部署相关的重要因素。特别是,它们忽略了元数据保护和有状态处理的重要性。不受保护的流量元数据,如低级头,大小和计数,可以被利用来学习所谓的加密应用程序内容。同时,在部署在真实网络中的生产级中间盒中,同时跟踪10万个流的状态通常是不可或缺的。我们介绍LightBox,这是第一个可以以接近本机速度驱动场外中间盒的系统,具有状态处理和迄今为止最全面的保护。LightBox基于商用可信硬件英特尔SGX构建,是我们系统研究如何使用领域知识和定制来克服安全区域固有局限性的产物。首先,我们引入了一个优雅的虚拟网络接口,允许方便地访问完全保护的数据包线速率,而无需离开飞地,就像从可信的源网络。其次,我们提供了完整的流状态管理,有效的有状态处理,通过定制一组数据结构和算法优化的高度约束的飞地空间。广泛的评估表明,LightBox具有所有安全优势,可以实现10 Gbps的数据包I/O,并且通过对三个有状态中间盒的案例研究,它可以以接近本机的速度运行。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。