Detection rules › Sigma

MacOS Emond Launch Daemon

Status
test
Severity
medium
Log source
product macos, category file_event
Author
Alejandro Ortuno, oscd.community
Source
github.com/SigmaHQ/sigma

Detects additions to the Emond Launch Daemon that adversaries may use to gain persistence and elevate privileges.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
ESFcreateFile or Directory Create (NOTIFY)

Rule body yaml

title: MacOS Emond Launch Daemon
id: 23c43900-e732-45a4-8354-63e4a6c187ce
status: test
description: Detects additions to the Emond Launch Daemon that adversaries may use to gain persistence and elevate privileges.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1546.014/T1546.014.md
    - https://posts.specterops.io/leveraging-emond-on-macos-for-persistence-a040a2785124
author: Alejandro Ortuno, oscd.community
date: 2020-10-23
modified: 2021-11-27
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1546.014
logsource:
    category: file_event
    product: macos
detection:
    selection_1:
        TargetFilename|contains: '/etc/emond.d/rules/'
        TargetFilename|endswith: '.plist'
    selection_2:
        TargetFilename|contains: '/private/var/db/emondClients/'
    condition: 1 of selection_*
falsepositives:
    - Legitimate administration activities
level: medium

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    TargetFilename|contains: '/etc/emond.d/rules/'
    TargetFilename|endswith: '.plist'

Stage 2: selection_2

selection_2:
    TargetFilename|contains: '/private/var/db/emondClients/'

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
TargetFilenameends_with
  • .plist
TargetFilenamematch
  • /etc/emond.d/rules/
  • /private/var/db/emondClients/