Last reviewed 18 min read

Enumeration

ICS Network Architecture

Segmentation is the primary defense for a control system. Whether it exists, and where the crossings actually are, is what an architecture assessment establishes.

The Purdue Model

The level hierarchy in common use comes from ISA-95, published internationally as IEC 62264: levels 0 to 4, from the process up to business planning. The Purdue Enterprise Reference Architecture is the older enterprise reference model these drawings are usually named after, and IEC 62443 supplies the zone and conduit language used to secure the result. A level describes a function; it does not promise a boundary. The boundary is what you have to find, and the level only tells you where to look for it.

Level Name What sits there
0 Process Sensors, actuators, drives and the field devices wired to them.
1 Basic control PLCs, RTUs, DCS controllers and safety instrumented systems. The SIS belongs in its own zone, not beside the controller it protects.
2 Area supervisory Area operator stations and HMIs, alarm and trend servers: the consoles that supervise one area's loops.
3 Site operations MES, historian, engineering workstation, site SCADA servers: what supports the whole site rather than one area.
3.5 IT/OT DMZ Mirror historian, patch and antivirus servers, jump hosts, the firewall pair. A buffer zone from ISA-99/IEC 62443 practice, not a level of ISA-95 or of the original Purdue model.
4 Business planning ERP, email, corporate IT: the business systems the plant reports to.

Purdue Levels and the SIS Outside Level 1

A level is a function, not a boundary: the bands touch, and the SIS sits in its own zone beside the controller it protects rather than inside level 1.

Scroll sideways to see the whole diagram

Place a console by what it supervises. One area's loops belong at level 2 and the site's production picture at level 3, which is why the same HMI can appear at either level in two drawings of one plant. Record the placement you used, or the next reader will move it back.

Some drawings add a level 5 for the enterprise network above the site. ISA-95 stops at level 4, and a plant assessment can stop there too: what sits above is another zone, not another plant level. What survives from the model is the list of crossings. For each pair of adjacent levels, record the addresses that exist on both sides, the rule that permits the crossing, and the owner of that rule. A host with an interface in two levels is a crossing with no rule to read.

Zone Security Assessment

IT/OT DMZ Assessment

dmz-security-checklist.txt
# The DMZ should be the only connection between IT and OT
# Assess DMZ components:

# 1. Firewall Rules Analysis
# Request firewall rules from client
# Look for:
# - Overly permissive rules (any-any)
# - Direct IT-to-OT connections bypassing DMZ
# - Unnecessary ports open

# 2. Jump Server/Bastion Host
# - Is MFA enforced?
# - Session recording enabled?
# - Principle of least privilege?

# 3. Data Diode Presence
# Check if unidirectional gateway exists
# Data should flow OUT of OT (to historian mirror)
# Minimal data should flow INTO OT

# 4. Patch Management
# How are updates delivered to OT?
# Is WSUS/patch server in DMZ?
# Are updates tested before deployment?

Firewall Rule Analysis

ACL syntax is where a finding is most often written down wrongly. The entries below are Cisco IOS extended ACL syntax: the mask after an address is a wildcard, the inverse of the subnet mask, so 0.255.255.255 matches every value of the second octet, and the keyword host is the same as a wildcard of 0.0.0.0. Another platform writes the same set as a prefix length or a named address object. Whatever the syntax, the assessor asks five questions of every line: source, destination, service, direction, and is that the narrowest set the flow needs.

corporate-to-control.acl
access-list 110 remark Bad: whole corporate range into the control subnet
access-list 110 permit ip 10.0.0.0 0.255.255.255 192.168.100.0 0.0.0.255
access-list 110 remark Bad: RDP straight to an HMI
access-list 110 permit tcp any host 192.168.100.50 eq 3389
access-list 110 remark Bad: Modbus from anywhere
access-list 110 permit tcp any any eq 502
access-list 110 remark Better: historian replication to one host, SQL Server
access-list 110 permit tcp host 192.168.200.10 host 192.168.100.20 eq 1433
access-list 110 remark Oracle on the historian would be 1521 - read the vendor's service list
access-list 110 remark Better: SSH from the jump host to the one host it maintains
access-list 110 permit tcp host 192.168.200.50 host 192.168.100.21 eq 22

