Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: how to close ports? (not just block them)


15 Mar 2011   #1

Windows 7 Ultimate x64
 
 
how to close ports? (not just block them)

Hello,

I am running windows 7 ultimate x64

after booting the pc and without visiting any website when I scan my machine localhost using command nmap -sT -O localhost

it shows the following open ports

135/tcp open msrpc
445/tcp open microsof
1025/tcp open NFS-or-I
1026/tcp open LSA-or-n
1027/tcp open IIS
1028/tcp open unknown
1029/tcp open ms-lsa
5357/tcp open wsdapi
6646/tcp open unknown

no big deal because these are all blocked to the internet with mcafee firewall but still I would like to close them for ever!

I understand 135 and 445 are usually open and I dont mind that but how about the other ports? how can I permanently close them? not just block them with the firewall?

strange thing is I see port 1027 says its IIS (internet information services) but IIS is disabled.


Thanks
7


My System SpecsSystem Spec
.

15 Mar 2011   #2

Windows 7 Professional x64
 
 

Typically, you do not want to close ports without knowing exactly what they do to your system. Also, closing them for good might cause issues with your setup somewhere down the line. Google those programs / ports and see what they do for your system. Otherwise, I would just leave them be.
My System SpecsSystem Spec
16 Mar 2011   #3

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

Perhaps, this will be of use:

http://www.iana.org/assignments/port-numbers
My System SpecsSystem Spec
.


16 Mar 2011   #4

Windows 7 Ultimate x64
 
 

sussed them out with net-stat

looks like some are Trojans

TCP 0.0.0.0 135 N/A N/A LISTEN svchost.exe 832

TCP 0.0.0.0 445 N/A N/A LISTEN System 4

TCP 0.0.0.0 1025 N/A N/A LISTEN wininit.exe 532

TCP 0.0.0.0 1026 N/A N/A LISTEN svchost.exe 184

TCP 0.0.0.0 1027 N/A N/A LISTEN svchost.exe 412

TCP 0.0.0.0 1028 N/A N/A LISTEN lsass.exe 636

TCP 0.0.0.0 1029 N/A N/A LISTEN services.exe 584

TCP 0.0.0.0 5357 N/A N/A LISTEN System 4

TCP 0.0.0.0 6646 N/A N/A LISTEN McSvHost.exe 1564
My System SpecsSystem Spec
16 Mar 2011   #5

Windows 7 Pro 64bit
 
 

You are running netstat on the local machine. What's more important here is ACTIVE CONNECTIONS (established). If you want to get a more realistic idea of how secure you are, run a port-scanner from the internet. Just because your PC is listening on a port, doesn't mean there's any way possible for something outside your LAN to get wind of that and establish a session. If you have a typical SOHO router, NAT prevents that, unless you circumvent it.
My System SpecsSystem Spec
17 Mar 2011   #6

Windows 7 Ultimate x64
 
 

yes they all appear closed from a remote scan, they only show open in localhost. just wondered how to close these ports permanently? except 135 and 445
My System SpecsSystem Spec
17 Mar 2011   #7

Windows 7 Professional x64
 
 

your request is essentially filled. it doesn't matter if they are open or not. you will not be able to close them without digging around in some places where inexperienced users should not go.

if you have and use a router, it automatically filters out those ports. they are not open to the outside world.
My System SpecsSystem Spec
Reply

 how to close ports? (not just block them)




Thread Tools



Similar help and support threads for2: how to close ports? (not just block them)
Thread Forum
Solved Front USB ports not working, but rear USB ports work… Hardware & Devices
How To Close (But Not Force Close) Program Automatically On A Schedule General Discussion
How could you close,open-unused ports? Network & Sharing
Audio Won't close In SyncUp when I close video file Music, Pictures & Video
I can't block certain ports in Windows 7 System Security
Need to block ports for application. Network & Sharing
How to close ports Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:18 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33