SMB
Nmap discovered a Microsoft Directory service on the target port 139
and 445
┌──(kali㉿kali)-[~/archive/htb/labs/netmon]
└─$ nmap --script smb-enum-shares -sV -p139,445 $IP
starting nmap 7.93 ( https://nmap.org ) at 2023-04-05 10:49 CEST
Nmap scan report for 10.10.10.152
Host is up (0.12s latency).
PORT STATE SERVICE VERSION
139/tcp open netbios-ssn Microsoft Windows netbios-ssn
445/tcp open microsoft-ds Microsoft Windows Server 2008 R2 - 2012 microsoft-ds
service info: OSs: Windows, Windows Server 2008 R2 - 2012; 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 11.26 seconds
Attempting to map the SMB shares fails as it requires authentication
Null Session
┌──(kali㉿kali)-[~/archive/htb/labs/netmon]
└─$ smbclient -L //$IP/
Password for [WORKGROUP\kali]:
session setup failed: NT_STATUS_ACCESS_DENIED
The target SMB server does not allow anonymous access