Pcornel
Security · Endpoint Security

Device Control

Cheat sheet · https://pcornel.dk/topic.php?topic=4539

Back to the Topic

Answer

Device Control restricts endpoint access to removable storage, peripherals and device classes using hardware identifiers, class, interface, user/group, read/write/execute rights and managed exceptions.

Remember

  • Device blocked ≠ data cannot leave by other channels.
  • Approved device ≠ trusted content or user action.
  • Hardware ID ≠ immutable device identity.
  • Policy assigned ≠ every interface and platform enforces it.

First checks

  • Get-PnpDevice -Class USB — USB devices
  • Device control policy (Defender/Intune) — rules
  • cat /etc/usbguard/rules.conf — USBGuard rules

Verify in this order

device connect → policy → allow/block/read-only

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Endpoint Security → Device Control proof map

BoundaryEstablishDoes not establish
Scope and intentExact endpoint identity, owner, role, platform, data, exposure and expected controlDoes not prove policy receipt, effective state or runtime health
Effective controlPolicy source/precedence, engine/sensor version, mode, exclusions, keys and local stateConfigured or licensed capability does not prove enforcement
Runtime evidenceCorrelated local events, backend telemetry, process/file/network context and safe testsOne alert, clean scan or healthy agent does not prove endpoint trust
ClosureOriginal protection/workload test passes; persistence, credentials, recovery and adjacent controls are verifiedBlock, isolation, deletion or ticket closure alone is not recovery

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4539

Confirmation

Confirm action

Continue?