Event Triggered Execution: Emond T1546.014

Tactics: Privilege Escalation, Persistence

Adversaries may gain persistence and elevate privileges by executing malicious content triggered by the Event Monitor Daemon (emond). Emond is a Launch Daemon that accepts events from various services, runs them through a simple rules engine, and takes action. The emond binary at /sbin/emond will load any rules from the /etc/emond.d/rules/ directory and take action once an explicitly defined event takes place.

Events covered

2 catalog events are tagged with this technique by at least one rule.

ProviderEventTitle
ESFcreateFile or Directory Create
ESFwriteFile Write

Authoring guide

These 4 rules share fields, values, and exclusions.

Fields filtered most (6 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
TargetFilename2contains 1, ends_with 1, wildcard 1.plist, /etc/emond.d/rules/, /etc/emond.d/rules/*.plist, /private/etc/emond.d/rules/*.plist, /private/var/db/emondclients/
event.type2eq 1, in 1start, process_started
host.os.type2eq 2
parent_process_name2eq 2emond
process_name2wildcard 2base64, bash, cp
EventType1eq 1modification

Top indicator values (37 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
parent_process_nameeq
emond
22
process_namewildcard
base64
25
process_namewildcard
bash
239
process_namewildcard
cp
23
process_namewildcard
csh
218
process_namewildcard
curl
232
process_namewildcard
dash
222
process_namewildcard
echo
23
process_namewildcard
fish
219
process_namewildcard
ksh
222
process_namewildcard
launchctl
22
process_namewildcard
mv
24
process_namewildcard
osascript
233
process_namewildcard
perl*
237
process_namewildcard
php*
241
process_namewildcard
pwsh
26
process_namewildcard
python
22
process_namewildcard
python*
271
process_namewildcard
sh
239
process_namewildcard
tcsh
222
process_namewildcard
touch
24
process_namewildcard
wget
220
process_namewildcard
zsh
237
EventTypeeq
modification
172
TargetFilenamecontains
/etc/emond.d/rules/
1
TargetFilenamecontains
/private/var/db/emondclients/
1
TargetFilenameends_with
.plist
13
TargetFilenamewildcard
/etc/emond.d/rules/*.plist
1
TargetFilenamewildcard
/private/etc/emond.d/rules/*.plist
1
TargetFilenamewildcard
/private/var/db/emondclients/*
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform: macOS

Domain: Endpoint

Sigma 1 rule

Elastic 3 rules