Join our Newsletter — 33% off our NHI Course
Home› Guides› LSA Protection (RunAsPPL) Guide: Hardening LSASS, UEFI Lock…
Guide Endpoint Security

LSA Protection (RunAsPPL) Guide: Hardening LSASS, UEFI Lock and Plug-in Compatibility

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

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 AuditLevel to 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=1 stores 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.

ThreatATT&CKEffect of LSA protection
User-mode tool reads LSASS memoryT1003.001 LSASS MemoryBlocked for non-protected processes
Malicious security support provider loaded into LSAT1547.005 Security Support ProviderUnsigned SSP fails to load
Malicious authentication package registeredT1547.002 Authentication PackageUnsigned package fails to load
Malicious LSASS driverT1547.008 LSASS DriverMust meet Microsoft signing level
Password filter DLL harvesting passwordsT1556.002 Password Filter DLLPassword filters are LSA plug-ins and must be signed to load
Disabling protection through the registryT1112 Modify RegistryBlocked 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.

  1. 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.
  2. Enable audit mode: under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\LSASS.exe set the DWORD AuditLevel to 8 and 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.
  3. 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.
  4. 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)ModeMeaning
3065AuditLSASS loaded a driver that does not meet shared-section security requirements; allowed because of current policy
3066AuditLSASS loaded a driver that does not meet Microsoft signing-level requirements; allowed because of current policy
3033EnforcedA driver failed to load because it does not meet Microsoft signing-level requirements
3063EnforcedA driver failed to load because it does not meet shared-section security requirements
WinInit 12 (System log)EnforcedLSASS 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.

MethodSettingValuesNotes
Group Policy (Windows 11 22H2 and later)Computer Configuration > Administrative Templates > System > Local Security Authority > Configures LSASS to run as a protected processEnabled with UEFI Lock, Enabled without UEFI Lock, or Enabled with option DisabledSetting it to Not Configured does not undo a previous setting
Registry (all supported versions)HKLM\SYSTEM\CurrentControlSet\Control\Lsa, DWORD RunAsPPL1 = with UEFI lock; 2 = without UEFI lock (enforced only on Windows 11 22H2 and later); 0 or deleted = offUse Group Policy Preferences to deploy on older versions
Intune custom profile (CSP)./Device/Vendor/MSFT/Policy/Config/LocalSecurityAuthority/ConfigureLsaProtectedProcess, Integer1 = with UEFI lock; 2 = without UEFI lockProfile type Templates > Custom, platform Windows 10 and later

Phased rollout

  1. 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.
  2. Ring 1, a representative business pilot: include devices with smart card readers and any line-of-business software that installs LSA components.
  3. Broad deployment without lock: roll out by device group, watching 3033 and 3063 events and help desk tickets about sign-in.
  4. Servers: member servers first, then domain controllers after testing password filters and directory synchronisation agents, which are common LSA plug-ins on domain controllers.
  5. Apply UEFI lock to the device groups where the configuration is stable, typically after one or two months without load failures.
  6. 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.
SituationRecommended settingWhy
Standard managed laptops and desktops, compatibility provenEnabled with UEFI lockStrongest protection against tampering by a local administrator
Devices still in pilot, or with plug-ins awaiting signed versionsEnabled without UEFI lock (Windows 11 22H2 and later)Remote rollback remains possible
Remote or hard-to-reach servers, cloud VMsWithout lock unless console access is reliableLock removal needs access to the device boot process
Devices that cannot run LSA protection yetASR rule "Block credential stealing from the Windows local security authority subsystem" in blockMicrosoft 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.

AspectLSA protectionCredential Guard
MechanismLSASS runs as a Protected Process Light; plug-in signing enforcedSecrets isolated in LSAIso.exe using virtualisation-based security
EditionsWindows 8.1 and Windows Server 2012 R2 and laterWindows Enterprise and Education
PrerequisitesUEFI and Secure Boot recommended for lockVBS and Secure Boot required; TPM and UEFI lock recommended; generation 2 VMs
Default stateOn for new, enterprise-joined, HVCI-capable Windows 11 22H2 and later installsOn for eligible Windows 11 22H2 and later devices, and domain-joined Windows Server 2025 non-domain controllers
Domain controllersApplies to Windows Server, including domain controllersNot recommended by Microsoft
Main compatibility issueUnsigned LSA plug-insKerberos 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 RunAsPPL changed 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

FrameworkReferenceRelevance
MITRE ATT&CK mitigationM1025 Privileged Process Integrity; M1043 Credential Access ProtectionLSA protection; Credential Guard
MITRE ATT&CK techniquesT1003.001, T1547.002, T1547.005, T1547.008, T1556.002Credential reading and LSA plug-in persistence
NIST SP 800-53 Rev. 5SC-39 Process Isolation, SI-16 Memory Protection, CM-6 Configuration SettingsProtected process, memory protection, enforced baseline
NIST CSF 2.0PR.PS-01, DE.CM-09Configuration 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=8 deployed 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 RunAsPPL alerted.
  • 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

Related NHI Mgmt Group resources: Credential Dumping Guide, Credential Guard and VBS, Windows Endpoint Hardening Guide, T1003 OS Credential Dumping.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.