Tiza Group

Home / Guides / Testing, commissioning and faults

Network Scan That Takes Down the SCADA: Causes and Fix

A network scan left the SCADA without data or rebooted devices: ordered causes, how to confirm it and how to scan safely. We configure it remotely.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

An active scan sends many connections and probes to devices designed to talk to a single master, with little memory and a limited network stack; some become saturated, reboot or stop answering. You confirm it by matching the scan time with the data loss, and you avoid it with passive inventory, agreed windows and scanning only non-sensitive assets.

Symptom

The SCADA or control center loses data from several stations at once, communication failure alarms appear, some devices reboot or stay in an error state until their power is cut and restored, and someone remembers that a scanning tool was running at that moment: a security audit, an asset inventory, a corporate network vulnerability scanner that reached the operations network, or a third-party test.

The pattern that points to the scan is the coincidence in time: data is lost when the scan sweeps a segment and returns when it ends, or as soon as the affected devices are rebooted. To understand which defenses a control center must have and why active scanning there is delicate, see Control center cybersecurity.

Likely causes, from most to least likely

CauseHow to recognize it
Active scan of fragile devices (controllers, relays, gateways, communication modules) at an aggressive rateStaggered data loss following the order of addresses the scan sweeps; devices that reboot or go into fault
Exhaustion of the device connections or memoryThe device answers ping but not its protocol, or does not accept new connections from the master until it reboots
Scan of the operations network with office profiles (corporate vulnerability scanner with all checks active)The traffic source is a security server on the corporate network; the scan crossed a firewall with overly open rules
Saturation of slow links (radio, serial over IP, satellite)The devices are fine but the link to the site fills up and the normal SCADA polling times out
Saturation of the firewall or gateway by the number of sessionsThe firewall shows a full session table or high processor use while the scan lasts
Penetration test with denial techniques not excluded from the scopeThe tool used and the agreed scope included intrusive modules

How to diagnose it

  1. Fix the start time. Note when the first data was lost and when it recovered. Ask whoever ran the scan for the start time, the target addresses, the tool and the profile. Without those times the diagnosis is a guess.
  2. Cross-check with the logs. Compare the times with the SCADA event log (communication losses per device), the device logs (reboots, connection counters, communication errors) and the firewall logs (source, destination, number of new sessions). If one was set up, a centralized logging system makes the cross-check easier; see Event logging and SIEM in substations.
  3. Look at the order of the losses. If the devices failed in the order in which an address range is swept, it is almost certainly the scan. If they all failed at the same instant, suspect the firewall, the switch or the link, not the devices.
  4. Separate device from network. With a device down, test from a laptop connected on the same segment: if it answers, the problem is in the path; if its protocol does not answer, it is in the device (exhausted connections, blocked task).
  5. Verify integrity. After the reboot, check that settings and logic match the last backup. An abrupt reboot can leave values at default or corrupt files.
  6. Confirm the scan route. Review the firewall rules between the corporate network and the operations network; the fact that the traffic got through indicates an overly broad rule, which is a separate finding.

Illustrative example

Generic situation, with invented numbers to illustrate. An audit scans a range of 40 addresses in a substation. At 10:02 the gateway data is lost, at 10:04 that of two controllers, and at 10:05 a communications unit reboots. The firewall log shows hundreds of connection attempts per minute from a single corporate network source. The affected devices are those with the lowest consecutive addresses, exactly the first ones in the range. When the scan is stopped at 10:07 the data returns except on the unit that needed a manual reboot. Conclusion: an aggressive scan rate against fragile devices and a firewall rule that let the source through.

What to do

  • Stop the scan immediately and confirm the source has ceased.
  • Recover by priority: first what affects operation, following the manufacturer’s procedure; do not reboot devices in a chain without knowing what state they are in.
  • Restore and compare the configuration with the last backup; see IED settings backup and recovery.
  • Close the path: limit on the firewall which sources can reach the operations network; see OT network segmentation: zones and conduits.
  • Change the inventory method: use passive listening (mirror port or tap) and the configuration files; leave active scanning only for non-sensitive devices, such as servers and workstations, at a low rate, in an agreed window and with the field devices excluded from the scope. The NIST SP 800-82 Rev. 3 guide covers caution with active scanning on operations networks. See OT asset inventory of a substation.
  • Document time, tool, scope, affected devices and actions, for the incident file.

Field checklist

  • Start and end time of the scan, tool, profile and source noted.
  • Scan stopped and source confirmed.
  • List of devices with data loss, ordered by time.
  • Critical devices recovered and their configuration compared with the backup.
  • Firewall log reviewed (source, destination, new sessions).
  • Rule that allowed the traffic through identified and corrected.
  • Window, scope and exclusions agreed before any new scan.

What not to do

  • Do not repeat the scan “to confirm” on field devices in operation.
  • Do not reboot all the devices at once or re-energize without knowing what failed.
  • Do not scan a live network with intrusive or denial-of-service profiles.
  • Do not accept security tests without a defined scope, window and operations contact.
  • Do not blame the “old” device without cross-checking the times: it may be the firewall or the link.
  • Do not energize or work on high-voltage panels without qualified personnel; if the scan affected protections, treat the case as a loss of protection until proven otherwise.

When to call us

Call us when the scan left devices with a doubtful configuration, when you need to define a safe inventory and testing procedure for your OT network, or when the rule that let the scan through requires redesigning the segmentation. We configure it remotely: request configuration support.

Common problems

A network scan leaves the relay unresponsive

Here the control center stays up and the silent party is an IED: it stops answering over MMS, DNP3, IEC 104 or its web page, whether or not it answers ping. Separate the critical question first: losing communications does not mean the protection stopped operating. Check the self-diagnostic status, alarms and restart log on the relay front panel.

What you seeLikely readingAction
Answers ping but refuses the protocol sessionConcurrent connections exhausted by half-open sessionsWait for them to expire; otherwise restart only communications as the manufacturer describes
Nothing answers over the network; front panel normalNetwork card or stack locked upPlan recovery in a window, with backup protection agreed
Restart counter increased or internal alarm presentThe device rebooted or failedTreat protection as possibly unavailable and tell the operator

Confirm by matching the scan start and end, taken from the tool or the firewall, with the last good exchange of the master and the relay log. If they do not match, look for another cause. Then exclude IEDs from active scanning, build the inventory from passive listening or documented configurations, and if an active test is essential, rehearse it first on an identical out-of-service unit, with written authorization. NIST SP 800-82 Rev. 3 advises extreme caution with active scanning on operational networks. Do not rescan the relay “to see if that was it”, and do not update firmware without a window and a settings backup.

References

  • NIST SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security, 2023.
  • IEC 62443-3-3, Industrial communication networks – Network and system security – Part 3-3: System security requirements and security levels.
  • Manufacturer manuals for each device (simultaneous connection limits and recovery procedure).

Frequently asked questions

Why can a scan leave a SCADA without data?

Because many controllers, relays and gateways have little memory, a limited number of simultaneous connections and a simple network stack. A scan opens many connections in a short time and can exhaust those resources, so the device stops serving the legitimate master or reboots.

Can an OT network be inventoried without scanning?

Yes. Passive listening to traffic on a mirror port or tap identifies devices, addresses, protocols and conversations without sending a single packet to the devices. It complements the manual inventory and the configuration files.

What do I do if the scan has already taken devices down?

Stop the scan, first recover the devices that affect operation following the manufacturer's procedure, compare the configuration with the last backup and record the time and tool used. Then agree a window and a scope before repeating any test.

WhatsApp