Detection rules › Sigma
XPC Connection from Unusual Location
Detects XPC service connections initiated from unusual file system locations
Known false positives
- Installers running from temporary locations
- User scripts
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution |
Telemetry coverage
Rule body
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
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
Image | starts_with |
| field:"Image" kind:starts_with |
esf.event_type | eq |
| field:"esf.event_type" kind:eq value:"65" |
event.action | eq |
| field:"EventType" kind:eq value:"xpc_connect" |