954,323 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to secure computer ports?

How can I block/close unused ports of the windows network computers? for example, port 7, 135 and 53. Is there a command or a utility?

Thank you.

tigoluxa
Newbie Poster
10 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

I guess this is exactly what I need

http://support.microsoft.com/?id=813878

tigoluxa
Newbie Poster
10 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Here is how I do a quick lockdown:

Make sure the server is fully patched before you begin.

Run a port scan on the ip from the local segment, take note of all ports that respond.

Look up by port number the app that uses that port.

Determine if that application is necessary on that server, if not stop the service and disable it so it won't start on bootup.

The ports left open you server will need to offer to computers on the network and probably can't be changed, stuff like DHCP or DNS.

If I am dealing with an internet box I start with the same proceedure then put it behind a SOLID firewall (never on box) and open only the required ports for the NAT address. Then I use a tool like nmap from the outside to confirm I can't see anything more than what I expect to from that box.

What does everyone else do?

w1r3sp33d
Junior Poster
186 posts since Dec 2004
Reputation Points: 13
Solved Threads: 3
 

A couple notes--

One big item is to make sure you aren't running any unnecessary services. ie: Check your Services and set any unncessary ones to Manual/Disabled.

Also, use the SysInternals tools that can tell you which programs have which ports open. They have great free tools.

I also like to use a personal firewall. I use SyGate. This way I can set very detailed rules down to a specific application. I can also then review the logfiles to see which programs may need other ports open, etc.

For a start, if you're using WinXP SP2, you could use the Windows Firewall.

As w1r3sp33d stated, it's also good to scan your network/workstation from the outside to verify the open ports.

That's what I'd do... :)

--Chris

cSc0911
Newbie Poster
17 posts since Aug 2005
Reputation Points: 11
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You