An extended ACL ends with an implicit deny, so the permitted lines are the whole policy: a rule set is least-privilege only where every line is one you can justify. Test the two "better" lines from the host named as source rather than reading them, because a rule that reads narrow and resolves to a subnet passes review and fails the crossing test.

Rule analysers such as Tufin, AlgoSec and FireMon enumerate shadowed, redundant and unreachable entries across a set too large to read by hand. Reachability is not permission: a line that resolves is still an exception when nobody can name the flow it serves, and the owner and the reason are what the report needs.

Network Segmentation Testing

VLAN Hopping Tests

Blast Radius: Read-Only Versus Disruptive

Split these tests by what they can break before you run one. Ping, traceroute and a host-discovery sweep are read-only: they establish reachability and change nothing. DTP spoofing, double tagging and ARP spoofing are disruptive. A DTP negotiation on a production switch can turn an access port into a trunk, a double-tagged frame can cross a VLAN the plant does not route, and an ARP spoof can black-hole an area's traffic. Those three run only on a lab topology, or inside a written-authorised window with a plant contact present who can stop the test. The lab shape that makes them mean anything is two virtual switches trunked together with a router between, a native VLAN configured, and the attacker on a port where that native VLAN is left untagged. Without that, the double-tag attempt produces nothing and the negative result is the finding.
vlan-reachability.sh
# Read-only: is the control segment reachable from here at all?
ping -c 4 192.168.100.10
traceroute 192.168.100.10
nmap -sn 192.168.100.0/24

# Disruptive - LAB ONLY, on the two-switch topology described above.
# DTP: will the access port negotiate a trunk to a spoofed neighbour?
yersinia dtp -attack 1 -interface eth0

Double tagging is conditional, and the condition is the part usually left out. It works only when the frame enters on a port whose native VLAN is untagged, and it has to traverse two switches: the first strips the outer tag at its trunk and forwards on the inner one, which is how the technique reaches a VLAN you cannot route to. It is also one-way. The reply has no path back, so a successful double tag proves reachability and nothing about control: there is no session in which to send a command. A single switch, a tagged native VLAN, or a port that drops frames for unknown VLANs each turn it into a negative result, and that result is worth recording.

double-tagging.py
from scapy.all import Ether, Dot1Q, IP, ICMP, sendp

# LAB ONLY. Outer tag = the untagged native VLAN of the ingress port.
# Inner tag = the VLAN to reach. Sent one way; nothing comes back.
frame = (
    Ether()
    / Dot1Q(vlan=1)
    / Dot1Q(vlan=100)
    / IP(dst="192.168.100.10")
    / ICMP()
)
sendp(frame, iface="eth0")

Lateral Movement Testing

lateral-movement-tests.sh
# Once on the ICS network, test lateral movement

# Scan for other subnets
nmap -sn 192.168.100.0/24
nmap -sn 192.168.101.0/24

# Check for flat networks
# Can Level 3 systems reach Level 1 directly?
# Should be segmented by firewalls/ACLs

# Test access between zones
# From HMI, can you reach:
# - Engineering workstation?
# - Historian directly?
# - PLCs in different areas?

# Document all unexpected connectivity

The artefact of any of these tests is the source address of the attempt and the observed result. A timeout is a drop, a reset is a rejection, and the difference identifies which device answered: a boundary that drops leaves no reply at all, while a host refusing a closed port answers for itself. Run the test from a host inside the source zone, because a scan from your own laptop proves what your laptop can reach, not what the zone boundary does.

Remote Access Assessment

