Author Topic: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs  (Read 6650 times)

0 Members and 1 Guest are viewing this topic.

DonZ63

  • Guest
Win 7 x64 SP1, Avast! 6.0.1289

I am configuring WIN 7 firewall for outbound protection and I have observed some strange activity pertaining to avastsvc.exe.

I have Avast's web shield set to "only connect to well known browsers". Therefore as I understand it avastsvc.exe should only be using TCP port 12080 to/from localhost 127.0.0.1 and outbound TCP port to port 80.

So why do I have a avastsvc.exe process listening on port 135 and using svchost.exe RpcSc services? See below netstat -anob output.


DonZ63

  • Guest
Re: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs
« Reply #1 on: October 07, 2011, 04:17:19 PM »
Here's a second pic showing a connect to a RIPE server in Germany. I am in the US.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89057
  • No support PMs thanks
Re: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs
« Reply #2 on: October 07, 2011, 04:49:42 PM »
1. It doesn't follow that it will only monitor port 80, just take a look at the avastUI, Settings, Troubleshooting, Redirect settings for the web and you will see many more than just port 80. Effectively it will monitor http protocol traffic on whatever port is used. Also look at the redirect ports for the Mail SMTP, POP, IMAP and NNTP ports, generally the local port will have 12 in front of these ports.

The avastSvc.exe manages all of the shields and all of the ports that those shields redirect on, namely the Mail shield, 12110, 12119, 12143, the secure redirects also 12465/12563/12993, etc. etc.

2. You are aware that the avast forum server is located in Germany and the IP is the one in your image 178.63.99.109.

In all honesty trying to micromanage the avastSvc.exe settings in a firewall is a little like peeing into wind, lots of effort for little return.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

DonZ63

  • Guest
Re: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs
« Reply #3 on: October 07, 2011, 05:34:12 PM »
Not trying to micro manage anything.

The outbound rule I have for avastsvc.exe in WIN 7 firewall is to allow all. No restrictions on protocol, ports, etc. Yet I keep getting popup alerts from the firewall on svchost.exe connections. Appears avastsvc.exe is doing activity that the WIN 7 firewall does not like.

I have allowed both RpsSc services which I really should not have to and I am still getting firewall alerts.

I am allowing TCP port 21, 80, 443, and 1935 outbound for IE8. I also have a separate rule for IE8 to allow outbound TCP to port 12080 localhost 127.0.0.1.

I do not have a firewall rule for avastsvc.exe inbound.

I never received a firewall alert for avastsvc.exe by the way. 

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89057
  • No support PMs thanks
Re: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs
« Reply #4 on: October 07, 2011, 06:13:40 PM »
Svchost.exe, in case you aren't aware is also used to connect to do windows updates and these connections would also be http. So you would have to make an appropriate rule for that.

Since you checked the "only connect to well known browsers" the avastSvc.exe (web shield) shouldn't be monitoring this.

So the popups for svchost.exe are unrelated to avast as far as I'm aware.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

DonZ63

  • Guest
Re: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs
« Reply #5 on: October 08, 2011, 04:19:44 PM »
I just found something interesting and disturbing. If I set web shield to monitor all outbound connections, it bypasses WIN 7 firewall outbound processing! I testing this multiple times by disabling firewall rules for software that does updating and watching them connect with no firewall alerts. When I enable the firewall rule, the connection attempts are blocked.

I don't know what this .1289 update is about but I don't like it one bit.

BTW - I am still getting firewall alerts on outbound activity and they are always when I am connected to this forum.

Offline CraigB

  • Avast Überevangelist
  • Serious Graphoman
  • *****
  • Posts: 11239
  • No support PM's thanks
Re: Why Is Avastsvc.exe Listening/Connecting Via Svchost.exe Port 135 RpcSs
« Reply #6 on: October 08, 2011, 04:26:10 PM »
You'll save yourself alot of time and effort by restoring default settings to the windows firewall and install a third party firewall which is more easyly configured imo.