Persistence via Docker Shortcut Modification

edit

An adversary can establish persistence by modifying an existing macOS dock property list in order to execute a malicious application instead of the intended one when invoked.

Rule type: query

Rule indices:

  • auditbeat-*
  • logs-endpoint.events.*

Severity: medium

Risk score: 47

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Host
  • macOS
  • Threat Detection
  • Persistence

Version: 1

Added (Elastic Stack release): 7.12.0

Rule authors: Elastic

Rule license: Elastic License v2

Rule query

edit
event.category : file and event.action : modification and file.path
: /Users/*/Library/Preferences/com.apple.dock.plist and not
process.name : (xpcproxy or cfprefsd or plutil or jamf or PlistBuddy
or InstallerRemotePluginService)

Threat mapping

edit

Framework: MITRE ATT&CKTM