SMB


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

┌──(kali㉿kali)-[~/archive/htb/labs/streamio]
└─$ nmap --script smb-enum-shares -sV -p139,445 -Pn $IP
starting nmap 7.94 ( https://nmap.org ) at 2023-11-13 19:21 CET
Nmap scan report for dc (10.10.11.158)
Host is up (0.089s 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 24.93 seconds

Attempting to map the SMB shares fails

Null Session


┌──(kali㉿kali)-[~/archive/htb/labs/streamio]
└─$ smbclient -L //dc.streamio.htb/        
Password for [WORKGROUP\kali]:
session setup failed: NT_STATUS_ACCESS_DENIED

The target SMB server doesn’t allow anonymous access This would mean that I won’t be able to leverage theRID_Cycling technique to enumerate the domain It also means that this is pretty much deadend as long as a valid domain credential is out of reach