Pcornel
Windows

Windows Security

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

Back to the Topic

Answer

Windows Security brings together several distinct protection layers: antimalware, host firewall, reputation checks, credential isolation, application control and exploit mitigations. Treat each layer as an independent control with its own configuration, enforcement and evidence boundary.

Remember

  • Windows Security is a family of controls, not one monolithic protection engine.
  • Configured policy is not the same as effective runtime enforcement.
  • A detection or block proves a specific control acted on a specific event; it does not prove the host is compromise-free.
  • Security UI status is a management view and should be corroborated with control-native state and logs.
  • Deep generic security models remain authoritative in the Security Domain.

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

baseline: AV + firewall + VBS + app control + ASR + encryption + updates

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 reference map

BoundaryMeaningEvidence limit
PolicyConfigured intentdoes not prove effective enforcement
Runtime controlLoaded/active protection componentdoes not prove every path is covered
Decision/eventSpecific allow/block/detect outcomedoes not prove root cause or full host health
OutcomeObserved protected behaviormust be verified independently

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

Confirmation

Confirm action

Continue?