Any process running as administrator can read LSASS memory unless LSASS runs as a protected process, and LSASS memory holds the credentials attackers use to move laterally. LSA protection, set through the RunAsPPL value, makes LSASS a Protected Process Light so non-protected processes cannot read its memory or inject code, and only properly signed plug-ins can load into it. This guide covers how it works, how to find incompatible plug-ins with audit mode, the policy, registry and Intune settings, the trade-offs of UEFI lock, and how it sits alongside Credential Guard. It is written for Windows endpoint and server engineers. For the attacker techniques it counters and the wider set of LSASS defences, see the Credential Dumping Guide.
This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.
Key takeaways
- Audit before you enforce. Set
AuditLevelto 8 for LSASS and watch CodeIntegrity events 3065 and 3066; any plug-in they name will fail to load once protection is on. - Plug-ins are the compatibility risk. Smart card drivers, cryptographic plug-ins and password filters must carry a Microsoft signature (WHQL for drivers, the LSA file signing service for other plug-ins).
- Choose the lock deliberately.
RunAsPPL=1stores the setting in a UEFI variable that registry and policy cannot remove;RunAsPPL=2(Windows 11 22H2 and later) has no lock and can be reverted remotely. - Default-on is narrower than it sounds. Windows 11 22H2 and later enables it by default only on new, enterprise-joined, HVCI-capable installs, and without a UEFI lock; upgraded devices need policy.
- Pair it with Credential Guard where licensed. LSA protection blocks memory reads; Credential Guard moves NTLM hashes and Kerberos TGTs into the isolated LSAIso process. Microsoft calls them complementary.
What LSA Protection does
The Local Security Authority, including the LSASS process, validates sign-ins and enforces local security policy, so it holds credential material for signed-in users and services. Microsoft documents LSA protection as available from Windows 8.1 and Windows Server 2012 R2. When enabled, LSASS starts as a protected process (WinInit event 12 in the System log reads "LSASS.exe was started as a protected process with level: 4"). Two effects follow:
- Memory and code protection: non-protected processes, including those running as administrator or SYSTEM, cannot read LSASS memory or inject code into it. This is the control MITRE ATT&CK lists as M1025 Privileged Process Integrity against T1003.001 LSASS Memory.
- Plug-in signing enforcement: anything loaded into LSA must be signed with a Microsoft signature and follow Microsoft's Security Development Lifecycle guidance. ATT&CK lists the same control against T1547.002 Authentication Package, T1547.005 Security Support Provider and T1547.008 LSASS Driver, the persistence techniques that load attacker code into LSA.
What it does not do: it does not stop code already running in the kernel, it does not protect the SAM or NTDS.dit databases on disk, and without UEFI lock and Secure Boot an attacker with administrator rights can change the registry value and wait for a reboot. It also blocks debugging: you cannot attach a debugger to LSASS or debug a custom LSA plug-in while protection is on.
| Threat | ATT&CK | Effect of LSA protection |
|---|---|---|
| User-mode tool reads LSASS memory | T1003.001 LSASS Memory | Blocked for non-protected processes |
| Malicious security support provider loaded into LSA | T1547.005 Security Support Provider | Unsigned SSP fails to load |
| Malicious authentication package registered | T1547.002 Authentication Package | Unsigned package fails to load |
| Malicious LSASS driver | T1547.008 LSASS Driver | Must meet Microsoft signing level |
| Password filter DLL harvesting passwords | T1556.002 Password Filter DLL | Password filters are LSA plug-ins and must be signed to load |
| Disabling protection through the registry | T1112 Modify Registry | Blocked only when UEFI lock and Secure Boot are in place |
Compatibility and audit mode
The main reason LSA protection is not universal is plug-in compatibility. Before enforcing, find every module LSASS loads that would fail the signing or shared-section checks.
- Inventory plug-ins: list smart card and cryptographic drivers, password filters (including internal ones and those from password policy or synchronisation products), security support providers and authentication packages. Ask each supplier whether their LSA components are signed for LSA protection.
- Enable audit mode: under
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\LSASS.exeset the DWORDAuditLevelto8and restart. Microsoft states audit mode is enabled by default on Windows 11 22H2 and later. Deploy it at scale with a Group Policy Preferences registry item under Computer Configuration > Preferences > Windows Settings > Registry. - Collect events: read Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational from pilot devices into your SIEM and leave it running long enough to cover rarely used functions such as smart card sign-in and password changes.
- Fix or exclude: get signed versions of flagged plug-ins, remove unused ones, and hold back devices that depend on a plug-in that cannot yet be signed.
| Event ID (CodeIntegrity Operational) | Mode | Meaning |
|---|---|---|
| 3065 | Audit | LSASS loaded a driver that does not meet shared-section security requirements; allowed because of current policy |
| 3066 | Audit | LSASS loaded a driver that does not meet Microsoft signing-level requirements; allowed because of current policy |
| 3033 | Enforced | A driver failed to load because it does not meet Microsoft signing-level requirements |
| 3063 | Enforced | A driver failed to load because it does not meet shared-section security requirements |
| WinInit 12 (System log) | Enforced | LSASS started as a protected process, level 4 |
Blind spots in audit: Microsoft notes that these CodeIntegrity events are not generated when a kernel debugger is attached, and audit events are not generated while Smart App Control is on. If a pilot device shows no events at all, check both before concluding it is clean. See Smart App Control and SmartScreen.
Enabling via policy
Three management paths set the same behaviour. Restart is required in every case.
| Method | Setting | Values | Notes |
|---|---|---|---|
| Group Policy (Windows 11 22H2 and later) | Computer Configuration > Administrative Templates > System > Local Security Authority > Configures LSASS to run as a protected process | Enabled with UEFI Lock, Enabled without UEFI Lock, or Enabled with option Disabled | Setting it to Not Configured does not undo a previous setting |
| Registry (all supported versions) | HKLM\SYSTEM\CurrentControlSet\Control\Lsa, DWORD RunAsPPL | 1 = with UEFI lock; 2 = without UEFI lock (enforced only on Windows 11 22H2 and later); 0 or deleted = off | Use Group Policy Preferences to deploy on older versions |
| Intune custom profile (CSP) | ./Device/Vendor/MSFT/Policy/Config/LocalSecurityAuthority/ConfigureLsaProtectedProcess, Integer | 1 = with UEFI lock; 2 = without UEFI lock | Profile type Templates > Custom, platform Windows 10 and later |
Phased rollout
- Ring 0, IT devices: audit mode, then enforcement without UEFI lock. Confirm WinInit event 12 and test sign-in, smart card, VPN, password change and endpoint security agents.
- Ring 1, a representative business pilot: include devices with smart card readers and any line-of-business software that installs LSA components.
- Broad deployment without lock: roll out by device group, watching 3033 and 3063 events and help desk tickets about sign-in.
- Servers: member servers first, then domain controllers after testing password filters and directory synchronisation agents, which are common LSA plug-ins on domain controllers.
- Apply UEFI lock to the device groups where the configuration is stable, typically after one or two months without load failures.
- Rollback: without lock, set the policy to Enabled with option Disabled (or
RunAsPPL=0) and restart. With lock, see the next section first.
UEFI lock considerations
With RunAsPPL=1, or the policy option Enabled with UEFI Lock, the setting is written to a UEFI firmware variable. Microsoft states that it then cannot be deleted or changed through the registry or policy, so an attacker with administrator rights cannot simply flip the value and reboot. Microsoft also notes that on devices without UEFI, or with Secure Boot off, protection relies only on the registry value, which remote access can change.
- Removal is a hands-on task: to turn off a locked setting you need the Local Security Authority (LSA) Protected Process Opt-out tool (
LsaPplConfig.efi, from the Microsoft Download Center), run on the device to delete the UEFI variable, followed by removing the registry or policy setting. Plan for physical or out-of-band console access per device. - Do not use Secure Boot as the off switch: Microsoft warns that turning off Secure Boot resets all Secure Boot and UEFI configuration, and recommends it only when other methods fail.
- Default enablement has no lock: Windows 11 22H2 and later devices that receive LSA protection by default do not get a UEFI variable. Set the lock by policy if you want it.
| Situation | Recommended setting | Why |
|---|---|---|
| Standard managed laptops and desktops, compatibility proven | Enabled with UEFI lock | Strongest protection against tampering by a local administrator |
| Devices still in pilot, or with plug-ins awaiting signed versions | Enabled without UEFI lock (Windows 11 22H2 and later) | Remote rollback remains possible |
| Remote or hard-to-reach servers, cloud VMs | Without lock unless console access is reliable | Lock removal needs access to the device boot process |
| Devices that cannot run LSA protection yet | ASR rule "Block credential stealing from the Windows local security authority subsystem" in block | Microsoft offers it as equivalent protection where LSA protection or Credential Guard cannot be enabled |
Microsoft's ASR reference states the rule adds no protection where LSA protection is on and is shown as not applicable in that case. See How to Deploy Attack Surface Reduction Rules.
Relationship with Credential Guard
Credential Guard uses virtualisation-based security to keep NTLM password hashes, Kerberos TGTs and application-stored domain credentials in the isolated LSAIso.exe process. LSA protection hardens LSASS itself. Microsoft describes the two as complementary.
| Aspect | LSA protection | Credential Guard |
|---|---|---|
| Mechanism | LSASS runs as a Protected Process Light; plug-in signing enforced | Secrets isolated in LSAIso.exe using virtualisation-based security |
| Editions | Windows 8.1 and Windows Server 2012 R2 and later | Windows Enterprise and Education |
| Prerequisites | UEFI and Secure Boot recommended for lock | VBS and Secure Boot required; TPM and UEFI lock recommended; generation 2 VMs |
| Default state | On for new, enterprise-joined, HVCI-capable Windows 11 22H2 and later installs | On for eligible Windows 11 22H2 and later devices, and domain-joined Windows Server 2025 non-domain controllers |
| Domain controllers | Applies to Windows Server, including domain controllers | Not recommended by Microsoft |
| Main compatibility issue | Unsigned LSA plug-ins | Kerberos DES, unconstrained delegation, NTLMv1 |
Run both on Enterprise and Education devices; on Pro devices and domain controllers LSA protection is the primary LSASS control. See Credential Guard and VBS and the Windows Endpoint Hardening Guide.
Where identity fits
LSASS holds credentials for service accounts, scheduled tasks and administrators who sign in to a device, not only the interactive user. A single dump from a server running services under a domain account can hand an attacker a non-human identity with broad rights. LSA protection reduces that exposure, but it works best alongside unique local administrator passwords (see the LAPS Guide), group managed service accounts instead of password-based service accounts, and limits on where privileged accounts sign in.
Detection and measurement
- Coverage: percentage of Windows devices reporting WinInit event 12 at each boot (target: all supported devices).
- Lock coverage: percentage of stable device groups with UEFI lock applied.
- Load failures: count of CodeIntegrity 3033 and 3063 events per week, trending to zero after rollout.
- Drift: devices where
RunAsPPLchanged to 0 or was removed, or where the policy is set to Disabled; alert on any change outside change control. - Exceptions: number of devices excluded for plug-in reasons, each with an owner, a supplier fix date and the ASR rule in block as a compensating control.
Microsoft Defender for Endpoint advanced hunting records the ASR rule's activity as AsrLsassCredentialTheftAudited and AsrLsassCredentialTheftBlocked, useful for tracking the excepted population.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| MITRE ATT&CK mitigation | M1025 Privileged Process Integrity; M1043 Credential Access Protection | LSA protection; Credential Guard |
| MITRE ATT&CK techniques | T1003.001, T1547.002, T1547.005, T1547.008, T1556.002 | Credential reading and LSA plug-in persistence |
| NIST SP 800-53 Rev. 5 | SC-39 Process Isolation, SI-16 Memory Protection, CM-6 Configuration Settings | Protected process, memory protection, enforced baseline |
| NIST CSF 2.0 | PR.PS-01, DE.CM-09 | Configuration management; monitoring of runtime environments |
Common failure patterns
- Enforcing without audit: a password filter or smart card middleware stops loading and users cannot sign in or change passwords. Audit first, and include rarely used functions in testing.
- Assuming default-on covers the fleet: upgraded devices, non-joined devices and hardware without HVCI support do not receive it by default. Set it by policy everywhere.
- Locking too early: applying UEFI lock before compatibility is proven turns a rollback into a desk visit per device.
- Setting the policy to Not Configured to roll back: Microsoft states this does not clear a previous setting; use Enabled with option Disabled.
- Leaving out servers: member servers that run services under domain accounts are high-value LSASS targets, yet are often excluded because of agent compatibility worries that audit mode can answer.
- No compensating control for exceptions: devices held back for plug-in reasons stay fully exposed unless the ASR rule is in block.
Practitioner checklist
- LSA plug-ins inventoried, with supplier confirmation of signing for LSA protection.
AuditLevel=8deployed to pilots and CodeIntegrity Operational events collected centrally.- Smart App Control and kernel debugging checked on pilot devices that show no audit events.
- Configures LSASS to run as a protected process (or
RunAsPPL, or the Intune CSP) set on every supported device, including servers. - UEFI lock applied to stable groups, with a documented removal procedure using the opt-out tool.
- WinInit event 12 used as the compliance signal, and drift in
RunAsPPLalerted. - Credential Guard enabled alongside on licensed, eligible devices; not on domain controllers.
- Excepted devices run the LSASS ASR rule in block and have an owner and fix date.
Standards and references
- Microsoft Learn: Configure added LSA protection
- Microsoft Learn: Credential Guard overview
- Microsoft Learn: Attack surface reduction rules reference
- MITRE ATT&CK: OS Credential Dumping: LSASS Memory
- MITRE ATT&CK: Privileged Process Integrity
- MITRE ATT&CK: Boot or Logon Autostart Execution: Security Support Provider
- NIST: SP 800-53 Rev. 5
Related NHI Mgmt Group resources: Credential Dumping Guide, Credential Guard and VBS, Windows Endpoint Hardening Guide, T1003 OS Credential Dumping.