Wilders Security Forums  

Go Back   Wilders Security Forums > Security Products > other firewalls
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old May 29th, 2007, 05:34 AM
argus tuft's Avatar
argus tuft argus tuft is offline
Frequent Poster
 
Join Date: Sep 2006
Location: Australia
Posts: 275
Default windows services and internet access.

Hi all,
My question is questions are basically this:
Which windows services actually require internet access in order to function properly?
I use comodo fw, and so far, alg.exe, svchost.exe, and system all have pretty lax rules set, and I would like to tighten them up.

Does svchost actually need to access any site other than windows update?
I suspect not, if that is the case, what ip / ip range do I need to allow? ie, what;s the actual ip of http://update.microsoft.com/windowsu....aspx?ln=en-us

As I see it, limiting svchost to accessing windows update would cut down on all those (for eg) "itunes.exe may be using svchost to connect to the internet" popups, as comodo would then automatically block any attempts to go to an ip that wasn't windows update.

And what about alg.exe, and system? Is there any need to allow them access?

Thanks, argus
  #2  
Old May 29th, 2007, 11:21 AM
WSFuser WSFuser is offline
Incredibly Massive Poster
 
Join Date: Oct 2004
Location: California, USA
Posts: 10,324
Default Re: windows services and internet access.

svchost.exe would also need access for DHCP/DNS.

alg.exe is used for ICS and I think the Windows Firewall. If you use neither it can be blocked.
__________________
  #3  
Old May 29th, 2007, 12:21 PM
lucas1985's Avatar
lucas1985 lucas1985 is offline
Global Moderator
 
Join Date: Nov 2006
Location: France, May 1968
Posts: 4,047
Default Re: windows services and internet access.

Quote:
Originally Posted by WSFuser
svchost.exe would also need access for DHCP/DNS
and Windows Updates
You should make rules for DNS lookups, DHCP and Windows Updates and block the other instances of svchost.exe
__________________
"Pouvoir à l'Imagination. Power to the imagination. La imaginación al poder".

"Perfect is the enemy of good enough". Voltaire.
  #4  
Old May 29th, 2007, 01:11 PM
ThunderZ's Avatar
ThunderZ ThunderZ is offline
Very Frequent Poster
 
Join Date: May 2006
Location: North central Ohio, U.S.A.
Posts: 2,459
Default Re: windows services and internet access.

