Domain 4Network SecurityCORE

Network Defense: Firewalls, IDS/IPS & VPN

Network defense architecture: packet filtering, stateful inspection, next-generation firewalls (NGFW), signature vs anomaly IDS/IPS, and IPsec VPN topologies.

Domain: Domain 4: Communication and Network Security•Updated: 2026-08-26
#Network Defense#Firewalls#NGFW#IDS/IPS#VPN#IPsec#Proxy Servers#DDoS Mitigation

CISSP Domain 4: Network Defense: Firewalls, IDS/IPS & VPN — Mindmap Review Study Guide

Network Defense - CISSP Study Material

PART 1: MERMAID MINDMAP

mindmap
  root((Network Defense))
    Defense in Depth
      Multiple layers of controls
      Preventive detective corrective
      Cost effective controls
    Network Segmentation
      Partitioning networks
      Control traffic flow
      Different control levels
    Network Perimeter
      Internal vs internet boundary
      Never use trusted network
      Zero Trust
    DMZ
      Demilitarized Zone
      Bastion hosts placement
      Restrict internal traffic
    Bastion Host
      Withstand attacks
      Public facing servers
    Proxy
      Intermediary server
      Read filter control
      Hide devices
    NAT PAT
      Network Address Translation
      Port Address Translation
      Remap IP addresses
      Remap port numbers
    Firewalls
      Control traffic flow
      Packet Filtering
        Layer 3 network layer
        Inspect headers only
        ACL rules
        Low latency
      Stateful Packet Filtering
        Layer 3 network layer
        State table memory
        Track TCP handshake
        SYN SYN ACK ACK
      Circuit Proxy
        Layer 5 session layer
        Session establishment
      Application Firewall
        Layer 7 application layer
        Deep packet inspection
        Reassemble packets
        Slowest highest latency
    IDS IPS Systems
      Intrusion Detection System
        Detect suspicious activity
        Raise alarm
      Intrusion Prevention System
        Detect and block traffic
        Prevent attacks
      Host Based
        Installed on specific host
        Monitor single host
      Network Based
        Connected to segment
        Monitor all traffic
      In-line Connection
        All traffic passes through
        IPS often in-line
        Point of failure risk
        Fails-secure causes DoS
      Mirror Span Promiscuous
        Switch port configuration
        Copy all packets to IDS
        Common for IDS
      Pattern Matching
        Signature analysis
        Unique fingerprint
        Byte sequences
        Fast efficient
        Only detect programmed
      Anomaly Detection
        Learn normal baseline
        Detect outside behavior
        Stateful matching
        Statistical analysis
        Protocol anomaly
        Traffic anomaly
      White Black Lists
        Allow list preferred
        Deny list preferred
        Block or allow IPs
      Sandbox
        Safe area untrusted code
        Observe code behavior
        Detect malicious activity
    Honeypots Honeynets
      Look like real systems
      Not used by organization
      Carefully monitored
      Detect threat actors
      Honeynet network of honeypots
      Detect APTs
    Ingress Egress
      Ingress traffic entering
      Egress traffic leaving
      Detect breaches via egress
      Malware calling home
    Endpoint Security
      Secure endpoints critical
      Laptops mobile devices
      Harden configure patch
      Strong authentication

PART 2: TECHNICAL DEFINITIONS & CONCEPTS

Defense in Depth

Defense in Depth — Security strategy using multiple layers of controls so that if one control fails, valuable assets (crown jewels) remain protected. At each layer, a combination of preventive, detective, and corrective controls must be implemented at minimum.

Cost Effective Controls — All security technology and controls must be balanced against the value of the assets being protected; expensive technology must justify its cost relative to asset value.

Network Segmentation

Network Segmentation (Partitioning) — Breaking networks into pieces/segments/partitions to control the flow of traffic between them. Different segments can have differing levels of controls applied (e.g., guest network with limited controls vs. back-end database segment with extensive controls).

Network Perimeter

