Hardware security controls
SecOT+ SOT-001 · Lesson 19 of 33 · 2:59:33
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the SecOT+ SOT-001 exam (CompTIA SecOT+). In this lesson: ports and interfaces, controller modes and firmware, backups, and hardware trust (tamper protection, encryption, Secure Boot, and the TPM), with Saltbrook Chemicals, a fictional maker of specialty chemicals, as the running example. Includes three original practice questions.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
A firmware update at the packaging line
A contractor arrives at Saltbrook's packaging line with a USB drive and a laptop, to update the firmware of a PLC. The PLC sits in a cabinet with spare network jacks, its key switch is in remote mode, and the last backup of its logic is eight months old. Each detail is a hardware control that can be set right, or left open. This lesson covers those controls and settings.
Port blockers and port locks
Hardened physical interfaces start with the ports themselves. Port blockers fill unused ports, such as USB sockets or network jacks, so nothing can be plugged in without a special removal key. Port locks, sometimes called port lockers, hold a connected cable in place, so it cannot be unplugged and swapped for an attacker's device. Both are cheap and visible, and they still work when software controls fail.
Ports, protocols, and services
On each device, every open port and running service is a door. Turn off what the role does not need, such as Telnet, FTP, an embedded web server, or an old version of SNMP, and keep the industrial protocols that the process uses. On switches, unused ports are shut down and assigned to an unused network. Keep a list of the approved ports and services for each device type, so a new one stands out at the next check.
Hardware access control
Hardware access control protects the device below the operating system. A firmware password stops changes to the BIOS or UEFI settings, and the boot order allows only the internal disk, so nobody can start the machine from a USB drive. Unused hardware, such as wireless cards, Bluetooth, and cameras, is disabled or removed. On controllers, key switches and lockable covers play the same role.
Secure removable media
Removable media still carry files into OT: firmware, logic, and vendor tools. Only approved drives owned by the company are allowed, often encrypted, and device control blocks the rest. Every drive is scanned at a kiosk outside the control network before use, and files can be copied to clean media there. Lesson twenty eight covers portable devices and media in more depth.
PLC operating modes
Many PLCs and safety controllers have operating modes, set by a key switch or by software. In run mode, the controller executes its logic, and changes to the logic are blocked. In program mode, the logic can be downloaded or edited, and the outputs are usually stopped. Remote mode lets the engineering software switch between the two, which is convenient for engineers, and for attackers too.
Modes in practice
Leave controllers in run mode, and take the key out, except during planned work. Alert when a controller changes mode, or when logic is downloaded, because both are rare and meaningful events. During the TRISIS attack, the key of the safety controller was left in program mode; run mode blocks ordinary logic downloads, although a flaw in older firmware could still get around it. The packaging PLC with its key in remote mode is a finding to fix.
Updating firmware
Firmware updates fix vulnerabilities, but a bad update can stop a controller. Get firmware only from the vendor's official source, and verify its signature or hash before use. Test it on a staging system, back up the device first, plan a maintenance window, and keep a way to roll back. Then record the new version in the asset inventory, so future advisories can be matched to it.
Designing a backup strategy
A backup strategy starts with what to protect: controller logic, configurations, HMI projects, historian data, engineering workstation images, network device settings, firmware files, licenses, and documentation. Then it sets how often to back up each item, based on how often it changes, and how fast it must come back. A common rule is three, two, one: three copies, on two kinds of media, with one copy offline or offsite. Offline copies matter, because ransomware encrypts every backup it can reach.
Implementing backups and settings
Take a backup after every planned change, as well as on a schedule. Keep a known good baseline of each configuration, and compare the running logic of controllers against it, to spot changes that nobody approved. Protect backups with access control and hashes, so a tampered copy is detected. Above all, test restores on a staging system, because a backup that has never been restored is only a hope.
Tamper detection and protection
Tamper protection makes physical attacks hard, and tamper detection makes them visible. Tamper evident seals and labels show when a cabinet or a case has been opened. Switches on cabinet doors and chassis intrusion sensors raise an alarm when someone opens them. Some security devices go further, and erase their keys when their case is opened.
Drive encryption
Drive encryption protects data at rest, so a stolen laptop or disk reveals nothing. Engineering laptops, which hold logic, passwords, and network diagrams, are the first candidates. On HMIs and servers, check vendor support first, and plan how recovery keys are stored, because a locked HMI during an emergency is a safety problem. Encryption protects a device that is powered off, not one that is running.
Secure Boot
Secure Boot is a firmware feature that checks the digital signature of each piece of boot software, such as the bootloader and the operating system kernel, before it runs. Unsigned or modified code is refused, which stops bootkits and rootkits that load before the operating system. Some controllers and network devices apply the same idea to their own firmware.
Root of trust and TPM
A root of trust is a component that the rest of the system trusts by design, because nothing below it can check its integrity. A Trusted Platform Module, or TPM, is a common hardware root of trust: a chip that stores keys and measures each step of the boot. The TPM can release a disk encryption key only when the measurements match, so a modified boot chain cannot unlock the disk. It can also prove the state of a device to a remote system, which is called attestation.
Back at the packaging line
Back to the contractor at the packaging line. The USB drive goes through the scanning kiosk, and the firmware is checked against the vendor's signature. The PLC logic is backed up before the update, the key returns to run mode after it, and the new version goes into the inventory. Port blockers fill the spare jacks, and a door switch on the cabinet raises an alarm when it opens.
Recap
Let's recap. Port blockers and port locks harden physical interfaces, and unused ports, protocols, and services are turned off. Firmware passwords, boot restrictions, and approved, scanned media control what touches the hardware. Controllers stay in run mode with the key removed, and firmware updates are verified, tested, and reversible. A backup strategy covers every item, keeps an offline copy, and is proven by restore tests. Tamper detection, drive encryption, Secure Boot, and a TPM as root of trust protect the hardware itself.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Saltbrook wants to stop anyone from plugging a device into the spare network jacks of an HMI cabinet, even if software controls fail. What fits best?
- A firmware password on the HMI
- Drive encryption on the HMI
- Secure Boot on the HMI
- Port blockers in the jacks
Show the answer
Port blockers in the jacks
Port blockers physically fill the jacks, and need a special key to remove. “A firmware password on the HMI” would protect the settings of the HMI itself, not the jacks. “Drive encryption on the HMI” would protect the data on a stolen disk. And “Secure Boot on the HMI” would check the software at startup, which does nothing about a device plugged into the network.
Which setting should the key switch of the chlorine unit's safety controller have during normal operation?
- Program mode, for quick fixes
- Remote mode, for software control
- Run mode, with the key removed
- Any mode, if the network is segmented
Show the answer
Run mode, with the key removed
In run mode, changes to the logic are blocked, and removing the key keeps it there. “Program mode, for quick fixes” would leave the logic open to changes at any time. “Remote mode, for software control” would let software, including an attacker's, switch the mode. And “Any mode, if the network is segmented” would rely on one layer only, against the idea of defense in depth.
Saltbrook wants an engineering laptop to refuse to unlock its disk if someone modifies its boot chain. Which feature does this?
- A tamper evident seal
- A TPM with drive encryption
- A port blocker
- A firmware password
Show the answer
A TPM with drive encryption
The TPM releases the disk key only when the boot measurements match, so a modified boot chain leaves the disk locked. “A tamper evident seal” would show that a case was opened, without protecting the data. “A port blocker” would block unused ports. And “A firmware password” would protect the firmware settings, but would not check the boot chain.