Skip to content

Services, Wiki-Artikel und Blog-Beiträge durchsuchen

↑↓NavigierenEnterÖffnenESCSchließen
Network Segmentation and Microsegmentation for Zero Trust
Network & Endpoint Security

Network Segmentation and Microsegmentation for Zero Trust

Network segmentation under BSI IT-Grundschutz: how VLANs, DMZs and microsegmentation limit lateral movement and what Claroty found in OT networks.

Vincent Heinen Head of Offensive Services
Updated: November 27, 2026 7 min read
OSCP+ OSCP OSWP OSWA

Featured image AI-generated, editorially reviewed (EU AI Act Art. 50).

TL;DR

Network segmentation divides a network into zones separated by security boundaries. Without these boundaries, an attacker can move laterally unhindered after the initial access, warn the NSA and CISA. The BSI requires at least separate zones for the internal network, the DMZ and external connections. In 2026, Claroty found 16,745 game consoles in OT and healthcare networks and 4,915 connected vehicles in OT networks.

Table of Contents (8 sections)

Network segmentation divides a network into segments between which firewalls or packet filters only let explicitly permitted connections through. Without these boundaries, an attacker can move laterally through the network unhindered after taking over a computer, warn the NSA and CISA (lateral movement). Microsegmentation draws the boundaries down to individual servers and workloads.

Lateral movement in flat networks

Flat network: workstations and servers without a boundary

In a flat network, workstations, servers and devices sit side by side without a security boundary. If an attacker gets onto a computer, for example through phishing, they can reach the other systems from there. The NSA and CISA count missing segmentation among the ten most common misconfigurations their red and blue teams found in large organizations. In their assessment, organizations without separation are also considerably more vulnerable to ransomware.

Network segmentation: an example with VLANs

An example with separate VLANs:

  • The compromised workstation sits in the user VLAN and can only reach other segments through the firewall.
  • The firewall between the user VLAN and the server VLAN only lets approved services pass.

Colonial Pipeline 2021: ransomware in the IT network

On May 7, 2021, Colonial Pipeline discovered a ransom note on a system in its IT network; the ransomware group DarkSide had deployed its malware there. The company shut down all 5,500 miles of pipeline so that the malware would not spread into the OT network that controls pipeline operations. Whether it had already reached that network was unclear at the time, CEO Joseph Blount told the US Senate. The US agency CISA had no indication that the attackers had got into the OT network. According to Blount, they had entered through an old VPN profile that was no longer supposed to be in use. CISA then recommended robust segmentation between IT and OT networks to operators of critical infrastructure.

Consumer devices in OT networks: the Claroty report 2026

According to a report by the security vendor Claroty dated November 17, 2026, cars, watches and game consoles run in VLANs next to turbine controls, MRI scanners and building security systems. By its own account, Claroty analyzed more than 45 million assets at over 30,000 critical infrastructure sites:

Device typeNumberNetworks
Game consoles16,745OT and healthcare networks
Smart home and entertainment devices44,059OT networks
Connected vehicles4,915OT networks

In healthcare, most of the consoles were set up in children's hospitals, where they serve the patients. Of the 14,628 consoles there, 13,939 (95.3 percent) were connected to the production network instead of a guest or IoT network. In industry and commerce, 892 of 963 consoles (89.5 percent) were on the production network. Almost no vehicle was isolated in a guest network. Devices like these can serve attackers as a springboard into critical networks, Claroty writes.

VLAN segmentation under BSI IT-Grundschutz

The BSI's IT-Grundschutz (module NET.1.1) requires separate segments for clients and servers, with traffic between them passing at least through a stateful packet filter. Guest access gets its own segments, and a segment only contains devices with a similar security level. If VLANs are used, it must be ensured that they cannot be bypassed.

Example of a VLAN structure for SMEs

VLANFunctionSubnet
VLAN 10Server (Production)192.168.10.0/24
VLAN 20Server (Development)192.168.20.0/24
VLAN 30Users (Standard)192.168.30.0/24
VLAN 40Users (Management/IT)192.168.40.0/24
VLAN 50IoT/printers/devices192.168.50.0/24
VLAN 60Wi-Fi guests192.168.60.0/24
VLAN 70VoIP192.168.70.0/24
VLAN 80Backup systems192.168.80.0/24
VLAN 90Management (network devices)192.168.90.0/24
VLAN 100OT/ICS (if present)10.10.0.0/24

