Scheduled Tasks
CRON PATHS:
Check the first path that is is executing. For ex: /home/user/. Check if the scheduled task file is present in that directory. If it is not present the create it.
If the file has extension .sh and in /home/user/ path:
WILDCARDS:
Check if any task is running with wildcard ( * )
Suppose tar is running with wildcard: tar czf /tmp/backup.tar.gz *
FILE OVERWRITES:
Check if we have write permissions on any of the schduled tasks. Then overwrite the file with a reverse shell. (Imp: Before overwriting the file, always copy the contents of the original file to some location)
Last updated
Was this helpful?