Linux Privilege Escalation — Cron

Walkthrough in exploiting Cron and File Permissions

  1. Get initial foothold

2. Check username

3. Update the database of the Locate command and locate Crontab

4. View scheduled system-level tasks

5. Investigate the shell scripts and view file permissions

6. Create a listener

7. Edit the shell script found at Crontab

8. Pass the shell to the listener

9. Confirm successful privilege escalation

--

--