VIRTUAL PRIVATE NETWORKS
CH 12 InfoSec Handbook
Securing Networks
For past few weeks, we’ve explored Network Attacks & mechanisms which can protect our Networks
But how do we protect our data while traversing WAN?
Securing Networks (cont.)
2 main ways for org’s to connect their networks with outside partners/vendors and internal but remote staff:
Dedicated Leased Lines
Non-shared, physically private WAN connections:
Shared Lines
Non-private (thus public!) WAN connections (i.e. Internet)
Q: So how do we ensure our network traffic has C of CIA over publicly shared WAN connections?
Virtual Private Networks (VPNs)
Creates a “virtual” tunnel connection routed through Internet from company’s trusted network to the remote office/workstation.
The CIA of VPNs
VPN Advantages
Your my Type of VPN
Primarily, VPN supports 2 types of communication:
Remote Access VPN
Connection between a user and the LAN
Remote Access VPN (cont.)
Site-to-Site VPN
Connects one LAN to another LAN over Internet
Site-to-Site VPN (cont.)
Types of Site-to-Site VPNs
Most orgs use both
VPNs & Firewalls
VPNs & Firewalls (cont.)
VPN Protocols
VPN supports secured communication over public network:
VPN connection has two phases:
VPN Protocols (cont.)
For secured connection, VPN protocols should support:
Tunneling
Data Authentication & Integrity
Data authentication guarantees authenticity of two parties communicating with each other
Anti-Replay Services
Services in which receiver device can reject duplicate packets or late arrival packets in order to protect against replay attacks
Network Data Encryption
Site-to-Site | Remote Access |
Internet Protocol Security (IPSec) | Point to Point Transport Protocol (PPTP) |
Generic Routing Encapsulation (GRE) | Layer Two Protocol (L2TP) |
Multi-Protocol Label Switch (MPLS) | Cisco L2F |
| SSL/TLS |
Implementation of VPN is based upon one of the following protocols:
Acthung! 🡪 This gets into some tech weeds, so best take notes …
Point-to-Point Protocol (PPP)
Point-to-Point Protocol (cont.)
First, there was PPTP
Point-to-Point Tunneling Protocol 🡪 RFC 2637
PPTP allows PPP to be tunneled through IP network & provided flow & congestion control & encryption for PPP packets
RIP PPTP
Replacement: L2TP
Layer Two Tunneling Protocol (L2TP) is extension of PPP
Tunnels most any Layer 2 (L2) traffic across IP networks
L2TP connection made up of 2 items: tunnel & session
While L2TP tunnels & connects, it does not authenticate nor encrypt data … #RutRoh
Need some Crypto, STAT!
L2TP is paired up with Internet Protocol Security (IPSec)
IPSec 101
There are 2 main security protocols:
There are 2 main modes:
IPSec (cont.)
Authentication Header (AH): supports data integrity, authentication, and optional anti-replay services
Encapsulation Security Payload (ESP): provides data confidentiality (encryption)
Together, AH and ESP provide the full set of security features for IP, and these are configured in a data structure called Security Association (SA).
IPSec (cont.)
Security Architecture for IP (RFC 4301)
IPSec - Authentication Header (AH)
IPSec - AH
In Transport Mode – Source IP not modified, & AH added after original IP header
In Tunnel Mode – New IPv4 header encapsulated in original IPv4 packet
IPSec - Encapsulation Security Protocol (ESP)
IPSec- ESP
In Transport Mode – IP payload is encrypted and the original headers are left intact�
In Tunnel Mode –, Entire original IP datagram is encrypted. However, new IP header is not included in the auth mechanism
IPSec- Internet Key Exchange (IKE)
Asymmetric Keys to get Symmetric Keys?
Asymmetric Keys to get Symmetric Keys?
Final Thoughts re: VPN