Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents MITRE ATT&CK technique T1569.001, where adversaries abuse macOS launchctl to execute commands or programs, with test guidance.
36% 82%+45 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
Sub-technique of: T1569
Adversaries may abuse launchctl to execute commands or programs. Launchctl interfaces with launchd, the service management framework for macOS. Launchctl supports taking subcommands on the command-line, interactively, or even redirected from standard input.
Adversaries use launchctl to execute commands and programs as Launch Agents or Launch Daemons. Common subcommands include: launchctl load,launchctl unload, and launchctl start. Adversaries can use scripts or manually run the commands launchctl load -w "%s/Library/LaunchAgents/%s" or /bin/launchctl load to execute Launch Agents or Launch Daemons.
Platforms: macOS
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Utilize launchctl
Supported Platforms: macos
launchctl submit -l #{label_name} -- #{executable_path}
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.