Remote access is a major attack vector for ICS. Assess all remote access mechanisms.

remote-access-assessment.sh
# Common remote access methods in ICS:

# 1. VPN
# - Is it split-tunnel? (bad)
# - MFA enabled?
# - Dedicated ICS VPN or shared?
# - Vendor VPN access?

# 2. Jump Servers
# - Is access logged?
# - Session recording?
# - Time-limited access?

# 3. Vendor Remote Access
# - TeamViewer, AnyDesk, etc.
# - Always-on connections? (bad)
# - Shared credentials?

# 4. Modem/Cellular Connections
# - Legacy dial-up modems on PLCs?
# - Cellular routers for remote sites?
# - Are these inventoried?

# War dialing for legacy modems
# (get authorization first)
# Look for modems on phone lines connected to ICS

# Scan for remote access ports
nmap -p 3389,22,5900,5800,443,8080 192.168.100.0/24

Wireless and Cellular Segments

A cellular router at a remote site is a conduit class of its own, and it is the one an assessor most often finds unmanaged. The APN, the addressing and any inbound reachability are set in the carrier's portal rather than on the plant firewall, so no rule in the conduit export describes it. Such a unit commonly carries the integrator's configuration, with remote management on and an administrative credential nobody rotated, because the person who installed it has gone. It is also invisible to plant monitoring: its traffic leaves over the carrier instead of crossing the IT/OT boundary, so it appears in no capture and on no zone diagram.

Treat it as a zone rather than a device: record a target security level, put it in the asset inventory, and name who holds the administrative credential. The carrier's SIM inventory is often the only complete list of these units at a site, so start there and then match each SIM to a physical unit. A plant wireless network carrying mobile operator panels or vendor laptops is the same kind of boundary, and its real edge is the access-point management interface and the authentication server, not the radio coverage.

Common Architecture Weaknesses

Flat Networks

No segmentation between IT and OT. All devices on same network. Compromise of one system leads to access to all.

Direct IT-OT Connections

Bypassing the DMZ. Database connections, file shares, or RDP directly from corporate to process control.

Dual-Homed Systems

Engineering workstations with NICs in both IT and OT. Creates bridge bypassing firewalls.

Uncontrolled Vendor Access

Always-on VPN connections for vendors. Shared credentials. No monitoring of vendor sessions.

Network Traffic Analysis

traffic-analysis.sh
# Capture and analyze ICS network traffic
# Use SPAN port or network TAP

# Capture with tcpdump
sudo tcpdump -i eth0 -w ics_traffic.pcap

# Analyze protocols present
tshark -r ics_traffic.pcap -z io,phs

# Look for:
# - Unexpected protocols (should only see ICS protocols)
# - IT protocols on OT network (SMB, RDP, HTTP)
# - Cross-zone traffic
# - Unencrypted sensitive data

# Protocol-specific filters
tshark -r ics_traffic.pcap -Y "modbus"
tshark -r ics_traffic.pcap -Y "s7comm"
tshark -r ics_traffic.pcap -Y "enip"

# Identify all unique IPs communicating
tshark -r ics_traffic.pcap -T fields -e ip.src -e ip.dst | sort -u

Architecture Assessment Checklist

Segmentation

  • IT/OT DMZ exists and is properly configured
  • Each Purdue level is segmented
  • No direct IT-to-OT connections
  • VLAN hopping not possible
  • No dual-homed systems bridging networks
  • Cellular routers and plant wireless inventoried and zoned

Firewalls

  • Rules follow least privilege
  • No any-any rules
  • ICS protocols only allowed where needed
  • Logging enabled
  • Rules reviewed periodically

Remote Access

  • All remote access through jump server
  • MFA required
  • Session recording enabled
  • Vendor access is controlled and monitored
  • No legacy modems present

IEC 62443 Zones

IEC 62443 defines security zones and conduits. A zone is a group of assets with similar security requirements. A conduit is a controlled communication path between zones.