Firewall rules between VLANs

FromToRule
UsersServersonly required ports, such as 443 (HTTPS) and 445 (SMB) if needed
UsersUsersblock everything, no connections between workstations
IoT and printersServersblock everything, allow necessary services individually
Guestsinternalblock everything, internet access only
BackupServersonly the ports of the backup software
Managementall networksonly for administrators from the IT VLAN

Cisco switchport configuration for VLANs

interface GigabitEthernet0/1
  description "User Workstation Port"
  switchport mode access
  switchport access vlan 30
  spanning-tree portfast
  storm-control broadcast level 20
  ip dhcp snooping limit rate 15

interface GigabitEthernet0/24
  description "Trunk to Firewall"
  switchport mode trunk
  switchport trunk allowed vlan 10,20,30,40,50,60,70,80,90,100

DMZ architecture

Demilitarized zone: zones and transitions

According to the BSI, the overall network must be divided into at least three zones: the internal network, the demilitarized zone (DMZ) and external connections. Firewalls secure the transitions and only forward permitted communication (allowlist). Services that can be reached from the internet belong in an external DMZ. Systems on the internet or in the external DMZ must not access the internal network.

Examples of services in the DMZ:

  • web server (HTTPS, port 443)
  • mail gateway (SMTP 25, IMAPS 993)
  • VPN concentrator
  • reverse proxy or web application firewall
  • jump server (bastion host) for external administrators

Basic rules for the transitions:

  • internet to the DMZ: only individual, required ports
  • DMZ to the internal network: only what is necessary, such as database or LDAP connections
  • internal network to the DMZ: administration from the IT VLAN
  • internet to the internal network: no direct access

Bastion host and jump server

  • the only access point for external administrators
  • heavily hardened, SSH or RDP only, no other services
  • login with multi-factor authentication, as CISA recommends for remote access to IT and OT networks
  • record all sessions, for example with a PAM system
  • end sessions after inactivity

For administrator access to AWS instances, EC2 Instance Connect places a public SSH key in the instance metadata for 60 seconds when the connection is established.

What is microsegmentation?

Classic network segmentation and microsegmentation compared

Classic segmentation works at the VLAN and subnet level: all servers in VLAN 10 can communicate with each other. A web server then reaches the database, but also the backup server.

Microsegmentation works at the workload level: each server only establishes connections that are explicitly permitted. The web server, for example, only reaches port 3306 on the one database server, and all other connections are blocked (default deny). For increased protection requirements, IT-Grundschutz provides for small segments with the same protection requirements, especially in the DMZ.

NIST names microsegmentation as one way to a zero trust architecture (SP 800-207). Individual resources or small groups sit in their own segments, protected by a gateway such as a next-generation firewall.

Tools: host firewall, VMware NSX and Illumio

Host-based firewalls such as the Windows Firewall or iptables and nftables apply rules on each server. Without central management, every server keeps its own rule set.

VMware NSX includes a distributed firewall that runs in the hypervisor kernel and applies at every virtual machine. The policies are created centrally and are independent of the physical network topology.

Illumio Core enforces rules through its VEN software in the host firewall of the workloads, among others on Linux and Windows. Policies are bound to labels; by default, there are the types Role, Application, Environment and Location. A rule such as "web (prod) may reach db (prod) on port 5432, everything else is blocked" can thus be expressed with labels.

Kubernetes network policy: default deny in the namespace

If there is no NetworkPolicy in a Kubernetes namespace, all incoming and outgoing traffic of the pods is allowed there. Policies can only be enforced by a network plugin that supports NetworkPolicy. The following policy first blocks all traffic in the namespace production; permitted connections are added as separate policies.

# Default deny for incoming and outgoing traffic in the namespace production
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-deny-all
  namespace: production
spec:
  podSelector: {}       # all pods
  policyTypes:
    - Ingress
    - Egress
