We analyzed a Windows security mechanism called Protected Process Light (PPL), to assess its effectiveness. PPL is designed to prevent unauthorized processes from altering or accessing the memory of critical system and security services. PPL is designed to protect Local Security Authority Subsystem Service (LSASS) and endpoint detection and response (EDR) even if an attacker compromises an administrative account. We discovered techniques that can bypass these protections in the event of a compromised administrative account.
We developed a fully functional proof of concept (PoC) to bypass PPL protections that we call PPLhost. PPLhost implements two novel techniques:
We shared our findings with Microsoft, who noted that because the techniques require admin rights, they do not cross a security servicing boundary.
By shedding light on service mechanics in the context of PPL, our research empowers threat hunters and detection engineers to identify subtle service tampering, and strengthen endpoint telemetry against advanced post-exploitation techniques.
Palo Alto Networks customers are better protected from the threats discussed above through the following products and services:
Unit 42 Threat Intel Services is designed to provide organizations with tailored intelligence and direct access to our analysts to help assess relevant threats, prioritize risks and determine appropriate actions.
If you think you might have been compromised or have an urgent matter, contact the Unit 42 Incident Response team.
PPL is designed to protect against a key problem within Windows systems – the powers that administrator processes can have. Rather than allowing local administrators access to every running process, PPL is designed to introduce some safeguards against an attacker who gains administrative access.
In standard Windows environments, administrative privileges allow processes to request full access to other running processes, such as:
Protected Process (PP) and PPL override this behavior by evaluating and blocking the creation of any process or thread handle that has a dangerous access mask. This override occurs even if the caller holds the highest administrative rights or SeDebugPrivilege. Following are two examples of targeted processes and how PPL is designed to protect them.
Together, these implementations to protect LSASS and EDR are intended to ensure that even if an attacker compromises an administrative account, they can neither easily harvest credentials nor disable the machine’s defenses.
To enforce PP and PPL processes, Windows requires binaries to be digitally signed with specialized certificates. Two components define the protections to be applied to each binary. These components are defined as orthogonal because they each operate independently of the other when defining the protection state:
The different signer categories enable higher-tier system components (like WinSystem or WinTcb) to access lower-tier binaries. These categories also deliberately isolate non-operating-system groups like Antimalware and Lsa from one another. Figure 1 depicts some of these relationships.

Microsoft provides patches for user-mode logic exploits like PPLFault, which uses memory page faults and race conditions to trick the operating system (OS) into executing malicious code. Consequently, instead of user-mode bypasses, attackers try to target the kernel itself, via bring-your-own-vulnerable-driver (BYOVD) attacks. Targeting the kernel enables attackers to bypass PPL by loading a legitimately signed driver that contains a security flaw. This grants them kernel-level read/write primitives to bypass PPL, which by design only protects against user-mode processes.
When the goal is to tamper with EDR agents, attackers often turn to EDR silencing tools and techniques such as EDR-Redir and EDRChoker. Instead of attempting to terminate the agent, these methods focus on impairing its ability to operate correctly or communicate telemetry.
By exploring different attack methods, we can identify how bypass techniques evolve in the face of increased PPL security measures. This provides us with important insights into how best to protect environments and ensure visibility into suspicious activity. Our insights led to the discovery of the following novel techniques to bypass PPL.
The obvious barrier to a successful exploit is that known vulnerabilities are patched. We discovered an attack vector that involves downgrading a service to its vulnerable version, rendering patches ineffective. By overwriting a dynamic-link library (DLL) value in the registry of the service path, it is possible to reintroduce known vulnerabilities that have existing exploits.
The starting point for the BYOVSDLL technique was the observation that Service Host (svchost.exe) can be launched as PPL. svchost.exe is a core Windows system process that loads and runs background Windows services implemented as DLL files. The Windows Service Control Manager (SCM) uses the LaunchProtected value in the registry to determine whether a service should be launched as PPL. This means that by setting LaunchProtected to 2 (PPL), we can configure PPL for a chosen service. While it is possible to create a PPL process directly using WinAPI, using the SCM allows the standard initialization of the service.
This ability to register a service as PPL reveals a significant attack surface. Any Microsoft-signed, vulnerable service DLL that grants code execution could be exploited by an admin user to compromise PPL.
We found a public, functional Use-After-Free exploit in the Windows Telephony Server service, tapisrv.dll. We modified the exploit’s code to run shellcode instead of loading a DLL, as unsigned DLLs cannot be loaded into a PPL process.
After copying an older, vulnerable tapisrv.dll to an updated machine, we observed that the DLL was not recognized as legitimately signed, because it lacked an embedded signature. This was resolved by copying and installing the signed valid catalog file from the older Windows installation.
To upgrade our permissions, we also modified the ObjectName value, which controls the service user. This change enabled us to launch the service as SYSTEM instead of NetworkService, and to add SeDebugPrivilege to RequiredPrivileges.
Figures 2 and 3 depict the registry changes. After applying all of the changes — LaunchProtected, ServiceDll, ObjectName and RequiredPrivileges — we restarted the service and ran our exploit.


