PDA

View Full Version : How to hide UDP port from network sniffr



dani_b1
March 17th, 2014, 07:37 PM
Hi
I would like to develop a program which listen to specific UDP port without netstat or nmap detect it
Any suggestion?

ofnuts
March 17th, 2014, 10:13 PM
Use "port knocking (http://en.wikipedia.org/wiki/Port_knocking)"?

TheFu
March 17th, 2014, 10:23 PM
If the port is open and listening, then it will appear open to those tools. You can limit the access as dani_b1 says by using some form of port knocking and only open the port to the specific IP via firewall rules that provided the correct "knock" packets. It will not be "stealth", but ....

There is only so much you can do.

Another option is to only make it accessible over a strong VPN like openvpn. That is fairly common, so running a VPN woudn't be odd to discover and your UDP port wouldn't need to be seen on the internet at all that way.