Snort入侵检测系统,带英特尔Software Guard扩展(英特尔SGX)
Snort Intrusion Detection System with Intel Software Guard Extension (Intel SGX)
摘要:
网络功能虚拟化(NFV)通过将网络中间盒外包给公共云或私有云,承诺降低基础设施、人员和管理成本的好处。不幸的是,在云中运行网络功能会带来安全挑战,特别是对于复杂的有状态服务。在本文中,我们介绍了我们使用英特尔软件防护扩展(英特尔SGX)技术强化中间盒之王-入侵检测系统(IDS)的经验。我们的IDS使用英特尔SGX进行保护,称为SEC-IDS,是一个未经修改的Snort 3,具有DPDK网络层,可实现10 Gbps的线路速率。SEC-IDS通过在英特尔SGX安全区内运行所有Snort代码来保证计算完整性。同时,SEC-IDS通过将网络I/O保留在安全区之外,实现了接近本机的性能,吞吐量接近vanilla Snort 3的100%。我们的实验表明,性能仅受当前基于英特尔SGX Skylake的E3 Xeon平台上提供的适度飞地页面缓存大小的限制。最后,我们通过使用Graphene-SGX库操作系统将移植工作量降至最低。Snort中仅修改了27行代码(LoC),而Graphene-SGX本身仅修改了178行代码。
英文摘要:
Network Function Virtualization (NFV) promises the benefits of reduced infrastructure, personnel, and management costs by outsourcing network middleboxes to the public or private cloud. Unfortunately, running network functions in the cloud entails security challenges, especially for complex stateful services. In this paper, we describe our experiences with hardening the king of middleboxes - Intrusion Detection Systems (IDS) - using Intel Software Guard Extensions (Intel SGX) technology. Our IDS secured using Intel SGX, called SEC-IDS, is an unmodified Snort 3 with a DPDK network layer that achieves 10Gbps line rate. SEC-IDS guarantees computational integrity by running all Snort code inside an Intel SGX enclave. At the same time, SEC-IDS achieves near-native performance, with throughput close to 100 percent of vanilla Snort 3, by retaining network I/O outside of the enclave. Our experiments indicate that performance is only constrained by the modest Enclave Page Cache size available on current Intel SGX Skylake based E3 Xeon platforms. Finally, we kept the porting effort minimal by using the Graphene-SGX library OS. Only 27 Lines of Code (LoC) were modified in Snort and 178 LoC in Graphene-SGX itself.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。