Skip to content

Lesson 2 of 9 · 26m

Zones, VLANs, and Microsegmentation Without the Mythology

Use coarse zones for stability and fine-grained policy where it reduces real lateral movement, while avoiding segmentation theater.

Segmentation advice usually fails in one of two directions. Either the network stays flat because microsegmentation sounds impossible, or the team builds thousands of rules that nobody understands and the first incident response change freezes the business. Good segmentation is boring, layered, and opinionated about what deserves separation.

A VLAN is not a security boundary by itself. It is a broadcast domain that becomes meaningful only when policy controls the paths in and out.

Coarse zones first

Start with a small number of zones whose trust properties everyone can explain:

users           employee endpoints, printers, conference devices
servers         internal application and database workloads
dmz             internet-facing services and reverse proxies
management      network devices, hypervisors, out-of-band controllers
iot/untrusted   cameras, sensors, vendor appliances, guest devices
development     build systems, test workloads, experiment infrastructure

The goal is not elegance. The goal is to answer quickly: should a printer reach a database? Should a camera reach the hypervisor API? Should a developer laptop administer a production load balancer? If the answer is no, make the default path fail.

Microsegment where identity is meaningful

Microsegmentation works best around workloads with clear service identities and stable communication patterns. A host firewall or distributed policy engine can express rules like this:

web-frontend -> api-service       tcp/443
api-service  -> postgres-primary  tcp/5432
api-service  -> redis-cache       tcp/6379
postgres-primary -> backup-agent  tcp/10000

That is stronger than source subnets alone because it survives address reuse and gives incident responders language they can reason about. It is weaker if labels are assigned by hand, drift from deployment reality, or can be edited by the same compromised workload.

Rules need direction and state

Most lateral movement does not look like a random scan for long. It uses valid services: SMB, WinRM, SSH, database clients, remote desktop, deployment agents, and administrative APIs. Direction matters. Workstations normally initiate connections to collaboration services; they do not need to accept SMB from every other workstation.

A practical host firewall policy often starts with boring hygiene:

New-NetFirewallRule -DisplayName "Block inbound SMB workstation-to-workstation" `
  -Direction Inbound -Protocol TCP -LocalPort 445 -Action Block `
  -RemoteAddress 10.20.0.0/16

That one rule will not stop a determined attacker, but it removes an easy primitive and creates telemetry when someone probes it.

Microsegmentation failure modes

The first failure mode is identity inflation: labels become so broad that app can reach db across every environment. The second is dependency blindness: blocking a health check, backup, or authentication flow and blaming security for instability. The third is shadow bypass: engineers route around policy with ad hoc tunnels because change takes weeks.

Build a fast exception path with expiration. A temporary rule without an expiry date is a permanent rule wearing a fake mustache.

Prove the boundary with tests

Do not test only that allowed traffic works. Test denied traffic from the right source, the wrong source, and after a credential or host migration:

nc -vz db.internal.example 5432
nmap -Pn -p 22,443,445,3389 --top-ports 20 10.30.14.0/24

The result matters less than whether enforcement, logs, and ownership agree. A silent pass is bad. A silent block can be worse if nobody can explain it.

Field notes

  • Do not mix production and development just because they share the same application name.
  • Segment management interfaces physically or logically; compromise there bypasses everything else.
  • Treat service meshes and host firewalls as complementary, not interchangeable, controls.
  • Autoscaling breaks static IP rules unless identity and inventory are automated.
  • Expect vendor appliances to demand broad access. Put them in the untrusted zone by default.

Was this lesson helpful?

Sign in to rate