| name | T1559.003_xpc-services |
| description | Adversaries can provide malicious content to an XPC service daemon for local code execution. |
| category | input-validation |
| version | 18.1 |
| author | cyberstrike-official |
| tags | ["mitre-attack","enterprise","t1559.003","execution","macos","sub-technique"] |
| technique_id | T1559.003 |
| tactic | execution |
| all_tactics | ["execution"] |
| platforms | ["macOS"] |
| mitre_url | https://attack.mitre.org/techniques/T1559/003 |
| tech_stack | ["macos"] |
| cwe_ids | ["CWE-94"] |
| chains_with | ["T1559","T1559.001","T1559.002"] |
| prerequisites | ["T1559"] |
| severity_boost | {"T1559":"Chain with T1559 for deeper attack path","T1559.001":"Chain with T1559.001 for deeper attack path","T1559.002":"Chain with T1559.002 for deeper attack path"} |
T1559.003 XPC Services
Sub-technique of: T1559
High-Level Description
Adversaries can provide malicious content to an XPC service daemon for local code execution. macOS uses XPC services for basic inter-process communication between various processes, such as between the XPC Service daemon and third-party application privileged helper tools. Applications can send messages to the XPC Service daemon, which runs as root, using the low-level XPC Service C API or the high level NSXPCConnection API in order to handle tasks that require elevated privileges (such as network connections). Applications are responsible for providing the protocol definition which serves as a blueprint of the XPC services. Developers typically use XPC Services to provide applications stability and privilege separation between the application client and the daemon.
Adversaries can abuse XPC services to execute malicious content. Requests for malicious execution can be passed through the application's XPC Services handler. This may also include identifying and abusing improper XPC client validation and/or poor sanitization of input parameters to conduct Exploitation for Privilege Escalation.
Kill Chain Phase
Platforms: macOS
What to Check
How to Test
Manual Testing
-
Identify Attack Surface: Determine if the target environment is susceptible to XPC Services by examining the target platforms (macOS).
-
Assess Existing Defenses: Review whether mitigations for T1559.003 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
-
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Remediation Guide