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.
Excluding the out of scope hosts, and the current host (.200), how many hosts were discovered active on the network?2
In ascending order, what are the last octets of these host IPv4 addresses? (e.g. if the address was 172.16.0.80, submit the 80)100,150
Scan the hosts -- which one does not return a status of "filtered" for every port (submit the last octet only)?150
Let's assume that the other host is inaccessible from our current position in the network. Which TCP ports (in ascending order, comma separated) below port 15000, are open on the remaining target?80,3389,5985
We cannot currently perform a service detection scan on the target without first setting up a proxy, so for the time being, let's assume that the services Nmap has identified based on their port number are accurate. (Please feel free to experiment with other scan types through a proxy after completing the pivoting section). Assuming that the service guesses made by Nmap are accurate, which of the found services is more likely to contain an exploitable vulnerability?http
Task 18 Questions
Look at the information at the top of the script. On what date was this exploit written?18.01.2018
Is the script Python2 or Python3?Python2
Task 19 Questions
Just to confirm that you have been paying attention to the script: What is the name of the cookie set in the POST request made on line 74 (line 73 if you didn't add the shebang) of the exploit?csrftoken
Task 20 Questions
What is the hostname for this target?git-serv
What operating system is this target?windows
What user is the server running as?NT AUTHORITY\SYSTEM
Task 21 Questions
What is the Administrator password hash?37db630168e5f82aafa8461e05c6bbd1
What is the NTLM password hash for the user "Thomas"?02d90eda8f6b6b06c32d5f207831101f