Windows Security
Cheat sheet · https://pcornel.dk/topic.php?topic=3199
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 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
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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Policy | Configured intent | does not prove effective enforcement |
| Runtime control | Loaded/active protection component | does not prove every path is covered |
| Decision/event | Specific allow/block/detect outcome | does not prove root cause or full host health |
| Outcome | Observed protected behavior | must 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