
“This course contains the use of artificial intelligence.”Between the operator and the physical process sit three hosts: the HMI, the historian and the engineering workstation. They are where most plant intrusions land, because they run ordinary operating systems, carry default credentials and hold the one thing an attacker needs most — a path to the controller. This course is about hardening exactly those hosts, end to end, on a bench you build yourself.
You start by standing up a complete plant bench with open-source components: an OpenPLC Runtime v4 soft PLC running a water-cell program, a FUXA HMI bound to it over Modbus TCP, an InfluxDB historian fed by Telegraf every second, and a Grafana trend screen for the business side. Then you measure the default state as it ships — no HMI login, an unclaimed PLC, an open historian setup and root on the PLC and HMI — so that every later control has a clear before and after.The method follows NIST SP 800-82 Rev. 3 (with the Rev. 4 draft) and ISA/IEC 62443. Inventory comes first: hosts, versions, listening ports and owners, an SBOM for the HMI image with Syft, vulnerability scans with Grype read the way an OT engineer reads them, and a configuration baseline kept in Git. Then accounts: claiming the PLC at deploy time, turning on FUXA security, role-based access, and scoped historian tokens that are write-only for the collector and read-only for the business.
Host hardening is done on the bench, not on slides. The HMI runs as a non-root user with a read-only filesystem and dropped capabilities behind an Nginx TLS proxy, with Lynis audits before and after. AIDE and a signed hash manifest catch unapproved changes to HMI screens and project files. A ClamAV sheep-dip station with a quarantine-and-release log handles removable media. The engineering workstation keeps every PLC program change reviewed and signed in Git, compares the running program with the approved version, and reaches the PLC only during an approved change.The network and its data flows get the same treatment: a DMZ historian replica that only pushes out, TLS on the historian API, IEC 62443 zones and conduits enforced with nftables and proven with allowed and refused flows, PLC protocols nobody uses switched off, and Suricata's Modbus parser raising an alert when a write comes from the wrong host. Patching is handled as a staged upgrade with pinned versions and a rollback, remote access is brokered through a jump host with short-lived SSH certificates and recorded sessions, and a Wazuh agent alerts on failed HMI logins and off-hours engineering changes.
The course ends with recovery and proof: restic backups of PLC, HMI and historian, a timed restore drill, a check that a backup does not carry unapproved logic, an HMI incident playbook, and a mapping of the whole bench to IEC 62443-3-3 FR1-FR7 and CISA's primary OT mitigations, with notes on what NERC CIP, NIS2 and the Cyber Resilience Act ask of these hosts. A capstone re-tests the bench from default to hardened.This is a defensive course throughout. Incidents such as Oldsmar, Unitronics, Volt Typhoon and Triton appear only as examples of which control was missing. Windows-specific controls (kiosk mode, AppLocker, USB device policy) and hardware such as data diodes are covered conceptually, because the bench is Linux and containers. Eleven downloadable documents come with the course, including the plant bench build bundle, the OT host inventory register, the hardening checklist, the change-control kit, the zones-and-conduits workbook, the remote access standard, the backup and restore runbook, the HMI incident playbook and the compliance evidence workbook.