macOS launchctl Execution of Launch Agent/Daemon

Flags launchctl usage on macOS to submit, load, or start Launch Agents/Daemons, a common persistence mechanism.

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Pratinav Chandra (SigmaHQ), DRL 1.1
Published
2024-05-13
Updated
2026-07-31

ATT&CK techniques

Execution → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Defense Evasion

  5. Cred Access

  6. Discovery

  7. Lateral Movement

  8. Collection

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule identifies macOS process executions where launchctl is invoked with command-line arguments consistent with submitting, loading, or starting Launch Agents or Launch Daemons. Adversaries commonly use launchctl to establish persistence by scheduling services to run automatically. It relies on macOS process creation telemetry capturing the executed binary path and its command-line arguments.

Related detections9 linkedT1543.004 — drag to rearrange
LaunchAgent or LaunchDaemon Persistence File Creation on macOS (via file_event)
Malicious Mini Shai-Hulud gh-token-monitor Persistence Service (via file_event)
Suspicious macOS LaunchAgent or LaunchDaemon Plist Creation
macOS Persistence Attempt Using PlistBuddy to Modify LaunchAgents/LaunchDaemons
Malicious NimDoor Loader Persistence via Masqueraded Google Updater (via file_event)
Malicious XCSSET Payload Drop to Temp and Hidden Home Paths
Malicious XCSSET LaunchDaemon Persistence Executing Hidden root Script
Malicious Sapphire Sleet LaunchDaemon Masquerading as Google WebKit Service (via file_event)
Suspicious macOS LaunchDaemon Masquerading as Apple System Updater
macOS launchctl Execution of Launch Agent/Daemon
Pivot detection · T1543.004 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.