EDR Tampering via PPLhost: Bypassing Windows Protected Process Light
Palo Alto Networks Unit 42 released details on PPLhost, a proof-of-concept tool demonstrating how attackers with prior administrative privileges can bypass Windows Protected Process Light (PPL) protections to tamper with endpoint detection and response (EDR) agents.
Overview
Palo Alto Networks Unit 42 has detailed a proof-of-concept (PoC) tool named PPLhost that demonstrates a novel method for bypassing Windows Protected Process Light (PPL) security controls. By leveraging Bring Your Own Vulnerable Signed Driver (BYOVSDLL) and Custom Service Routine techniques, adversaries who have already achieved administrative compromise can execute arbitrary code within a PPL context. This capability poses significant risks to enterprise environments by enabling attackers to blind security tooling and EDR agents running on Windows hosts.
Technical Analysis
The PPLhost PoC abuses legitimate Windows mechanisms to subvert the trust model of Protected Process Light, which is designed to prevent unauthorized code injection and manipulation of high-privilege security software. The mechanics of the attack rely on two primary components:
– Bring Your Own Vulnerable Signed Driver (BYOVSDLL): Used to bypass kernel-mode code integrity checks and gain arbitrary kernel read/write capabilities, a prerequisite for manipulating process protection levels.
– Custom Service Routine: Utilized to inject or execute code within the context of a PPL process, effectively granting the attacker the ability to tamper with or terminate protected security products.
Prerequisites for this attack include obtaining local Administrator privileges prior to execution, as the BYOVSDLL technique requires administrative rights to load a vulnerable kernel driver.
Detection
Defenders can identify potential exploitation attempts by monitoring for anomalous kernel driver loads, service manipulation, and unauthorized interactions with protected processes:
– Monitor for the installation and loading of known vulnerable drivers, particularly those associated with BYOVSDLL exploitation.
– Audit Windows Event logs for unexpected service creation or modification of system service routines (Event IDs related to service installation such as 7045).
– Inspect process trees for administrative utilities or unknown binaries attempting to interact with PPL-protected processes (such as EDR agents and anti-malware solutions).
– Utilize EDR behavioral rules to flag attempts to strip or modify process protection flags (e.g., PsProtectedSigner* values in kernel structures).
Sigma Detection Rules
Suspicious Service Creation and Driver Installation via Known Paths
title: Suspicious Service Creation and Driver Installation
id: 4f8b9e2c-7b1a-4d3e-9c2f-1a8b7c6d5e4f
status: experimental
description: Detects the creation of new services which may indicate the loading of a vulnerable driver for BYOVSDLL attacks.
logsource:
product: windows
service: security
detection:
selection:
EventID: 4697
ServiceName|contains:
- '\Driver\'
- '\SystemRoot\'
condition: selection
level: medium
Mitigations
Defenders should implement defense-in-depth measures to protect against BYOVSDLL and PPL bypass techniques:
1. Driver Blocklist Enforcement: Enable and maintain the Microsoft Vulnerable Driver Blocklist alongside Windows Defender Application Control (WDAC) policies to prevent the loading of known vulnerable signed drivers.
2. Hypervisor-Protected Code Integrity (HVCI): Ensure HVCI (Memory Integrity) is enabled to protect against kernel-mode exploitation and unauthorized driver loads.
3. Principle of Least Privilege: Strictly monitor and restrict administrative accounts to reduce the likelihood of initial administrative compromise required for these techniques.
4. EDR Tamper Protection: Enable all vendor-provided tamper protection features to prevent third-party or administrative tools from disabling or stopping security agents.
References
- Unit 42, Palo Alto Networks: Pushing the Boundaries of PPL: EDR Tampering via PPLhost (https://unit42.paloaltonetworks.com/bypassing-windows-ppl-pplhost/)
Indicators of Compromise
No public IOCs available at time of writing.
MITRE ATT&CK
T1543.003— Windows ServiceT1068— Exploitation for Privilege EscalationT1562.001— Disable or Modify Tools
Generated by
gemini-2.5-flash ·1,572 input / 1,059 output tokens ·
Reviewed and approved by a human analyst before publication