Palo Alto Networks' Unit 42 has disclosed a novel technique for bypassing the Windows Protected Process Light (PPL) security control, a mechanism designed to shield critical system processes like the Local Security Authority Subsystem Service (LSASS) and Endpoint Detection and Response (EDR) solutions from tampering, even by users with administrative privileges. The researchers developed a proof-of-concept (PoC) tool named PPLhost that demonstrates how an attacker with admin rights can circumvent PPL protections.
The technique involves manipulating Windows services to load a vulnerable, but legitimately signed, Microsoft DLL, thereby gaining code execution within the protected process's context. This allows for subsequent defense evasion activities, such as disabling EDR telemetry or dumping credentials from LSASS. Microsoft has reviewed the findings and determined that since the attack requires pre-existing administrative privileges, it does not meet the bar for immediate security servicing. This research highlights a significant gap in defense-in-depth strategies, providing advanced attackers with a powerful post-exploitation method to operate undetected.
Protected Process Light (PPL) is a critical Windows security feature introduced to mitigate the risk of administrative account compromise. It prevents processes, even those running with the highest privileges like SYSTEM, from accessing or modifying the memory of designated PPL processes. This is intended to protect EDR agents from being disabled and to prevent credential theft from LSASS through tools like Mimikatz.
Unit 42's research challenges this security boundary by introducing two new techniques implemented in their PPLhost PoC:
Bring Your Own Vulnerable Service DLL (BYOVSDLL): This technique leverages the fact that an administrator can configure a standard Windows service (svchost.exe) to run as a PPL process. The attacker then modifies the service's registry configuration to load an older, vulnerable version of a legitimate, Microsoft-signed DLL. By exploiting a known vulnerability in this downgraded DLL (e.g., a Use-After-Free flaw in tapisrv.dll), the attacker can execute arbitrary shellcode within the PPL process space.
Custom Service Routine: This second method, also implemented in PPLhost, provides another vector to bypass PPL after an administrative compromise, further demonstrating weaknesses in the service mechanics surrounding PPL.
These methods effectively create a seam in the PPL armor, allowing a privileged attacker to undermine the very defenses designed to contain them. The attack vector is not a remote exploit but a sophisticated post-exploitation technique used for defense evasion and privilege maintenance.
The core of the attack relies on abusing the Windows Service Control Manager (SCM) and the registry. An administrator can set the LaunchProtected registry value for a service to 2, which instructs the SCM to launch the associated svchost.exe instance as a PPL process.
The BYOVSDLL technique proceeds as follows:
LaunchProtected value in the service's registry key to designate it as a PPL service.tapisrv.dll (Windows Telephony Server service) with a known, public Use-After-Free exploit.ServiceDll parameter in the registry to point to the path of the staged vulnerable DLL.svchost.exe as a PPL process, which in turn loads the specified vulnerable DLL.This bypasses the primary PPL defense—code signing requirements—by using a legitimately signed (albeit outdated and vulnerable) binary. The attack highlights that PPL's trust model can be subverted if an attacker can control which signed DLLs are loaded into a protected service context.
The techniques used by PPLhost map to the following MITRE ATT&CK techniques:
T1562.001 - Impair Defenses: Disable or Modify Tools: The primary goal of the technique is to tamper with and disable EDR solutions.T1543.003 - Create or Modify System Process: Windows Service: The attack vector relies on modifying a Windows service's configuration to load a malicious payload.T1112 - Modify Registry: Attackers modify registry keys like LaunchProtected and ServiceDll to configure the attack.T1574.002 - Hijack Execution Flow: DLL Side-Loading: While not a classic side-loading attack, the technique involves forcing a process to load a specific, attacker-chosen DLL to execute malicious code.T1003.001 - OS Credential Dumping: LSASS Memory: Bypassing PPL is a key enabler for accessing and dumping credentials from the LSASS process.T1548 - Abuse Elevation Control Mechanism: The technique subverts PPL, which is a specialized control for managing process privileges and access.While this technique requires administrative privileges, its impact is significant in post-exploitation scenarios. By bypassing PPL, an attacker can effectively neutralize a critical layer of modern endpoint security. The primary impacts include:
The technique is most relevant for targeted attacks by sophisticated threat actors who prioritize stealth and persistence after gaining initial access.
No specific Indicators of Compromise (IOCs) such as file hashes, IP addresses, or domains were provided in the source article, as this is security research detailing a technique and a proof-of-concept tool.
Security teams can hunt for activity related to this technique by looking for the following patterns:
HKLM\SYSTEM\CurrentControlSet\Services\*\LaunchProtected2 (PPL).HKLM\SYSTEM\CurrentControlSet\Services\*\Parameters\ServiceDll4657LaunchProtected and ServiceDll keys. Correlate with the process making the change.7045tapisrv.dllsvchost.exesvchost.exe process creation events with services configured to run as PPL and inspect the DLLs they load.Detecting this technique requires focused monitoring on service and registry configurations. Since the actions are performed by a privileged account, detection must focus on anomalous behaviors rather than simple permission violations.
LaunchProtected value for any service under HKLM\SYSTEM\CurrentControlSet\Services. While legitimate services may use this, any change should be considered suspicious and investigated.7045) and modifications to existing ones. Pay close attention to services whose ImagePath is svchost.exe -k <group> and check the corresponding ServiceDll parameter for suspicious paths.tapisrv.dll) in system directories or temporary folders. Compare file versions and hashes against a known-good baseline for the current OS patch level.Defensive techniques from the D3FEND framework that apply include D3-SFA: System File Analysis to baseline and detect rogue DLLs, and D3-PA: Process Analysis to monitor svchost.exe behavior.
Since the prerequisite is administrative access, the most effective mitigations focus on preventing that level of compromise and hardening systems against post-exploitation activities.
Relevant D3FEND countermeasures include D3-UAP: User Account Permissions and D3-EAL: Executable Allowlisting.
Enforcing the principle of least privilege and controlling the use of administrative accounts is the most critical mitigation, as the attack requires admin rights.
Using application control like WDAC to create policies that prevent outdated or unauthorized DLLs from being loaded can directly block the BYOVSDLL technique.
Enabling and monitoring detailed logging for registry and service modifications is essential for detecting the setup stages of this attack.
While difficult to implement perfectly, restricting write permissions to system directories can make it harder for an attacker to stage the vulnerable DLL.
Endpoint protection platforms can monitor for the sequence of suspicious behaviors, such as a process modifying a service's registry keys and then immediately starting it.
Implementing a robust application control policy using Windows Defender Application Control (WDAC) is a highly effective countermeasure against the BYOVSDLL technique. A policy should be created in audit mode first to baseline all legitimate DLLs, including specific versions, used in the environment. Once the baseline is established, the policy can be enforced to block any DLL that is not on the allowlist. This would prevent an attacker from introducing an older, vulnerable version of tapisrv.dll or any other system file, as its hash or signer certificate would not match the policy. The policy should be applied to all endpoints, with special attention to servers and high-value assets. This directly hardens the system against the core of the attack: the loading of an unauthorized, attacker-chosen DLL into a protected process context.
To detect this PPL bypass, security teams should implement continuous monitoring of critical system files and registry configurations. This involves using a File Integrity Monitoring (FIM) tool or an EDR with similar capabilities to create a baseline of all system DLLs and their versions on a fully patched system. A detection rule should then be created to alert on any deviation from this baseline, such as the creation of a DLL with a version number lower than the expected patch level. Furthermore, configure detailed auditing for registry keys under HKLM\SYSTEM\CurrentControlSet\Services\. Specifically, create high-priority alerts for any modification to LaunchProtected and ServiceDll values. Correlating a file write event for an old DLL with a subsequent registry modification to a service pointing to that DLL provides a high-confidence indicator of this attack pattern.
The foundational defense against this post-exploitation technique is strict enforcement of the principle of least privilege. Since administrative access is a prerequisite, limiting its availability is paramount. Organizations should eliminate the use of persistent administrative accounts for daily operations. Instead, implement a Privileged Access Management (PAM) solution to provide just-in-time (JIT) access, where administrative rights are granted for a limited duration and for a specific, approved task. All privileged sessions must be logged and monitored for anomalous behavior, such as modifying service configurations in the registry. By minimizing the attack surface presented by standing admin privileges, organizations can significantly reduce the likelihood that an attacker can reach the stage where they can even attempt this PPL bypass.
Unit 42 publishes research on the PPLhost proof-of-concept and associated PPL bypass techniques.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.