A novel macOS privilege escalation technique allows standard user accounts to silently disable leading enterprise security products—including major Endpoint Detection and Response (EDR) and Mobile Device Management (MDM) solutions—without requiring administrator credentials, kernel exploits, or triggering security alerts.
The technique exploits a macOS issue in how trusted application components are identified, trust relationships are inherited and privileged operations are authorized. CrowdStrike has detections and preventions in place for the Falcon sensor.
The attack exploits a fundamental flaw in how macOS XPC services establish trust boundaries by chaining CDHash kernel cache exploitation with NIB payload injection to impersonate trusted application components. Consequently, any non-root user can invoke arbitrary privileged XPC methods with zero authentication. This exposure exists widely across applications implementing inter-component XPC communication in the macOS ecosystem.
To support this research I built XPC Hunter — an open-source automated framework that discovers exploitable XPC privilege escalation surfaces across all installed macOS applications at scale. The tool will be presented and made available at Black Hat US in August 2026.
Enterprise security teams rely heavily on the architectural assumption that only a vendor’s own signed software can communicate with privileged background processes. This research fundamentally invalidates that assumption across the macOS platform. Three critical implications stand out:
This systemic vulnerability class has been successfully validated against prominent enterprise endpoint security tools:
macOS applications widely deploy privileged daemons running as root that expose XPC Mach services to facilitate communication with user-facing interface components. These background daemons commonly rely on macOS code signing trust verification—specifically Code Directory Hashes (CDHash)—to authenticate the client processes calling their methods.
However, the kernel’s CDHash cache persists following the initial execution of a legitimate binary. An attacker can launch a validly signed application binary to populate the kernel cache, and subsequently manipulate the application bundle structure to inject malicious NIB (Interface Builder) payloads. Because the kernel-level trust cache remains valid for that process context, the trust boundary is broken, permitting an unprivileged userland process to masquerade as a highly trusted component.
Once the malicious NIB payload is successfully injected, the executed code runs directly inside the memory space and operational context of the legitimately signed app component. Because the process retains full kernel-level trust credentials, it inherits the capability to communicate directly with the privileged background daemon without authentication.
Operating from this established trust zone, the exploit payload can cleanly ping the background service to enumerate and map exactly which privileged functions are exposed. This dynamic scanning repeatedly uncovered highly sensitive, built-in management methods including:
Relying purely on passive CDHash validation within kernel caches is insufficient to maintain secure service bounds. Developers must explicitly validate client identity directly inside the listener protocol logic. This can be resolved robustly using just a few lines of code:
Either approach successfully defeats this exploit architecture by breaking the userland impersonation primitive during the initial handshake stage before any protocol methods are exposed or processed.
Organizations must treat this as a major gap in modern endpoint security models, particularly concerning insider threat vectors and post-compromise scenarios. Privileged XPC interfaces reachable by standard accounts represent silent operational risks that bypass conventional architecture reviews until actively exploited.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
