Download Latest Version icsimlab.zip (3.8 kB)
Email in envelope

Get an email when there's a new version of ICS Sensor Sim Lab

Home
Name Modified Size InfoDownloads / Week
simulator.cpython-313.pyc 2026-01-28 2.4 kB
simulator.py 2026-01-28 1.6 kB
main.py 2026-01-28 601 Bytes
README.md 2026-01-28 968 Bytes
icsimlab.zip 2026-01-28 3.8 kB
Totals: 5 Items   9.4 kB 0

ICS Sensor Traffic Simulator

This tool simulates network traffic typical of an Industrial Control System (ICS) environment. It generates synthetic Modbus/TCP packets to help test monitoring and intrusion detection systems.

Features

  • Generates random internal IP addresses (192.168.1.x).
  • Simulates common Modbus function codes (Read Coils, Write Registers, etc.).
  • Outputs data to a CSV log file.

Quick Start

To use this tool, run the simulator:

# Run for 30 seconds and save to traffic.log
python lab_runner.py ics-sim --duration 30 --output traffic.log

Output Format

The generated CSV file contains the following columns:

  • timestamp: Time of the event.
  • source_ip: IP sending the request.
  • dest_ip: Destination PLC IP (fixed at 192.168.1.100).
  • protocol: Protocol used (MODBUS/TCP).
  • function_code: Modbus function code used.
  • register_address: Target register.
  • value: Value read/written.
Source: README.md, updated 2026-01-28