SMB


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

┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/fish]
└─$ nmap --script smb-enum-shares -sV -p139,445 $IP
Starting Nmap 7.95 ( https://nmap.org ) at 2025-04-19 15:39 CEST
Nmap scan report for 192.168.219.168
Host is up (0.022s 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.87 seconds

Share mapping failed

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

The target SMB server does not allow guest access

┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/fish]
└─$ smbclient -L //$IP/
Password for [WORKGROUP\kali]:
session setup failed: NT_STATUS_ACCESS_DENIED

N/A