Defending Networks Firewalls and VPNs

Firewall Fundamentals

  • Definition: A network firewall acts as a barrier between networks to block dangerous inbound and outbound communications.

  • Implementations: Includes home wireless routers (NetgearNetgear), enterprise routers (CiscoCisco), and dedicated hardware firewalls (WatchguardWatchguard).

  • Firewall Policy: A set of rules defined by five main criteria:

    • Direction: Inbound or outbound.

    • Source IP and Port.

    • Destination IP and Port.

    • Action: Allow or block.

  • Default Policy: The safest configuration uses the wildcard character ∗* to block all traffic (∗ ∗ ∗ ∗ ∗→allow/block*\,*\,*\,*\,* \rightarrow allow/block).

  • Advanced Features: Modern firewalls support protocol filtering (TCP, UDP, or ICMP), deep packet inspection of data payloads, and application-specific bandwidth restrictions.

Personal Firewalls

  • Integration: Part of the host operating system providing protection additional to the network firewall.

  • Use Case: Ideal for mobile devices (laptops) that connect to untrusted networks.

  • Management: Requires administrator privileges; company devices are often managed centrally to prevent attackers from disabling protection.

Virtual Private Networks (VPNs)

  • Purpose: Provides a private network connection across untrusted networks like the Internet for mobile workforces.

  • Components:

    • VPN Client: Software on the user's device.

    • VPN Server: Authenticates users and routes traffic; often a dedicated device or VPN concentrator.

    • Tunnel: An encrypted connection that treats the remote client as if it is on the local area network.

  • Security Layers: Employs encryption, hashes, digital signatures, and Message Authentication Codes (MACs) to ensure authenticity and integrity.

Security Risks and TOR

  • VPN Vulnerabilities: Remote machines bypass corporate firewalls; implementation flaws (e.g., MicrosoftMicrosoft vulnerabilities in 19981998); reliance on Internet reliability.

  • Privacy Limits: VPNs provide limited anonymity as servers are easily identified and data may be seized by law enforcement.

  • TOR (The Onion Router): Developed by the USNavalResearchLabUS Naval Research Lab in 19951995. It uses onion routing to hide network exit points, aiding activists like those in the ArabSpring(2010−)Arab Spring (2010-) or individuals like EdwardSnowden(2013)Edward Snowden (2013).

Questions & Discussion

  • Guest Lecture: EthanKingEthan King from BastionSecurityBastion Security is scheduled for a Thursday guest session.

  • Assignments: Assignment 3 is due Monday 4 May 23.594 \text{ May } 23.59. Assignment 4 will be released by the end of the week, due 18 May 23.5918 \text{ May } 23.59.