Join our Newsletter — 33% off our NHI Course

LaunchDaemon Persistence

A macOS persistence method that registers a daemon to run automatically at startup or when conditions are met. Attackers use it to keep malware active after reboot, which makes removal harder because the compromise survives a simple process kill or logout.

Expanded Definition

LaunchDaemon persistence is a macOS persistence technique that abuses the system’s startup and service management model so malicious code can execute before or alongside normal user activity. Unlike a simple login item, a LaunchDaemon is designed to run as a background service, often with elevated scope, and can be configured to restart automatically when the system boots or when a triggering condition is met. In security terms, this matters because persistence is not the same as initial access: it is the mechanism that preserves attacker foothold after an endpoint restarts, a session ends, or a process is terminated.

For defenders, the concept sits within broader endpoint hardening and control monitoring practices described in NIST SP 800-53 Rev 5 Security and Privacy Controls, especially where system configuration and auditability are concerned. The term is often used interchangeably with other macOS persistence mechanism, but that is imprecise: LaunchDaemons are specifically tied to daemon-style execution, not every auto-start artefact on the platform. Security teams should treat it as one technique within a wider persistence set that also includes launch agents, login items, and profile-based mechanisms. The most common misapplication is assuming a reboot clears the threat, which occurs when responders remove the visible process but ignore the underlying daemon plist or service registration.

Examples and Use Cases

Implementing detection and response rigorously often introduces more endpoint telemetry and configuration-review overhead, requiring organisations to weigh faster containment against a larger monitoring burden.

  • A red team installs a malicious plist in a system LaunchDaemon path so payload execution survives reboots and runs without an interactive user session.
  • A commodity infostealer uses a daemon registration to relaunch itself after termination, making manual kill actions ineffective unless the service entry is removed too.
  • A defender baselines known-good LaunchDaemon entries and alerts on new or modified daemon files, inconsistent ownership, or unusual binary paths, using guidance such as MITRE ATT&CK as a reference point for persistence tradecraft.
  • A macOS hardening review checks whether security tools, remote management agents, or maintenance services legitimately require daemon-level persistence, then documents exceptions to avoid false positives.
  • An incident responder verifies both the active process and the underlying launch configuration, because deleting the process alone leaves the persistence mechanism intact and allows re-execution after restart.

Why It Matters for Security Teams

LaunchDaemon persistence is important because it turns a temporary compromise into an operationally durable one. Once the daemon registration is in place, defenders may see repeated reinfection symptoms even after apparent cleanup, which complicates incident response, endpoint rebuild decisions, and root-cause analysis. This is especially relevant in environments that rely on macOS devices for privileged administration, software development, or creative workflows, where local execution rights and service tooling can be abused to create long-lived footholds.

The security impact is not limited to malware execution. A persistent daemon can be used to maintain command-and-control access, stage additional payloads, or re-establish credentials and secrets capture after remediation. That makes configuration control, file integrity monitoring, and least-privilege governance critical. NIST guidance on access control and monitoring remains directly relevant, and the same principle appears in NIST SP 800-53 Rev 5 Security and Privacy Controls when systems must be continuously assessed for unauthorized service changes. Organisations typically encounter the operational cost of LaunchDaemon persistence only after a supposedly cleaned endpoint re-compromises on the next reboot, at which point the persistence layer becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.PS Persistent service abuse is a platform-security issue addressed by secure configuration and maintenance.
NIST SP 800-53 Rev 5 CM-2 LaunchDaemon changes are unauthorized configuration drift under configuration management.

Baseline allowed daemon entries and investigate any new or modified launch configuration immediately.