alg.exe can be turned off via Services if you are not using the Windows FW or ICS. One less thing to be concerned with and a few less K`s of memory used.
  #5  
Old May 29th, 2007, 11:07 PM
farmerlee's Avatar
farmerlee farmerlee is offline
Very Frequent Poster
 
Join Date: Jul 2006
Posts: 2,582
Default Re: windows services and internet access.

Well if you really want, you can deny all windows services access to the internet and then just work around the limitations.
__________________
Pryon G930V2
Windows 7 Home Premium 64 bit
Norton 360 v6
Sandboxie
  #6  
Old May 30th, 2007, 06:51 AM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Smile Re: windows services and internet access.

Hi argus tuft

Quote:
Originally Posted by argus tuft

Does svchost actually need to access any site other than windows update?
I suspect not, if that is the case, what ip / ip range do I need to allow? ie, what;s the actual ip of http://update.microsoft.com/windowsu....aspx?ln=en-us


Svchost may also access to Network Time Protocol sites but this service is useless. (The PC clock keep the time and date: if not change the battery...)

I you want to makes rules to allow Windows Updates to a specific range of IP addresses: good luck! This is almost unmanageable: there is different IP ranges including some non-M$ like akamai needed to access the updates...

Worst: these IP ranges changes with the time...

And don't expect any documentation from the M$ clowns about this: they don't care.

The best you can do is keep runnings only the needed services...
Some hints here: http://www.theeldergeek.com/services_guide.htm

and may be closed some useless open ports with "Windows Worms Doors Cleaner" : http://www.firewallleaktester.com/tools_list.htm

__________________
Claude LaFrenière
  #7  
Old May 30th, 2007, 12:39 PM
Seer's Avatar
Seer Seer is offline
Very Frequent Poster
 
Join Date: Feb 2007
Location: Singidunum
Posts: 1,578
Default Re: windows services and internet access.

Hello.

Don't use your firewall for blocking Windows services.

Quote:
Originally Posted by Climenole
The best you can do is keep runnings only the needed services...

Follow this advice.

Cheers.
__________________
Nick
  #8  
Old May 30th, 2007, 03:09 PM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Smile Re: windows services and internet access.

Hi The Seer

Quote:
Originally Posted by The Seer

Follow this advice.



I hope so !

This morning I help a user on a MS News Group with a Fast User Switching problem... I ask him to give me the list of the services runnings on his PC.

Almost all services was started automatically !!!

Including many of them related to local network and connections to a domain on a W server (the user have a standalone PC) !

The Elder Geek web site is a reliable reference for this. Keep it in your favourites.

Have a nice day.

__________________
Claude LaFrenière
  #9  
Old May 30th, 2007, 05:51 PM
Seer's Avatar
Seer Seer is offline
Very Frequent Poster
 
Join Date: Feb 2007
Location: Singidunum
Posts: 1,578
Default Re: windows services and internet access.

Hello.

Quote:
Originally Posted by Climenole
The Elder Geek web site is a reliable reference for this. Keep it in your favourites.

And the Black Viper is back! I have him in my favorites also.

Cheers.
__________________
Nick
  #10  
Old May 30th, 2007, 06:05 PM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Thumbs up Re: windows services and internet access.

Hi The Seer

Quote:
Originally Posted by The Seer
Hello.

And the Black Viper is back! I have him in my favorites also.

Cheers.

Great News ! Finally he's back ! Super !

Thank you for this information.

__________________
Claude LaFrenière
  #11  
Old May 30th, 2007, 07:07 PM
Stem Stem is offline
Firewall Expert
 
Join Date: Oct 2005
Location: UK
Posts: 4,948
Default Re: windows services and internet access.

Hello argus tuft,

Such as "ALG" this is basically an FTP client, used by 3rd party(and windows) to download. I still need to find a reason to allow this.

But please be carefull on the services you disable, as stoppping some may only be seen later for nothing more than being unable to defrag the HD, but, disable such as for example "Remote Procedure Call (RPC) Service" will stop you using your OS.

If you are to follow this path of disabling windows services,... make backup, and only disable one service at a time (then check for possible problems).
  #12  
Old May 31st, 2007, 12:48 AM
wat0114
 
Posts: n/a
Default Re: windows services and internet access.

I would check out BV's Multiple Configurations page, especially if you want to tweak your services without worrying too much about getting overzealous.
  #13  
Old May 31st, 2007, 03:23 AM
charincol's Avatar
charincol charincol is offline
Regular Poster
 
Join Date: Nov 2005
Posts: 107
Default Re: windows services and internet access.

Quote:
Originally Posted by WSFuser
alg.exe is used for ... the Windows Firewall

That's what we're told by MS. Windows Firewall runs perfectly fine with Application Layer Gateway service disabled on my machines.
  #14  
Old May 31st, 2007, 03:46 AM
ThunderZ's Avatar
ThunderZ ThunderZ is offline
Very Frequent Poster
 
Join Date: May 2006
Location: North central Ohio, U.S.A.
Posts: 2,459
Default Re: windows services and internet access.

Quote:
Originally Posted by charincol
...............Application Layer Gateway service disabled on my machines.


Some where I read, got the impression ALG was needed for (some) FTP transactions. Wrong?
  #15  
Old May 31st, 2007, 04:40 AM
eniqmah's Avatar
eniqmah eniqmah is offline
Frequent Poster
 
Join Date: Jul 2006
Posts: 391
Default Re: windows services and internet access.

I enlist the help of batch files.
Most of the services are so useless, they only kick in once in a while. (wuauserv, spooler, workstation, server, etc...) So...disable them all, make a batch file, execute to turn them on and do what you need to do, then turn them off. In the mean time, your prescious RAM can be used for something more useful...pr0n? j/k
__________________
TravelMate 8204WLMi
Intel Core Duo T2500, 2.0GHz|2 GB DDR2 667 RAM|ATI Mobility Radeon X1600 256MB|120 GB 5400 RPM SATA|
_____________
C2D E6600@3.7Ghz,|3GB DDR2|ATI Radeon X1950Pro|160GB+500GB x 4 SataII|
  #16  
Old May 31st, 2007, 06:41 AM
charincol's Avatar
charincol charincol is offline
Regular Poster
 
Join Date: Nov 2005
Posts: 107
Default Re: windows services and internet access.

Quote:
Originally Posted by ThunderZ
Some where I read, got the impression ALG was needed for (some) FTP transactions. Wrong?

Don't use FTP much so can't confirm or deny. Windows Firewall opens ports just fine for the applications set up on it without alg.exe running. That's all I need.
  #17  
Old May 31st, 2007, 08:09 AM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Question Re: windows services and internet access.

Hi ThunderZ

Quote:
Originally Posted by ThunderZ
Some where I read, got the impression ALG was needed for (some) FTP transactions. Wrong?

Downloads are managed by Backgroung Intelligent Transfer Service for Windows updates. For ALG, as far as I know it's used for Windows Firewall and the Internet Connection Sharing.

For sure ALG is used to transfer files downloaded by the BITS to the ICS server and then to the client PC in the ICS but is this can be describe as "an FTP" service ?

"Hmgrmgrmgrm" dixit Marge Simpson...

It seems that's correct :

« Application Layer Gateway (ALG) Service

This subcomponent of the Internet Connection Sharing (ICS)/Internet Connection Firewall (ICF) service provides support for plug-ins that allow network protocols to pass through the firewall and work behind ICS. Application Layer Gateway plug-ins have the power to open ports and change data (such as ports and IP addresses) embedded in packets. File Transfer Protocol (FTP) is the only network protocol with a plug-in that is released with Windows Server 2003, Standard Edition, and Windows Server 2003, Enterprise Edition.

The ALG FTP plug-in is designed to support active FTP sessions through the network address translation (NAT) engine used by these components. The ALG FTP plug-in does this by redirecting all traffic passing through the NAT destined for port 21 to a private listening port in the 3000-5000 range on the loopback adapter. The ALG FTP plug-in then monitors and updates FTP control channel traffic so that the FTP plug-in can plumb port mappings through the NAT for the FTP data channels. The FTP plug-in will also update ports in the FTP control channel stream. »

Ref.:http://www.microsoft.com/technet/sec...s_ms_prod.mspx


Poeple of M$ are always funny and full of suprise !

__________________
Claude LaFrenière
  #18  
Old May 31st, 2007, 08:14 AM
ThunderZ's Avatar
ThunderZ ThunderZ is offline
Very Frequent Poster
 
Join Date: May 2006
Location: North central Ohio, U.S.A.
Posts: 2,459
Default Re: windows services and internet access.

Thanks Climenole. At least now I know my memory has not completely left me. Now if I could always remember where I left it.....
  #19  
Old May 31st, 2007, 08:21 AM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Smile Re: windows services and internet access.

Hi charincol

Quote:
Originally Posted by charincol
That's what we're told by MS. Windows Firewall runs perfectly fine with Application Layer Gateway service disabled on my machines.

May be because ALG is used only with Internet Connection Sharing...
Without ICS, ALG service seems to be useless.

As usual, there is no clear statement from MS about this. They don't care!

__________________
Claude LaFrenière
  #20  
Old May 31st, 2007, 08:30 AM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Exclamation Re: windows services and internet access.

Hi ThunderZ

Quote:
Originally Posted by ThunderZ
Thanks Climenole. At least now I know my memory has not completely left me. Now if I could always remember where I left it.....

You're lucky ThunderZ to be a human being !

Personnaly, I have no memory at all except Google and other search engines.

I'm glued to this computer for a too long time and this transform me into a kind of zombie with an external brain.
Is this what they call "bio-Technology"

Is there a life outside Internet? I have no idea...

I'm going to ask this to Master Google !

__________________
Claude LaFrenière
  #21  
Old June 6th, 2007, 04:30 PM
charincol's Avatar
charincol charincol is offline
Regular Poster
 
Join Date: Nov 2005
Posts: 107
Default Re: windows services and internet access.

Quote:
Originally Posted by Climenole
May be because ALG is used only with Internet Connection Sharing...
Without ICS, ALG service seems to be useless.
A couple of months ago, I had a Win98 computer getting internet from a WinXP one that had ICS turned on and a wireless connection. I know that I had messed around with seeing if ICS would work without ALG, but I can't remember what the outcome was. I do know for sure that trying to run ICS without ALG won't hurt anything, so it's worth a try to turn it off and try to run with 1 less service.

Quote:
Originally Posted by Climenole
As usual, there is no clear statement from MS about this. They don't care!
I'm shocked!
  #22  
Old June 6th, 2007, 07:38 PM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Big Grin Re: windows services and internet access.

Hi charincol

Quote:
Originally Posted by charincol
I'm shocked!



This is only an "auto-censored" comment about MS.

This is nothing compare to many of my comment in the MS News Groups about their lacks.
Anyway it seems they like to be "shocked" since I'm still in their mvp sect.

__________________
Claude LaFrenière
  #23  
Old June 6th, 2007, 11:11 PM
charincol's Avatar
charincol charincol is offline
Regular Poster
 
Join Date: Nov 2005
Posts: 107
Default Re: windows services and internet access.

It's been a little while since I had turned on the WinXP computer referred to above,(it was running my private World of Warcraft server used by me and my daughter, I just hadn't played in a while) and I checked if the ALG service was disabled. It is, and I haven't changed any network settings on it since the Win98 computer was getting internet access from it.

Also, Black Viper says it's not needed after SP2. Application Layer Gateway service is another totally useless windows component wasting resources in most (if not all) Windows computers.
  #24  
Old June 7th, 2007, 01:59 AM
argus tuft's Avatar
argus tuft argus tuft is offline
Frequent Poster
 
Join Date: Sep 2006
Location: Australia
Posts: 275
Default Re: windows services and internet access.

Thanks everyone for your replies, I had no idea what I was up against!
I've disabled the alg service, blocked [system] from any access, and basically let svchost do whatever it wants to. '

Does explorer.exe need access?
  #25  
Old June 7th, 2007, 08:01 AM
Climenole's Avatar
Climenole Climenole is offline
Look 'n' Stop Expert
 
Join Date: Jun 2005
Posts: 1,640
Smile Re: windows services and internet access.

Hi argus tuft

Quote:
Originally Posted by argus tuft
Does explorer.exe need access?

Explorer.exe (the "Windows explorer") is always used to launch other programs including programes which connect to internet.

Explorer.exe must be authorised by the FW to "access" in order to launch other programs but not directly to internet...

__________________
Claude LaFrenière
 

Wilders Security Forums > Security Products > other firewalls « 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 -4. The time now is 05:41 PM.


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