Skip to content
Networking
ASD ISMISM-1030

ASD ISM 1030 Place NIDS/NIPS just inside the outermost firewall and alert on rule breaches

What it says

A NIDS or NIPS is located immediately inside the outermost firewall for gateways and configured to generate event logs and alerts for network traffic that contravenes any rule in a firewall ruleset.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Place a NIDS or NIPS immediately inside each gateway's outermost firewall and set it to log and alert on any traffic that breaks a rule in the firewall ruleset.

For gateways, a NIDS or NIPS (a network intrusion detection or prevention system) must sit immediately inside the outermost firewall, directly behind it. It must be configured to generate event logs and alerts for any traffic that breaks a rule in the firewall ruleset, in either direction. Inbound traffic like that should never pass the firewall, so it points to a firewall failure or a bad change. General attack signatures alone do not meet this: the sensor must reflect the firewall's rules.

Why it matters

If the outermost firewall fails or a change opens a hole, forbidden traffic can pass unnoticed. A sensor directly behind it that knows the ruleset logs and alerts when such traffic appears, so the failure can be caught as it happens.

How to implement

  1. Place the sensor immediately inside each gateway's outermost firewall.

    Put a NIPS inline on each of the firewall's inside links, including any demilitarised zone link, or feed a NIDS from a tap or mirror of each, with no other device between them, so it sees everything the firewall lets in and everything heading out to it.

  2. Turn the firewall ruleset into detection rules.

    Write sensor rules that recognise each flow the firewall ruleset allows and generate an event log and alert for any other traffic, in either direction. Keep a mapping from each firewall rule to its sensor rule, so gaps are easy to spot.

  3. Send the event logs and alerts where they will be acted on.

    Forward them to central logging, as ISM-0634 requires for gateway events, and route alerts to the team that analyses cyber security events. Treat an inbound alert as a possible firewall failure: check the firewall's state and recent changes straight away.

  4. Update sensor rules in the same change as any firewall rule change.

    Make the sensor update a required step in firewall change approval, and test both together. Where a provider runs the outermost firewall, get each ruleset change from them before it takes effect, or the sensor will alert on newly allowed traffic and miss newly forbidden traffic.

Keep it running

Compare the sensor rules with the live firewall ruleset after every firewall change and during the gateway testing ISM-1037 requires, and test that a rule-breaking packet still raises an alert. A firewall replacement or new gateway needs the full setup again.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    Network diagrams for each gateway, checked against the physical cabling or virtual network configuration.

    Look at

    Where each NIDS or NIPS sits relative to the outermost firewall, whether any device sits between them, and which of the firewall's inside links it sees.

    Good evidence

    For every gateway, the sensor sits immediately inside the outermost firewall with nothing in between, and sees all traffic on each of the firewall's inside links, including any demilitarised zone link.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The current ruleset of each gateway's outermost firewall and the sensor's rules, with the date each last changed.

    Look at

    Whether traffic breaking each firewall rule would match a sensor rule that logs and alerts, and whether the sensor rules were updated after the latest firewall change.

    Good evidence

    Traffic that breaks any rule in the current ruleset, in either direction, matches a sensor rule that generates an event log and an alert, and no firewall change is newer than the matching sensor update.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A live test from a host just inside the outermost firewall, sending harmless traffic the ruleset forbids: an outbound connection to a blocked port, and a packet made to look like inbound traffic to a blocked port, sent across the firewall's inside link that the sensor watches.

    Look at

    Whether the sensor writes an event log entry and raises an alert for each, and whether the alerts reach the monitoring team.

    Good evidence

    Both test flows produce an event log entry and an alert, and both alerts reach central logging and the monitoring team.

Mappings

Closest match in ISO/IEC 27001: A.8.15, Logging, which this control partially meets.

ISO 27001

ISO/IEC 27001: 3 mappings

  • A.8.15LoggingPartially meets
  • A.8.16Monitoring activitiesPartially meets
  • A.8.20Networks securityPartially meets
Essential Eight

ASD Essential Eight: 2 mappings

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.