Skip to main content
CybersecurityHacking

Researchers Expose PPL Tampering Techniques Used to Evade EDR Protections

Windows computer on a laboratory bench surrounded by research instruments and notes.

"PPL is designed to protect against a key problem within Windows systems – the powers that administrator processes can have." — Unit 42, Palo Alto Networks

What PPL set out to stop, and the limits Unit 42 found

Protected Process Light (PPL) exists to block administrative processes from reading or altering critical Windows components. The protection targets two core problems noted in the research: credential theft from LSASS and tampering or termination of endpoint detection and response (EDR) agents. Unit 42’s analysis shows that PPL enforces protections through a combination of process Type (PP vs PPL) and Signer Category (the certificate-based trust level applied to binaries). Windows uses those controls to prevent even users with SeDebugPrivilege or full administrative rights from creating handles with dangerous access masks against protected processes.

PPLhost proof-of-concept and the BYOVSDLL technique

Unit 42 developed a fully functional proof of concept called PPLhost that demonstrates two novel techniques to bypass PPL protections. The first, Bring Your Own Vulnerable Service DLL (BYOVSDLL), downgrades a Microsoft-signed service DLL to an older, publicly known vulnerable version and reintroduces its exploitability. The researchers began with a public Use-After-Free exploit in tapisrv.dll (the Telephony Server service). They modified the exploit so it could run shellcode (necessary because unsigned DLLs cannot be injected into a PPL process) and copied an older tapisrv.dll to a patched machine. To make the older DLL acceptable to Windows, they also copied and installed the signed catalog file from the older installation.

Unit 42 then modified registry values used by the Service Control Manager — notably setting LaunchProtected to 2 (to cause the service to run as PPL), changing ServiceDll, and updating ObjectName and RequiredPrivileges (including adding SeDebugPrivilege and switching the service account to SYSTEM from NetworkService). After restarting the service, the PoC executed shellcode as PPL, successfully dumping LSASS memory and terminating protected EDR processes, according to the report.

Custom Service Routine and the bring-your-own svchost approach

The second technique avoids downgrading a DLL by instead exploiting service entry mechanics. Unit 42 describes how services can register a custom ServiceMain entry point and pass parameters through StartServiceW. The researchers found that although svchost.exe includes a mitigation preventing a PPL process from using a custom ServiceMain, an older svchost binary predating the mitigation (and containing an embedded signature) can be used in its place — a “bring-your-own svchost” approach.

Using that approach, Unit 42 identified a suitable export in werui.dll that performs a full memory dump of a process and matches the required signature for ServiceMain. With the appropriate registry changes (the report references the ServiceDll, LaunchProtected and related edits), the PoC used that primitive to carry out memory-dump activity from inside a PPL process. The paper notes it may be possible to find other exports or primitives that achieve arbitrary shellcode execution.

Microsoft's classification and defensive recommendations

Unit 42 reported the findings to Microsoft, which stated that because these techniques require administrative rights they do not cross a security servicing boundary. The researchers recommend several defensive measures: enable Credential Guard (which moves NTLM hashes and Kerberos TGTs into LSA Isolated running at Virtual Trust Level 1 so they are not stored in LSASS memory), and deploy detections for the specific service- and process-tampering behaviors described.

Unit 42 lists concrete telemetry to monitor: modifications to ServiceDll and other critical service settings, svchost.exe started from suspicious paths, and the creation of handles to sensitive processes. The report also points to defensive tooling: Cortex XDR and XSIAM for multi-stage detection of suspicious service tampering and in‑runtime operations, and Idira Endpoint Privilege Manager to reduce standing administrative rights and block risky actions.

What this means for technologists, enterprise defenders, and procurement leaders

  • Technologists and security teams: Audit service registry settings (LaunchProtected, ServiceDll, ObjectName, RequiredPrivileges) and add detections for unauthorized changes; enable Credential Guard where possible to remove credentials from LSASS memory.
  • Enterprise defenders and incident responders: Be prepared to investigate PPL process memory-dump artifacts and suspicious svchost instances; Unit 42 offers Incident Response engagement and Threat Intel services for organizations that suspect compromise.
  • Procurement and operations leaders: Consider solutions that enforce least privilege and provide audit-ready evidence of privileged changes; Unit 42 highlights Cortex XDR/XSIAM and Idira EPM as products aimed at reducing the specific risk vectors demonstrated by PPLhost.

Unit 42 published the PPLhost code and related materials and shared the findings with the Cyber Threat Alliance to accelerate protections. The report closes with a practical reminder: PPL raises the bar, but Unit 42’s experiments show that an administrative account remains a powerful attack surface. The paper calls on defenders to harden telemetry and governance around service configurations and to stress‑test protections like PPL as adversaries evolve their methods.

Read the original report: https://unit42.paloaltonetworks.com/bypassing-windows-ppl-pplhost/