Back to blog
icscipethernet-ipforensicsanalysis

Analysing an ICS pump overspeed attack in CIP traffic

A step-by-step walkthrough of an EtherNet/IP CIP capture showing a pump setpoint manipulation attack. Learn to identify malicious Write Tag operations, track process variable escalation, and reconstruct the attack timeline from packet-level evidence.

PcapHubSeptember 21, 20265 min read

Industrial control system (ICS) attacks are not always sophisticated. Sometimes it is a single CIP Write Tag command that sets a pump to a dangerous RPM. This article walks through a real capture of exactly that scenario, showing you how to read EtherNet/IP CIP traffic, identify the attack, and reconstruct the full incident timeline from packets alone.

trypcaphub/learn-analysing-an-ics-pump-overspeed-attack-in-cip-traffic

View this capture on PcapHub

Open Capture

What is CIP over EtherNet/IP?

CIP (Common Industrial Protocol) is the application-layer protocol used by most Allen-Bradley and Rockwell Automation PLCs. It runs over EtherNet/IP (not to be confused with regular Ethernet), which is an industrial network protocol that uses standard TCP/IP transport on port 44818.

In a typical setup, an HMI (human-machine interface) or SCADA server polls the PLC for process data at regular intervals and sends setpoint changes or control commands when an operator makes adjustments. All of this happens over CIP.

The important thing to know for analysis: CIP traffic is structured as services (read, write, get attributes) targeting specific tags or objects in the PLC. A Read Tag request asks the PLC for the current value of a named variable. A Write Tag request changes it.

The capture at a glance

This capture contains 2,260 packets over about 21 seconds of traffic between two hosts:

  • 10.99.0.100 (the controller/attacker workstation)
  • 10.99.0.22 (the PLC controlling a pump)

The protocol breakdown is almost entirely TCP with EtherNet/IP CIP encapsulation. There is no DNS, no HTTP, no TLS. This is a flat industrial network with direct PLC communication. The List Identity response early in the capture identifies the PLC as a 1756-L61/B LOGIX5561 (Rockwell ControlLogix).

Phase 1: Normal polling

The capture starts with normal CIP traffic. The controller is polling the PLC at regular intervals, reading process variables like:

  • PUMP_RPM_ACT (actual pump speed)
  • PUMP_RPM_SP (setpoint, the target RPM)
  • DISCHARGE_PRESSURE_PSI (discharge pressure)
  • VIBRATION_MM_S (vibration sensor reading)
  • PUMP_FLOW_GPM (flow rate)

This is standard HMI-to-PLC polling. The values are stable: RPM around 1800, setpoint at 1800, pressure nominal, vibration low. Everything looks normal.

When analysing ICS captures, always establish a baseline first. Understanding what normal looks like makes anomalies obvious when they appear.

Phase 2: The attack - Write Tag to PUMP_RPM_SP

The critical packet is easy to miss if you are not looking for it. Among the steady stream of Read Tag responses, there is a single Write Tag request that changes PUMP_RPM_SP from 1800.0 to 4500.0 RPM.

This is the attack. Someone (or something) on the network sent a CIP Write Tag command to the PLC, instructing it to spin the pump at 2.5 times its normal operating speed.

In Wireshark or PcapHub's viewer, you can identify this by looking for CIP service code 0x4d (Write Tag) in the packet detail. The tag name and new value are visible in the CIP data portion of the packet.

Filter tip: in the packet viewer, look for packets where the CIP service indicates a write operation. The contrast between the steady read-only polling and the single write command is the signature of this attack.

Phase 3: Process escalation

After the malicious setpoint write, the capture shows the PLC responding to subsequent Read Tag requests with escalating values:

  1. PUMP_RPM_ACT starts climbing from 1800 toward 4500
  2. DISCHARGE_PRESSURE_PSI increases as the pump pushes harder
  3. VIBRATION_MM_S spikes as the pump operates beyond safe parameters
  4. PUMP_FLOW_GPM increases, then becomes erratic as cavitation begins

This escalation happens over several seconds of captured traffic. Each polling cycle shows the values getting worse. This is what an uncontrolled process runaway looks like at the packet level.

Phase 4: Trip and recovery

The final phase shows the safety system responding. The PUMP_TRIP_STATUS variable changes from 0 to 1, indicating the PLC's built-in safety logic (or an external safety instrumented system) has detected the overspeed condition and tripped the pump.

Shortly after, another Write Tag command appears, this time reverting PUMP_RPM_SP back to 1800.0. This is likely the operator (or automated recovery) restoring the original setpoint after the incident.

What to look for in ICS attack captures

This capture demonstrates several patterns that are common in ICS attacks:

  1. Unexpected write commands in a stream of reads. Normal HMI polling is predominantly read-only. Write commands should be infrequent and expected.

  2. Setpoint changes to extreme values. Legitimate setpoint adjustments are typically incremental. A jump from 1800 to 4500 RPM is not a normal operational change.

  3. Process variable escalation. After a malicious setpoint change, the physical process responds. Watching correlated variables (RPM, pressure, vibration) climb together confirms the attack had a real effect.

  4. Safety system activation. Trip signals and emergency shutdowns in the traffic indicate the attack reached a dangerous threshold.

  5. Source identification. The IP address that sent the Write Tag command is your attacker (or compromised workstation). In this capture, 10.99.0.100 initiates all requests to the PLC at 10.99.0.22. In a real network, you would check whether the requesting host is authorised to write to the PLC.

Lessons for defenders

  • Monitor for CIP Write Tag commands from unexpected sources. Most legitimate writes come from the HMI server on a predictable schedule.
  • Alert on setpoint changes that exceed operational bounds. If a pump is rated for 2000 RPM, a setpoint of 4500 should trigger an immediate alert.
  • Capture traffic continuously. ICS attacks are often short-lived but have lasting physical consequences. Having packet captures means you can reconstruct the exact sequence of events after the fact.
  • Segment your OT network. If the attacker cannot reach the PLC, they cannot send Write Tag commands. Network segmentation is the single most effective defence.

This capture is a clean example of how a single unauthorised CIP command can create a dangerous industrial incident. The entire attack is one packet. Everything else is the process responding to that packet and the eventual safety response. That is what makes ICS security both critical and fascinating to analyse at the wire level.