Cross-source coverage

T1546.014 / ATT&CK

Event Triggered Execution: Emond

4 rules across 3 sources.

From MITRE ATT&CK 19.2

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.

The rule files are in the plist format and define the name, event type, and action to take. Some examples of event types include system startup and user authentication. Examples of actions are to run a system command or send an email. The emond service will not launch if there is no file present in the QueueDirectories path /private/var/db/emondClients, specified in the Launch Daemon configuration file at/System/Library/LaunchDaemons/com.apple.emond.plist.

Adversaries may abuse this service by writing a rule to execute commands when a defined event occurs, such as system start up or user authentication. Adversaries may also be able to escalate privileges from administrator to root as the emond service is executed with root privileges by the Launch Daemon service.

Platforms
macOS
Telemetry
macos:unifiedlog

How MITRE says to detect it DET0555

Detection Strategy for Event Triggered Execution via emond on macOS

macOS Analytic 1534

Detection focuses on identifying unauthorized file creation or modification within `/etc/emond.d/rules/` or `/private/var/db/emondClients`, which indicate attempts to register a malicious emond rule. Correlate with process execution of `/sbin/emond` and any launched commands it invokes, especially during boot or login events. Anomalies may include rules created by non-root users or unexpected shell commands executed by emond.

  • macos:unifiedlog file create or modify in /etc/emond.d/rules or /private/var/db/emondClients
  • macos:unifiedlog execution of /sbin/emond with child processes launched
  • macos:unifiedlog rule definitions written to emond rule plists
  • macos:unifiedlog command execution triggered by emond (e.g., shell, curl, python)

elastic/detection-rules

2 rules
Detection Severity Format
Emond Rules Creation or Modification Medium Elastic TOML
Suspicious Emond Child Process Medium Elastic TOML

SigmaHQ/sigma

1 rule
Detection Severity Format
MacOS Emond Launch Daemon Medium Sigma

elastic/protections-artifacts

1 rule
Detection Severity Format
Potential Persistence via Emond Undefined Elastic TOML

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.