Scanning and Enumeration
Scanning
kali@kali:~/HTB/Blue$ nmap -sC -sV -p135,139,445,49152,49153,49154,49155,49156,49157 10.10.10.40
Starting Nmap 7.91 ( https://nmap.org ) at 2020-11-24 13:40 EST
Nmap scan report for 10.10.10.40
Host is up (0.076s latency).
PORT STATE SERVICE VERSION
135/tcp open msrpc Microsoft Windows RPC
139/tcp open netbios-ssn Microsoft Windows netbios-ssn
445/tcp open microsoft-ds Windows 7 Professional 7601 Service Pack 1 microsoft-ds (workgroup: WORKGROUP)
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
49156/tcp open msrpc Microsoft Windows RPC
49157/tcp open msrpc Microsoft Windows RPC
Service Info: Host: HARIS-PC; OS: Windows; CPE: cpe:/o:microsoft:windows
Host script results:
|_clock-skew: mean: 7m28s, deviation: 1s, median: 7m27s
| smb-os-discovery:
| OS: Windows 7 Professional 7601 Service Pack 1 (Windows 7 Professional 6.1)
| OS CPE: cpe:/o:microsoft:windows_7::sp1:professional
| Computer name: haris-PC
| NetBIOS computer name: HARIS-PC\x00
| Workgroup: WORKGROUP\x00
|_ System time: 2020-11-24T18:49:18+00:00
| smb-security-mode:
| account_used: guest
| authentication_level: user
| challenge_response: supported
|_ message_signing: disabled (dangerous, but default)
| smb2-security-mode:
| 2.02:
|_ Message signing enabled but not required
| smb2-time:
| date: 2020-11-24T18:49:20
|_ start_date: 2020-11-24T18:41:56Enumeration
Run a general Vulnerability scan using nmap
This is vulnerablily to ms17-010 aka eternal blue.
Dowload msmb.py
Exploitation
Next step is to generate executable with MSFVenom
Notice this has x64 Architecture, it matters! That is something new that I learned. woah! Next step is to add credentials to the script. You can do that with
-a does all simple enumeration
Adding Exploit


Last updated
Was this helpful?