Home / Blogs / OT Cybersecurity / USB Device Control for OT: How Allowlisting Really Works, and Where It Breaks
OT Cybersecurity

USB Device Control for OT: How Allowlisting Really Works, and Where It Breaks

USB Device Control for OT: How Allowlisting Really Works, and Where It Breaks

Device control is usually sold as a switch: approved drives work, everything else does not. The mechanism underneath is less absolute than that, and understanding it changes both what you buy and what you claim in an audit. This article is about the identifiers allowlisting actually uses, how reliable each one is, what to log, and the assets in every industrial plant where none of it can run.

If you are earlier in the decision and still choosing between control types, start with which USB controls work and which get bypassed.

What the allowlist is actually matching on

When a USB device is connected it presents descriptors to the host. Device control products build rules from those descriptors, and the three that matter differ sharply in how much trust they deserve.

Identifier

What it is

How much trust it deserves

Vendor ID (VID)

A 16-bit number identifying the manufacturer, assigned by the USB Implementers Forum.

Low on its own. It identifies a manufacturer, not a device, so a VID rule permits every product that manufacturer makes.

Product ID (PID)

A 16-bit number the manufacturer assigns to a product line.

Low to moderate. VID and PID together identify a model, not an individual drive. Anyone with the same model is permitted.

Serial number

A string in the device descriptor, intended to be unique per unit.

Moderate, and the only one that identifies an individual device. But it is a string the device reports about itself, not a cryptographic identity, and it is not guaranteed to be unique or even present.

Device class

What the device declares itself to be: mass storage, HID, network adapter.

Useful for blocking whole categories, which is often the higher-value rule. It is also the identifier most relevant to BadUSB.

 

Every one of these is self-reported by the device

A USB device tells the host what it is. Nothing in the protocol verifies the claim. Reprogrammable controllers can present any VID, PID, serial and class their firmware specifies, which means a serial-number allowlist is a strong control against the wrong drive being used by mistake and a weak one against a device built to defeat it. That is not a reason to skip allowlisting. It is a reason to describe it accurately in your risk assessment rather than as an absolute barrier, and to pair it with device class blocking.

 

The rule set that actually holds up

In order of value rather than order of obviousness.

  • Block device classes you never need. Most industrial endpoints have no legitimate use for a USB network adapter or a second keyboard. Blocking those classes removes an entire attack category and breaks nothing, which makes it the highest-value and lowest-friction rule available. It is also the rule most often left unconfigured.
  • Allowlist issued media by serial. Site-issued drives, registered at issue, so that an unknown drive is refused even if it is the same model.
  • Set read-only where write is not needed. A drive that can be read but not written to cannot carry data out, which addresses exfiltration without touching the inbound workflow.
  • Fail to a known state. Decide what happens when the agent cannot reach its management server, and test it. An agent that fails open during a network event gives you an unprotected plant precisely when something unusual is happening.
  • Log the allow decisions, not only the blocks. Covered below, and it is the difference between a control and an evidenced control.

What to log, and why the default is wrong

Most device control deployments log denials. Denials are the interesting events operationally, so that default makes sense to a product manager and fails an auditor. An assessor asking whether the control operated during a period needs to see that it was running and making decisions, and a log containing only denials is indistinguishable from a log produced by an agent that was switched off.

Capture, at minimum, the timestamp, host, device identifiers presented, the decision, the rule that produced it, and the logged-in user. Forward it to wherever your OT events already go, which for most sites is covered in building an OT monitoring program.

One line that makes the evidence usable

Record the rule identifier that produced each decision, not only the outcome. When an assessor asks why a particular drive was permitted, "rule 14, issued-media serial allowlist" is an answer. "Allowed" is not, and reconstructing the reason months later from a changed rule set is close to impossible.

 

Where device control cannot run at all

This is the part vendors are quietest about and the part that determines your real coverage. In a typical plant, device control agents cannot be deployed to:

  • Embedded HMIs and panel displays with no general-purpose operating system and no agent support.
  • Controllers and safety systems, where the vendor does not support third-party software and installing it would void support or invalidate a safety case.
  • Unsupported Windows versions that the agent no longer targets, which in practice is where a large share of engineering workstations sit. Our note on OT patch management for industrial systems covers the wider version problem.
  • Appliance-style equipment such as analyzers, historians supplied as sealed units, and vendor-managed packages.

Count these before you believe a coverage figure. A deployment reporting ninety-five percent coverage of managed endpoints may cover far less of the assets where removable media risk actually concentrates, because the unmanageable assets and the high-risk assets are frequently the same assets.

For those, the control set reverts to physical port measures, a scanning requirement enforced at the point of use, and network position so a compromise is contained. Our OT network segmentation assessment guidance covers the containment side.

Vendor access, specifically

A vendor arriving with a laptop is not a removable media problem, it is a transient cyber asset problem, and device control on your endpoints does not address it. The laptop is the host, not the device. What helps is a pre-arrival review requirement, a defined connection point, and a record of what was connected and when. Under NERC CIP that review is an explicit obligation, which we cover in NERC CIP removable media and transient cyber assets.

Why Choose Arista Cyber

We scope device control against the assets that cannot take an agent before quoting coverage, because a number that excludes the riskiest equipment is not a number worth paying for. Arista Cyber supplies removable media security and data diode products alongside our consulting work. We say so plainly rather than presenting this as a neutral market survey, and we will tell you where a process change beats a purchase. See our OT cybersecurity services and case studies.

Next Steps

Check two things this week. Whether USB network adapter and HID classes are blocked on your engineering workstations, and whether your device control logs contain allow decisions or only denials. Both are configuration changes rather than purchases.

Common Questions

How does USB allowlisting work?

Products build rules from the descriptors a device presents: vendor ID, product ID, serial number and device class. VID and PID together identify a model rather than an individual unit, so serial number is the only identifier that distinguishes one drive from another of the same model.

Can USB device identifiers be spoofed?

Yes. Descriptors are self-reported by the device and nothing in the USB protocol verifies them, so reprogrammable controllers can present chosen values. Allowlisting remains effective against the wrong drive being used by mistake, and should be paired with device class blocking.

What should device control log?

Timestamp, host, identifiers presented, the decision, the rule that produced it, and the logged-in user. Logging only denials is the common default and it cannot evidence that the control was operating, because it looks identical to a disabled agent.

Which USB device classes should be blocked in OT?

Classes with no legitimate use on the asset, typically USB network adapters and additional HID devices on engineering workstations. This is usually the highest-value rule available and it breaks nothing.

Why can we not deploy device control everywhere in the plant?

Embedded HMIs, controllers and safety systems, unsupported operating systems and sealed appliance equipment generally cannot run an agent. These frequently overlap with the assets where removable media risk is highest, so coverage figures should be read against the asset inventory rather than against managed endpoints.

Does device control stop vendor laptops?

No. A vendor laptop is the host rather than the connected device, so it is a transient cyber asset question answered by pre-arrival review, a defined connection point and a connection record.

Does your device control coverage figure include the assets that cannot take an agent?

Arista Cyber scopes device control against the real asset inventory, configures the class rules most deployments leave off, and sets up logging that evidences the control rather than only its denials.

Request a device control review

Share

Facing tougher cyber security challenges?

Talk to Arista Cyber about your OT security posture.

Request a consultation
BOOK YOUR CONSULTATION