Wilders Security Forums  

Go Back   Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archive of DiamondCS Support Forums > Port Explorer
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old August 2nd, 2003, 06:11 PM
Rainwalker's Avatar
Rainwalker Rainwalker is offline
Very Frequent Poster
 
Join Date: May 2003
Posts: 1,672
Default Closing Port 1025

Greetings,
After a number of days drowing in hesitation, some would say ignorance, I have decided to ask.. When ever I run the Steve Test for open ports I find that port 1025 is always open ( XP Home). With Port Explorer I stop sending and receiving on the socket but it makes no differance. My FW does catch it so I'm thinking no big deal but why is it open. If I Kill Process then my internet connection is blocked............... Hmmmm maybe I'm on to something here....... it works for Blaze... wonder if he got the bugs out !!??

Last edited by Jason_DiamondCS : July 19th, 2004 at 04:59 AM. Reason: Fixed Spelling
  #2  
Old August 2nd, 2003, 06:51 PM
Dan Perez's Avatar
Dan Perez Dan Perez is offline
Global Moderator
 
Join Date: May 2003
Location: Sunny San Diego
Posts: 1,495
Default Re:Closing Port 1025

Hi Rainwalker!

Its hard to answer your question with so little info. Ports 1025 and above are called "ephemeral ports" which means that the OS will use these as needed for transactions requiring a network connection. Usually, these are temporary and will increment for each transaction.

If you could post the name of the process that holds this port, whether it is always that process (across several reboots), what the destination address is and the destination port; we could better answer your question/concern.

Thanks,

Dan
__________________
"Whan alle tresors arn tried, Treuthe is the beste." Piers Plowman (William Langland)
  #3  
Old August 3rd, 2003, 12:42 AM
LowWaterMark's Avatar
LowWaterMark LowWaterMark is offline
Administrator
 
Join Date: Aug 2002
Location: CT, USA
Posts: 13,998
Default Re:Closing Port 1025

Also, in addition to what Dan asked, could you explain what you mean by these statements: "...I find that port 1025 is always open." and "My FW does catch it so I'm thinking no big deal but why is it open."

I'm asking because these seem to conflict if you mean that from an "external port scan" the port shows as open, but your firewall still catches it.

However, if you mean that locally on your system that port is listening, but from the view of an external scan, your firewall is blocking - then you are okay.
__________________
Gotta love a cozy little house with a view. Could use a fireplace though.
  #4  
Old August 3rd, 2003, 01:22 PM
Andreas1's Avatar
Andreas1 Andreas1 is offline
Security Expert
 
Join Date: Jan 2003
Location: Mainz (Ger)
Posts: 367
Default Re:Closing Port 1025

...finally, is there any "pattern" in your internet useage concerning the scan?
E.g. do you browse to the online scan site first after establishing your connection to the internet? always after a long time of surfing? always after a long time of surfing and email queries? sometimes early sometimes late without a pattern?

TIA,
Andreas
__________________
Acer Aspire 1520 and Arch Linux (and openbox, screen, mutt, mc, vim etc.)
GPG 0x869F8 http://www.commontology.de/andreas/
b8 7a 0 0 0 bb b8 90 4 8 cd 80 b9 b8 90 4 8 ba 41 0 0 0 bb 1 0 0 0 b8 4 0 0 0 cd 80
  #5  
Old August 3rd, 2003, 07:35 PM
Rainwalker's Avatar
Rainwalker Rainwalker is offline
Very Frequent Poster
 
Join Date: May 2003
Posts: 1,672
Default Re:Closing Port 1025

Thanks for getting back
Dan: I am using a stand alone home computer w/dial up. After a few reboots the process remains svchost 712...Distination=o.o.o.o, listening,host
Low Water Mark: When GRC scan checks for open ports it always shows 1025 to be open and while the test is going on my FW asks for pemission to let probe in. I refuse and presume it blocks it.
Andreas:No pattern
Hope this helps and again when I use PE to end Recieving and Sending I expected GRC to not see port. Other ports are as they should be.

TIA
  #6  
Old August 3rd, 2003, 08:16 PM
LowWaterMark's Avatar
LowWaterMark LowWaterMark is offline
Administrator
 
Join Date: Aug 2002
Location: CT, USA
Posts: 13,998
Default Re:Closing Port 1025

