Middlebox Technologies with Intel SGX
Shiv Kushwah & Sumukh Shivakumar
1
Middlebox Technologies with Intel SGX A Literature Survey Shiv - - PowerPoint PPT Presentation
Middlebox Technologies with Intel SGX A Literature Survey Shiv Kushwah & Sumukh Shivakumar 1 Whats all the fuss with middleboxes? 2 Background 3 What are middleboxes? 4 Middleboxes in the Cloud Cloud APLOMB gateway Enterprise
Shiv Kushwah & Sumukh Shivakumar
1
2
3
4
5
APLOMB gateway Enterprise Cloud
APLOMB: Making Middleboxes Someone Else’s Problem - Network Processing as a Cloud Service
6
7
8
Intel SGX Enclave Untrusted App Code Untrusted OS Syscalls, Network Calls
ECALL
Trusted App Code
OCALL
Enclave Host Int x = 7; …
Quoting Enclave Expected
Enclave Host Int x = 8; …
Quoting Enclave Expected
12
13
14
15
Security
enclave?
protection?
code? Features
chaining?
Usability
16
Security
enclave?
protection?
code? Features
chaining?
Usability
17
Security
enclave?
protection?
code? Features
chaining?
Usability
18
Security
enclave?
protection?
code? Features
chaining?
Usability
19
Decrypt and Inspect Secure Processing in Third Parties Resource Efficiencies
PRI SGX-Box mbTLS S-NFV Safebricks ShieldBox Snort w/ SGX LightBox Trusted Click EndBox
20
2016
Attestation for key sharing Snort based Click Based Framework Stateful Attestation for key sharing Click Based Packet decryption
EndBox [June 2018] Trusted Click [March 2017] LightBox [Nov 2019] Snort w/ SGX [Feb 2018] ShieldBox [Sept 2017] Safebricks [April 2018] S-NFV [Nov 2016] SGX-Box [Aug 2017] mbTLS [Dec 2017] PRI [May 2016] 2017 2018 2019
21
22
2016
Attestation for key sharing Snort based Click Based Framework Stateful Attestation for key sharing Click Based Packet decryption
EndBox [June 2018] Trusted Click [March 2017] LightBox [Nov 2019] Snort w/ SGX [Feb 2018] ShieldBox [Sept 2017] Safebricks [April 2018] S-NFV [Nov 2016] SGX-Box [Aug 2017] mbTLS [Dec 2017] PRI [May 2016] 2017 2018 2019
Enclave Middlebox
Network I/O
Untrusted App
23
Inspection Remote Attestation
SGX-BOX: Enabling Visibility on Encrypted Traffic using a Secure Middlebox Module PRI: Privacy Preserving Inspection of Encrypted Network Traffic
mbTLS: And Then There Were More - Secure Communication for More Than Two Parties
24
25
26
2016
Attestation for key sharing Snort based Click Based Framework Stateful Attestation for key sharing Click Based Packet decryption
EndBox [June 2018] Trusted Click [March 2017] LightBox [Nov 2019] Snort w/ SGX [Feb 2018] ShieldBox [Sept 2017] Safebricks [April 2018] S-NFV [Nov 2016] SGX-Box [Aug 2017] mbTLS [Dec 2017] PRI [May 2016] 2017 2018 2019
27
○ Need to protect confidentiality of traffic ○ Securely and efficiently read packets ○ Securely enable NF chaining ○ Protect NF vendor code
○ Click ○ Snort ○ NF-enclave specific approaches
28
APLOMB Enterprise Cloud
29
30
Middlebox Untrusted
Network I/O
Trusted Click: Overcoming Security issues of NFV in the Cloud
Enclave Enclave Enclave
31
32
Enclave Middlebox Untrusted
NIC
Snort IDS with Intel Software Guard Extensions
Graphene-SGX
Snort
33
etap client Enclave Middlebox
Network I/O etap Stateful Processing
State management Gateway
LightBox: Full-stack Protected Stateful Middlebox at Lightning Speed
34
○ Connections go through client SGX middleboxes because of VPN keys ■ Connections sent directly are refused ○ After, necessary processing, SGX middlebox forwards traffic accordingly
35
https://www.ibr.cs.tu-bs.de/users/goltz sch/slides/endbox-dsn18.pdf
EndBox: Scalable Middlebox Functions Using Client-Side Trusted Execution
36
37