User Flag
We connect to the VPN machine servers via OpenVPN. After that we run an extensive scan on the target.Nmap scan on the target
Website that running on port 80
GoBuster scan
note.txt file inside the pricing directory
Directory scan of the /static
Inside of /00
Login panel
Credentials
Logged in to the FTP server
HTTP Trace
User Flag
Root Flag
We can’t find much in the valleyDev home directory but in the /home ve found an executable called valleyAuthenticator. We download it to analyze using the SCP tool. Using the Strings tool we identify the binary is compressed using the UPX method and we can decompress it by using the upx-ucl tool installed in Kali. After that we try to analyze it with Strings one more time and we find two hashed which are seem like md5sum hashes. We crack them using the crackstation and get the following credentials:- User: valley
- Password: libert123
valleyAuthenticator file
MD5 Hashed inside the binary
Using crackstation to crack the hashes
Logged with valley user
Running linpeas.sh
Linpeas finds a cronjob
Look into the python script
Base64 module and the valleyAdmin group privileges
Putting the reverse shell inside the Base64 module and getting the root user