Bundled with Unleash skills pack. Source: C:\Users\Admin.agents\skills\industrial-control-vulnerability-research\SKILL.md
Industrial Control Vulnerability Research
Target Priorities
Prefer broadly deployed products with one or more:
- internet/enterprise-facing remote access, VPN, web, OPC, MQTT, or management service;
- engineering workstation that ingests untrusted project/device data;
- HMI/historian/SCADA server running with high privilege;
- gateway translating untrusted IT protocols into control protocols;
- centralized fleet/device management and signed update distribution;
- default credentials are not the sole issue;
- reproducible latest firmware/software available for lab validation.
Focus first on RCE and enterprise/server compromise. Treat process manipulation or safety impact as separate downstream consequences after software-boundary proof.
Phase 1: Exact Product and Deployment Identity
Record:
- vendor, model, hardware revision, region/SKU;
- latest stable firmware and release date;
- bootloader, OS/kernel, web stack, protocol libraries, and application versions;
- engineering/HMI/server software and patches;
- licensed modules and default-enabled services;
- field deployment evidence and typical topology;
- update path and whether firmware differs by hardware revision;
- hashes and provenance for firmware/installers.
Do not assume the highest version string applies to every hardware revision. Verify the vendor's current image for the exact model.
Completion criterion: the lab target matches a currently deployed hardware/software line and latest stable release.
Phase 2: Build a Safe Digital Twin
Use, in order:
- vendor simulator/emulator;
- isolated hardware bench with no process connection;
- extracted service in a container/chroot/QEMU system emulation;
- protocol mock implementing only required state;
- full controller/HMI pair on an isolated switch.
Instrument power/reset recovery and keep a known-good firmware restore path. Stub physical outputs or use simulation mode. Capture baseline traffic before mutation.
Completion criterion: crashes and state changes cannot affect production or physical processes, and recovery is tested.
Phase 3: Attack-Surface Map
Enterprise/management plane
- web/API, VPN, SSH, proprietary admin services;
- OPC UA/DA gateways, MQTT brokers, database and historian interfaces;
- update, backup, restore, project import/export;
- fleet enrollment, certificates, licensing, and remote support;
- report generation, alarm/event ingestion, and connectors.
Control/field plane
- Modbus/TCP, DNP3, IEC 60870-5-104, IEC 61850, EtherNet/IP/CIP, PROFINET, BACnet, vendor protocols;
- discovery, routing, diagnostics, firmware download, program upload/download;
- cyclic/acyclic messages and fragmented transfers;
- controller-to-engineering-workstation callbacks.
File and supply interfaces
- project files, ladder/function-block assets, symbol databases;
- recipes, trends, reports, HMI graphics, scripts, fonts/images;
- firmware packages, modules, drivers, and device descriptions;
- removable media and automatic project synchronization.
For each surface record default exposure, auth, parser, process privilege, safety role, and updateability.
Phase 4: Protocol-State Research
Capture valid sessions and model:
discovery -> capability negotiation -> session/auth -> object addressing
-> read/write/execute/download -> completion/error -> disconnect/recovery
Mutate with state awareness:
- length/count/fragment relationships;
- object class/instance/attribute identifiers;
- transaction/session sequence numbers;
- duplicate, reordered, late, and unsolicited messages;
- connection teardown during async work;
- route/path nesting and encapsulated protocols;
- compression and certificate structures;
- diagnostic and maintenance opcodes;
- version/capability downgrade.
Use grammar-aware clients and snapshots. Separate read-only parser campaigns from state-changing commands.
Completion criterion: every mutation is replayable and labels whether it can alter controller state.
Phase 5: Engineering-Workstation and Server RCE
Trace untrusted data arriving from:
- controller/device discovery responses;
- uploaded project/symbol/configuration;
- historian/alarm records;
- imported project archives;
- web dashboards and report templates;
- device-description/plugin packages;
- remote support bundles.
High-yield sinks:
- native parsers and image/font/document libraries;
- unsafe deserialization;
- script/template/expression engines;
- archive extraction and path handling;
- dynamic plugin/library loading;
- database queries and command helpers;
- privileged service IPC from unprivileged UI.
A malicious field device that compromises the engineering workstation is a valuable server-side/client-of-device boundary even without internet exposure.
Phase 6: Firmware and Update Trust
Inspect:
- signature coverage and verification order;
- encrypted but unauthenticated packages;
- rollback/downgrade controls;
- signed outer archive with unchecked inner files;
- hardware-revision and model binding;
- bootloader recovery/update channels;
- update extraction paths, symlinks, permissions, and hooks;
- management server redistribution to fleets;
- delta update integer/parsing paths.
Distinguish signature bypass from parser RCE before verification. Both can be high impact but require different evidence.
Phase 7: Embedded Service Analysis
For extracted firmware:
- inventory architecture, filesystem, init/services, listeners, users, capabilities, and writable roots;
- identify third-party versions and vendor patches;
- emulate individual daemons with realistic config and filesystem;
- fuzz parsers in-process when semantics are preserved;
- test on hardware after minimization;
- inspect watchdog/restart and fail-open behavior.
Do not claim hardware applicability solely from emulation; verify the shipped binary and configuration on the exact latest image.
Phase 8: Impact and Resilience
Classify separately:
- management/HMI/historian code execution;
- controller code execution;
- credential/certificate compromise;
- cross-zone pivot;
- fleet update compromise;
- loss of view/control;
- persistent device denial;
- process/safety consequence.
For the PoC, stop at a harmless marker, controlled crash with automatic recovery, or simulated output. Record watchdog and reboot behavior.
Variant Hunting
Search:
- product families sharing protocol stacks;
- engineering software and device firmware copies of the same parser;
- old hardware branches missing newer fixes;
- gateway translations that validate only one side;
- project import and controller upload implementations;
- management-server and local-tool versions of update logic;
- OEM-rebranded devices and licensed third-party components;
- recovery bootloader and normal firmware parsers.
Common Pitfalls
- Testing latest software against old device firmware.
- Inferring deployment from internet scans alone.
- Mutating live control networks or physical outputs.
- Calling default credentials a novel software vulnerability.
- Ignoring malicious-device-to-engineering-workstation paths.
- Assuming encrypted firmware is authenticated.
- Claiming hardware impact from an emulated daemon only.
- Mixing software compromise with speculative safety impact.
Verification Checklist
1---2name: industrial-control-vulnerability-research3description: Use when hunting new vulnerabilities in latest stable, widely deployed SCADA/IIoT, PLC, HMI, historian, engineering workstation, OPC, industrial gateway, remote-access appliance, safety system, or device-management product. Prioritizes server-side RCE and trust-boundary flaws in management, protocol, firmware-update, project-file, and controller workflows using safe simulation and reproducible ...4license: MIT5---67> Bundled with Unleash skills pack. Source: C:\Users\Admin\.agents\skills\industrial-control-vulnerability-research\SKILL.md89# Industrial Control Vulnerability Research1011## Target Priorities1213Prefer broadly deployed products with one or more:1415- internet/enterprise-facing remote access, VPN, web, OPC, MQTT, or management service;16- engineering workstation that ingests untrusted project/device data;17- HMI/historian/SCADA server running with high privilege;18- gateway translating untrusted IT protocols into control protocols;19- centralized fleet/device management and signed update distribution;20- default credentials are not the sole issue;21- reproducible latest firmware/software available for lab validation.2223Focus first on RCE and enterprise/server compromise. Treat process manipulation or safety impact as separate downstream consequences after software-boundary proof.2425## Phase 1: Exact Product and Deployment Identity2627Record:2829- vendor, model, hardware revision, region/SKU;30- latest stable firmware and release date;31- bootloader, OS/kernel, web stack, protocol libraries, and application versions;32- engineering/HMI/server software and patches;33- licensed modules and default-enabled services;34- field deployment evidence and typical topology;35- update path and whether firmware differs by hardware revision;36- hashes and provenance for firmware/installers.3738Do not assume the highest version string applies to every hardware revision. Verify the vendor's current image for the exact model.3940Completion criterion: the lab target matches a currently deployed hardware/software line and latest stable release.4142## Phase 2: Build a Safe Digital Twin4344Use, in order:45461. vendor simulator/emulator;472. isolated hardware bench with no process connection;483. extracted service in a container/chroot/QEMU system emulation;494. protocol mock implementing only required state;505. full controller/HMI pair on an isolated switch.5152Instrument power/reset recovery and keep a known-good firmware restore path. Stub physical outputs or use simulation mode. Capture baseline traffic before mutation.5354Completion criterion: crashes and state changes cannot affect production or physical processes, and recovery is tested.5556## Phase 3: Attack-Surface Map5758### Enterprise/management plane5960- web/API, VPN, SSH, proprietary admin services;61- OPC UA/DA gateways, MQTT brokers, database and historian interfaces;62- update, backup, restore, project import/export;63- fleet enrollment, certificates, licensing, and remote support;64- report generation, alarm/event ingestion, and connectors.6566### Control/field plane6768- Modbus/TCP, DNP3, IEC 60870-5-104, IEC 61850, EtherNet/IP/CIP, PROFINET, BACnet, vendor protocols;69- discovery, routing, diagnostics, firmware download, program upload/download;70- cyclic/acyclic messages and fragmented transfers;71- controller-to-engineering-workstation callbacks.7273### File and supply interfaces7475- project files, ladder/function-block assets, symbol databases;76- recipes, trends, reports, HMI graphics, scripts, fonts/images;77- firmware packages, modules, drivers, and device descriptions;78- removable media and automatic project synchronization.7980For each surface record default exposure, auth, parser, process privilege, safety role, and updateability.8182## Phase 4: Protocol-State Research8384Capture valid sessions and model:8586```text87discovery -> capability negotiation -> session/auth -> object addressing88 -> read/write/execute/download -> completion/error -> disconnect/recovery89```9091Mutate with state awareness:9293- length/count/fragment relationships;94- object class/instance/attribute identifiers;95- transaction/session sequence numbers;96- duplicate, reordered, late, and unsolicited messages;97- connection teardown during async work;98- route/path nesting and encapsulated protocols;99- compression and certificate structures;100- diagnostic and maintenance opcodes;101- version/capability downgrade.102103Use grammar-aware clients and snapshots. Separate read-only parser campaigns from state-changing commands.104105Completion criterion: every mutation is replayable and labels whether it can alter controller state.106107## Phase 5: Engineering-Workstation and Server RCE108109Trace untrusted data arriving from:110111- controller/device discovery responses;112- uploaded project/symbol/configuration;113- historian/alarm records;114- imported project archives;115- web dashboards and report templates;116- device-description/plugin packages;117- remote support bundles.118119High-yield sinks:120121- native parsers and image/font/document libraries;122- unsafe deserialization;123- script/template/expression engines;124- archive extraction and path handling;125- dynamic plugin/library loading;126- database queries and command helpers;127- privileged service IPC from unprivileged UI.128129A malicious field device that compromises the engineering workstation is a valuable server-side/client-of-device boundary even without internet exposure.130131## Phase 6: Firmware and Update Trust132133Inspect:134135- signature coverage and verification order;136- encrypted but unauthenticated packages;137- rollback/downgrade controls;138- signed outer archive with unchecked inner files;139- hardware-revision and model binding;140- bootloader recovery/update channels;141- update extraction paths, symlinks, permissions, and hooks;142- management server redistribution to fleets;143- delta update integer/parsing paths.144145Distinguish signature bypass from parser RCE before verification. Both can be high impact but require different evidence.146147## Phase 7: Embedded Service Analysis148149For extracted firmware:150151- inventory architecture, filesystem, init/services, listeners, users, capabilities, and writable roots;152- identify third-party versions and vendor patches;153- emulate individual daemons with realistic config and filesystem;154- fuzz parsers in-process when semantics are preserved;155- test on hardware after minimization;156- inspect watchdog/restart and fail-open behavior.157158Do not claim hardware applicability solely from emulation; verify the shipped binary and configuration on the exact latest image.159160## Phase 8: Impact and Resilience161162Classify separately:163164- management/HMI/historian code execution;165- controller code execution;166- credential/certificate compromise;167- cross-zone pivot;168- fleet update compromise;169- loss of view/control;170- persistent device denial;171- process/safety consequence.172173For the PoC, stop at a harmless marker, controlled crash with automatic recovery, or simulated output. Record watchdog and reboot behavior.174175## Variant Hunting176177Search:178179- product families sharing protocol stacks;180- engineering software and device firmware copies of the same parser;181- old hardware branches missing newer fixes;182- gateway translations that validate only one side;183- project import and controller upload implementations;184- management-server and local-tool versions of update logic;185- OEM-rebranded devices and licensed third-party components;186- recovery bootloader and normal firmware parsers.187188## Common Pitfalls1891901. Testing latest software against old device firmware.1912. Inferring deployment from internet scans alone.1923. Mutating live control networks or physical outputs.1934. Calling default credentials a novel software vulnerability.1945. Ignoring malicious-device-to-engineering-workstation paths.1956. Assuming encrypted firmware is authenticated.1967. Claiming hardware impact from an emulated daemon only.1978. Mixing software compromise with speculative safety impact.198199## Verification Checklist200201- [ ] Exact model/hardware revision/latest firmware proven202- [ ] Deployment evidence and typical topology documented203- [ ] Safe digital twin and restore path verified204- [ ] Management, field, and file surfaces mapped205- [ ] Stateful protocol harness reproduces valid sessions206- [ ] State-changing tests separated and controlled207- [ ] Engineering/server hostile-input paths traced208- [ ] Update signature and model-binding boundaries tested209- [ ] Finding reproduced on shipped latest image/hardware where required210- [ ] Impact, physical consequence, and resilience reported separately211- [ ] Novelty gate passes212