Road to OSCP - Hack The Box Write Up - Legacy

Blog

11
- July
2019
Road to OSCP - Hack The Box Write Up - Legacy

Hack the Box is an online platform to test and advance your skills in penetration testing and cyber security.

In this series of articles we will show how junior evaluators complete some Hack The Box machines in their road to OSCP, a well-known, respected, and required for many top cybersecurity positions certification. Certified OSCPs are able to identify existing vulnerabilities and execute organized attacks in a controlled and focused manner. They can leverage or modify existing exploit code to their advantage, perform network pivoting and data exfiltration, and compromise systems due to poor configurations.

Let's start with the fun!

Legacy

Initial Foothold

When scanning, for some reason I had to use -Pn, otherwise nmap complained about the host being down.

We see that it's Windows XP running SMB. Googling about that find a metasploit module for Windows XP SP3: exploit/windows/smb/ms08_067_netapi

It works, we get a shell.

User

Navigate to C:\Documents and Settings\john\Desktop> for the user.txt.

Root

Navigate to C:\Documents and Settings\Administrator\Desktop> for the root.txt.

Ángel Guzmán/Junior evaluator

Degree and Master in telecommunications by the University of Granada, specialized in telematics. Joined jtsec in November of 2019 as a Junior cybersecurity evaluator.

Since he joined jtsec, he has participated in several internal hardware hacking projects, while also receiving training about the LINCE certification.

His main motivation is to learn, from small tools for his daily work to new technologies.


Contact

Send us your questions or suggestions!

By sending your data you allow us to use it to resolve your doubts by sending you commercial information of interest. We will delete it when they are no longer necessary for this matter. Know your rights in our Privacy Policy.