MITRE ATT&CKsub-technique
T1546.014 Emond
- Domain
- enterprise
- Tactics
- Privilege Escalation, Persistence
- Platforms
- macOS
- Version
- 1.1
- Created
- 2020-01-24
Description
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.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1546 Event Triggered Execution technique
Referenced by MITRE ATT&CK · mitigates (1)
- M1042 Disable or Remove Feature or Program mitigation
Referenced by Compliance · mitigates (6)
- NIST-CM-2 Baseline Configuration NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-CM-8 System Component Inventory NIST 800-53 control
- NIST-RA-5 Vulnerability Monitoring and Scanning NIST 800-53 control
- NIST-SI-3 Malicious Code Protection NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
References
- http://www.magnusviri.com/Mac/what-is-emond.html magnusviri emond Apr 2016
- https://www.xorrior.com/emond-persistence/ xorrior emond Jan 2018
- https://www.sentinelone.com/blog/how-malware-persists-on-macos/ sentinelone macos persist Jun 2019