# Then add separate policies for permitted connections

Segmentation in AWS VPC and Azure

Subnets and AWS security groups

A 3-tier architecture in AWS separates three kinds of subnets: public ones for load balancers and NAT gateways, private ones for the application and dedicated ones for the database. Each tier spans several Availability Zones. An example: VPC 10.0.0.0/16, public subnets 10.0.1.0/24 and 10.0.2.0/24, application 10.0.11.0/24 and 10.0.12.0/24, database 10.0.21.0/24 and 10.0.22.0/24.

Security groups as a firewall:

  • ALB-SG: only port 443 from the internet
  • App-SG: only port 8080 from the load balancer, no direct internet connection
  • DB-SG: only port 5432 from the App-SG, no internet connection

VPC Flow Logs record information about the IP traffic of the network interfaces in the VPC. In the captured data, connections from the application tier directly to the internet, which should not exist in this design, become visible.

Azure virtual network and NSG rules

In Azure, network security groups (NSGs) control the traffic in subnets. The default rule AllowVNetInBound (priority 65000) permits connections within the virtual network. Custom rules have priorities from 100 to 4096, and lower numbers apply first. The rule with priority 4096 therefore blocks everything the previous rules do not allow:

# Network security group for the application subnet
az network nsg create --name "app-nsg" --resource-group myrg

az network nsg rule create \
  --resource-group myrg \
  --nsg-name "app-nsg" \
  --name "allow-from-lb" \
  --priority 100 \
  --source-address-prefixes "10.0.1.0/24" \
  --destination-port-ranges "8080" \
  --access Allow

az network nsg rule create \
  --resource-group myrg \
  --nsg-name "app-nsg" \
  --name "deny-all-inbound" \
  --priority 4096 \
  --destination-port-ranges "*" \
  --access Deny --direction Inbound

If --destination-port-ranges is missing, the Azure CLI sets the destination port to 80, which is why the deny rule needs "*". Specifying --resource-group is mandatory as long as no default group has been set with az configure.

Segmentation mistakes

MistakeConsequenceRemedy
Printers and IoT devices in the server VLANAccording to the NSA and CISA, such devices often have default credentials, and some printers store privileged domain accountsseparate IoT VLAN, default deny towards the servers
Guest Wi-Fi in the company networkGuests reach internal services such as file serversseparate segment without access to internal resources (BSI NET.1.1.A5)
Backup in the production segmentBackups are attached to the same network as the systems they protectkeep backups separated from network connections, as CISA recommends
Management interfaces (IPMI, iDRAC, iLO) in the user VLANdirect access to the server hardwareseparate management segment behind a stateful packet filter (BSI NET.1.1.A21)
Old firewall rulesRules remain in place after their purpose has endedregular target/actual comparison of the network (BSI NET.1.1.A15)

Checking network security: target/actual comparison and penetration test

By their own account, NSA and CISA assessment teams often got into OT networks that were considered completely separated from the IT network. The way in led through forgotten, deliberately set up or accidentally created connections. IT-Grundschutz requires a regular target/actual comparison of the network. A penetration test also checks whether the boundaries can be overcome from an attacker's point of view.

Sources

s7.Club der Souveränen

Digital sovereignty.First-hand experience.

Our path beyond the US cloud: tools and lessons from our own infrastructure.

Portrait of Chris Wojzechowski
By Chris Wojzechowski

AWARE7

Over 500 IT decision-makers already read along

Every other Friday. Unsubscribe at any time. Privacy policy

Latest issues (German)

All issues

Initial consultation on this topic

Talk to our certified security experts for 30 minutes, free and without obligation.

Share this article

About the author

Vincent Heinen
Vincent Heinen

Head of Offensive Services

E-Mail

M.Sc. in IT Security with more than 5 years of experience in offensive security analysis. Leads the delivery of penetration tests, specializing in web applications, network infrastructure, reverse engineering and hardware security. Responsible for several responsible disclosures.

OSCP+ OSCP OSWP OSWA
Certified ISO 27001ISO 9001AZAV

Call us

Mon-Fri, 8 am to 5 pm CET, personal and without obligation.

0209 8830 6764
Call now