Conduit Taxonomy

A controlled communication path says nothing about what the control is. In a real plant it is one of the implementations below, and each enforces something different, fails differently and is tested differently.

Implementation What it enforces, and what it does not What the assessor tests
Firewall or router rule Allows or denies one flow, and sees nothing inside a permitted connection: a Modbus write crosses like any other byte. A crossing attempt from a host inside the source zone to the denied destination, with the rule text that should have stopped it. Read direction as well as service, because many sets permit a reply they never permitted the request for.
Protocol break or gateway Terminates the upstream session and re-originates the downstream one, so the far side never speaks the upstream protocol and only the functions the gateway maps cross. Whether the mapping is a whitelist or a pass-through, and whether the downstream device can be reached by anything other than the gateway.
Unidirectional gateway or data diode One direction, by physics or by enforced forwarding. Nothing crosses back, not even a reset, so the sender cannot distinguish delivery from loss. That no return path exists — a diode that mirrors a TCP session is a proxy — and whether a maintenance bypass, such as a laptop or a second NIC, sits around it.
Jump host or bastion An authenticated landing point with recording. Only as strong as its authentication, and it sits inside the zone it protects, so compromising it is compromising the zone. Where credentials are cached on it, whether sessions are recorded, and whether the zone beyond trusts the jump host's address instead of a user identity.
Brokered remote session Vendor access without a standing path: a session opened on request, recorded, and expired when the window closes. Whether a path still exists between sessions, whether the vendor can approve its own request, and whether the session is pinned to one asset.

Four Conduit Implementations on the IT/OT Boundary

Each conduit enforces something different: a rule passes a flow it cannot inspect, a gateway ends and re-originates the protocol, a diode has no return path, and a jump host is a session that ends rather than a packet that passes.

Scroll sideways to see the whole diagram

Naming the class first changes the finding: a permissive rule at a diode boundary may be the only path that exists, and a narrow rule terminating on a jump host is lateral movement the day that host is compromised. Record the class beside each rule in the conduit export.

IEC 62443 Security Levels

A target security level is seven values, not one. IEC 62443-3-3 states the requirement set as seven foundational requirements, and a target is recorded per requirement for each zone:

  • FR1 identification and authentication control: who is asking, and can the zone tell.
  • FR2 use control. What an authenticated principal may do once inside.
  • FR3 system integrity: whether code, configuration and communication can be altered undetected.
  • FR4 data confidentiality. Whether data at rest and on the wire is exposed.
  • FR5 restricted data flow: whether the boundary limits which flows leave and enter.
  • FR6 timely response to events. Whether an event is recorded and acted on in time to matter.
  • FR7 resource availability: whether the zone keeps running under load, failure or attack.

The capability scale is the same for all seven. SL1 protects against casual or coincidental violation. SL2 covers intentional violation using simple means, low resources and generic skills. SL3 covers sophisticated means with moderate resources and ICS-specific knowledge. SL4 covers sophisticated means with extended resources and high motivation.

Each zone carries three recorded levels. SL-T is the target it needs, chosen from consequence; SL-C is the capability a component or system can provide, a vendor property read from a certificate or datasheet; SL-A is what the installed, operating zone achieves, which is what a test measures. The deliverable is the gap between SL-T and SL-A, per requirement and never as one average: a zone at target on confidentiality and below it on restricted data flow has a segmentation finding, not a score. Where equipment cannot reach the target at all, compare SL-T with SL-C and the finding becomes a replacement argument.

This is why the evidence asks for a target level per zone. A zone with no recorded SL-T cannot produce a gap, and an assessment of it becomes a list of observations with no standard to measure them against. Where the client has no targets, the first finding is that the targets are missing, recorded as a governance gap rather than a device defect.

Prove One Conduit

