I tried several of these components based on the enum below:
SMB v3.1
InFreight SMB v3.1
DEVSMB Wk Sv PrQ Unx NT SNT InlaneFreight SMB server (Samba, Ubuntu)
But non of them worked. Can somebody please give me a hint?
Thanks in advanced!
└──╼ $rpcclient -U “” 10.129.118.234
Password for [WORKGROUP]:
rpcclient $> serverinfo
command not found: serverinfo
rpcclient $> srvinfo
DEVSMB Wk Sv PrQ Unx NT SNT InlaneFreight SMB server (Samba, Ubuntu)
platform_id : 500
os version : 6.1
server type : 0x809a03
└──╼ $smbclient -L //10.129.202.5
Password for [WORKGROUP\vidad]:
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
sambashare Disk InFreight SMB v3.1
IPC$ IPC IPC Service (InlaneFreight SMB server (Samba, Ubuntu))
Thank you Pedro. Below I found the answer…
nmap -p139,135,445 -sC -sV 10.129.202.5 -Pn
Starting Nmap 7.92 ( https://nmap.org ) at 2022-12-02 10:21 EST
Nmap scan report for 10.129.202.5
Host is up (0.036s latency).
PORT STATE SERVICE VERSION
135/tcp closed msrpc
139/tcp open netbios-ssn Samba smbd 4.6.2
445/tcp open netbios-ssn Samba smbd 4.6.2
Hey there! This task has been a time sink for me, and it’s not because I couldn’t find the answer. HTB’s lingo got me: “Submit the entire banner as the answer.” I thought it meant more than just the version. But guess what? Don’t submit the full banner—just the SMB version listed under “VERSION.” Save time and effort, folks! Happy hacking!