# Monitoring Industrial IoT/Scada Traffic with nDPI and ntopng | ntop

> Monitoring Industrial IoT and SCADA traffic can be challenging as most open source monitoring tools are designed for Internet protocols. As this is becoming a

[Blog](https://www.ntop.org/blog/)[nDPI](https://www.ntop.org/category/ndpi/)[ntopng](https://www.ntop.org/category/ntopng/)

# Monitoring Industrial IoT/Scada Traffic with nDPI and ntopng

September 8, 20202 min read

Monitoring Industrial IoT and [SCADA](https://en.wikipedia.org/wiki/SCADA) traffic can be challenging as most open source monitoring tools are designed for Internet protocols. As this is becoming a hot topic with companies automating production lines, we have decided to enhance ntop tools to provide our user community traffic visibility even in industrial environments. This has required to enhance nDPI to detect these protocols and enhance ntopng, our monitoring console, to visualize this traffic by providing enhanced protocol dissection on top of which alerts can be triggered.

To date, nDPI supports [modbus](https://en.wikipedia.org/wiki/Modbus), [DNP3](https://en.wikipedia.org/wiki/DNP3) and [IEC60870](https://en.wikipedia.org/wiki/IEC_60870) protocols. In particular IEC 60870 is very important as it can be used to detect issues such as

-   Unknown telemetry addresses
-   Connection loss and restore
-   Loss of data coming from remote systems

The standard is quite complex and if you want to monitor this traffic to trigger alerts using open source software your choice is limited to custom scripts for the suricata IDS or Zeek/[Malcom](https://github.com/idaholab/Malcolm). As ntopng has the ability to trigger alerts by means of user-scripts when specific events happen, we have decided to enhance ntopng to dissect this traffic so that it is possible to emit custom alerts when specific communications are detected. In Scada in fact companies usually monitor traffic passively instead of actively dropping specific communications when something goes wrong: this is because the risk to drop a wrong packet is too high compared to the benefit and it is much better to trigger and alert and handle it rather than take the risk.

ntopng has been extended to continuously (i.e. not just the first few packets of a communication) monitor IEC 60870 communications and dissect individual PDUs. This way users can trigger alerts by means of ntopng user scripts. The flexibility introduced in ntopng 4.1.x that scripts can be bound to host pools, allow custom script configurations to be created for specific devices so that each device family has (potentially) its custom ruleset.

![](/images/2020/09/Screen_Shot_2020-09-08_at_20_23_48.webp)

The above picture shows how a IEC 60870 is detected and reported by ntopng that in addition to usual latency, throughput, retransmissions… metrics it complements it with specific protocol information that can be used to detect anomalies and trigger alerts.

You can generate alerts when specific unexpected messages are reported (ntopng Enterprise L is required). This is done in a few steps:

-   Edit the flow scripts clicking on the button shown below

![](/images/2020/09/Screen_Shot_2020-09-22_at_11_11_27.webp)

-   Make sure the IEC script is enabled and specify in a comma separated value the list of allowed typeIDs for your traffic.

![](/images/2020/09/Screen-Shot-2020-09-22-at-11.13.06.webp)

From this time on, ntopng will report communications with unexpected TypeIDs that you can export to email. slack. discord… using the ntopng endpoint/recipient mechanism of version 4.1.x

![](/images/2020/09/Screen_Shot_2020-09-22_at_11_22_22.webp)

In the alerts page you can also see how many times a certain unexpected TypeIDs has been reported (Count column) and other alarm details.

ntop acknowledges [swtich.ch](https://www.switch.ch) for introducing and assisting us while developing IoT/Scada extensions.

Happy IoT and Scada monitoring!

## Keep reading

AINov 7, 2026

### [Sharkfest 26EU: HowTo Detect Stealth VPN and AI Inference Traffic](https://www.ntop.org/sharkfest-26eu-howto-detect-stealth-vpn-and-ai-inference-traffic/)

Earlier this week we have presented at Sharkfest Europe 2026 a presentation of our work about traffic detection of Stealth VPNs and AI Inference. The presentation addresses the challenges of detecting modern obfuscated network traffic, specifically from stealth VPNs and custom/local artificial intel

nDPINov 7, 2026

### [Detecting CVE-2026-98432 using nDPI/ntopng](https://www.ntop.org/detecting-cve-2026-98432-using-ndpi-ntopng/)

CVE-2026-98432 is a critical, 9.8-severity use-after-free (UAF) vulnerability in the Linux kernel’s IPv4 TCP networking stack. It allows an unauthenticated remote attacker to potentially cause system crashes, memory corruption, or execute arbitrary commands with root privileges. From a network stand

[![](/images/2026/09/Screenshot-2026-09-09-151028-1.webp)](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

AnnounceOct 5, 2026

### [October 20th: Join us for the ntopng 7.0 Webinar](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

Is your network monitoring keeping pace with AI, larger infrastructures, and the growing need for real observability? We’re excited to introduce ntopng 7.0, alongside new releases of the rest of the ntop…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/monitoring-industrial-iot-scada-traffic-with-ndpi-and-ntopng/