Device Guard
Cheat sheet · https://pcornel.dk/topic.php?topic=3205
Answer
Device Guard should be interpreted as a family/legacy label rather than one single switch. Modern Windows security posture is better proven through the specific virtualization-based security and code-integrity services that are configured and running.
Remember
- Device Guard is not one standalone protection engine.
- Translate the label into specific VBS/code-integrity/application-control capabilities.
- Configured policy names can persist even when runtime services differ.
- Runtime VBS/HVCI/application-control state is stronger evidence than umbrella terminology.
First checks
Get-MpComputerStatus— Defender state and signature ageGet-CimInstance -Namespace root\Microsoft\Windows\DeviceGuard -ClassName Win32_DeviceGuard— VBS, Credential Guard, HVCI stateGet-MpPreference | Select AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions— ASR rulesGet-ProcessMitigation -System— system exploit mitigationsGet-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' -MaxEvents 30— Defender events
Verify in this order
VBS + HVCI + code integrity policy
Where it usually breaks
First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.
Windows Security → Device Guard reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Umbrella term | Older Device Guard wording | not one control |
| VBS | Virtualization security platform | enables several controls |
| Code integrity | Kernel/user code trust enforcement | policy-specific |
| Application control | Allow/deny execution policy | separate owner topic |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3205