Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search courses, individual lessons, wiki entries, books, podcasts, magazine articles, Daily Cyber News, and Darwin.

MITRE D3FEND™ Learning Center

D3-IOPR — IO Port Restriction

Limiting access to computer input/output (IO) ports to restrict unauthorized devices.

1Mitigation mapping
7Enterprise inferred
2ICS inferred
1Parent technique

Isolate · D3FEND ontology 1.6.0 · Active

Open official technique ↗
Official D3FEND definition

Definition

Limiting access to computer input/output (IO) ports to restrict unauthorized devices.

Official D3FEND knowledge-base content

How It works

Software-based restriction uses agent software installed on a computer system. The agent software monitors all IO port system traffic. The agent software is configurable to limit the use of certain devices connected to IO ports. The restriction software can also be configured to limit the access to files and applications on external storage devices connected to IO ports.

Hardware-based restriction can also be employed to limit access to IO ports. For example, a hardware USB filter device that is placed between the host system and the external devices can filter IO port connections based on configurable rules. When new devices are connected to the USB filter the type of device is determined. Using an allow list a connection determination is made for the device.

Some implementations detect when a device is connected in order to authorize the connection against a list of approved devices, in some cases by device type. For example, if the device is determined to be a storage device, then the contained files and executables are examined to more accurately identify the device type.

Types of restrictions that may be applied:

  • Device connection
  • Device command filtering
  • Device file system read or write restrictions

Considerations

  • Agent software will need to be installed on host systems
  • Configurations for allow/deny for devices and files will need to be maintained
Bare Metal Cyber interpretation

Implementation perspective

IO Port Restriction should be treated as a technical defensive capability rather than a product checkbox. In practice, teams should define the protected scope, the conditions under which the technique acts, and the observable evidence that demonstrates the intended behavior. For this technique, likely engineering context includes I/O Module, Input Device, Removable Media Device.

Use the technique to create a logical or physical boundary that limits access, execution, communication, or movement.

Questions to ask

  • What is being isolated, from whom or what, and under which conditions?
  • Which flows or operations remain explicitly allowed across the boundary?
  • What happens when the isolation mechanism fails or loses policy context?
  • How is the boundary tested for alternate paths, bypasses, and unintended dependencies?

Evidence and validation

  • Architecture and data-flow diagrams showing the isolation boundary
  • Policy, rule, or configuration exports from enforcing components
  • Tests of allowed, denied, and failure-state behavior
  • Monitoring evidence for boundary violations and policy changes

Common failure patterns

  • The intended boundary has undocumented alternate paths or inherited trust relationships.
  • Rules accumulate without ownership, review, or removal of obsolete exceptions.
  • Isolation is assumed from network location while application, identity, or management paths remain open.

This implementation perspective is original Bare Metal Cyber educational content. It does not replace the official D3FEND definition or establish that a specific product implements the technique.

Ontology hierarchy

Technique hierarchy

Top-level family

Parent techniques

Direct child techniques

None listed at this level.

D3FEND graph relationships

Artifacts and ontology entities

These relationships describe how D3FEND connects a defensive technique to artifacts or other ontology entities. They describe graph semantics, not a product certification.

Explicit technique relationships

filtersInput Device
filtersRemovable Media Device
isolatesI/O Module
Show inferred artifact relationship paths (3)
IO Port RestrictionfiltersInput Device
IO Port RestrictionfiltersRemovable Media Device
IO Port RestrictionisolatesI/O Module
Curated D3FEND mapping

ATT&CK Enterprise mitigation relationships

These links come from the D3FEND ontology’s ATT&CK mitigation mapping. They help users navigate between the knowledge bases and do not guarantee mitigation effectiveness.

Inferred and experimental

Offensive-technique relationships

These relationships are generated from D3FEND graph paths and are explicitly experimental. They should be treated as hypotheses for defensive analysis—not as proof that the technique prevents, detects, or removes an offensive behavior.

ATT&CK Enterprise (7)
ATT&CK for ICS (2)
T0847Replication Through Removable MediaInitial Access
T0860Wireless CompromiseInitial Access
Source record

Authoritative sources