Modbus is the language many factories, pump stations and utilities use to talk to their equipment. We sent Modbus commands for an industrial controller through the chip on our prototype board.
The factory controller above was the first. We then wrote down what an operator would allow for each of these devices, signed those limits, and sent each one a mix of normal work, attacks and mistakes, in that device’s own network language.
On our FPGA board, 79 of 79 replay runs passed: the chip made the expected call on 12,680 of 12,680 commands. Each run replays a sample of one device’s commands through the chip, after which it is reset and re-signed.
| Device | What was turned away | Software model | FPGA board |
|---|---|---|---|
| Power grid | |||
| Substation RTUsDNP3 | Breaker commands that skip select-before-operate, points that aren’t breakers, regulator setpoints out of range, restarts, switching off alarm reports, firmware, other stations and broadcasts. | ✓ 300,000 of 300,000 | ✓ 680 of 680 |
| Grid control linksIEC 60870-5-104 | Breaker commands outside the breaker table, generator setpoints over 110 MW, process resets, parameter changes and commands for other substations. | ✓ 300,000 of 300,000 | ✓ 640 of 640 |
| Protection relaysIEC 61850 | Remote changes to protection settings, untested setting groups, forged trip messages from unknown publishers, operating the wrong switch, new configurations and resets. | ✓ 300,000 of 300,000 | ✓ 640 of 640 |
| Pole-top reclosersDNP3 | Closing onto a line once a crew has tagged it, turning automatic reclosing back on while tagged, clearing the tag remotely, settings changes, firmware and reclosers outside the feeder group. | ✓ 300,000 of 300,000 | ✓ 320 of 320 |
| Grid sensors (PMUs)IEEE C37.118 | Stopping the measurement stream, changing the reporting rate or time source, and sensors outside the fleet. | ✓ 300,000 of 300,000 | ✓ 160 of 160 |
| Smart metersDLMS/COSEM | Mass disconnects outside the day’s signed work order, near-zero load limits, tariff and key changes and firmware. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Solar and battery invertersSunSpec Modbus | Output over 100 %, power factor outside 0.85–1.0, battery discharge over 5 kW, loosened ride-through settings, unlisted registers and other fleets. | ✓ 300,000 of 300,000 | ✓ 800 of 800 |
| Wind farmsIEC 61400-25 | Output over 100 %, releasing the rotor brake, raising the overspeed limit, overriding blade pitch and turbines outside the farm. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Water and gas | |||
| Water treatmentModbus | Caustic dosing raised to 11,100 ppm (the 2021 Oldsmar attack), chlorine switched off or overdosed, pumps over 100 %, unlisted registers, block writes, alarm coils and other plants. | ✓ 300,000 of 300,000 | ✓ 640 of 640 |
| Dam spillway gatesDNP3 | Opening a gate past the day’s signed release order, overriding gate limits, switching to local control, gates that don’t exist and other dams. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Gas distributionDNP3 | Over-pressuring the mains (the 2018 Merrimack Valley failure mode), remote valve opens, switching off the odorant, disabling pressure relief and firmware. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Oil and gas pipelinesDNP3 and HART | Pressure setpoints above the safe maximum, bypassing the safety system, reconfiguring transmitters to fake readings, unlisted valves and other stations. | ✓ 300,000 of 300,000 | ✓ 800 of 800 |
| Cities and buildings | |||
| Building controlsBACnet | Zones set to 45 °C or 5 °C, unlocking doors that aren’t on the list, hiding points out of service, silencing controllers, restarts and firmware. | ✓ 300,000 of 300,000 | ✓ 640 of 640 |
| Traffic signalsNTCIP 1202 | Green in every direction at once, forcing phases out of turn, cutting minimum green to 1 s, timing plans that don’t exist and flash mode. | ✓ 300,000 of 300,000 | ✓ 800 of 800 |
| EV chargersOCPP | Charging current far over the rating, redirecting chargers to another back-end, firmware, resets and chargers outside the site. | ✓ 300,000 of 300,000 | ✓ 320 of 320 |
| Transport | |||
| Rail signallingsignalling terminal | Raising temporary speed limits, moving points or clearing signals around the interlocking, overrides, maintenance mode and other areas’ routes. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Ships and port cranesNMEA 2000 and crane PLC | Rudder hard over past 30°, full throttle in harbour, slewing a crane over the walkway, engine and crane overrides and AIS identity changes. | ✓ 300,000 of 300,000 | ✓ 800 of 800 |
| Vehicle networksCAN gateway | Infotainment commanding steering, telematics commanding brakes, steering torque over 3 Nm, ECU reflashes and odometer rollback. | ✓ 300,000 of 300,000 | ✓ 800 of 800 |
| Networks and computing | |||
| Network equipmentNETCONF and SNMP | Route-hijack BGP changes, OSPF changes, editing the management ACL or uplinks, reboots, firmware, wiping the configuration and adding admin users. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Data-centre serversRedfish and IPMI | Fans turned down to overheat, restarting production servers, forced power-off, firmware implants, remote boot media and new admin accounts. | ✓ 300,000 of 300,000 | ✓ 480 of 480 |
| Health | |||
| Infusion pumps (bench only)pump control interface | Rates ten times too high, boluses over 2 mL, swapping the drug library, silencing alarms and firmware. | ✓ 300,000 of 300,000 | ✓ 640 of 640 |
| Space | |||
| SpacecraftcFS telecommands | Thruster burns far too long, unlisted thrusters, rewriting onboard limit tables, direct memory writes, leaving safe mode, new keys and commands for other spacecraft. | ✓ 300,000 of 300,000 | ✓ 640 of 640 |
The table above used our own traffic models. When we later sent commands those models never make, we found that for 10 of the 22 devices, the way we had written the operator’s rules for the chip let some forbidden commands through: 31,885 of 248,000 test commands. The chip did what it was signed to do; our translation of the rules was the problem. We rewrote the rules for those ten. Since then 0 of 496,000 such commands get through, and a sweep of every edge of every limit (57,363 points) finds none. A small number of allowed reads near the end of a table are now refused rather than risk a wrong one; a chip change that makes those exact is next.