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.
How LaunchDaemon persistence works on macOS
LaunchDaemons are property list based jobs that macOS loads from system locations and runs at boot or when their trigger conditions are met. For defenders, the key point is that this is not just a startup shortcut, it is a native operating-system mechanism that can relaunch code without user interaction and survive a simple logout or process kill.
Because the daemon is registered with launchd, persistence often looks legitimate at first glance. That makes it a useful persistence layer for malware, but it also means defenders have to think in terms of registered jobs, on-disk launch metadata, and the executable the job points to, not just the running process.
Why attackers use it
Attackers favor LaunchDaemon persistence when they want durable execution with low friction. A reboot should not disrupt them, and system-level launch items can be harder for users to notice than an obvious login item or a foreground process.
The technique is especially valuable after initial access because it helps preserve footholds while the attacker escalates, stages additional tooling, or waits for a better opportunity. It is also attractive in environments where defenders rely on process monitoring alone, because the persistence mechanism lives outside the running process itself.
For macOS tradecraft, this sits alongside other common persistence and defense-evasion patterns documented in the ATT&CK macOS Malware Software Hub, which helps place LaunchDaemon abuse in the wider macOS intrusion chain.
What to inspect when you suspect exposure
Exposure checking should start with a macOS inventory that includes endpoints, servers, and any fleet-managed build images that may carry persistence artifacts into multiple hosts. Defenders should review launchd job locations, job names, associated executables, and any recent file or configuration changes tied to startup behavior.
It is also important to verify whether the daemon points to a signed, expected binary in a trusted path or to an unusual location, temporary directory, or script wrapper. The most revealing clues are often the relationship between the launch job and the payload it starts, plus whether the job appeared after a suspicious download, privilege event, or admin session.
Where identity compromise is part of the intrusion path, a broader incident view is useful. The Identity Threat Detection and Response guide is relevant because persistence on a host often follows valid-account abuse, and the follow-on response needs to connect host artifacts with account activity.
Removal and hardening considerations
Removing the daemon registration is only one part of remediation. You also need to remove the payload, determine whether the launch item was recreated by another scheduled task or installer, and confirm that no additional startup locations were used as fallbacks.
Hardening is about reducing the attacker’s ability to plant or relaunch code in privileged system paths. That usually means restricting administrative write access, monitoring changes to launchd directories, and validating startup items as part of endpoint security baselines. For macOS fleets, Salt Typhoon telecom intrusions 2025 is a useful reminder that persistent access is often paired with credential abuse and the theft of secrets that let attackers return even after a visible cleanup.
Detection and recovery after compromise
Detection should look for new or modified LaunchDaemon entries, unusual launchd execution chains, and binaries that appear only during boot or shortly after startup. Correlating those artifacts with process creation, file modification, and authentication events gives a much clearer picture than any single log source.
After removal, treat the endpoint as potentially compromised until you have reviewed nearby lateral movement, credential exposure, and any other persistence paths. If the malware had time to operate, rotate the credentials or keys that could have been captured during the dwell period, then verify that the host does not re-register the daemon on restart.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1543.001 — Create or Modify System Process: Launch Daemon | LaunchDaemon persistence is a macOS system-process persistence technique in ATT&CK. |
| Recommendation — Map boot-time daemon creation to T1543.001 and hunt for new launchd jobs and their payload paths. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Startup items and launchd jobs are configuration artifacts that need controlled baselines. |
| Recommendation — Baseline macOS startup configurations and alert on unauthorized LaunchDaemon changes. | ||
| NIST SP 800-53 Rev 5 | CM-7 — Least Functionality | Restricting unnecessary startup mechanisms reduces opportunities for persistence on endpoints. |
| AU-6 — Audit Record Review, Analysis, and Reporting | LaunchDaemon abuse is best found by reviewing correlated host audit activity. | |
| SI-4 — System Monitoring | Persistence detection depends on monitoring file, process, and startup-behavior changes. | |
| Recommendation — Disable unnecessary startup mechanisms and only allow approved launchd jobs. Review host audit logs for launchd job creation, modification, and execution anomalies. Monitor for new persistence artifacts and unexpected daemon execution at startup. | ||
Related resources from NHI Mgmt Group
- When does malware persistence become an NHI governance issue?
- How do security teams know if persistence has been established on a compromised AI node?
- How should security teams prevent unwanted persistence in Active Directory and Entra ID?
- Why do stale accounts and old privilege create such a large persistence risk?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org