Pcornel
Windows · Windows Security

Device Guard

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

Back to the Topic

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 age
  • Get-CimInstance -Namespace root\Microsoft\Windows\DeviceGuard -ClassName Win32_DeviceGuard — VBS, Credential Guard, HVCI state
  • Get-MpPreference | Select AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions — ASR rules
  • Get-ProcessMitigation -System — system exploit mitigations
  • Get-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

BoundaryMeaningEvidence limit
Umbrella termOlder Device Guard wordingnot one control
VBSVirtualization security platformenables several controls
Code integrityKernel/user code trust enforcementpolicy-specific
Application controlAllow/deny execution policyseparate 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

Confirmation

Confirm action

Continue?