Windows Hardening
Cheat sheet · https://pcornel.dk/topic.php?topic=4562
Answer
Windows Hardening reduces platform attack surface through secure boot/VBS, patching, identity and credential protections, least privilege, service/protocol reduction, application control, endpoint protection, firewalling, logging and drift management.
Remember
- Windows hardening ≠ applying one generic checklist unchanged.
- More disabled services ≠ lower risk if required recovery/management breaks.
- Configured or assigned policy ≠ resultant policy and effective runtime state.
- Feature healthy ≠ protected workload or absence of compromise.
First checks
- CIS-CAT/Intune compliance report — hardening status
Get-WindowsOptionalFeature -Online | ? State -eq Enabled— enabled featuresGet-SmbServerConfiguration | fl EnableSMB1Protocol— SMB1 off
Verify in this order
baseline + controls → hardened host → scans
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.
Windows Security → Windows Hardening proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope | Exact host, role, build/kernel, identity, workload and expected control | Does not prove policy receipt or effective runtime state |
| Effective state | Resultant/loaded policy, precedence, mode, labels/rules/keys and active services/kernel controls | Configuration presence does not prove enforcement |
| Runtime evidence | Correlated events/audit, process/token/credential, packet/syscall and workload result | One event, clean status or allow/deny does not prove complete security |
| Closure | Original allowed/denied workload works, unsafe state is removed and recovery/regression pass | Commit, restart, block or compliance result alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4562