NetSim Cyber in research
Research use cases · NetSim Cyber 15.1
Research labs connect NetSim Cyber to the communication path between power-system devices. The devices keep their addresses and their protocols. NetSim Cyber applies each attack at the time and for the time that the study sets. Its captures give labelled data for detection research. Each use case gives the testbed, the NetSim Cyber setup, the attacks and the results.
The use cases
What NetSim Cyber gives a research testbed
Three functions are the same in all the use cases. The sections below give only the data that is different for each study.
Real devices on the path
NetSim Cyber connects to a switch or a router on the path between real PMUs, PDCs, relays or a real-time simulator. The devices do not change. The Real Nodes in the scenario use their IP addresses.
Timed attacks
The Threat Agent applies an attack to the flow that the Application Traffic Filter selects. Start Attack, Modify Attack and Stop Attack set the attack windows during the run.
Labelled captures
NetSim Cyber writes four captures: PRE.pcap (source traffic), MOD.pcap (modified), POST.pcap (forwarded) and DROP.pcap (dropped). The attack start and stop times label each packet.
DoS attacks on synchrophasor data
A university power-systems lab connected NetSim Cyber to the path between its PMUs and its PDC, in a hardware-in-the-loop testbed. NetSim Cyber applied four types of DoS attack to live IEEE C37.118 traffic. The lab used the labelled captures to train a detector. The detector finds an attack in about 1 ms and rebuilds the dropped data in about 2 ms per packet.
Testbed
NetSim Cyber setup
- Deployment
- Multi-system. The PMUs, the real-time simulator and the PDC are separate devices.
- Routing
- The compromised router sends each PMU packet to the NetSim Cyber host. In the lab testbed, the network switch does this.
- Real Nodes
- Three source nodes with the PMU IP addresses. One destination node with the PDC IP address.
- Threat Agent
- Between the PMU nodes and the PDC node
- Traffic filter
- Each PMU-to-PDC C37.118 flow, by source, destination, protocol and port
- Attack type
- Availability (DoS). The phasor values do not change.
Testbed
- Grid
- A transmission-grid model on an RTDS real-time digital simulator
- PMUs
- Two hardware PMUs and one software PMU. C37.118 at 60 frames per second.
- Network
- A substation switch and a WAN of routers to the control centre
- PDC
- Receives the three PMU streams at the control centre
- Transport
- TCP for most runs. The partial-drop runs used TCP and UDP.
Attacks that NetSim Cyber applied
| Attack | NetSim Cyber control | Settings in this study | Effect at the PDC |
|---|---|---|---|
| Fixed-rate DoS | Drop all packets on the flow for the window | One PMU flow, 2 s, 5 s or 10 s | No data from that PMU for the window |
| Variable-rate DoS | More than one drop window in one run | 4 s, 10 s and 2 s in one minute. Also 6 s and 8 s. | More than one interval with no data in one stream |
| Partial drop | Packet error rate on the flow | Increased error rate, over TCP and over UDP | UDP: some packets are lost. TCP: the source sends the packets again, so the monitor shows no loss. |
| Jitter | Delay on the flow | Added at random intervals | The packets are late. The largest interval between packets increases from about 4 ms to about 23 ms. |
From NetSim Cyber captures to a labelled dataset
NetSim Cyber sets each attack window, so the lab labelled each packet without manual review. The lab collected about 37,000 labelled packets.
| Label | Source of the event | Share of packets |
|---|---|---|
| Healthy | Usual operation | About 70% |
| Fault | L-G, L-L and L-L-L-G faults in the real-time simulator | About 13% |
| Attack | DoS windows from NetSim Cyber | About 17% |
What the lab built on NetSim Cyber data
The lab trained a machine-learning detector and a model that rebuilds the dropped phasors. Detection takes about 1 ms. The rebuild takes about 2 ms per packet and continues until NetSim Cyber stops the attack. The total of about 3 ms is less than the 16.67 ms between packets at 60 frames per second. The times were the same in each attack window, from 2 s to 10 s and in the variable-rate runs.
Notes for NetSim Cyber users
- Select the transport with care. Over TCP, a packet error rate causes retransmissions, not visible loss. To see the loss at the application, use UDP or read the NetSim Cyber captures.
- Use the attack windows to label the data. Timed Start Attack and Stop Attack give the labels, with no manual work.
- Run faults and attacks on the same grid model. The detector then learns the difference between a cyber attack and a physical fault.
- One NetSim Cyber host covers all flows on the path. The Application Traffic Filter selects the PMU flow to attack. The other flows pass without change.
Do this in NetSim Cyber
- Make a multi-system scenario. Add a Real Node for each PMU and for the PDC. Put the Threat Agent between them.
- Send the PMU-to-PDC traffic through the NetSim Cyber host. Use a router redirect, static routes,
NetSimCyberClient.exeor a two-NIC gateway. - Set the Application Traffic Filter to one PMU flow (C37.118, TCP port 4712 by default).
- Select the attack: packet drop for an outage, packet error rate for a partial drop, or delay for jitter.
- Start the run and record a baseline. Start the attack for the window, then stop it. For a variable-rate run, do this step again.
- Keep the NetSim Cyber captures and the PDC data. Label each packet from the attack times.
Custom false data injection
In this use case, NetSim Cyber is a custom false-data-injection attacker on a synchrophasor link. A Python attacker changes the measured values in live IEEE C37.118 frames. The PDC and the programs after it receive false phasors in valid frames. Detection and mitigation run separate from NetSim Cyber, on the stream from the PDC.
Testbed
An RTDS grid model drives a real PMU. The PMU sends C37.118 data to the PDC across three WAN routers. NetSim Cyber connects between two of the routers, and the routers send the PMU-to-PDC traffic through it. A separate workstation runs detection and mitigation on the PDC output.
Testbed parts
- RTDS
- Real-time simulator. It operates the real PMU with a grid model.
- Real PMU
- Sends C37.118 data to the control centre at 60 frames per second
- WAN routers
- Three routers carry the PMU-to-PDC link
- NetSim Cyber
- Between two of the routers. The routers send the PMU-to-PDC traffic through it.
- PDC
- Aligns the phasors in time at the control centre
- Detection host
- A separate workstation that subscribes to the PDC output
NetSim Cyber setup
- Deployment
- Multi-system. The WAN routers send the PMU-to-PDC traffic to the NetSim Cyber host (static routes or
NetSimCyberClient.exe). - Real Nodes
- One source node for the real PMU, one destination node for the PDC
- Threat Agent
- On the PMU-to-PDC path, between the routers
- Traffic filter
- The C37.118 flow, by source, destination, protocol and TCP port 4712
- Attack type
- Integrity (FDI). No drop and no delay.
- Target field
- Phase A voltage magnitude (VA)
- Checksums
- NetSim Cyber calculates the IP and TCP checksums again. The callback calculates the C37.118 CRC again.
Why NetSim Cyber
- A custom attacker: one Python callback sets the change to a selected phasor for each packet.
- Valid frames: the frame keeps a correct CRC and correct checksums, so only the value is wrong.
- A reference value:
PRE.pcapkeeps each unchanged packet. The true value is next to the injected value for each frame. - Separate roles: NetSim Cyber is only the attack source. The detector and the mitigation are separate software.
The custom attacker
NetSim Cyber calls modify_payload() for each packet that the Application Traffic Filter selects. The payload argument is a writable buffer. The callback changes bytes in the buffer and keeps the payload length. The iopath argument is the simulation I/O path, for logs and input files. The callback returns its verdict in a dictionary.
NETSIM_PACKET_API_VERSION = 2
def modify_payload(ipv4, ipv6, tcp, udp, payload, iopath, context=None):
mv = memoryview(payload) # change bytes in place, do not resize
changed = False
# In the attack window:
# find the VA magnitude in the C37.118 data frame,
# add the bias or the ramp to it,
# calculate the frame CRC-CCITT again,
# set changed = True.
return {"modified": changed, "drop": False, "extra_delay_ms": 0.0}
NetSim Cyber calculates the IP and TCP checksums again after the change. The C37.118 CRC is part of the payload, so the callback must calculate it. The built-in IEEE C37.118 attacker applies bias, ramp and override without code, and it corrects the CRC.
Attack shapes from one callback
| Shape | What the callback does | Why the lab uses it |
|---|---|---|
| Step bias | Adds a fixed offset in the window | The most simple shape. It tests a threshold detector. |
| Ramp or drift | Adds an offset that increases with time | A slow attack that a rate check does not find |
| Targeted channel | Changes one phasor and keeps the other phasors correct | It tests a detector that compares the channels |
| Replacement | Writes a fixed value over the measured value | The reading stays constant while the grid changes |
What the attack looks like
Detection and mitigation, separate from NetSim Cyber
NetSim Cyber applies the attack and captures the traffic. The detector and the mitigation are separate software that use the PDC stream. The lab can move them to a control centre with no change.
| Stage | Where it runs | What it does |
|---|---|---|
| Attack | NetSim Cyber (Threat Agent and custom attacker) | Puts the false value into live frames |
| Capture | NetSim Cyber | Writes PRE.pcap (true values) and POST.pcap (values as delivered) |
| Detection | External program on the PDC stream | Finds an attacked frame from limit checks and a comparison of the channels |
| Mitigation | External program | Replaces the marked value with an estimated value |
| Scoring | Offline | Compares its output with the attack window from NetSim Cyber |
Notes for NetSim Cyber users
- Write the attack as a callback. One function sets the window, the shape and the target channel.
- Keep
PRE.pcapas the ground truth. The unchanged value next to the injected value makes the integrity study measurable. - Attack one channel to test the consistency checks. This is not easy for a detector, and easy to set up.
- Keep the detector separate from NetSim Cyber. The lab can then measure the same code here and use it later in operation.
Do this in NetSim Cyber
- Make a scenario with a source node for the real PMU and a destination node for the PDC. Put the Threat Agent on the link between them.
- Write the
modify_payload()callback. In the window, find the target phasor, apply the bias or the ramp, and calculate the CRC again. - Load the callback with Import Custom Attacker, and start the run.
- Record
PRE.pcapandPOST.pcapacross the baseline, the attack window and the recovery. - Send the
POSTstream to the external detector and the mitigation. Compare their marks with the attack window.
Stealthy false data injection on DNP3
In this use case, NetSim Cyber is a DNP3 attacker on an active distribution network. NetSim Cyber changes the values that an RTU reports to the SCADA master in live DNP3 traffic. The master receives false readings in valid frames. The change is small and stays in the operator limits, so a simple bad-data check does not find it. Detection, classification and mitigation run separate from NetSim Cyber.
Testbed
Why NetSim Cyber
- Real DNP3 traffic between a real outstation and a real master, at field data rates.
- A stealthy attack: the attacker holds a value constant, or adds a small bias in a selected band.
- Valid frames: the DNP3 data-link CRCs stay correct, so only the value is wrong.
- Many attacks from one host: FDI, replay, unauthorised control, time skew, restart and flooding. These give a dataset with many attack classes.
NetSim Cyber setup
- Deployment
- Multi-system. The DNP3 traffic between the outstation and the master goes through the NetSim Cyber host.
- Real Nodes
- One source node for the outstation, one destination node for the master
- Traffic filter
- The DNP3 flow, by source, destination, protocol and TCP port 20000
- Attack type
- Integrity (stealthy FDI). Also replay, control, time skew, restart and flooding.
- Target points
- Selected DNP3 analog input points, for example a feeder voltage
- CRCs
- The built-in DNP3 attacker calculates the data-link CRCs again. A custom attacker must calculate them itself.
DNP3 attacks that NetSim Cyber applies
| Attack class | NetSim Cyber control | What the master sees |
|---|---|---|
| False data injection (stealthy) | Changes the analog input values in the limits | A wrong measurement that looks correct |
| Replay | Sends earlier valid responses again | Earlier values while the conditions change |
| Unauthorised control | Sends a CROB select and operate, or a direct operate | An operate command that the operator did not send |
| Time skew | Writes a shifted time to the outstation | Events with wrong times, or in the wrong sequence |
| Cold or warm restart | Sends a restart function | The outstation starts again |
| DoS flooding | Floods the link | The polls time out |
The stealthy attacker
The built-in DNP3 attacker changes analog input values and calculates the CRCs again. For a different value shape, a lab can write a modify_payload() callback, as in use case 2. For example, the callback can hold the reported value constant, or add a small bias. If the bias is small, the reported value stays in the operator band. A threshold check then does not find the attack.
What the attack looks like
Detection, classification and mitigation, separate from NetSim Cyber
The labs built two external defences on the NetSim Cyber captures. Both run separate from NetSim Cyber, on the data from the master.
What the labs built
- A detector for stealthy FDI on an active distribution network, in a hardware-in-the-loop setup. It compares the reported measurements with the expected network state. It finds an injection that stays in the limits.
- A deep-learning model that detects an attack, identifies the DNP3 attack class and starts the mitigation. Examples of mitigation are a corrected value, or a rejected unauthorised command.
Do this in NetSim Cyber
- Make a multi-system scenario with a Real Node for the outstation and one for the master. Put the Threat Agent between them.
- Send the DNP3 traffic (TCP 20000) through the NetSim Cyber host.
- Select the built-in DNP3 attack. For a different value shape, load a
modify_payload()callback. - Record
PRE.pcapandPOST.pcapacross the baseline, the attack window and the recovery. - Send the data from the master to the external detector and classifier. Compare their output with the attack window and the attack class.
IEC 61850 GOOSE, Sampled Values and R-GOOSE
In this use case, NetSim Cyber is an IEC 61850 attacker in a digital substation. GOOSE and Sampled Values (SV) are Layer-2 multicast messages without a TCP session. An attacker on the path can change them directly. NetSim Cyber injects false GOOSE commands and changes SV samples. It encodes each changed frame again, so the subscriber IED accepts it. The same command attack then runs on R-GOOSE, the routable form between substations.
Testbed
Testbed parts
- Publisher IED or merging unit
- Sends GOOSE status and SV samples
- Ethernet switch
- Carries the Layer-2 multicast on the station bus and the process bus
- Subscriber IED (relay)
- Subscribes to GOOSE and SV, and operates the breaker
- NetSim Cyber
- Inline on the bus, as a bridge between two network adapters
- Router (R-GOOSE)
- Carries R-GOOSE to a remote substation
NetSim Cyber setup
- Access
- Inline Layer-2 bridge. Packet interception needs Administrator rights.
- GOOSE
- Dataset tampering (Boolean, float, unsigned integer). Overrides of stNum, sqNum and timeAllowedToLive. Simulation flag toggle.
- Sampled Values
- Changes to the sample payload (Va, Vb, Vc, Vn, Ia to In). Overrides of smpCnt and smpSynch.
- R-GOOSE
- GOOSE over UDP. The routers send the R-GOOSE flow through the NetSim Cyber host.
- Validity
- NetSim Cyber encodes each changed frame again, so the subscriber IED accepts it
Sub-case 1: GOOSE command injection
GOOSE carries a small dataset, for example a trip Boolean. The publisher sends a fast burst after each state change, then sends the message again at longer intervals. A real state change increases stNum. The subscriber accepts a frame with a higher stNum as a new state.
| Attack | NetSim Cyber control | Effect at the subscriber |
|---|---|---|
| Command injection | Changes the dataset Boolean (trip or close) and increases stNum | The relay accepts a new state change and operates |
| sqNum override | Sets sqNum to a different value | The retransmissions are out of sequence |
| timeAllowedToLive override | Sets a shorter timeAllowedToLive | The next retransmission arrives after the time expires. The relay declares the GOOSE message lost. |
| Simulation flag | Toggles the simulation bit | The relay can treat real frames as test frames |
Sub-case 2: SV manipulation
Sampled Values send the instantaneous current and voltage from a merging unit to the relay, at 80 samples per cycle. A change to the samples changes what the relay measures.
| Attack | NetSim Cyber control | Effect at the relay |
|---|---|---|
| Overcurrent injection | Increases the current samples in the SV payload | The relay measures a fault that is not there, and trips |
| Masking | Decreases or holds the samples | The relay does not see a real fault, and does not trip |
| smpCnt override | Changes the sample count | The samples look lost or out of sequence |
| smpSynch override | Changes the synchronisation flag | The relay does not trust the stream, or uses wrong times |
Sub-case 3: R-GOOSE
R-GOOSE (routable GOOSE, IEC 61850-90-5) carries GOOSE messages over UDP/IP. The messages can go through routers between substations. The command attack is the same as in sub-case 1. Only the position of NetSim Cyber changes.
- NetSim Cyber is on the routed path between the two substations.
- The Application Traffic Filter selects the R-GOOSE flow by UDP port.
- Command injection works as in sub-case 1. The stNum rule does not change.
- R-GOOSE is an IP flow, so the Threat Agent can also add a fixed delay. WAN latency uses part of the timeAllowedToLive. A small added delay can then make a frame late.
Notes for NetSim Cyber users
- Increase stNum when you inject a command. A GOOSE subscriber accepts a frame with a higher stNum.
- Keep smpCnt and smpSynch consistent on SV. The stream then looks continuous.
- Test on the bus and on R-GOOSE. The same command attack covers the local Ethernet case and the routed case.
- On R-GOOSE, add a delay to test the timeAllowedToLive margin over the WAN.
Do this in NetSim Cyber
- Connect NetSim Cyber inline on the bus, as a bridge between two network adapters. Run it with Administrator rights.
- Select the GOOSE or SV stream to attack. For R-GOOSE, select the flow by UDP port.
- For sub-case 1, change the dataset and increase stNum.
- For sub-case 2, change the SV current or voltage samples, and keep smpCnt consistent.
- For sub-case 3, send the R-GOOSE flow through the NetSim Cyber host, and use the sub-case 1 attack.
- Capture the traffic on the two sides of NetSim Cyber, for example with Wireshark.
IEC 60870-5-104 on a utility-scale SCADA network
In this use case, NetSim Cyber is an IEC 104 attacker in a large utility SCADA network. About 120 substation RTUs report to a national control centre over a WAN. NetSim Cyber is on the IEC 104 link of one substation. It changes the telemetry and the commands on that link, and the other sites operate as usual. The use case shows the effect of one compromised link in a large network. The operator can receive false data, and equipment can operate incorrectly.
Testbed
Testbed parts
- Substation RTUs or gateways
- About 120 sites that report over IEC 104
- WAN
- Carries IEC 104 over TCP
- NetSim Cyber
- On the IEC 104 link of one site, at a WAN router or a front-end processor
- Front-end processor
- Stops the IEC 104 connections at the control centre
- SCADA master
- Polls, interrogates and archives the data
NetSim Cyber setup
- Deployment
- Multi-system. The IEC 104 traffic of the target site goes through the NetSim Cyber host.
- Real Nodes
- One source node for the RTU or gateway, one destination node for the control-centre master
- Traffic filter
- The IEC 104 flow, by source, destination, protocol and TCP port 2404
- Targets
- Selected ASDUs by type and information object address (IOA): measured values, status and commands
- Validity
- NetSim Cyber changes each ASDU in the frame, so the APDU sequence numbers stay valid
IEC 104 attacks that NetSim Cyber applies
| Attack | NetSim Cyber control | What the control centre sees |
|---|---|---|
| Telemetry manipulation | Changes measured-value ASDUs (M_ME) for a selected IOA: increment, decrement, ramp, jitter, pulse or override | A wrong measurement that looks correct (load, voltage, power) |
| Status manipulation | Flips a single-point status (M_SP) or sets a double-point status (M_DP) | A breaker or a switch in the wrong position on the display |
| Command manipulation | Flips a single command (C_SC) or sets a double command (C_DC) in transit | The RTU operates the switch in the direction that the operator did not select |
| Replay | Sends earlier valid messages again | Earlier values while the conditions change |
| Delay or drop | Holds or drops APDUs | Late updates, or no updates |
| Time-tag manipulation | Shifts the CP56Time2a time tags | Events in the wrong sequence in the sequence-of-events log |
What the attack looks like
Notes for NetSim Cyber users
- Attack one flow in a large network. The filter selects one site, and the other sites operate live.
- Change the ASDU in the frame. If the APDU sequence numbers are wrong, the master closes the connection, and the attack is easy to see.
- Select the target by ASDU type and IOA. A measured value, a status point and a command each need a different change.
- Time tags are important. A shift of CP56Time2a corrupts the sequence-of-events log, and no value changes.
Do this in NetSim Cyber
- Make a multi-system scenario. Add a Real Node for the target RTU or gateway, and one for the control-centre master.
- Send the IEC 104 traffic of that site (TCP 2404) through the NetSim Cyber host.
- In the IEC-104 attacker, select the ASDU type and the IOA to attack.
- Apply the attack: telemetry or status manipulation, command manipulation, replay, delay, drop or a time-tag shift.
- Record
PRE.pcapandPOST.pcap. Compare the output of the control-centre detector with the attack window.
A coordinated multi-protocol attack on a 440 kV bay
This use case attacks several protocols on one protection and monitoring path. A merging unit at a 440 kV auto-transformer sends Sampled Values and GOOSE on the process bus. A protection relay subscribes to them. The relay also sends C37.118 synchrophasors over a WAN to a PDC at the control centre. All devices take their time from a shared GPS or PTP reference. NetSim Cyber attacks GOOSE, SV and C37.118, and it shifts the C37.118 time fields.
Testbed
Attacks in this use case
| Protocol | Attacks |
|---|---|
| GOOSE | Command injection with a higher stNum, timeAllowedToLive override, simulation flag toggle |
| Sampled Values | False overcurrent and undercurrent injection, smpCnt override, smpSynch override |
| IEEE C37.118 | Magnitude bias and ramp, frequency override, angle bias, replay |
| Time fields | C37.118 SOC shift (whole seconds) and fine time shift (FRACSEC) |
Attack 1: Sampled Values
NetSim Cyber increases the SV current samples from the merging unit. The relay measures a fault that is not there, and it trips the 440 kV bay.
Attack 2: GOOSE
NetSim Cyber injects a GOOSE trip with a higher stNum. The relay accepts the frame and trips the bay.
Attack 3: C37.118
On the WAN link, NetSim Cyber overrides the frequency field in the synchrophasor stream from the relay. The PDC records a false underfrequency, which can start load shedding.
Attack 4: Time fields
NetSim Cyber shifts the time fields (SOC and FRACSEC) in the C37.118 frames. The PDC then aligns the phasor with the wrong time. At 50 Hz, a time offset of 1 ms gives a phase-angle error of 18 degrees. An angle error that increases can look like a real power swing, and wide-area protection can then operate incorrectly.
A coordinated attack in stages
A lab can run the four attacks in sequence. Together they make one attack that looks real, while the real grid has no fault:
- The time shift starts, and the phasor angles at the PDC look unusual.
- A frequency override adds a false underfrequency.
- A false GOOSE frame trips the breaker.
- The SV overcurrent agrees with the false trip, so the protection data is consistent.
The lab can run the attacks one at a time to measure each effect, or in sequence for the coordinated case.
Notes for NetSim Cyber users
- Give each flow its own attack. The GOOSE and SV attacks run on the bus, and the C37.118 attacks run on the WAN.
- The relay is the central point. An attack on the bus shows in the synchrophasor stream on the WAN, so capture at the two points.
- The time fields control the angle. A small time shift gives a large angle error at the PDC.
- Run the attacks in stages to make one event. An attack that looks real needs data from all protocols that agrees.
Do this in NetSim Cyber
- Connect NetSim Cyber inline on the process bus for GOOSE and SV.
- Make a scenario with Real Nodes for the relay (as PMU) and the PDC. Put the Threat Agent on the WAN path.
- Set the Application Traffic Filter to the C37.118 flow (TCP 4712).
- Apply the attack for each protocol from the table. For the time attack, shift SOC or FRACSEC.
- Start the attacks one at a time to measure each effect. Then start them in sequence for the coordinated case.
- Capture the traffic at the relay and at the PDC.
NetSim Cyber with a MATLAB/Simulink model (IEEE 9-bus)
NetSim Cyber connects to a MATLAB/Simulink model over the network. A lab can attack a simulated plant on the network, with no change to the model. This use case uses the IEEE 9-bus example that ships with NetSim Cyber (sample configuration Cyber_IEEE 9-Bus_Example).
What the example does
- The Simulink plant sends the Bus 6 voltage to a MATLAB supervisory controller over TCP, UDP or Modbus TCP.
- NetSim Cyber subtracts 0.07 pu from the voltage in the measurement path.
- The received voltage goes below the 0.95 pu limit, and the controller acts on the false value.
- The command path from the controller to Simulink does not go through the Threat Agent.
Use it in a study
- Put the lab model in place of the IEEE 9-bus plant, and keep the same NetSim Cyber setup.
- Simulink sends with an ordinary TCP/IP or UDP block, and the model does not change.
- Compare the Simulink scope (the true value) with the value that the controller receives.
- Keep the command path separate from the Threat Agent to measure only the effect of the false measurement.
Example 2 on the worked examples page gives the frame layout, the ports, the three variants and the plots.
NetSim and NetSim Cyber together: IEC 104 over an emulated WAN
In the other use cases, NetSim Cyber is on one link. In this use case, the NetSim emulator and NetSim Cyber are on the same path. A real IEC 104 outstation sends data to a real IEC 104 master. The traffic goes across a WAN that the NetSim emulator models, and NetSim Cyber attacks it. The test then includes WAN latency, jitter and loss together with the attack.
What NetSim adds: example WAN settings
- One-way latency
- 40–80 ms per link
- Jitter
- ±10–20 ms
- Bandwidth
- A limit per link, for example 2 Mbps
- Packet loss
- A small rate, as on a real WAN
- Topology
- Several hops on a selected path
How the attack and the network act together
- Flood and WAN bandwidth: on a 2 Mbps link, a flood at a low rate fills the link. The same flood on a LAN has almost no effect.
- Delay and WAN jitter: the WAN adds a latency that changes. A detector that uses arrival times must separate the attack delay from the normal jitter.
- Loss and replay: real WAN loss causes gaps and TCP retransmissions, so a detector does not easily find the replayed frames.
- Detector settings: a detector that a lab sets up on a clean LAN can give false alarms on a real WAN.
What the attack looks like
Notes for NetSim Cyber users
- Put the network emulator in the path when the WAN is important. A LAN test does not show the effect of WAN latency, jitter, bandwidth limits and loss.
- Keep the real endpoints. Real IEC 104 devices use their real timers and their k and w windows.
- Set the WAN values from field measurements. Measure the latency, jitter, bandwidth and loss of the real link, and use them in NetSim.
- Test the detector in the conditions where it will operate.
Do this in NetSim and NetSim Cyber
- Use the real RTU and the real master as the endpoints.
- Model the WAN in the NetSim emulator: routers, link latency, jitter, bandwidth and loss.
- Put the NetSim Cyber Threat Agent after the emulated WAN.
- Select an attack: an IEC 104 attack (delay, replay or telemetry), or a SYN flood. Set its values.
- Capture the traffic at the two endpoints. Compare the master and the detector with and without the WAN conditions.
Related pages
Sources and trademarks
RTDS is a trademark of RTDS Technologies Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. Wireshark is a registered trademark of the Wireshark Foundation. All other product and company names are trademarks of their respective owners. This page uses them only to identify the products.