Detection rules › Sigma
XPC Connection from Unusual Location
Detects XPC service connections initiated from unusual file system locations
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1559 Inter-Process Communication |
Rule body yaml
title: XPC Connection from Unusual Location
id: 4fdd0c51-2354-414b-b74d-45b634d0fcb4
status: experimental
description: Detects XPC service connections initiated from unusual file system locations
references:
- https://attack.mitre.org/techniques/T1559/
author: Eric Brown - Nebulock, Inc.
date: 2025/10/29
tags:
- attack.execution
- attack.t1559
logsource:
product: macos
service: endpointsecurity
category: xpc_connection
detection:
selection:
esf.event_type: 65
event.action: xpc_connect
Image|startswith:
- /tmp/
- /var/tmp/
- /private/tmp/
- /Users/Shared/
- /dev/shm/
condition: selection
falsepositives:
- Installers running from temporary locations
- User scripts
level: medium
modified: 2025/01/15
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
esf.event_type: 65
event.action: xpc_connect
Image|startswith:
- /tmp/
- /var/tmp/
- /private/tmp/
- /Users/Shared/
- /dev/shm/
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Image | starts_with |
|
esf.event_type | eq |
|
event.action | eq |
|