Ah, okay, that makes sense. Generic Host Process for Win32 Services (aka. svchost.exe) will listen on one or more of the early ephemeral ports depending upon which of its various services you have enabled.

Now, as to a firewall alerting the user of a connection attempt to a port that svchost is listening on, well that all depends upon the specific firewall and the rules that are set in it.

My Windows XP system also has svchost.exe listening on TCP port 1025. However, I block svchost from having server rights, (that's just the terminology used in Zone Alarm that refers to allowing a program to receive unsolicited external connection attempts), so I don't get prompted when a connection is attempted on that port.

You can probably just change your firewall rules or settings to prevent it from alerting and asking you about that. I don't know of any circumstance that I'd ever recommend that you allow such a connection, so why let it ask? It's just a bother at that point. If you want to tell us what firewall you are using, I'm sure someone can recommend the proper rule or setting.

Edit: Oh, and regarding "killing the process" and having that break your Internet connection, on Windows XP most people find they must allow svchost.exe some access rights or they can't maintain a network connection. It varies some by specific services enabled in XP and by ISP connection methods, but, on XP killing svchost is very likely to terminate your network access. Svchost is a core part of Windows XP.
__________________
Gotta love a cozy little house with a view. Could use a fireplace though.
  #7  
Old August 3rd, 2003, 11:03 PM
Rainwalker's Avatar
Rainwalker Rainwalker is offline
Very Frequent Poster
 
Join Date: May 2003
Posts: 1,672
Default Re:Closing Port 1025

Greetings LWM and thank you for your time. Helpful...
Yes, I have been wanting to close the port . Maybe someone will tell me how. I am running NIS 2003.

  #8  
Old August 4th, 2003, 05:03 AM
Andreas1's Avatar
Andreas1 Andreas1 is offline
Security Expert
 
Join Date: Jan 2003
Location: Mainz (Ger)
Posts: 367
Default Re:Closing Port 1025

Quote:
quoting: LowWaterMark link=board=7;threadid=11994;start=0#msg77487 date=1059956188]
Ah, okay, that makes sense. Generic Host Process for Win32 Services (aka. svchost.exe) will listen on one or more of the early ephemeral ports depending upon which of its various services you have enabled.

There was a tool around that could tell you what was the commandline used to invoke this instance of svchost - this should give clues as to what service this is related to. Only i don't remember the tool (was it something of the Faber Toys? or DCS's APM?) Don't know, someone else will have to fill this in - the procedure would be to note the PID of the svchost process that possesses port 1025 and then use the tool to get info about this PID. (Probably there are several processes of svchost, this one being used to run all sorts of services.)

HTHH,
Andreas

can't comment on NIS2003
__________________
Acer Aspire 1520 and Arch Linux (and openbox, screen, mutt, mc, vim etc.)
GPG 0x869F8 http://www.commontology.de/andreas/
b8 7a 0 0 0 bb b8 90 4 8 cd 80 b9 b8 90 4 8 ba 41 0 0 0 bb 1 0 0 0 b8 4 0 0 0 cd 80
  #9  
Old August 4th, 2003, 07:10 AM
Jooske's Avatar
Jooske Jooske is offline
Incredibly Massive Poster
 
Join Date: Feb 2002
Location: Netherlands, EU near the sea
Posts: 9,713
Default Re:Closing Port 1025

The rc in PE at least can tell you what the process is and it's full pathname, might give a clue?
__________________
Jooske
"o_o"
  #10  
Old August 4th, 2003, 11:38 AM
Rainwalker's Avatar
Rainwalker Rainwalker is offline
Very Frequent Poster
 
Join Date: May 2003
Posts: 1,672
Default Re:Closing Port 1025

Jooske Andreas thanks for getting back
PE/rc.....(rc)...
As far as NIS, well I will not be holding my breath while waiting for a responce as it seems that I very well may be the only one on this forum using it.

TIA
  #11  
Old August 4th, 2003, 11:44 AM
Jooske's Avatar
Jooske Jooske is offline
Incredibly Massive Poster
 
Join Date: Feb 2002
Location: Netherlands, EU near the sea
Posts: 9,713
Default Re:Closing Port 1025

PE - Port Explorer
rc - right click (right mouse button click or mouse right button click)

