Detection rules › Sigma

Connection to Suspicious XPC Service

Status
experimental
Severity
high
Log source
product macos, category xpc_connection, service endpointsecurity
Author
Eric Brown - Nebulock, Inc.
Source
github.com/Nebulock-Inc/macos-coresigma

Detects connections to XPC services with suspicious or generic names that may indicate malicious IPC

MITRE ATT&CK coverage

TacticTechniques
ExecutionT1559 Inter-Process Communication

Rule body yaml

title: Connection to Suspicious XPC Service
id: d2e3f4a5-b6c7-4d8e-9f0a-1b2c3d4e5f6a
status: experimental
description: Detects connections to XPC services with suspicious or generic names
  that may indicate malicious IPC
references:
- https://attack.mitre.org/techniques/T1559/
- https://wojciechregula.blog/post/learn-xpc-exploitation-part-1-broken-cryptography/
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
    XpcServiceName|contains:
    - backdoor
    - rootkit
    - shell
    - payload
    - exploit
    - .temp.
    - .test.
  condition: selection
falsepositives:
- Development and testing services
level: high
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  esf.event_type: 65
  event.action: xpc_connect
  XpcServiceName|contains:
  - backdoor
  - rootkit
  - shell
  - payload
  - exploit
  - .temp.
  - .test.

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.

FieldKindValues
XpcServiceNamematch
  • .temp.
  • .test.
  • backdoor
  • exploit
  • payload
  • rootkit
  • shell
esf.event_typeeq
  • 65
event.actioneq
  • xpc_connect