LSA protection (RunAsPPL): stopping credential dumping from LSASS
LSASS holds the secrets Windows uses to sign people in, which makes it a prime target for credential theft. LSA protection runs it as a protected process so other code cannot read its memory or inject into it. Here is how to audit, switch it on, check it worked and know its limits, based on Microsoft's own guidance.
LSASS (the Local Security Authority Server Service) checks local and remote sign-ins and enforces local security policy. Microsoft says added LSA protection, available since Windows 8.1, stops unprotected processes from reading LSASS memory and injecting code into it. In plain terms: tools that dump credentials from LSASS memory should no longer be able to read it.
Before you switch it on: audit
Under protection, every plug-in or driver loaded into LSA must carry a Microsoft signature (WHQL for drivers such as smart card drivers) and follow Microsoft's SDL guidance; anything else fails to load. Microsoft's advice is to list every LSA plug-in and driver first, including smart card and cryptographic plug-ins and in-house password filters or password change notification software.
Audit mode logs what would fail without blocking it. Set the AuditLevel DWORD to 8 under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\LSASS.exe (or push the same value by Group Policy Preferences), restart, and look in Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational for events 3065 (shared sections) and 3066 (signing level). Microsoft says audit mode is already on by default from Windows 11 22H2, that no audit events appear while Smart App Control is on, and that none appear with a kernel debugger attached.
Turning it on
The setting is the RunAsPPL DWORD under HKLM\SYSTEM\CurrentControlSet\Control\Lsa. A value of 1 enables it with a UEFI lock; 2 enables it without the lock (enforced only on Windows 11 22H2 and later). You can set the same thing through the policy Computer Configuration > Administrative Templates > System > Local Security Authority > 'Configures LSASS to run as a protected process', through a Group Policy Preferences registry item, or in Intune with the OMA-URI ./Device/Vendor/MSFT/Policy/Config/LocalSecurityAuthority/ConfigureLsaProtectedProcess (1 = with UEFI lock, 2 = without). A restart is needed.
Choosing the lock. With the UEFI lock, the setting is kept in firmware and cannot be undone by registry or policy; Microsoft's opt-out tool is needed to remove it. Without the lock, or on devices without Secure Boot or UEFI, protection depends on the registry value alone, and Microsoft notes it can then be turned off remotely, taking effect at the next reboot. That trade-off matters if an attacker gains admin rights.
Default on new builds. Microsoft says Windows 11 22H2 and later turns protection on (without the UEFI lock) when the device is a fresh install rather than an upgrade, is joined to Active Directory or Microsoft Entra, and can run hypervisor-protected code integrity (HVCI). Upgraded or unjoined machines need it set explicitly.
Check it worked
In Event Viewer, open Windows Logs > System and look for WinInit event 12: 'LSASS.exe was started as a protected process with level: 4'. Collecting that event centrally gives you fleet-wide evidence and a way to spot machines where it quietly stopped. Note that you can no longer attach a debugger to LSASS or debug a custom LSA plug-in while protection is on.
Turning it off. Set RunAsPPL to 0 (or delete it) and restart, and use the opt-out tool if a UEFI variable was set. Microsoft warns that setting the policy back to 'Not Configured' does not clean up a previously enabled setting; choose Disabled under Options instead.
Limits and companions
LSA protection raises the bar but is not a boundary against an attacker who already has administrator rights. Palo Alto Networks Unit 42 said on 1 December 2026 that its PPLhost proof of concept bypasses Protected Process Light, including to dump LSASS memory, and that Microsoft told it the techniques do not cross a security servicing boundary because they need admin rights. Keep admin rights scarce, watch for changes to service registry keys and LSA settings, and treat any admin compromise as a credential compromise.
Credential Guard is the complementary control. Microsoft says it uses virtualization-based security to isolate NTLM hashes, Kerberos ticket-granting tickets and stored domain credentials in a separate isolated LSA process (LSAIso.exe), is supported only on 64-bit Secure Boot devices, and is on by default from Windows 11 22H2 where hardware allows. Microsoft calls the two complementary and says systems that support Credential Guard can also enable and benefit from LSA protection.
Practitioner checklist. Inventory LSA plug-ins; run audit mode and clear events 3065/3066; decide where the UEFI lock fits; deploy by GPO or Intune; confirm WinInit event 12 across the fleet; alert when RunAsPPL changes; pair with Credential Guard, limited admin rights and EDR.
See also:
Fact source: Microsoft Learn — Configure added LSA protection (read 2 Dec 2026), Unit 42 — Pushing the Boundaries of PPL: EDR Tampering via PPLhost (December 1, 2026).
