Skip to content

Lesson 12 of 14 · 18m

Hardening Baselines: LGPO, LAPS, and the Settings That Matter

Microsoft ships finished baselines the SCT applies via LGPO, Windows LAPS retires shared local admin passwords, and a short list of settings does the real work.

Microsoft already wrote the baseline

The Security Compliance Toolkit ships finished, tested GPO baselines per OS — Windows 11, Server 2022, Server 2025 — each ZIP carrying a GPO backup folder. On a domain you import it through GPMC as a new GPO. On a standalone box you apply it with LGPO.exe, the Local Group Policy Object utility:

LGPO.exe /g "C:\baselines\WS2022-MemberServer\{GUID}"
LGPO.exe /b C:\backup
LGPO.exe /parse /m C:\path\registry.pol

/g writes the backup into local policy, /b snapshots the current state first (always), /parse renders a registry.pol readable. The wrong model to kill: "hardening means building my own GPO from a CIS checklist." Start from Microsoft's baseline — it encodes decisions like SMB1 removal, required SMB signing — now also the OS default itself on Windows 11 24H2 and Server 2025, no policy needed — and NTLM restrictions — then layer CIS Level 1 delta for your threat model. CIS Level 2 is the one that breaks real software; read each deviation before it lands.

The SCT ZIPs also ship the supporting pieces people skip: documentation, the recommended audit-policy overlay, and attack surface reduction rule settings. ASR rules in particular are free detection — Block credential stealing from LSASS, Block Office from creating child processes — each with a GUID you can set through Intune or GPO under Windows Defender Exploit Guard. Audit mode first; ASR in block mode without a pilot is how you learn which internal tools were built like malware.

The settings that carry the weight

  • LmCompatibilityLevel = 5 at HKLM\SYSTEM\CurrentControlSet\Control\Lsa — send NTLMv2 only, refuse LM and NTLMv1. NTLMv1's DES response has been broken for years; leaving it enabled is leaving the door ajar politely.
  • LDAP signing (LDAPServerIntegrity = 2) and channel binding — the post-CVE-2017-8563 / March 2020 enforcement stops relay into LDAP.
  • SMB1 off (Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol) — EternalBlue and WannaCry were 2017; any SMB1 still running is an unclosed incident.
  • Credential Guard and LSA Protection (RunAsPPL) — move lsass secrets into VBS and gate user-mode access to the process.

Windows LAPS ends the shared-password era

One shared local admin password across a fleet is a pass-the-hash buffet — pop one box, walk to all of them. Windows LAPS, built into the OS since the April 2023 cumulative updates (Windows 10 22H2, Server 2019+), rotates each machine's local admin password on a schedule, backs the passwords to AD (msLAPS-* attributes, read-ACL'd to delegated groups) or Entra ID, encrypts them, and logs to the Microsoft-Windows-LAPS channel. The GPO lives at Computer Configuration → Administrative Templates → System → LAPS: password complexity, rotation interval, the managed account name, post-authentication actions (reset the password, log off, reboot), and the DSRM option that backs up a domain controller's DSRM password — a detail most deployments miss. The old LAPS MSI package from 2016 is deprecated — the OS feature is the one to deploy, and it stores password history so a rolled-back snapshot doesn't strand you.

BitLocker with an escrow plan

Full-disk encryption on Windows means BitLocker with TPM + PIN for anything that matters — XTS-AES-128 is the default cipher on current releases — manage-bde -status to audit, manage-bde -on C: -recoverypassword to protect a drive, and Suspend-BitLocker before firmware updates so the TPM doesn't invalidate the measurement chain and demand the recovery key at boot. The part that fails is the recovery key: escrow it to AD automatically via GPO ("Choose how BitLocker-protected operating system drives can be recovered") — the key lands in msFVE-RecoveryInformation on the computer object — or you will meet the laptop whose only copy of the key died with the image.

The sequence that works: Microsoft baseline via LGPO on standalone boxes and imported GPOs in the domain, Windows LAPS before any other identity work, LmCompatibilityLevel at 5, LDAP signing and channel binding enforced, SMB1 gone, BitLocker with escrowed keys — then a pilot ring proves it before the fleet gets it.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.