Network Perimeter — The boundary between an organization’s internal network and the internet, with controlled traffic flow typically managed by a firewall.

⚠️ EXAM TIP: Never Use “Trusted Network” Concept — You should never use the concept of an internal TRUSTED network. You must always assume that attackers (baddies) are inside your network. There is no trusted network.

Zero Trust — Security model that assumes no network is trusted and that threat actors may already be inside the network perimeter.

DMZ

DMZ (Demilitarized Zone) — Network segment where bastion hosts are placed; these are systems intentionally accessible by the public over the internet (web servers, mail servers, FTP servers). These systems are fully expected to be attacked. If compromised within a DMZ, the attacker does not gain a foothold in the internal network. Traffic from DMZ to internal network is severely restricted. DMZ is essentially connected out to the internet.

Bastion Host

Bastion Host — Computers/servers specifically configured to withstand attacks. Typically public-facing servers like web servers that are placed in the DMZ.

Proxy

Proxy — Server located between two devices that acts as an intermediary such that all traffic between the devices must pass through the proxy. Allows the proxy to read, filter, and control communications, and can hide the devices behind the proxy.

NAT / PAT

NAT (Network Address Translation) — Method of remapping (swapping) an IP address to another by modifying the IP header of packets when they pass through a proxy. Typically remaps from an internal unrouteable IP address to a publicly routable address when packets pass from inside the network to the internet. The proxy remaps returning responses, changing the destination IP address from the proxy’s IP to the internal system’s IP address.

PAT (Port Address Translation) — Same concept as NAT except the port number is remapped instead of the IP address.

Firewalls

Firewall — Fundamental network security tool whose job is to control the flow of traffic between network segments (e.g., controlling what traffic from the internet is allowed to the internal network).

Packet Filtering Firewalls

Packet Filtering Firewall — Oldest and simplest firewall type. Only inspects packet headers, looking at source and destination IP addresses and ports against a set of rules typically defined in an Access Control List (ACL). Not very smart but extremely efficient with very low latency (doesn’t slow traffic flow much). Operates at Layer 3 (network layer).

Stateful Packet Filtering Firewalls

Stateful Packet Filtering Firewall — Still only looks at packet headers but maintains a state table (memory that keeps history of recent traffic). Records when systems complete the TCP three-way handshake (SYN, SYN/ACK, ACK) to establish a connection. If either system sends packets to the other, the firewall allows it because it knows they established a connection. Blocks packets from systems that haven’t established a connection. If it sees a packet going out, it allows the reply to come back in because it remembers the outgoing packet in its state table. Operates at Layer 3 (network layer).

Circuit Proxy Firewalls

Circuit Proxy Firewall — Operates at Layer 5 (session layer). Understands what is happening at the session layer and allows a circuit/session to be established if it complies with predefined rules.

Application Firewalls

Application Firewall — Operates at Layer 7 (application layer). Can perform deep packet inspection, inspecting anything in the packet header and reassembling a series of packets to inspect the contents of data being sent. Can scan files for viruses. Very intelligent and can make sophisticated decisions. However, this intelligence comes at the cost of speed—they are the slowest type of firewall and cause the highest latency.

Modern Firewalls — Most modern firewalls offer capabilities of all firewall types discussed. They can make quick decisions by looking at packet headers and apply thorough analysis by inspecting packet contents when necessary, providing benefits of both speed and intelligence.

IDS & IPS Systems

IDS (Intrusion Detection System) — Designed to inspect network traffic (packets) to detect potentially suspicious activity. If something suspicious is detected, it raises an alarm.

IPS (Intrusion Prevention System) — Does exactly the same thing as an IDS (attempts to detect suspicious activity) but goes an important step further: if something suspicious is detected, it can block the suspicious traffic, hence preventing an attack from occurring. Can detect and block traffic on their own (unlike IDS which needs to work in combination with a firewall to block traffic).

IDS/IPS Locations

Host Based IDS/IPS — Installed on a specific host, typically a high-value server. Monitors just the host it is installed on. To monitor multiple hosts, you need a host-based IDS or IPS system on each host.

