[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116995":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":13,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":37,"updatedAt":38,"readmeContent":39,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},116995,"ICS-PCAP-Challenges","SackOfHacks\u002FICS-PCAP-Challenges","SackOfHacks","261 guided ICS\u002FOT\u002FSCADA network-forensics challenges over 51 credited public PCAP datasets, with Pcapper and tshark\u002FWireshark walkthroughs. Runs in your browser.","https:\u002F\u002Fsackofhacks.github.io\u002FICS-PCAP-Challenges\u002F",null,"JavaScript",71,18,54,0,1,16,55.44,"Other",false,"main",true,[24,25,26,27,28,29,30,31,32,33,34,35,36],"ctf","dnp3","ics","iec-61850","industrial-control-systems","modbus","network-forensics","ot-security","pcap","pcapper","scada","threat-hunting","wireshark","2026-11-19 18:08:59","2026-11-23 18:04:09","\u003Cdiv align=\"center\">\n\n# 🏭 ICS \u002F OT \u002F SCADA PCAP Challenges\n\n**A free, guided network-forensics range for industrial control systems.**\n\n331 hands-on challenges · 70 credited public datasets · 28 OT protocols · ~351 GB of real and testbed traffic\n\n[**▶ Open the challenge range**](https:\u002F\u002Fsackofhacks.github.io\u002FICS-PCAP-Challenges\u002F) &nbsp;·&nbsp;\n[Browse all challenges](challenges\u002FREADME.md) &nbsp;·&nbsp;\n[Quickstart](#-quickstart-5-minutes) &nbsp;·&nbsp;\n[Where the captures are](DATASETS.md) &nbsp;·&nbsp;\n[Credits](ATTRIBUTION.md)\n\n![challenges](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fchallenges-331-2ea44f)\n![datasets](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdatasets-70-1f6feb)\n![protocols](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOT%20protocols-28-8250df)\n![powered by Pcapper](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpowered%20by-Pcapper-orange)\n![no server](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fruns-in%20your%20browser-lightgrey)\n![license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode-MIT-blue)\n\n\u003Cimg src=\"docs\u002Fscreenshot.png\" alt=\"The ICS\u002FOT\u002FSCADA PCAP challenge range\" width=\"900\">\n\n\u003C\u002Fdiv>\n\n---\n\n## What is this?\n\nReal industrial network traffic is hard to come by — and harder to *learn from*. This repo turns\n**70 public ICS\u002FOT\u002FSCADA packet-capture datasets** into **331 guided challenges**:\nsubstation protocols under attack, PLCs being hijacked, a safety-system malware, a real incinerator\nplant, a robotics cell under security scans, building-automation attacks, CTF captures from ICS villages,\nand a deep protocol library.\n\nEvery challenge gives you a **scenario**, **objectives**, **step-by-step commands**, **progressive hints**,\na **reveal-able solution** with **computed evidence** (facts extracted from the packets by script, so you\ncan check your work), and the **credit and license** of the data it's built on.\n\n| Theme | Challenges | What you'll practise |\n|---|---:|---|\n| **Power grid & substations** | 78 | IEC-104, DNP3, IEC 61850 GOOSE\u002FMMS\u002FSV, synchrophasors — attacks on substations and grid operations |\n| **Process control & PLC testbeds** | 132 | Modbus and S7 testbeds and labs — recon, floods, MITM, value injection, PLC hijacking |\n| **ICS malware & intrusions** | 6 | TRITON\u002FTriStation, Industroyer2, exploitation and C&C inside control networks |\n| **Building automation** | 8 | KNXnet\u002FIP and BACnet — bus scans, floods and unauthorised group-value writes in building systems |\n| **CTF & conference labs** | 60 | ICS Village CTF and conference-lab captures — find the flag, reconstruct the competition |\n| **Manufacturing & smart factory** | 23 | Factory-cell and robotics traffic — baselines, unlabeled attack days, security-control footprints |\n| **Protocol library** | 24 | one deduplicated deep-dive per OT protocol — learn each protocol's grammar and its dangerous operations |\n\n**Protocols covered:** ANSI C12.22 · BACnet · Beckhoff ADS\u002FAMS · C37.118 synchrophasor · DLMS\u002FCOSEM · DNP3 · EtherCAT · EtherNet\u002FIP & CIP · HART-IP · IEC 61850 GOOSE · IEC 61850 MMS · IEC 61850 R-GOOSE · IEC 61850 SV · IEC-104 · KNXnet\u002FIP · LS XGT FEnet · LonTalk · Modbus\u002FTCP · Niagara Fox · OPC DA (DCOM) · OPC UA · Omron FINS · POWERLINK · PROFINET · ROC Plus · S7comm · S7comm-plus (S7-1200\u002F1500) · TriStation\n\n**Scope: ICS \u002F OT \u002F SCADA only.** A script admits each challenge only if at least one of its captures\ncarries an industrial protocol decoded by `tshark` (generic layers such as TPKT\u002FCOTP, LLDP or plain DCOM\ndon't count). `scripts\u002Ffetch.py` then keeps only the files the challenges use, their ground truth and\nthe dataset's own documentation. IT-only and IoT traffic is out of scope.\n\n## 🔧 Built around Pcapper\n\nThe challenges are designed to be worked with **[Pcapper](https:\u002F\u002Fgithub.com\u002FSackOfHacks\u002Fpcapper)** —\na modular PCAP forensics tool with dedicated ICS\u002FOT analyzers (Modbus, DNP3, IEC-104, S7, EtherNet\u002FIP &\nCIP, IEC 61850 MMS\u002FGOOSE\u002FSV, BACnet, OPC UA, PROFINET, TriStation and more), OT command normalization,\ncontrol-loop analysis and MITRE ATT&CK for ICS mapping.\n\n**Every challenge has two complete walkthroughs:** the **Pcapper** track (the default: its analyzers do the\nheavy lifting) and the **tshark \u002F Wireshark** track (the by-hand route: display filters, field extraction,\nstatistics). Switch between them with the toggle on each challenge page; the Markdown pages show both.\n\n```bash\npcapper \u003Ccapture> --overview            # auto-detects the OT protocols and runs the right analyzers\npcapper \u003Ccapture> --modbus --ot-commands # protocol deep-dive + every control\u002Fwrite, normalized\npcapper \u003Ccapture> --mitre                # map what happened to ATT&CK (Enterprise + ICS)\n```\n\n## 🚀 Quickstart (5 minutes)\n\n**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.\nFor the tshark \u002F Wireshark walkthroughs, install Wireshark (which provides `tshark` and `capinfos`).\n\n```bash\n# 1. Install Pcapper (gives you the `pcapper` command)\ngit clone https:\u002F\u002Fgithub.com\u002FSackOfHacks\u002Fpcapper\ncd pcapper && pip install . && cd ..\n\n# 2. Get the challenge range\ngit clone https:\u002F\u002Fgithub.com\u002FSackOfHacks\u002FICS-PCAP-Challenges\ncd ICS-PCAP-Challenges\n\n# 3. Download a small starter set (\u003C 1 GB) from the original sources, then index it\npython3 scripts\u002Ffetch.py --starter\npython3 scripts\u002Fbuild.py\n\n# 4. Open the range in your browser and pick a challenge\nxdg-open index.html        # macOS: open index.html   ·   Windows: start index.html\n```\n\nThat's it — no server, no accounts, no build step to view it. Want everything? `python3 scripts\u002Ffetch.py --list`\nshows every dataset and its size; fetch by name or with `--all` (~351 GB).\n\n## 🖥️ Using the challenge range\n\n### Locally — `index.html`\n\n`index.html` is a static page that reads `challenges.js`. Double-click it (or `xdg-open index.html`).\n\n- **Landing page** — every challenge as a card. Filter by **theme** and **difficulty**, or search by\n  protocol, malware, technique or tag (try `GOOSE`, `TRITON`, `replay`, `T0855`).\n- **Challenge page** — scenario → objectives → **numbered steps**: pick **Pcapper** or **tshark \u002F Wireshark**\n  with the toggle (your choice is remembered; each command has a copy button) → hints you open one at a\n  time → **Reveal walkthrough \u002F answer**. The sidebar shows the dataset, its\n  capture files, and its **source & license**.\n- **Progress** — click a step number to tick it off (tracked separately for each walkthrough), or mark the\n  whole challenge complete. Progress is saved in your browser (localStorage) only.\n- **Commands** are written to run **from the repo root**, against files in `data\u002F`.\n\n### Online — GitHub Pages\n\nThe same range is published at **https:\u002F\u002Fsackofhacks.github.io\u002FICS-PCAP-Challenges\u002F**. Use it to browse,\nread and plan; the captures themselves are not hosted on GitHub, so run the commands against your local\nclone after `scripts\u002Ffetch.py`.\n\nEvery challenge is also a **Markdown page** in [`challenges\u002F`](challenges\u002FREADME.md) — readable right\nhere on GitHub, with hints and solutions in collapsible sections.\n\n## 🗂️ Getting the data\n\nThe captures are not in the git history (they total ~351 GB and belong to their authors). `scripts\u002Ffetch.py`\ngets each dataset from the right place:\n\n- **This repository's [`data-v1` release](https:\u002F\u002Fgithub.com\u002FSackOfHacks\u002FICS-PCAP-Challenges\u002Freleases\u002Ftag\u002Fdata-v1)**\n  mirrors the **41 datasets whose licence (or authors) allow redistribution** (~345 GB of captures),\n  as gzip-compressed parts under 2 GiB. Every part is SHA-256-checked against `catalog\u002Fdatasets.json`\n  before it is unpacked, and each dataset carries a `LICENSE-NOTICE.md` with its licence and required citation. If a mirror\n  download fails or does not match its checksum, `fetch.py` stops; it never falls back to the unverified source on its own\n  (ask for that with `--from-source`).\n- **The original sources** (Zenodo, Mendeley Data, NIST, TU Wien, Netresec, GitHub, Kaggle, MEGA, …) for the other\n  **29 datasets**, which their authors published without a licence that allows re-hosting. The fetcher\n  unpacks them, keeps only the files the challenges use and writes a `PROVENANCE.md` credit file. Third-party sources are\n  not checksum-verified, so everything they serve is treated as untrusted: HTTPS only, archives unpacked into an empty\n  folder with links and escaping paths refused, and the MEGA download's integrity code (MAC) checked. See [SECURITY.md](SECURITY.md).\n\n```bash\npython3 scripts\u002Ffetch.py --list                         # every dataset: size, licence, mirror or source\npython3 scripts\u002Ffetch.py netresec-industroyer2 cyber4ot # specific datasets\npython3 scripts\u002Ffetch.py --all                          # everything\npython3 scripts\u002Ffetch.py cyber4ot --from-source         # skip the mirror, use the original source\npython3 scripts\u002Fbuild.py                                # re-index after fetching\n```\n\nDownloads resume if interrupted — just run the same command again.\n\n**Where is a particular capture?** [**DATASETS.md**](DATASETS.md) lists every dataset with its `fetch.py` name, size,\ndirect download links (the release parts, or the original source) and the challenges that use it. Every challenge\npage, and every challenge in the web app, starts with a **Get the captures** section: the one command that fetches\nexactly what that challenge needs, plus the same links. To skip `fetch.py`: download every part of a dataset, then\n`cat \u003Cdataset>.tar.part* | tar -x` and `gunzip` the files listed in its `MIRROR-GZIPPED.txt`.\n\nEither way you get the publishers' own packets. Two things differ from their original download, the same on both\npaths: captures over 2 GB are split into \u003C 2 GiB parts, and captures published without a file extension get\n`.pcap`\u002F`.pcapng` (chosen from their magic bytes), because some tools pick capture files by extension.\n\n## 🛡️ Safety\n\nThese are **real attack captures** — including traffic of actual ICS malware (Industroyer2, TRITON) and\nexploit\u002FC2 payloads. Work offline:\n\n- **Never replay** this traffic onto a routed, production or industrial network.\n- **Never send** the commands you find to a real PLC, RTU, IED or safety controller.\n- Treat any file you carve as **live malware** — hash it, don't run it. Some captures carry Windows\u002FLinux executables, and\n  one dataset was recorded at a real facility; the challenges that use them say so in their safety note.\n- Found a security problem in the tools or the content? Report it privately — see [SECURITY.md](SECURITY.md).\n\n## 🙏 Credits\n\nThis range exists because researchers, vendors and the community published their data. **Please cite\nthe original authors** when you use the captures — full citations, licenses and DOIs for all\n70 datasets are in **[ATTRIBUTION.md](ATTRIBUTION.md)**, and each challenge page shows its source.\n\nSpecial 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 \u002F 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.\n\n## 🧰 Repo layout\n\n```\nICS-PCAP-Challenges\u002F\n├── index.html               # the challenge range (static; open locally or via GitHub Pages)\n├── challenges.js            # generated catalog the page reads\n├── datasets.js              # generated: where each dataset's captures are (release parts \u002F original source)\n├── challenges\u002F              # one Markdown page per challenge + README index\n├── catalog\u002F\n│   ├── challenges.json      # challenge definitions (source of truth)\n│   └── datasets.json        # credits, licences, mirror checksums and original download sources\n├── scripts\u002F\n│   ├── fetch.py             # download datasets into data\u002F (release mirror or original source)\n│   ├── mega_fetch.py        # public-MEGA-folder client used for one source-hosted dataset\n│   ├── test_security.py     # regression tests for the fetcher's and the pages' safety checks\n│   └── build.py             # rebuild challenges.js, datasets.js, challenges\u002F*.md, DATASETS.md and ATTRIBUTION.md\n├── data\u002F                    # the captures (git-ignored; created by fetch.py)\n├── DATASETS.md              # where every dataset's captures are + the challenges that use it (generated)\n├── ATTRIBUTION.md           # credits and licenses for every dataset (generated)\n├── SECURITY.md              # how to report a vulnerability; what the tools defend against\n├── CITATION.cff             # how to cite this range and its datasets\n└── LICENSE                  # MIT — code and challenge authoring only\n```\n\n## 📄 License\n\nThe **code and challenge authoring** are [MIT](LICENSE). The **datasets are not covered by that license**: each\nkeeps its own licence. The ones mirrored in the `data-v1` release are redistributed under those licences\n(several are **CC BY-NC \u002F BY-NC-SA — non-commercial only**, others **CC BY-SA \u002F GPL — share-alike**); the rest are\nonly downloaded from their sources. See [ATTRIBUTION.md](ATTRIBUTION.md).\n",2,"2026-11-24 04:54:49","CREATED_QUERY"]