# Pushing the Boundaries of PPL: EDR Tampering via PPLhost

PPLhost abuses service registry settings and a vulnerable tapisrv.dll to run shellcode as PPL, dumping LSASS and killing EDR agents from admin.

- Payout: Research
- Severity: high
- Program: Microsoft
- Write-up by: Eli Birkan and Oriel Cochavi
- Disclosed: 2026-12-01
- Write-up quality: 8/10
- Original: https://unit42.paloaltonetworks.com/bypassing-windows-ppl-pplhost/
- Library page: https://bugbountylibrary.com/r/blog%3Aunit42-paloaltonetworks-com-bypassing-windows-ppl-pplhost
- Tags: area:os domain:desktop impact:data-leak impact:privesc kind:research platform:threat-intel sev:high tech:windows technique:incomplete-fix technique:source-review vuln:memory-corruption vuln:privilege-escalation

**Target:** Windows Service Control Manager / svchost.exe PPL services
**Root cause:** SCM honors registry LaunchProtected and ServiceDll values, letting an admin point a PPL service at a vulnerable signed DLL (tapisrv.dll UAF) or a custom ServiceMain export in a signed DLL; an older svchost predating the custom-ServiceMain mitigation bypasses that check.
**Steps:**
1. Set service registry `LaunchProtected` to `2` to launch the service as PPL via SCM.
2. Copy older vulnerable `tapisrv.dll` and install its signed catalog file from the older Windows install so it validates.
3. Modify `ObjectName` to run as SYSTEM and add `SeDebugPrivilege` to `RequiredPrivileges`.
4. Restart service and run modified tapisrv UAF exploit that executes shellcode (not an unsigned DLL) as PPL.
5. Alternatively, register a custom `ServiceMain` pointing to `WerUIReportSilentProcessExit` in `werui.dll` and use an older signed svchost.exe to bypass the custom-ServiceMain mitigation.
**How found:** Observed that svchost.exe can be launched as PPL via the LaunchProtected registry value, reasoned that any Microsoft-signed vulnerable service DLL granting code execution becomes a PPL attack surface, then hunted for a public UAF (tapisrv.dll) and a signed DLL export matching ServiceMain's signature (werui.dll).
**Exploitation:** With admin rights, tamper service registry to run a PPL svchost loading a vulnerable signed DLL or a custom ServiceMain export; shellcode then runs at PPL, enabling LSASS memory dump for credential theft and termination of Anti-Malware PPL EDR processes.
**Escalation:** Downgrading to a vulnerable signed DLL and swapping in an older svchost bypasses patched mitigations, raising admin to PPL-level code execution.
**Insight:** Service registry values (LaunchProtected, ServiceDll, ServiceMain, ObjectName) are an under-guarded path to PPL: any signed DLL export whose signature resembles ServiceMain can be registered as an entry point, and older signed svchost binaries can bypass newer custom-ServiceMain mitigations.

