MITRE ATT&CKsub-technique

T1559.003 XPC Services

Published 2021-10-12 Modified 2025-04-15 Official page ↗
Domain
enterprise
Tactics
Execution
Platforms
macOS
Version
1.1
Created
2021-10-12

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.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1559 Inter-Process Communication technique

Tactic · MITRE ATT&CK (1)

Referenced by MITRE ATT&CK · mitigates (1)

  • M1013 Application Developer Guidance mitigation

Referenced by Compliance · mitigates (9)

  • CIS-16.10 Apply Secure Design Principles in Application Architectures CIS Safeguard v8.1
  • CIS-16.12 Implement Code-Level Security Checks CIS Safeguard v8.1
  • NIST-CM-5 Access Restrictions for Change NIST 800-53 control
  • NIST-CM-6 Configuration Settings NIST 800-53 control
  • NIST-CM-7 Least Functionality NIST 800-53 control
  • NIST-SA-10 Developer Configuration Management NIST 800-53 control
  • NIST-SA-11 Developer Testing and Evaluation NIST 800-53 control
  • NIST-SA-8 Security and Privacy Engineering Principles NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control

References