Two segments and a virtual firewall between them — containerlab, GNS3, or two VMs running pfSense or OPNsense — with a rule set written to represent exactly one conduit. Then prove each rule from the correct vantage point: the allowed flow passes from a host in the source segment, the denied flow is dropped rather than rejected, and a diagnostic rule you added to make the test work is removed and the proof repeated. Done when every rule in the file has an observed proof from both sides, and you can say which rule is the conduit and which rules serve no conduit at all.

Two-Segment Conduit Bench Custom Lab medium
Zone and conduit modelVirtual firewall rule setProving allow and deny from both sidesRetiring rules that serve no conduit

Evidence to Capture

Segmentation is a routing and rule-set fact. Capture the rule and the attempted crossing, not the drawing.

Zone model: Each zone with its assets, its Purdue level, and its target security level. A zone with no SL-T has nothing to assess it against.

Conduit rule export: The rule implementing each conduit: source zone, destination zone, service, action, and owner. Enumerate the any-any exceptions separately, with the reason each exists.

Crossing test: The attempted flow from a host inside the source zone: source address, destination, port, and the observed result (reset, timeout, or refusal). A test from the wrong vantage point proves nothing about the zone boundary.

Remote access path: Where the vendor or integrator tunnel terminates, what authenticates it, and whether the landing point is the IT/OT DMZ or the control network. The concentrator configuration is the artefact.

Boundary traffic baseline: The protocol mix crossing the IT/OT boundary with initiator and direction, from a capture over a full production cycle.

Likely False Positives

Segmentation findings usually overreach the standard. IEC 62443 zones are the unit of trust, not subnets.

  • Flat network inside one zone: Hosts at one trust level inside one zone are not required to be segmented from each other. Report the zone boundary, not the switch topology.
  • Permissive rule to one host: An any-port rule scoped to a single management station address is a narrow conduit. Read the source field before scoring the service field.
  • Vendor access during a window: Supervised, recorded access inside a change window is a controlled path. It becomes a finding when it is permanent, unattended, or unlogged.
  • Historian or mirror crossing the boundary: A one-way replication from the control zone to the DMZ is the designed data path. Check direction rather than presence.
  • No firewall at the lowest level: Hardwired I/O and non-routable fieldbus segments have no boundary to defend. Only report it where routable IP crosses the level.

Review Checklist

Zones

  • ☐ Confirm each zone has an asset list and a target security level recorded.
  • ☐ Check the zone boundary matches the trust change: a boundary with no differing trust level is decoration.
  • ☐ Confirm the safety system sits in its own zone rather than inside the control zone.
  • ☐ Check wireless and remote-maintenance segments are modelled as their own zones.

Conduits

  • ☐ Map every rule to a conduit and list the rules serving no conduit.
  • ☐ Check each conduit names a service and a direction, and that write-capable services are inspected.
  • ☐ Confirm the IT/OT boundary is the DMZ, with no direct corporate-to-control rule.
  • ☐ Read the any-any exceptions and confirm each has an owner and a reason.

Remote access

  • ☐ Confirm vendor access terminates in the DMZ and crosses into the control zone through a jump host.
  • ☐ Check multi-factor authentication on the remote entry point.
  • ☐ Confirm sessions are recorded and revocable, with an expiry on the account.
  • ☐ Check the access path still exists for vendors no longer under contract.

Remediation

One mediated boundary, then per-conduit rules

Structural

  • • Make the IT/OT DMZ the only crossing between levels 4 and 3.5, and remove direct corporate-to-control rules rather than tightening them.
  • • Replace permanent vendor tunnels with brokered, time-bound sessions that land on a jump host in the DMZ and are recorded.
  • • Give the safety system its own zone and conduit, so a compromise in the basic process control zone cannot reach it.

Compensating

  • • Where a flat zone cannot be split, add monitoring at the zone edge and record the internal paths that remain open.
  • • For protocols with no authentication, place inspection on the conduit and alert on write or program functions.