PPLhost research shows Windows PPL can be bypassed by administrators

src-91726874

Researchers at Palo Alto Networks’ Unit 42 have demonstrated two ways to bypass Windows Protected Process Light (PPL), a safeguard intended to restrict access to sensitive processes even when an attacker has administrator privileges. Their proof of concept, called PPLhost, showed that the techniques could be used to tamper with protected endpoint detection and response (EDR) processes and access Local Security Authority Subsystem Service (LSASS) memory.

The researchers disclosed their findings to Microsoft. According to Unit 42, Microsoft said the methods require administrator rights and therefore do not cross a security servicing boundary. The findings describe proof-of-concept techniques, not evidence of an active campaign. They nevertheless highlight how service configuration and legacy components may affect protections that security teams rely on after an endpoint is compromised.

What PPL is designed to protect

PPL limits potentially dangerous access to protected processes, including attempts to read their memory, inject threads or debug them. Windows uses process protection levels and signer categories to govern which processes can interact with one another. These protections are intended to prevent a compromised administrator account from automatically gaining unrestricted access to critical processes.

LSASS manages logins and authentication material, including NTLM hashes and Kerberos tickets. When LSA Protection is enabled, LSASS runs as a PPL process, making it harder for ordinary administrator processes to extract secrets from its memory. EDR vendors can also run security agents at the Anti-Malware PPL level to make termination or tampering more difficult.

Unit 42’s work examined ways around those safeguards through Windows service mechanics. The researchers emphasized that the techniques depend on administrative access. They do not describe a remote entry method or a way for an unprivileged user to cross that initial security boundary.

Two service-based techniques

The first method, Bring Your Own Vulnerable Service DLL (BYOVSDLL), uses a vulnerable version of a service DLL. The researchers found that service configuration could be altered to make a service run as PPL, then used a downgraded DLL containing a known vulnerability. Their proof of concept involved the Windows Telephony Server service and its tapisrv.dll component. Unit 42 reported that it used a signed catalog file from an older Windows installation because the older DLL did not contain an embedded signature.

The researchers also changed service settings related to the DLL, the service account and required privileges. With those changes and the vulnerable component in place, they demonstrated code execution as PPL. Unit 42 said its test could then dump LSASS memory and terminate protected EDR processes. These results show why defenders should treat unexpected changes to sensitive service settings as significant, even when the changes are made by an account with legitimate administrative rights.

The second method, called Custom Service Routine, avoids downgrading a service DLL. Windows services typically use a ServiceMain entry point, but the researchers found that a service can be configured to call a custom entry point. They identified a mitigation in svchost.exe that prevents this behavior for PPL processes. Unit 42’s proof of concept used an older svchost.exe binary that predates the mitigation, along with a suitable function in werui.dll. The researchers demonstrated that this path could be used to dump process memory, including LSASS.

Unit 42 said other functions might provide additional capabilities, but did not present that possibility as a demonstrated result of the technique. The broader defensive point is that PPL’s effectiveness can depend on the integrity and version of the binaries and service configuration used to launch protected processes.

Defensive steps for endpoint teams

Unit 42 recommends enabling Windows Credential Guard to reduce the value of LSASS memory access. Credential Guard uses virtualization-based security to isolate LSA secrets in LSA Isolated (LSAISO), rather than keeping NTLM hashes and Kerberos ticket-granting tickets in LSASS memory. It does not prevent every form of service tampering, but it can limit credential exposure if LSASS is accessed.

Security teams should also monitor changes to ServiceDll and other critical service settings, as well as svchost.exe launches from suspicious paths. Creating handles to sensitive processes is another activity Unit 42 identifies for detection. Investigations should correlate these events with administrator activity, service restarts and changes to executable or DLL files, rather than treating each event in isolation.

The research reinforces the value of reducing standing administrative privileges and auditing service configuration. PPL remains a meaningful defense, but it should not be treated as a substitute for least privilege, credential protections or endpoint telemetry capable of surfacing unusual service behavior.