Device Control
Cheat sheet · https://pcornel.dk/topic.php?topic=4539
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
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact endpoint identity, owner, role, platform, data, exposure and expected control | Does not prove policy receipt, effective state or runtime health |
| Effective control | Policy source/precedence, engine/sensor version, mode, exclusions, keys and local state | Configured or licensed capability does not prove enforcement |
| Runtime evidence | Correlated local events, backend telemetry, process/file/network context and safe tests | One alert, clean scan or healthy agent does not prove endpoint trust |
| Closure | Original protection/workload test passes; persistence, credentials, recovery and adjacent controls are verified | Block, 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