Ask
Reply
Solution
12-04-2023 10:06 PM
I've recently installed a THG3000 and just carried out a NMAP port scan on the LAN side, which reveals the following open ports:
PORT STATE SERVICE VERSION
53/tcp open domain?
80/tcp open http nginx
443/tcp open ssl/http nginx
5000/tcp open upnp?
6698/tcp open ssl/http nginx
6699/tcp open ssl/http nginx
8080/tcp open http nginx
8883/tcp open ssl/secure-mqtt?
9000/tcp open cslistener?
Port 8883 - I can see looking at the Status / About section of the router that Mosquitto-ssl is installed, anyone know what credentials are needed to connect with this MQTT server or it's purpose?
Port 8080 redirects to http://vodafone.broadband/no-internet-connection-intercept.lp?url=
Port 6699 gives a 404 error - Anyone know why this is open / used for?
Port 6698 Anyone know why this is open / used for?
Port 9000 Anyone know why this is open / used for?
(WiFi/WPS/DDNS/Schedule/DLNA/SAMBA/Hard Drives/Printer sharing is all disabled on the router - Upnp was enabled, since disabled)
13-04-2023 12:18 AM
Have you tried a port scan on everything else on your network? What do you believe it's possible to do with these open ports on the router (and other devices)?
13-04-2023 10:08 AM - edited 13-04-2023 10:10 AM
@CrimsonLiar wrote:Have you tried a port scan on everything else on your network? What do you believe it's possible to do with these open ports on the router (and other devices)?
Yes, it's good security practice to check all major infrastructure components of your network to find any potential vulnerabilities, hidden features and to verify any settings you have made.
As to what's possible, a positive use case for MQTT would be to allow presence detection i.e. the router sends a MQTT message whenever a device is (diss)-connected with WiFi; if linked with other smart devices, home automation could switch on/off lights, heating or just enable you to create smarter automations knowing if devices such as mobile phones were 'home' or 'away'.
@Cynric wrote:Have you looked into what is open on the WAN side?
After you stopped PnP did any of these ports close? If not did you restart the router and look again. PnP may have requested these posts and therefore the devices connected to the LAN should also be inspected.
Yes, the WAN side ports scanned were all closed. Switching off UPnP as expected closed port 5000 on the router, all others remain open. NMAP is a powerfull tool which shows that there is a service/server waiting on each of the ports listed above. Nginx is a popular Linux web server but can be used for other purposes, such as a reverse proxy.
Each of the open ports can be viewed as "Your router is waiting for some information to be sent, specifically to that port", this could be good, bad or indifferent, depending on their intended purpose.
13-04-2023 10:18 AM
Yes NMAP is very useful and I could add a few more too. If you're really worried you could fire-up Wireshark or tcpdump. If you were very very worried put the "Kali" system on a USB and spend hours chasing shadows 😀
13-04-2023 10:35 AM
@Cynric wrote:Yes NMAP is very useful and I could add a few more too. If you're really worried you could fire-up Wireshark or tcpdump. If you were very very worried put the "Kali" system on a USB and spend hours chasing shadows 😀
Having worked in this game for many years, worried is the last thing I would be called! 😉 - Whilst I could no doubt identify myself exactly what is sitting behind each port, and possibly come up with a hypothesis for it's intended use, I'm not intenting to keep the router running for more than a week or so, therefore didn't want to waste my time, especially if someone else has already done it! 🙂
Not everyone is looking for the 'bad side' of technology, some of us look for the positives and hidden features which can be useful!! 🙂 I have presence detection setup myself and it can be very useful for security, automations & energy saving.
13-04-2023 07:38 AM
Have you looked into what is open on the WAN side?
After you stopped PnP did any of these ports close? If not did you restart the router and look again. PnP may have requested these posts and therefore the devices connected to the LAN should also be inspected.