SMB


Nmap discovered a Windows Directory server on the target ports 139 and 445

┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/jacko]
└─$ nmap --script smb-enum-shares -sV -p139,445 $IP
Starting Nmap 7.95 ( https://nmap.org ) at 2025-03-22 20:14 CET
Nmap scan report for 192.168.236.66
Host is up (0.020s latency).
 
PORT    STATE SERVICE       VERSION
139/tcp open  netbios-ssn   Microsoft Windows netbios-ssn
445/tcp open  microsoft-ds?
Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
 
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 10.65 seconds

Share mapping failed likely due to the insufficient privileges

┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/jacko]
└─$ nxc smb $IP -u '' -p '' --shares --interfaces  
SMB         192.168.236.66  445    JACKO            [*] Windows 10 / Server 2019 Build 18362 x64 (name:JACKO) (domain:jacko) (signing:False) (SMBv1:False)
SMB         192.168.236.66  445    JACKO            [-] jacko\: STATUS_ACCESS_DENIED 
SMB         192.168.236.66  445    JACKO            [-] IndexError: list index out of range
SMB         192.168.236.66  445    JACKO            [-] Error enumerating shares: Error occurs while reading from remote(104)

N/A