T1543.001 Launch Agent — ATT&CK Technique
Adversaries may create or modify launch agents to repeatedly execute malicious payloads as part of persistence. When a user logs in, a per-user launchd process is started which loads the parameters for each launch-on-demand user agent from the property list (.plist) file found in /System/Library/LaunchAgents, /Library/LaunchAgents, and ~/Library/LaunchAgents. Property list files use the Label, ProgramArguments , and RunAtLoad keys to identify the Launch Agent's name, executable location, and execution time. Launch Agents are often installed to perform updates to programs, launch user specified programs at login, or to conduct other developer tasks. Launch Agents can also be executed using the Launchctl command. Adversaries may install a new Launch Agent that executes at login by placing a .plist file into the appropriate folders with the RunAtLoad or KeepAlive keys set to true. The Launch Agent name may be disguised by using a name from the related operating system or benign software. Launch Agents are created with user level privileges and execute with user level permissions.
Detection coverage (4)
- Launch Agent/Daemon Execution Via Launchctl medium
- Potential Persistence Via PlistBuddy high
- Suspicious PlistBuddy Usage
- Suspicious PlistBuddy Usage via OSquery
Malware using this technique
- Calisto
- Mini Shai-Hulud
- Proton
- GlassWorm
- MacSpy
- CrossRAT
- ThiefQuest
- Dok
- Dacls
- MacMa
- OSX_OCEANLOTUS.D
- Bundlore
- NETWIRE
- macOS.OSAMiner
- InvisibleFerret
- CoinTicker
- Green Lambert
- Cuckoo Stealer
- CookieMiner
- FruitFly
- Komplex
- Keydnap