Files
atomic-red-team/Mac/Persistence/Launch_Daemon.md
T
Michael Haag 3c84c659f5 Mac Persistence
Added many mac persistence items and updated readme
2018-01-09 09:07:41 -07:00

24 lines
698 B
Markdown

# Launch Daemon
MITRE ATT&CK Technique: [T1160](https://attack.mitre.org/wiki/Technique/T1160)
Place the following file (com.example.hello) in /System/Library/LaunchDaemons or /Library/LaunchDaemons
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.example.hello</string>
<key>ProgramArguments</key>
<array>
<string>hello</string>
<string>world</string>
</array>
<key>KeepAlive</key>
<true/>
</dict>
</plist>