diff --git a/Mac/Persistence/Local_Job_Scheduling.md b/Mac/Persistence/Local_Job_Scheduling.md index 09435f6a..3a12287a 100644 --- a/Mac/Persistence/Local_Job_Scheduling.md +++ b/Mac/Persistence/Local_Job_Scheduling.md @@ -1,6 +1,49 @@ -# Cron Job +# Local Job Scheduling MITRE ATT&CK Technique: [T1168](https://attack.mitre.org/wiki/Technique/T1168) +### Cron Job echo "* * * * * /tmp/evil.sh" > /tmp/persistevil && crontab /tmp/persistevil + +### Emond + +copy this file into /etc/emond.d/rules/atomicredteam.plist + + + + + + + name + atomicredteam + enabled + + eventTypes + + startup + + actions + + + command + /usr/bin/say + user + root + arguments + + -v Tessa + I am a persistent startup item. + + type + RunCommand + + + + + + +create an empty file in /private/var/db/emondClients/ + + sudo touch /private/var/db/emondClients/randomflag +