In PE get to the process in question, right click on it, and in the meny there is the option to ask "what is ....(process name and PID) if you click on that (left mouse click) you get info on that process with the full pathname where the thing is located on your system; so you will see a thing is f.e. a lifeupdate or a musicplayer, whatever. Would be so nice if MS had been a but more user friendly and give that name in stead of the general svchost.exe for each of them.
But so you can see it too in PE.
__________________
Jooske
"o_o"
  #12  
Old August 4th, 2003, 12:44 PM
Dan Perez's Avatar
Dan Perez Dan Perez is offline
Global Moderator
 
Join Date: May 2003
Location: Sunny San Diego
Posts: 1,495
Default Re:Closing Port 1025

Hi All,

The tool that Andreas mentioned was able to give command-line arguments of running processes is DCS's APM but I just brought it open on my machine to outline steps to take and, unfortunately, realized that you cannot distinguish (such as by PID) between the different instances of svchost running.

It is probably a pretty simple addition to make to the program (but then I am no programmer )

I'll post a feature request on the DCS forum and point to this thread.

Regards,

Dan

BTW Rainwalker, I used a number of firewalls in the past but NIS was not one of them
__________________
"Whan alle tresors arn tried, Treuthe is the beste." Piers Plowman (William Langland)
  #13  
Old August 4th, 2003, 02:01 PM
Andreas1's Avatar
Andreas1 Andreas1 is offline
Security Expert
 
Join Date: Jan 2003
Location: Mainz (Ger)
Posts: 367
Default Re:Closing Port 1025

Hi,
i have replied over at dcs as well, but here is another question:
I am quite sure that it was possible to do that in either FaberToys or Sysinternals' Process Explorer as well - with PIDs. Could anyone running windows and having these at hand check it out?
(Running in linux now and not rebooting so soon... )

CU,
Andreas
__________________
Acer Aspire 1520 and Arch Linux (and openbox, screen, mutt, mc, vim etc.)
GPG 0x869F8 http://www.commontology.de/andreas/
b8 7a 0 0 0 bb b8 90 4 8 cd 80 b9 b8 90 4 8 ba 41 0 0 0 bb 1 0 0 0 b8 4 0 0 0 cd 80
  #14  
Old August 4th, 2003, 03:06 PM
Pilli's Avatar
Pilli Pilli is offline
Incredibly Massive Poster
 
Join Date: Feb 2002
Location: Hampshire UK
Posts: 6,218
Default Re:Closing Port 1025

Hi Andreas, In PE If I have process PID 868 SVCHOST Listening on 1025, Right clicking & selecting What svchost.exe is gives me the path etc.

