A free, guided network-forensics range for industrial control systems.
331 hands-on challenges Β· 70 credited public datasets Β· 28 OT protocols Β· ~351 GB of real and testbed traffic
βΆ Open the challenge range Β Β·Β Browse all challenges Β Β·Β Quickstart Β Β·Β Where the captures are Β Β·Β Credits
Real industrial network traffic is hard to come by β and harder to learn from. This repo turns 70 public ICS/OT/SCADA packet-capture datasets into 331 guided challenges: substation protocols under attack, PLCs being hijacked, a safety-system malware, a real incinerator plant, a robotics cell under security scans, building-automation attacks, CTF captures from ICS villages, and a deep protocol library.
Every challenge gives you a scenario, objectives, step-by-step commands, progressive hints, a reveal-able solution with computed evidence (facts extracted from the packets by script, so you can check your work), and the credit and license of the data it's built on.
| Theme | Challenges | What you'll practise |
|---|---|---|
| Power grid & substations | 78 | IEC-104, DNP3, IEC 61850 GOOSE/MMS/SV, synchrophasors β attacks on substations and grid operations |
| Process control & PLC testbeds | 132 | Modbus and S7 testbeds and labs β recon, floods, MITM, value injection, PLC hijacking |
| ICS malware & intrusions | 6 | TRITON/TriStation, Industroyer2, exploitation and C&C inside control networks |
| Building automation | 8 | KNXnet/IP and BACnet β bus scans, floods and unauthorised group-value writes in building systems |
| CTF & conference labs | 60 | ICS Village CTF and conference-lab captures β find the flag, reconstruct the competition |
| Manufacturing & smart factory | 23 | Factory-cell and robotics traffic β baselines, unlabeled attack days, security-control footprints |
| Protocol library | 24 | one deduplicated deep-dive per OT protocol β learn each protocol's grammar and its dangerous operations |
Protocols covered: ANSI C12.22 Β· BACnet Β· Beckhoff ADS/AMS Β· C37.118 synchrophasor Β· DLMS/COSEM Β· DNP3 Β· EtherCAT Β· EtherNet/IP & CIP Β· HART-IP Β· IEC 61850 GOOSE Β· IEC 61850 MMS Β· IEC 61850 R-GOOSE Β· IEC 61850 SV Β· IEC-104 Β· KNXnet/IP Β· LS XGT FEnet Β· LonTalk Β· Modbus/TCP Β· Niagara Fox Β· OPC DA (DCOM) Β· OPC UA Β· Omron FINS Β· POWERLINK Β· PROFINET Β· ROC Plus Β· S7comm Β· S7comm-plus (S7-1200/1500) Β· TriStation
Scope: ICS / OT / SCADA only. A script admits each challenge only if at least one of its captures
carries an industrial protocol decoded by tshark (generic layers such as TPKT/COTP, LLDP or plain DCOM
don't count). scripts/fetch.py then keeps only the files the challenges use, their ground truth and
the dataset's own documentation. IT-only and IoT traffic is out of scope.
The challenges are designed to be worked with Pcapper β a modular PCAP forensics tool with dedicated ICS/OT analyzers (Modbus, DNP3, IEC-104, S7, EtherNet/IP & CIP, IEC 61850 MMS/GOOSE/SV, BACnet, OPC UA, PROFINET, TriStation and more), OT command normalization, control-loop analysis and MITRE ATT&CK for ICS mapping.
Every challenge has two complete walkthroughs: the Pcapper track (the default: its analyzers do the heavy lifting) and the tshark / Wireshark track (the by-hand route: display filters, field extraction, statistics). Switch between them with the toggle on each challenge page; the Markdown pages show both.
pcapper <capture> --overview # auto-detects the OT protocols and runs the right analyzers
pcapper <capture> --modbus --ot-commands # protocol deep-dive + every control/write, normalized
pcapper <capture> --mitre # map what happened to ATT&CK (Enterprise + ICS)Requirements: Python 3.12+ (or 3.9.17+, 3.10.12+, 3.11.4+ β releases with tarfile's extraction filters) and curl; for datasets fetched from their original sources also 7z (7-Zip or p7zip) and tcpdump (used to split captures β₯ 2 GB), and the cryptography package for the one MEGA-hosted dataset.
For the tshark / Wireshark walkthroughs, install Wireshark (which provides tshark and capinfos).
# 1. Install Pcapper (gives you the `pcapper` command)
git clone https://github.com/SackOfHacks/pcapper
cd pcapper && pip install . && cd ..
# 2. Get the challenge range
git clone https://github.com/SackOfHacks/ICS-PCAP-Challenges
cd ICS-PCAP-Challenges
# 3. Download a small starter set (< 1 GB) from the original sources, then index it
python3 scripts/fetch.py --starter
python3 scripts/build.py
# 4. Open the range in your browser and pick a challenge
xdg-open index.html # macOS: open index.html Β· Windows: start index.htmlThat's it β no server, no accounts, no build step to view it. Want everything? python3 scripts/fetch.py --list
shows every dataset and its size; fetch by name or with --all (~351 GB).
index.html is a static page that reads challenges.js. Double-click it (or xdg-open index.html).
- Landing page β every challenge as a card. Filter by theme and difficulty, or search by
protocol, malware, technique or tag (try
GOOSE,TRITON,replay,T0855). - Challenge page β scenario β objectives β numbered steps: pick Pcapper or tshark / Wireshark with the toggle (your choice is remembered; each command has a copy button) β hints you open one at a time β Reveal walkthrough / answer. The sidebar shows the dataset, its capture files, and its source & license.
- Progress β click a step number to tick it off (tracked separately for each walkthrough), or mark the whole challenge complete. Progress is saved in your browser (localStorage) only.
- Commands are written to run from the repo root, against files in
data/.
The same range is published at https://sackofhacks.github.io/ICS-PCAP-Challenges/. Use it to browse,
read and plan; the captures themselves are not hosted on GitHub, so run the commands against your local
clone after scripts/fetch.py.
Every challenge is also a Markdown page in challenges/ β readable right
here on GitHub, with hints and solutions in collapsible sections.
The captures are not in the git history (they total ~351 GB and belong to their authors). scripts/fetch.py
gets each dataset from the right place:
- This repository's
data-v1release mirrors the 41 datasets whose licence (or authors) allow redistribution (~345 GB of captures), as gzip-compressed parts under 2 GiB. Every part is SHA-256-checked againstcatalog/datasets.jsonbefore it is unpacked, and each dataset carries aLICENSE-NOTICE.mdwith its licence and required citation. If a mirror download fails or does not match its checksum,fetch.pystops; it never falls back to the unverified source on its own (ask for that with--from-source). - The original sources (Zenodo, Mendeley Data, NIST, TU Wien, Netresec, GitHub, Kaggle, MEGA, β¦) for the other
29 datasets, which their authors published without a licence that allows re-hosting. The fetcher
unpacks them, keeps only the files the challenges use and writes a
PROVENANCE.mdcredit file. Third-party sources are not checksum-verified, so everything they serve is treated as untrusted: HTTPS only, archives unpacked into an empty folder with links and escaping paths refused, and the MEGA download's integrity code (MAC) checked. See SECURITY.md.
python3 scripts/fetch.py --list # every dataset: size, licence, mirror or source
python3 scripts/fetch.py netresec-industroyer2 cyber4ot # specific datasets
python3 scripts/fetch.py --all # everything
python3 scripts/fetch.py cyber4ot --from-source # skip the mirror, use the original source
python3 scripts/build.py # re-index after fetchingDownloads resume if interrupted β just run the same command again.
Where is a particular capture? DATASETS.md lists every dataset with its fetch.py name, size,
direct download links (the release parts, or the original source) and the challenges that use it. Every challenge
page, and every challenge in the web app, starts with a Get the captures section: the one command that fetches
exactly what that challenge needs, plus the same links. To skip fetch.py: download every part of a dataset, then
cat <dataset>.tar.part* | tar -x and gunzip the files listed in its MIRROR-GZIPPED.txt.
Either way you get the publishers' own packets. Two things differ from their original download, the same on both
paths: captures over 2 GB are split into < 2 GiB parts, and captures published without a file extension get
.pcap/.pcapng (chosen from their magic bytes), because some tools pick capture files by extension.
These are real attack captures β including traffic of actual ICS malware (Industroyer2, TRITON) and exploit/C2 payloads. Work offline:
- Never replay this traffic onto a routed, production or industrial network.
- Never send the commands you find to a real PLC, RTU, IED or safety controller.
- Treat any file you carve as live malware β hash it, don't run it. Some captures carry Windows/Linux executables, and one dataset was recorded at a real facility; the challenges that use them say so in their safety note.
- Found a security problem in the tools or the content? Report it privately β see SECURITY.md.
This range exists because researchers, vendors and the community published their data. Please cite the original authors when you use the captures β full citations, licenses and DOIs for all 70 datasets are in ATTRIBUTION.md, and each challenge page shows its source.
Special thanks to TU Wien, NIST, the University of Western Macedonia, Tecnalia, the University of Coimbra, Queensland University of Technology, Fraunhofer FKIE and RWTH Aachen University, TU Delft, KIOS CoE (University of Cyprus), Jordan University of Science and Technology, the Canadian Institute for Cybersecurity, Warsaw University of Technology, UniversitΓ© Grenoble Alpes, MΓ€lardalen University, Polytechnique MontrΓ©al, ADSC Singapore, the CIARRES project, Netresec, CS3STHLM (4SICS), Digital Bond / S4, Nozomi Networks, CISA & Idaho National Laboratory, the University of Illinois ITI, OISF, the CybICS project, the ICS CTF organisers and archivists, and the community collectors credited in ATTRIBUTION.md.
ICS-PCAP-Challenges/
βββ index.html # the challenge range (static; open locally or via GitHub Pages)
βββ challenges.js # generated catalog the page reads
βββ datasets.js # generated: where each dataset's captures are (release parts / original source)
βββ challenges/ # one Markdown page per challenge + README index
βββ catalog/
β βββ challenges.json # challenge definitions (source of truth)
β βββ datasets.json # credits, licences, mirror checksums and original download sources
βββ scripts/
β βββ fetch.py # download datasets into data/ (release mirror or original source)
β βββ mega_fetch.py # public-MEGA-folder client used for one source-hosted dataset
β βββ test_security.py # regression tests for the fetcher's and the pages' safety checks
β βββ build.py # rebuild challenges.js, datasets.js, challenges/*.md, DATASETS.md and ATTRIBUTION.md
βββ data/ # the captures (git-ignored; created by fetch.py)
βββ DATASETS.md # where every dataset's captures are + the challenges that use it (generated)
βββ ATTRIBUTION.md # credits and licenses for every dataset (generated)
βββ SECURITY.md # how to report a vulnerability; what the tools defend against
βββ CITATION.cff # how to cite this range and its datasets
βββ LICENSE # MIT β code and challenge authoring only
The code and challenge authoring are MIT. The datasets are not covered by that license: each
keeps its own licence. The ones mirrored in the data-v1 release are redistributed under those licences
(several are CC BY-NC / BY-NC-SA β non-commercial only, others CC BY-SA / GPL β share-alike); the rest are
only downloaded from their sources. See ATTRIBUTION.md.