Using this technique, we were able to successfully run shellcode as PPL, dump LSASS memory and terminate protected EDR processes.
Figures 4 and 5 show successful executions of the PoC.


The technique of modifying sensitive settings of system services could generate suspicious telemetry.
For the second technique, we explored an alternative approach that avoids downgrading a service. We identified existing services with suitable primitives for a PPL bypass, and created a technique that operates in a more covert manner than Technique No. 1.
Usually the entry point for service DLLs is an exported function called ServiceMain, but it is also possible to register a service with a custom ServiceMain, as Figure 6 shows.

The ServiceMain parameters are passed through StartServiceW.
Effectively, any export in any PCA-signed DLL with a signature of int argc, char *argv[] (or a sufficiently similar signature that references our controlled parameters) is a potential target.
We discovered that a mitigation exists in svchost.exe that ensures that if a process is PPL, it cannot use a custom ServiceMain, as shown in Figures 7 and 8.


To bypass this mitigation, we can employ a bring-your-own svchost approach, by providing an older binary that predates the mitigation. As Figure 9 shows, this binary even has an embedded signature, meaning that there is no need to install the catalog.

We found a suitable target function in werui.dll, which performs a full memory dump of a process and matches the required signature, shown in Figure 10.

The registry changes for this technique are shown in Figures 11 and 12.


It might also be possible to find target functions or primitives that would achieve arbitrary shellcode execution inside the process.
Defenders can improve protection of their environments by enabling Credential Guard to help prevent credential theft from LSASS, and by deploying detections for tools and techniques that target PPL processes.
Windows Credential Guard uses virtualization-based security (VBS) to run a separate component — LSA Isolated (LSAISO) — in Virtual Trust Level 1 (VTL 1). This component is completely inaccessible to standard VTL 0 user-mode or kernel-mode code.
The NTLM hashes and Kerberos Ticket-Granting Tickets (TGTs) are stored inside LSAISO, and are not saved in LSASS. When LSASS needs to perform an operation with the NTLM hashes or TGTs, it asks LSAISO. When Credential Guard is used, it is not possible to retrieve credentials by reading the memory of LSASS — as they are not there. Figure 13 shows the Credential Guard architecture.

Monitoring the following activities will help defenders to detect and prevent these techniques:
This article demonstrates how certain security boundaries, while not officially classified as critical, are significant for both attackers and defenders. As attackers increasingly leverage AI to bypass these limitations, defenders should stress-test security boundaries like PPL to stay ahead of modern adversaries and strengthen defense strategies.
Through our analysis of PPL and the development of PPLhost, we discovered two techniques for bypassing PPL protections:
By sharing these findings and detailing the mechanics behind PPL execution, we aim to provide security teams with actionable guidance designed to detect, audit and neutralize process-tampering techniques across enterprise environments.
I’d like to thank Dan Yashnik for his extensive contributions to this research.
Palo Alto Networks customers are better protected from the threats discussed above through the following products:
Figure 14 shows service tampering detected and blocked in Cortex XDR. Figure 15 shows Cortex XDR detecting and preventing EDR tampering.


Unit 42 Threat Intel Services is designed to provide organizations with tailored intelligence and direct access to our analysts to help assess relevant threats, prioritize risks and determine appropriate actions.
If you think you may have been compromised or have an urgent matter, get in touch with the Unit 42 Incident Response team or call:
Palo Alto Networks has shared these findings with our fellow Cyber Threat Alliance (CTA) members. CTA members use this intelligence to rapidly deploy protections to their customers and to systematically disrupt malicious cyber actors. Learn more about the Cyber Threat Alliance.