Segmentation

Edition: COMMUNITYCommunity PROPro ENTERPRISEEnterprise

What it does

Scores each site against an editable segmentation standard: firewalls between IT and OT, an industrial DMZ, devices on networks of their own level, and links that only join neighbouring levels. These are the zones and conduits an IEC 62443 assessment asks about.

It also helps you fill in the levels and zones in the first place: classification rules suggest a Purdue level and zone for every VLAN, device and VM, and you choose which suggestions to write to NetBox.

It is in the menu under Security › Segmentation, with up to four tabs: Scores, Classification, and for admins Value mapping and Standard.

What it needs in NetBox

purdue_level on VLANs or devices, and security_zone where you use zones (see Purdue levels and security zones). Firewalls are recognised by device role (by default a role slug containing firewall or fw).

In more detail:

In NetBoxUsed for
The purdue_level field on VLANs, devices and VMsEvery control. Without the field the page says The Purdue level field is not set up in NetBox yet.
security_zone on VLANs, devices and VMsClassification rules can fill it in
VLANs with prefixesA device or VM is placed on the VLAN of the most specific prefix holding its primary IP
Access ports with an untagged VLANAn endpoint without a matching prefix is placed on the VLAN of its own access port (devices with at most two access ports, so a switch never inherits its users' VLANs)
Trunk ports with tagged VLANsThe link and shared-switch controls. The Network devices connector fills these in.
Device rolesFirewalls and hypervisors, by the role patterns in the standard
VMs with a host or clusterThe hypervisor control

Both fields come with the schema pack. If your NetBox already has a level field, map it under Settings › NetBox schema and then confirm its values under Value mapping (see below).

Patch panels, media converters, DIN rails, cables, blanking panels and mounts are cabling, not network participants: they are never classified and never counted.

Setting up

Classify your levels and zones, then review the standard under Segmentation › Standard: switch checks on or off, and set the firewall roles your NetBox uses. Scores are recalculated every 6 hours, or when you press Score now.

1. Classify levels and zones

Start under Segmentation › Classification. If you already set levels on every VLAN and device by hand, skip to step 3. For a step-by-step start without patterns, see Classify a site in 15 minutes.

Rules. Rules run top to bottom; the first rule that matches an object wins. VLANs are classified first, so devices can inherit from their network. With no rules yet, click Use "Typical site (Purdue)". It sets levels from VLAN names (L1, Level 2, iDMZ, business and so on) and common OT roles, then lets everything else inherit from its VLAN, then from what it is cabled to. Review the rules it adds and adjust them to your naming.

To add a rule, open Add a rule and fill in:

FieldMeaning
SetsPurdue level or Security zone
WhenThe match type (see below)
Match valueA regular expression, a list of VLAN IDs such as 110,120-129, a tag slug or a CIDR prefix, depending on When
ToThe level (0, 1, 2, 3, 3.5, 4, 5) or the zone name. Leave blank for the inherit rules.
OrderPosition in the list. Lower numbers run first. Default 1000.
NoteFree text
WhenApplies to
VLAN name matches (regex)VLANs
VLAN ID is in (e.g. 110,120-129)VLANs
Device/VM role slug matches (regex)devices, VMs
Device/VM name matches (regex)devices, VMs
Has tag (slug)devices, VMs, VLANs
Platform slug matches (regex)devices
Primary IP is in prefix (CIDR)devices, VMs
Inherit from its network's VLANdevices, VMs
Inherit from what it is cabled todevices

Each rule can be moved (set next to its order), disabled, enabled or deleted. Clear with Remove all rules ticked deletes every rule.

2. Review and write the suggestions

Under Review suggestions for a site, click Preview for a site. The preview shows how many VLANs, devices and VMs already have a level, and a table of suggestions: object, field, Now, Suggested and Because (the rule that matched).

By default only objects without a value get a suggestion. Tick Also suggest changes to objects that already have a value to review those too.

Untick any suggestion you do not want, then click Write selected to NetBox. Only the ticked values are written, and only by an operator or admin. The page then reports Updated <n> object(s) in <NetBox>, and any errors. If NetBox writes are blocked, because the licence's device limit is exceeded or a schema field is missing (see Collect, review and approve), nothing is written and the page says why.

Classification preview for one site: suggested Purdue levels with the rule that matched.
Classification preview for one site: suggested Purdue levels with the rule that matched.

The logical Topology already shows the levels these rules would give as inferred, before you write them.

3. Map your own level values

If the Purdue level field is one you already had, its values may be written differently, for example L1 or Level 2. Under Segmentation › Value mapping (admins), each value found on VLANs and devices is listed with how many objects use it. Choose what it Means, or — not a level —. cinqstack pre-selects its best guess and marks it (guessed). Click Save mapping. cinqstack also uses this mapping when it writes levels back.

4. Review the standard

Under Segmentation › Standard (admins):

SettingDefaultMeaning
Onall onSwitch a control off to leave it out of every score
Weightsee the controls tableRelative weight of the control, 0 to 100
Device roles that count as firewallsa slug containing firewall or fwRegular expression on the role slug
Device roles that count as hypervisorsesxi, hypervisor, vm-host, hyper-v, proxmox, xen, kvmTheir uplinks are conduits, and their VMs are checked instead
Coverage to pass (%)90Classified share needed to pass Assets are classified
Coverage for a warning (%)60Below this it fails

Click Save standard. It applies from the next scoring run. An invalid regular expression is refused with The firewall role pattern is not a valid regular expression.

The same firewall roles decide which devices Topology and Firewall path treat as firewalls.

When scoring runs

The worker scores every site every 6 hours. An operator or admin can click Score now on Scores to queue a run at once; the page refreshes itself until it is done (Scoring…). A score reflects NetBox as it was at the last run, not live.

Reading the results

Segmentation score for one site, with one check open to show the devices that fail it.
Segmentation score for one site, with one check open to show the devices that fail it.

Segmentation › Scores shows the average score, the number of sites, failed controls and warnings, then one row per site, worst first, with its score, failures, warnings and a dot per control. A site where no control could be measured shows n/a. The line under the totals gives the run number, its time and whether it was scheduled or manual.

Click a site to see its controls. Each control is one of:

StatusMeaningCounts in the score
passThe control is metfull weight
warnPartly methalf the weight
failNot metnothing
acceptedFailed or warned, but an accepted risk covers itfull weight
n/aDoes not apply to this siteleft out
not measuredNetBox lacks the data to check itleft out

Score = (weight of passed and accepted controls + half the weight of warned controls) ÷ weight of the controls that apply, as a percentage. Bands: 80 and above good, 60 to 79 fair, below 60 poor. The header lists the last scores (up to ten) and how many controls did not apply, with the reason on hover.

Each failed or warned control lists its evidence (the devices, VLANs or links concerned) and the fix. Classify assets or Review classification opens the classification page where that is the fix.

The controls

ControlWeightImpactPass, warn and fail
Assets are classified10lowShare of devices, VMs and VLANs with a level: pass from 90%, warn from 60%, else fail
IT and OT are separated by a firewall25highApplies when the site has both OT (levels 0 to 3) and IT (levels 4, 5) VLANs. Passes when any device with a firewall role exists at the site; where it sits is not checked. Fails when there is none.
An industrial DMZ exists20highApplies when the site has both IT and OT VLANs. Fails without a level 3.5 VLAN.
Devices sit on networks of their own level15mediumFails if a device or VM sits on a VLAN two or more levels from its own; warns for an adjacent level. Firewalls are skipped.
Links only carry adjacent levels20highFails if a trunk carries IT and OT VLANs; warns if it carries OT VLANs of levels that are not adjacent. Firewall and hypervisor ports are skipped.
Cables join adjacent levels only15mediumChecks every cable between two classified devices; a path through patch panels counts as one cable. Fails when a cable joins IT and OT without a firewall; warns when it joins OT levels two or more apart. Firewalls and hypervisors are exempt. Not measured when no cabled pair is classified. To fix: Remove the bypass cable, or route that connection through the firewall.
No switch is shared by IT and OT10lowWarns when a device's ports carry both IT and OT VLANs. It only warns.
Hypervisors keep VM levels on separate networks15mediumFails if one host network carries IT and OT VMs; warns if it carries VMs of more than one level
OT hypervisors are in a cluster of two or more hosts5lowApplies when a hypervisor is at level 1 to 3, or its cluster name matches the Standard's OT pattern. Warns when such a host has no cluster to fail over to. It only warns.
HA clusters span more than one physical zone10lowOff until Standard names the NetBox field that holds each host's zone. Fails when every host of an HA cluster is in one zone; warns when a host's zone is not recorded.
One cluster stays in one security zone10lowFails when a cluster's hosts and VMs span OT and IT; warns when they join the industrial DMZ and control levels.

Impact follows the weight: 20 or more is high, 15 to 19 medium, lower low. Weights and on/off come from Standard. VLAN levels decide what counts as an IT or OT network at a site.

Accepted risks

A control you cannot meet yet can be accepted for one site. On the site page, click Accept the risk on the control, or fill in Accept a risk at the bottom: Control, Reason (required), Ticket and Expires. Click Accept risk. It applies from the next scoring run. Until it expires, the control counts as met and shows Accepted risk: <reason>.

Accepted risks lists them with reason, ticket and expiry (never without a date). An operator or admin can Remove one.

Findings it raises

Each failed or warned check becomes a finding: for example devices on a network two or more levels from their own, or a trunk that carries both IT and OT VLANs. Give them an owner, acknowledge or mute them in Findings.

More precisely, the inbox PROPro gets one finding per site and control, titled <site>: <control name>, from the latest completed run. Its detail is the control's summary, its remedy the control's fix, and up to 20 evidence lines are kept.

Control resultFinding severity
fail, weight 15 or morehigh
fail, weight below 15medium
warnlow

Because severity follows the weight, changing a weight under Standard can change a finding's severity at the next run. An accepted risk, n/a and not measured raise no finding. A finding resolves itself once a later run passes the control.

In Community, which has no Findings inbox, the failed controls are shown only on the segmentation pages.

MessageWhat it meansWhat to do
No OT networks classified at this site.No VLAN at the site has a level from 0 to 3.Classify the site's VLANs.
IT and OT networks share this site but no firewall is recorded.No device role at the site matches the firewall roles.Add the firewall to NetBox, or widen Device roles that count as firewalls.
IT and OT networks exist but there is no Level 3.5 (iDMZ) network.No VLAN at the site has level 3.5.Create or classify the iDMZ VLAN.
No classified device could be placed on a classified VLAN.Devices lack primary IPs inside a VLAN's prefix, or access ports with a VLAN.Link prefixes to VLANs and set primary IPs, or run the Network devices connector.
No trunks with classified VLANs recorded (run a Network devices job to fill them in).No tagged VLANs on interfaces in NetBox.Run the Network devices connector, or record trunk VLANs.
No hosted VM could be placed on a classified network (give VMs a primary IP).VMs have no primary IP in a VLAN's prefix.Give the VMs primary IPs.

Limits

The score reflects what NetBox records. It is evidence for an assessment, not a certificate of compliance.