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.
I start each box the same way. Before I touch anything, I scan it and write down every port and service I can find, then go through them one at a time. FTP, SSH, SMB, web, whatever's there. What turns up here decides where I push next.
02phase 02 · foothold
Break the Boxes
Then I pick the weakest thing I found and go after it. Sometimes it's a vulnerable web app, sometimes a weak password, sometimes Metasploit does the heavy lifting. Either way I'm not done until I've got a shell that actually stays up.
03phase 03 · escalation
Climb the Stack
Now I'm in, but usually only as a low-privilege user. So I dig through the machine, Linux or Windows, looking for the one misconfig that gets me to root or SYSTEM. Once I'm there I grab every credential I can find.
04phase 04 · root
The Uplink
One machine is never the whole network. With those creds I go after Active Directory, pivot into networks I couldn't reach before, and set things up so I can get back in later.
05phase 05 · broadcast
Signal Out
After it's all over, I write it up. If the path was worth sharing it turns into a step-by-step walkthrough. A few posts are about tools, persistence and how I got into this field, and my rougher lab notes from TryHackMe and TCM ended up here too.
06query
Search the Signal
That's everything. If you're looking for something specific, search for it here.
00boot767 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.
This lab puts the SSH forwarding techniques together: enumerate Victim 1, open local and dynamic forwards through it, then reach Victim 2 on the internal network with ProxyChains and get an RDP session.
Nmap Victim 1
nmap -sC -sV -p- 10.129.31.68
SSH Open Local Port 8080
Forward local port 8080 to Victim 1's port 80.
ssh -L 8080:localhost:80 ubuntu@10.129.31.68
SSH Dynamic Port Forward
Set up a SOCKS proxy on 9050 through Victim 1.
ssh -D 9050 ubuntu@10.129.31.68
ProxyChains Nmap Victim 2
Scan Victim 2 on the internal network through the proxy.
proxychains nmap -v -sT 172.16.5.19 -p-
ProxyChains MSFconsole with RDP_Scanner
proxychains msfconsole
use auxiliary/scanner/rdp/rdp_scanner
set RHOSTS 172.16.5.19
exploit