Docsity

network security network security, Slides of Internet and Information Access

Toggle sidebar
bg1
Part 1: The Defense Arsenal (The Four Pillars)
Modern security relies on "Defense in Depth"—a layered strategy
where if one control fails, another is there to catch the threat. We
rely on four foundational pillars.
1. Pillar One: Firewalls (The "Bouncer")
Definition: A network security device that monitors and controls
incoming and outgoing network traffic based on predetermined
security rules.
The Evolution (Exam Critical):
oPacket Filtering (Stateless): The "Old School" method. It
looks only at the "envelope" of the data (Source IP,
Destination IP, Port). It is fast but blind to the contents.
Analogy:
A bouncer checking IDs at the door. If the
name is on the list, they get in, regardless of what
they are carrying.
oNext-Generation Firewall (NGFW): The "Modern
Standard." It performs Deep Packet Inspection (DPI). It
looks inside the "envelope" to identify applications and
malicious payloads (e.g., a virus hiding inside legitimate
web traffic).
Analogy:
Airport TSA scanning your luggage. They
don't just check your ticket; they X-ray your bag for
weapons.
2. Pillar Two: VPNs & Encryption (The "Tunnel")
Definition: A Virtual Private Network (VPN) creates an encrypted
connection (tunnel) over a less secure network like the internet.
Mechanism: Encapsulation. The original data packet is
wrapped inside a new, encrypted packet.
o
Analogy:
Placing a postcard inside a locked steel box
before mailing it. The postman sees the box, but not the
message.
The Protocol (Important):
pf3
pf4
pf5

Partial preview of the text

Download network security network security and more Slides Internet and Information Access in PDF only on Docsity!

Part 1: The Defense Arsenal (The Four Pillars) Modern security relies on "Defense in Depth"—a layered strategy where if one control fails, another is there to catch the threat. We rely on four foundational pillars.

  1. Pillar One: Firewalls (The "Bouncer") Definition: A network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules.  The Evolution (Exam Critical): o Packet Filtering (Stateless): The "Old School" method. It looks only at the "envelope" of the data (Source IP, Destination IP, Port). It is fast but blind to the contents.

 Analogy: A bouncer checking IDs at the door. If the

name is on the list, they get in, regardless of what they are carrying. o Next-Generation Firewall (NGFW): The "Modern Standard." It performs Deep Packet Inspection (DPI). It looks inside the "envelope" to identify applications and malicious payloads (e.g., a virus hiding inside legitimate web traffic).

 Analogy: Airport TSA scanning your luggage. They

don't just check your ticket; they X-ray your bag for weapons.

  1. Pillar Two: VPNs & Encryption (The "Tunnel") Definition: A Virtual Private Network (VPN) creates an encrypted connection (tunnel) over a less secure network like the internet.  Mechanism: Encapsulation. The original data packet is wrapped inside a new, encrypted packet.

o Analogy: Placing a postcard inside a locked steel box

before mailing it. The postman sees the box, but not the message.  The Protocol (Important):

o TLS (Transport Layer Security): The current standard for secure communication (used in HTTPS and VPNs). o SSL (Secure Sockets Layer): The predecessor to TLS. It is

deprecated and considered unsafe. Always answer "TLS"

on exams.

  1. Pillar Three: Network Segmentation (The "Titanic" Strategy) Definition: The practice of splitting a network into smaller, isolated sub-networks (VLANs).  The Problem: Lateral Movement. Once hackers breach a weak point (like a printer), they try to move sideways to critical servers.  The Solution: Segmentation acts as a barrier.

o Analogy: The Titanic’s watertight compartments. If the

hull is breached in Section A, the doors seal so Section B remains dry.

o Rule: Never allow direct traffic between high-risk zones

(Guest Wi-Fi) and high-value zones (Corporate Database). Part 2: The Mathematics of Trust (Encryption) Core Concept: How do we establish a secure channel over an insecure public network? The Algorithm: Diffie-Hellman Key Exchange Objective: Two parties (Alice and Bob) must independently calculate the same "Shared Secret" without ever transmitting it. The Workflow (Memorize this Sequence):

  1. Public Agreement: o Alice and Bob agree on two public numbers: a Base ($g$) and a Prime Modulus ($p$).

o Example: $g = 5$, $p = 23$.

  1. Private Selection:

Scenario: An unpatched SQL database containing credit card info.  Threat = 9/10: Attacks are constant and automated.  Vulnerability = 9/10: The patch is missing; the door is wide open.  Impact = 10/10: Data loss would result in massive fines and lawsuits. Calculation: $$Risk = 9 \times 9 \times 10 = \mathbf{810}$$ Interpretation: A score of 810/1000 defines this as a Critical Priority. It overrides lower-risk tasks (like a printer glitch with a risk score of 20). Part 4: The "Six Golden Policies" (Rules of the Road) Policies are the practical application of the Risk Formula. They are designed to lower specific variables (Vulnerability or Impact). Policy Name Technical Control The Rule & Analogy Variable Reduced

  1. The Bouncer

NGFW

Rule: Inspect payload content. Analogy: Check the luggage, not just the ID. Vulnerabilit y

  1. The Tunnel

TLS VPN

Rule: Encrypt all transit data. Analogy: Lock the letter in a steel box. Vulnerabilit y

  1. The Titanic Segmentati on Rule: Isolate guest/vendor networks. Impact

Policy Name Technical Control The Rule & Analogy Variable Reduced Analogy: Seal watertight doors to stop sinking.

  1. The Two-Key

MFA

Rule: Require password + phone code. Analogy: Need vault key + manager's key. Vulnerabilit y

  1. The Valet Key Least Privilege Rule: Min. permissions necessary. Analogy: Valet can park car, but not open trunk. Impact
  2. The Vaccine Patching Rule: Update within 48 hours. Analogy: Get the shot before the virus hits. Vulnerabilit y Closing Argument for Exam/Presentation "We cannot control the Threat (hackers exist). However, by aggressively applying Patching and MFA (lowering Vulnerability), and strictly enforcing Segmentation and Least Privilege (lowering Impact), we mathematically force the Risk Score down. Security is not chance; it is managed risk."