Summary
Install launchd persistence (LaunchAgent or LaunchDaemon).- Needs Admin: False
- Version: 1
- Author: @xorrior
Arguments
Args
- Description: List of arguments to execute in the ProgramArguments section of the PLIST. The first argument should be the path to the program to execute.
- Required Value: True
- Default Value: None
KeepAlive
- Description: When this value is set to true, Launchd will restart the daemon if it dies
- Required Value: False
- Default Value: True
RunAtLoad
- Description: When this value is set to true, Launchd will immediately start the daemon/agent once it has been registered
- Required Value: False
- Default Value: False
Label
- Description: The label for launchd persistence
- Required Value: True
- Default Value: com.apple.mdmupdateagent
LaunchPath
- Description: Path to save the new plist
- Required Value: True
- Default Value: None
remove
- Description: Boolean indicating to remove the specified launchd persistence
- Required Value: False
- Default Value: False
Usage
MITRE ATT&CK Mapping
- T1159
- T1160