☼
⌃
☰

Network Segmentation

Table of Contents

The practice of dividing a network into isolated segments to limit the blast radius of a breach and control traffic flow between zones. A foundational control in the Zero Trust Model, directly addressing Lateral movement by enforcing boundaries between hosts and services.

Overview

Traditional flat networks grant implicit trust between all hosts — a foothold anywhere gives access everywhere. Segmentation breaks this by enforcing explicit boundaries, requiring traffic between segments to pass through controlled chokepoints such as firewalls or access control lists.

Effective segmentation means a compromised workstation cannot directly reach a database server, a domain controller, or other sensitive infrastructure.

Approaches

VLANs

Virtual LANs divide a physical network into logical segments at layer 2. Common in on-premises environments. Traffic between VLANs requires routing through a firewall or layer 3 switch where rules can be applied.

Firewalls and ACLs

Enforce which segments can communicate and on which ports. East-west rules — between internal segments — are as important as north-south rules between internal and external networks.

Micro-segmentation

Fine-grained segmentation applied at the workload level rather than the network level. Each host or application is isolated individually. Common in cloud and virtualised environments. Enforced via software- defined networking or host-based firewalls.

DMZ

A demilitarised zone places internet-facing services in an isolated segment separate from internal infrastructure. Compromise of a DMZ host does not grant access to internal systems.

Relevance to Pentesting

Poor segmentation is one of the most common findings in CTF and real engagements. Things to look for:

  • Flat networks where all hosts can reach each other freely
  • Workstations that can reach domain controllers directly
  • SMB or RDP open between segments with no filtering
  • Database ports reachable from web application hosts
  • No east-west firewall rules despite VLANs existing on paper

A flat network turns any foothold into a pivot point for the entire environment.