Network Based IDS/IPS — Connected to a network segment and monitors all traffic within that network segment.

Network-Based Connection Methods

In-line Connection — All traffic coming in and out of a network segment must pass through the IDS or IPS. IPSs are often installed in-line. Advantage: if IPS detects unwanted traffic, it can easily block it since all traffic passes through. Major downside: it is another point of failure. If the in-line IDS or IPS goes down or fails-secure, all traffic will be blocked, causing a Denial of Service.

Mirror, Span, Promiscuous Port — Connected to a switch with the specific switch port configured as mirror, span, or promiscuous. By default, a switch only forwards packets to the intended system, so the IDS/IPS wouldn’t see most traffic. Setting a port to mirror/span/promiscuous means all packets going through the switch are copied and sent to the IDS/IPS for monitoring. More common to install an IDS in this configuration.

IDS/IPS Detection Methods

Pattern Matching (Signature Analysis) — IDS/IPS is programmed to look for a specific pattern (e.g., specific type of network attack) and will alert or block if that pattern is detected. Signature is a unique fingerprint for a specific type of network attack. System has specific patterns/signatures programmed to look for things like byte sequences in network traffic or known malicious instruction sequences. Advantage: fast and efficient. Downside: can only detect what they have been programmed to detect.

Anomaly Based Detection — Different approach that doesn’t rely on signatures, meant to address the weakness that pattern matching can only detect what programmed. System learns what normal looks like (establishes a baseline) and looks for behaviors that fall outside the accepted model of behavior (anomalous behaviors).

Stateful Matching — IDS/IPS looks for anomalies in the context of a stream of traffic. Maintains a state table and can detect if a system starts sending TCP packets to another system that it hasn’t established a session with.

Statistical Anomaly Detection — IDS/IPS compares traffic to typical, known, or predicted traffic profiles to look for statistically significant anomalies from the norm.

Protocol Anomaly Detection — Anomalies detected based on network protocols being used. Certain protocols can be defined as allowed, and all others will be an anomaly (e.g., organization allows only SFTP, so FTP or TFTP traffic is an anomaly).

Traffic Anomaly Detection — Identifies anomalies in expected pattern and behavior of network traffic transmitted within a session.

White & Black Lists

White List (Allow List) — List of IPs that a system is allowed to connect to; all other IPs are blocked. “Allow list” is a better name.

Black List (Deny List) — List of IPs that a system is not allowed to connect to; access is denied and all other IPs are allowed. “Deny list” is a better name.

IDS or IPS can be programmed to inspect traffic based on these allow or deny lists.

Sandbox

Sandbox — Provides a safe area to run untrusted code and observe what the code is doing (e.g., attempting to install ransomware). IDS/IPS can detect an executable file being transmitted, take a copy, run it in a sandbox to see what the code does, and if nefarious, alert and potentially block the file from reaching the intended victim system.

Honeypots & Honeynets

Honeypot — System that looks as close as possible to a real system (file server, print server, database, industrial control system) but is not a real system meant to be used by employees or clients. Carefully monitored; if someone tries to connect to and use the honeypot, that is a very good indicator of a threat actor in the network exploring and looking for systems to compromise.

Honeynet — Whole network of honeypots.

Honeypots/Honeynets for APT Detection — Good way of detecting Advanced Persistent Threats (APTs).

Ingress vs. Egress

Ingress Monitoring — Monitoring traffic coming into a network (e.g., from the internet).

Egress Monitoring — Monitoring traffic leaving a network. Organizations often detect breaches by watching egress traffic. If traffic is going out to a known bad IP address, that’s a good indication that malware has infected a company system and is “calling home” (E.T. phone home).

Endpoint Security

Endpoint Security — You can never have a secure network if endpoints (laptops, mobile phones, iPads, Alexa devices, IP security cameras, etc.) are not secure. Critical to secure and harden endpoint devices by ensuring they are correctly configured, patched, have strong authentication, and so forth.