In faber toys - Dependencies (PID86 - shows me that 133 modules loaded by svchost. Selecting properties (PID86 shows me 4 imported modules and the associated 13 imported functions.

In PE The *System - PID 4 processes which are local machine and my LAN do not have the what is (System) function i.e. it is greyed out as it is, as said, your own "System"
__________________
"Education is not the filling of a pail, but the lighting of a fire"
Pilli's website http://www.pilliwinks.net
  #15  
Old August 4th, 2003, 06:12 PM
Dan Perez's Avatar
Dan Perez Dan Perez is offline
Global Moderator
 
Join Date: May 2003
Location: Sunny San Diego
Posts: 1,495
Default Re:Closing Port 1025

Hi All,

Yes Andreas, The Sysinternals Process Explorer will show the command line args and you can discriminate between the various instances via the PID.

For anyone interested, here is the URL for it

http://www.sysinternals.com/ntw2k/fr.../procexp.shtml

Regards,

Dan
__________________
"Whan alle tresors arn tried, Treuthe is the beste." Piers Plowman (William Langland)
  #16  
Old August 4th, 2003, 06:48 PM
Andreas1's Avatar
Andreas1 Andreas1 is offline
Security Expert
 
Join Date: Jan 2003
Location: Mainz (Ger)
Posts: 367
Default Re:Closing Port 1025

Thanks a lot Dan,

to recap then:
If you're in doubt about a connection or open port,
1. use DCS's PortExplorer to get the process that this is related to.
2. (supposed the process is the catch-all svchost.exe: ) Note the PID of the process.
3. Examine the instance of svchost.exe that has the correct PID in Sysinternals' ProcessExplorer to find out the commandline parameters that this instance was launched with.
4. Try to imagine what service could be related to those parameters - or search for the complete commandline in google.
5. Make up your mind if you should disable the service.

If you decide it should be disabled (and do so via your OS configuration):
6. Since sometimes M$ updates and apps re-activate services, check from time to time to see if it still is disabled.
7. Consider adding a rule in your firewall to block traffic for the corresponding port (see DCS's PE).

...and with 7. we're back with the open question:
How to achieve this in NIS 2003?

I've no idea about this, however...
HTHH so far,
Andreas
__________________
Acer Aspire 1520 and Arch Linux (and openbox, screen, mutt, mc, vim etc.)
GPG 0x869F8 http://www.commontology.de/andreas/
b8 7a 0 0 0 bb b8 90 4 8 cd 80 b9 b8 90 4 8 ba 41 0 0 0 bb 1 0 0 0 b8 4 0 0 0 cd 80
  #17  
Old August 4th, 2003, 07:04 PM
CrazyM's Avatar
CrazyM CrazyM is offline
Firewall Moderator
 
Join Date: Feb 2002
Location: BC, Canada
Posts: 2,439
Default Re:Closing Port 1025

Hi Rainwalker

Quote:
quoting: Rainwalker link=board=7;threadid=11994;start=0#msg77604 date=1060011486]As far as NIS, well I will not be holding my breath while waiting for a responce as it seems that I very well may be the only one on this forum using it.

You are not alone, although I am not running it at this time.
If you are being prompted for unsolicited inbound connections, check under custom security settings and make sure "Alert when unused ports are accessed" is not selected.

http://www.gpick.com/agnisrules/page...tings_pg2.html

The above link refers to that setting in particular, you may find other useful information for NIS on the rest of the site.

Regards,

CrazyM
__________________
"The best thing we can do in cyberspace is exactly what we do in the real world: do our best to manage the risks."
- Bruce Schneier
  #18  
Old August 4th, 2003, 10:46 PM
Rainwalker's Avatar
Rainwalker Rainwalker is offline
Very Frequent Poster
 
Join Date: May 2003
Posts: 1,672
Default Re:Closing Port 1025

Thank you all.... I hope this was in some way able to help others via the infomation you folks provided. I now have closed the bloody port . Too bad we are not all rich($) as it would be very to someday have one of those 'Festival in the Desert' type deals with the people of this forum. http://www.afropop.org/multi/feature/ID/196 ..... can you dig it '
  #19  
Old May 20th, 2004, 09:11 AM
swpnclr
 
Posts: n/a
Default Re: Closing Port 1025

With Sygate Personal Firewall 5.5,
Open the Advanced Options, click ADD, then goto PORTS AND PROTOCOLS, Select TCP, two options now appear, in LOCAL box type in 1025 and leave Remote box clear, in the Traffic Direction box select Incomming. Click OK , then OK again...
goto www.grc.com do the shields up, test ur computer, and then thank me... & youre welcome.
carry on soldiers
Swp&Clr

get sygate personal firewall here, http://smb.sygate.com/free/default.php

P.S. if this has helped you, please reply and let me know, thanks...
also please note: that this port is prone to the Netsky worm, that is currently running itself all over the world. Dont believe me, see for yourself at the website of Trend Micro, http://housecall.trendmicro.com/ and check out their virus map of the world and which country is getting hit by what... due to the overwhelming amount of people who have this port 1025 open they are susceptible to these worms and trojans.
i hope i have helped. good luck~
  #20  
Old May 20th, 2004, 09:25 AM
gkweb's Avatar
gkweb gkweb is offline
Expert Firewall Tester
 
Join Date: Aug 2003
Location: FRANCE, Rouen (76)
Posts: 1,898
Default Re: Closing Port 1025

Hi,

on my comp the ports 135 and 1025 are opened by default, and by using WWDC
http://perso.wanadoo.fr/jugesoftware...r/eng/wwdc.htm

and by closing DCOM with the first choice on the popup, my port 1025 after a reboot is really closed.

However, as mentioned on the page, doing that will make the scheduler service to fail to start if you are on XP or higher.

On this page I even advise Port Explorer to people wanted a good port to process mapper

regards,

gkweb.
__________________
Firewall tester : http://www.firewallleaktester.com/
Fan of OpenBSD 4.4 Secure Operating System
Fedora 10 64bits, MSI 975X Platinum PowerUp, Core2Duo E6700, 2Go RAM, NVIDIA Card, SATAII HDD
  #21  
Old July 7th, 2004, 01:10 PM
Kihei
 
Posts: n/a
Default Re: Closing Port 1025

Quote:
Originally Posted by gkweb
Hi,

on my comp the ports 135 and 1025 are opened by default, and by using WWDC
http://perso.wanadoo.fr/jugesoftware...r/eng/wwdc.htm

and by closing DCOM with the first choice on the popup, my port 1025 after a reboot is really closed.

However, as mentioned on the page, doing that will make the scheduler service to fail to start if you are on XP or higher.

On this page I even advise Port Explorer to people wanted a good port to process mapper

regards,

gkweb.


thank you ,
Very Useful
  #22  
Old July 7th, 2004, 01:14 PM
Jooske's Avatar
Jooske Jooske is offline
Incredibly Massive Poster
 
Join Date: Feb 2002
Location: Netherlands, EU near the sea
Posts: 9,713
Default Re: Closing Port 1025

Hello Kihei and welcome!
Did you find what you're looking for that fast? great! that's what this forum is intended for, being educative and informative!
Does your Port Explorer show the wanted results now too?
__________________
Jooske
"o_o"
  #23  
Old July 27th, 2004, 03:22 AM
BlueStar50 BlueStar50 is offline
Infrequent Poster
 
Join Date: Jul 2004
Posts: 15
Default Re: Closing Port 1025

Rainwalker, if you go to Steve Gibsons site at grc.com also check out his freeware programs that plugs up some things in XP: http://www.grc.com/freepopular.htm
  #24  
Old August 30th, 2004, 08:16 PM
Dazed_and_Confused's Avatar
Dazed_and_Confused Dazed_and_Confused is offline
Very Frequent Poster
 
Join Date: Mar 2004
Location: USA
Posts: 1,827
Default Re: Closing Port 1025

Very interesting discussion.

By coincidence I also noticed just yesterday that ports 1025 and 135 are always open on my PC (TCP connection), opened by svchost.exe. So last night I used Port Explorer to do a little eavesdropping (using Socket Spy) on these two processes. I found them communicating with Microsoft (207.46.253.221 and 64.4.21.92).

It appears that at least one of these has to do with Automatic Microsoft Updates. Still not sure about the other yet. Really love Socket Spy.
__________________
Daisey

Sean Connery: "Scotch, straight up. Any Single Malt will do."
Tug McGraw: "Ninety percent I'll spend on good times, women and Irish Whiskey. The other ten percent I'll probably waste."
  #25  
Old August 30th, 2004, 11:59 PM
Tassie_Devils's Avatar
Tassie_Devils Tassie_Devils is offline
Global Moderator
 
Join Date: May 2002
Location: State Queensland, Australia
Posts: 2,504
Default Re: Closing Port 1025

Daisey...

I recommend the little 50Kb app by gkweb, it really "closes" those ports tight.

I did a test using PE, and I had 6 instances of svchost running, one listening on 1025 ~ Local/Remote addys being my own systm address.
[Of course I always do a Port Scan about once a fortnight to check, and always stealthed/closed at 4 sites I check with].

Now, I had forgotten about gk's wwdc.exe [I had originally put it on my daughter's PC but forget this one, DOH] so upon reading this thread got it and checked. I had 2 areas, not **fully** closed. [even though I had rules in Kerio on Ports 135-139 blocking, so safe on that score]

So I executed them in WWDC.exe [had to do 2 reboots between the lot] and finally it read all secured. I then checked with the same apps I had open before, Firefox, security apps, and then checked with PE....

I now only have 3 instances of scvhost.exe and not one of them on port 1025. Just like gk posted above.

The only other app on 1025 at the moment is my Kerio v4 Firewall, and that's only Local/Remote points of my own system address.

Try it.... You will probably have to do 2 reboots if couple not closed.

TAS
Attached Images
 
__________________
I'm feeling much better now since all the other people in my head and I, are working as a team!
 

Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archive of DiamondCS Support Forums > Port Explorer « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:15 PM.


Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2010, Wilders Security Forums