Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

T1168M - Local Job Scheduling #35

Open
daniel-infosec opened this issue Aug 7, 2019 · 0 comments · May be fixed by #40
Open

T1168M - Local Job Scheduling #35

daniel-infosec opened this issue Aug 7, 2019 · 0 comments · May be fixed by #40

Comments

@daniel-infosec
Copy link
Contributor

Three methods

Method 1

Name Description Type Default Value
command Command to execute string /tmp/evil.sh
tmp_cron Temporary reference file to hold evil cron schedule path /tmp/persistevil
echo "* * * * * #{command}" > #{tmp_cron} && crontab #{tmp_cron}

Create a sh file that will write t1168m to a file /tmp/t1168m.txt

Method 2

echo "#{command}" > /etc/cron.daily/#{cron_script_name}

Source:
https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1168/T1168.md

@tmsteen tmsteen linked a pull request Aug 8, 2019 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant