I did a nmap & netstat scan of Parrot OS to see what open ports I had and noticed that the following ports are open:
nmap:
39/tcp open netbios-ssn
445/tcp open microsoft-ds
netstat -lp output:
tcp 0 0 0.0.0.0:microsoft-ds 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:netbios-ssn 0.0.0.0:* LISTEN -
tcp6 0 0 [::]:microsoft-ds [::]:* LISTEN -
tcp6 0 0 [::]:netbios-ssn [::]:* LISTEN -
udp 0 0 0.0.0.0:bootpc 0.0.0.0:* -
udp 0 0 0.0.0.0:bootpc 0.0.0.0:* -
udp 0 0 192.168.10.2:netbios-ns 0.0.0.0:* -
udp 0 0 192.168.10.1:netbios-ns 0.0.0.0:* -
udp 0 0 192.168.100.:netbios-ns 0.0.0.0:* -
udp 0 0 192.168.100.:netbios-ns 0.0.0.0:* -
udp 0 0 0.0.0.0:netbios-ns 0.0.0.0:* -
udp 0 0 192.168.10.:netbios-dgm 0.0.0.0:* -
udp 0 0 192.168.10.:netbios-dgm 0.0.0.0:* -
udp 0 0 192.168.100:netbios-dgm 0.0.0.0:* -
udp 0 0 192.168.100:netbios-dgm 0.0.0.0:* -
udp 0 0 0.0.0.0:netbios-dgm 0.0.0.0:* -
raw6 0 0 [::]:ipv6-icmp [::]:* 7 -
raw6 0 0 [::]:ipv6-icmp [::]:* 7 -
I believe this is because Samba is running. Is there a specific reason it needs to be open? If not I’d like to shut the service down. I plan to remove it form starting using this syntax:
update-rc.d -f smbd remove
update-rc.d -f nmbd remove
If I’m wrong please let me know.
Thanks.
What version of Parrot are you running? (include version, edition, and architecture)
4.14.13 kernel in a VM