How DPI Can Inspect Encrypted Traffic over TLS in a Privacy-Preserving Manner

Research Seminar / Tutorial, National University of Singapore, 2020

Overview

The widespread adoption of TLS encryption has rendered traditional deep packet inspection (DPI) — used by network middleboxes to detect anomalies and security threats — largely ineffective. This tutorial explores how DPI can be performed directly over encrypted TLS traffic without exposing users’ plaintext data or an enterprise’s proprietary inspection rule set, drawing on techniques from applied cryptography.

What You Will Learn

  • Why TLS encryption challenges conventional network security inspection, and what the threat model looks like
  • What must remain private: user traffic (from the middlebox) and enterprise rules (from the middlebox provider)
  • How BlindBox (SIGCOMM 2015) enables encrypted traffic inspection using garbled circuits, and the high setup latency this incurs
  • How PrivDPI overcomes this with a new rule encryption technique and reusable obfuscated rules, reducing setup overhead by orders of magnitude
  • How Pine extends privacy guarantees with rule-hiding and faster TLS connection establishment