Outpost Users Support Forum  
Outpost User Operated Support Forum
Agnitum Outpost Pro Release (OP, OSS, AV): 7.0.2.3377 [23-JUL-2010]
www.agnitum.com

Go Back   Outpost Users Support Forum > Agnitum Outpost Security Suite / Outpost Firewall/Outpost Antivirus > Rules Creation and Presets

Reply
 
Thread Tools
  #1  
Old 11-12-2005, 03:27 AM
A884126 A884126 is offline
Beta Tester
 
Join Date: Apr 2004
Posts: 620
Question SVCHOST: UDP inbound connection

Hello,

I often get some inbound connection from remote addresses (check image attached)

I made a rule to block everything as UDP, Inbound, Port 1026.

Good thing?

Cheers
Attached Images
File Type: gif OP Svchost.gif (9.7 KB, 95 views)
__________________
ADSL2+/ASUS P4P800 Deluxe (HT enabled - Bios 1019)/P4 3E/1Go Winbond PC3200 Dual/WinFast A380 Ultra THD 256DDR/Audigy Player/Maxtor DiamondMax 9 60Go+80Go+200Go/WD Special Ed.120Go/Plextor PX-W4012A/Toshiba SD-M1712/HP5710C/Canon PIXMA iP3000
Windows XP Pro SP2.
Browser: Maxthon 1.5.9 build 80 (Unicode)
Resident progs: OP latest beta with Blockpost (BLM 2.6.5)/Symantec AntiVirus 10.1.5.5010/Hosts Manager 2.0.1.0/SpywareBlaster 3.5.1/ProcessGuard 3.410/Wormguard 3
Reply With Quote
  #2  
Old 11-12-2005, 04:07 AM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

Hello A884126,
As UDP is a directionless protocol, you may find your rule doesn't work properly.
It might be better to make any rules allowing what you want for UDP within Svchost, e.g. DNS... then make a rules below blocking UDP.
Paul
Reply With Quote
  #3  
Old 11-12-2005, 10:32 PM
Paranoid2000's Avatar
Paranoid2000 Paranoid2000 is offline
Super Moderator
 
Join Date: Feb 2003
Location: North West, United Kingdom
Posts: 10,286
Re: SVCHOST: UDP inbound connection

A884126,

You need to create a proper ruleset for svchost to avoid popups. This has been discussed at length in threads here, here and here to take a few examples. Svchost rules are also covered in detail in section E2 of A Guide to Producing a Secure Configuration for Outpost.
Reply With Quote
  #4  
Old 11-21-2005, 10:42 AM
A884126 A884126 is offline
Beta Tester
 
Join Date: Apr 2004
Posts: 620
Re: SVCHOST: UDP inbound connection

I know I konw guys, but all my svchost.exe rules always end up with a system which does not work at the end.
Sorry Paranoid, I follow your rules but I never found the right config to get a smooth system.
__________________
ADSL2+/ASUS P4P800 Deluxe (HT enabled - Bios 1019)/P4 3E/1Go Winbond PC3200 Dual/WinFast A380 Ultra THD 256DDR/Audigy Player/Maxtor DiamondMax 9 60Go+80Go+200Go/WD Special Ed.120Go/Plextor PX-W4012A/Toshiba SD-M1712/HP5710C/Canon PIXMA iP3000
Windows XP Pro SP2.
Browser: Maxthon 1.5.9 build 80 (Unicode)
Resident progs: OP latest beta with Blockpost (BLM 2.6.5)/Symantec AntiVirus 10.1.5.5010/Hosts Manager 2.0.1.0/SpywareBlaster 3.5.1/ProcessGuard 3.410/Wormguard 3
Reply With Quote
  #5  
Old 11-21-2005, 06:38 PM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

Hello again 884126,
If you want to write your Svchost rules here we can look at them for you.
However, some of your problems may be resolved, once your rules have been created, by going into block most mode.
Rules Wizard is meant to be for short-term use only and doesn't provide optimum protection.
If you want to try my Svchost rules as an experiment, maybe they will work for you; they have helped others:

SVCHOST RULES FOR OUTPOST PRO


ALLOW MS UPDATE

TCP
OUTBOUND
REM HOST: download.microsoft.com, download.windowsupdate.com,hm.msn.com,update.micro soft.com,stats.update.microsoft.com
ALLOW


ALLOW UDP DNS

UDP
REM HOST: YOUR ISP DNS SERVER IP ADDRESSES & ROUTER IP
ALLOW

BLOCK UNKNOWN PROTOCOLS OUT

WHERE DIRECTION IS OUTBOUND
BLOCK

BLOCK UNKNOWN PROTOCOLS IN

WHERE DIRECTION IS INBOUND
BLOCK

Paul
Reply With Quote
  #6  
Old 11-21-2005, 11:17 PM
A884126 A884126 is offline
Beta Tester
 
Join Date: Apr 2004
Posts: 620
Re: SVCHOST: UDP inbound connection

nippauls,

Actually, OP is now in block most mode. FYI all OP settings have been set following strictly our friend Paranoid's recommendations. I might admit that some of the Global Rules fill in pretty fast the blocked lconnections log which make me think that I might have done something wrong there.

Anyway these are my svchost.exe rules in the following order.
Thanks

Allow DNS UDP
UDP
Remote Host: my FAI DNS
Remote Port: DNS
Allow

Allow DNS TCP
TCP
Outbound
Remote Host: my FAI DNS
Remote Port: DOMAIN
Allow

Possible Trojan DNS UDP
TCP
Outbound
Remote Port: DOMAIN
Block & Report

Block Incoming SSDP
UPD
Local Port: 1900
Block

Block Incoming SSDP
UPD
Remote Port: 1900
Block

Block Incoming UPnP
TCP
Inbound
Local Port: 5000
Block

Block Incoming UPnP
TCP
Outbound
Remote Port: 5000
Block

Block RPC TCP
TCP
Inbound
Local Port: DCOM
Block

Block RPC UDP
UDP
Remote Port: 135
Block

Allow DHCP Request
UDP
Remote Host: 255.255.255.255
Remote Port: BOOTPS
Local Port: BOOTPC
Allow

Allow Help Web Access
TCP
Outbound
Remote Port: HTTP, HTTPS
Allow

Allow Time Synchronisation
UDP
Remote Host: 207.46.130.100, 192.43.244.18
Remote Port: 123
Allow

Block Other TCP Traffic
TCP
Outbound
Block

Block Other TCP Traffic
TCP
Inbound
Block

Block Other UDP Traffic
UDP
Block
__________________
ADSL2+/ASUS P4P800 Deluxe (HT enabled - Bios 1019)/P4 3E/1Go Winbond PC3200 Dual/WinFast A380 Ultra THD 256DDR/Audigy Player/Maxtor DiamondMax 9 60Go+80Go+200Go/WD Special Ed.120Go/Plextor PX-W4012A/Toshiba SD-M1712/HP5710C/Canon PIXMA iP3000
Windows XP Pro SP2.
Browser: Maxthon 1.5.9 build 80 (Unicode)
Resident progs: OP latest beta with Blockpost (BLM 2.6.5)/Symantec AntiVirus 10.1.5.5010/Hosts Manager 2.0.1.0/SpywareBlaster 3.5.1/ProcessGuard 3.410/Wormguard 3
Reply With Quote
  #7  
Old 11-21-2005, 11:58 PM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

Hi 884126,
The screenshot in your original posting confused me as this should only ever appear in Rules Wizard mode, certainly not in Block Most. So if you are now in Block Most, you should no longer be getting this pop-up.

I will paste your svchost rules below and make some comments on them: Paranoid's guide is excellent for people getting acquainted with Outpost as they can see many, clear and precise rules and understand what each rule does.

However, some of your rules are weak and basically allow svchost to do anything it wants. My short ruleset I posted is much tighter and more secure, but my learning started with Paranoid's rules and then with experience and practice I developed my own that are less clear, but somewhat tighter.

Your rules:

Allow DNS UDP
UDP
Remote Host: my FAI DNS This should have your router IP (if applicable) and also your TWO primary and TWO secondary DNS addresses. Same applies to the TCP DNS Rule.
Remote Port: DNS
Allow


Allow DNS TCP
TCP
Outbound
Remote Host: my FAI DNS
Remote Port: DOMAIN
Allow

Possible Trojan DNS UDP
TCP
Outbound
Remote Port: DOMAIN
Block & Report

What about a Possible Trojan TCP rule????

Block Incoming SSDP
UPD
Local Port: 1900
Block

Block Incoming SSDP DUPLICATED, THE RULE ABOVE IS THE SAME, AND UDP HAS NO DIRECTION, IT IS A DIRECTIONLESS PROTOCOL
UPD
Remote Port: 1900
Block

Block Incoming UPnP
TCP
Inbound
Local Port: 5000
Block

Block Incoming UPnP SHOULD BE NAMED OUTGOING
TCP
Outbound
Remote Port: 5000
Block

Block RPC TCP
TCP
Inbound
Local Port: DCOM
Block

Block RPC UDP
UDP
Remote Port: 135
Block

Allow DHCP Request IS THIS NECESSARY?
UDP
Remote Host: 255.255.255.255
Remote Port: BOOTPS
Local Port: BOOTPC
Allow

Allow Help Web Access THIS RULE BASICALLY GIVES SVCHOST PERMISSION TO DO ANYTHING IT WANTS. SERIOUSLY UNWISE.
TCP
Outbound
Remote Port: HTTP, HTTPS
Allow

Allow Time Synchronisation
UDP
Remote Host: 207.46.130.100, 192.43.244.18
Remote Port: 123
Allow

Block Other TCP Traffic
TCP
Outbound
Block

Block Other TCP Traffic
TCP
Inbound
Block

Block Other UDP Traffic
UDP
Block

I hope my comments make sense, and help you to decide what you want to achieve. Any questions, please post again.... you could always try my rules.... very tight and very simple. You have started on the path of learning, and with experimentation and perserverance you will be an expert before long

Paul

Paul
Reply With Quote
  #8  
Old 11-22-2005, 12:18 AM
A884126 A884126 is offline
Beta Tester
 
Join Date: Apr 2004
Posts: 620
Re: SVCHOST: UDP inbound connection

Paul, OK I disabled all my rules except the "Time Synch" one, add yours and I will check how things run.

Thanks very much for your help.
__________________
ADSL2+/ASUS P4P800 Deluxe (HT enabled - Bios 1019)/P4 3E/1Go Winbond PC3200 Dual/WinFast A380 Ultra THD 256DDR/Audigy Player/Maxtor DiamondMax 9 60Go+80Go+200Go/WD Special Ed.120Go/Plextor PX-W4012A/Toshiba SD-M1712/HP5710C/Canon PIXMA iP3000
Windows XP Pro SP2.
Browser: Maxthon 1.5.9 build 80 (Unicode)
Resident progs: OP latest beta with Blockpost (BLM 2.6.5)/Symantec AntiVirus 10.1.5.5010/Hosts Manager 2.0.1.0/SpywareBlaster 3.5.1/ProcessGuard 3.410/Wormguard 3
Reply With Quote
  #9  
Old 11-22-2005, 12:30 AM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

A884126,
If you find the new rules stop something, look at the blocked log and make adjustments... it's all part of learning and understanding, but any time you are not sure, or need assistance, just post here
Let us know how you get on.
Paul
Reply With Quote
  #10  
Old 11-22-2005, 07:16 AM
Wild Cat Wild Cat is offline
Junior Member
 
Join Date: Nov 2005
Posts: 5
Re: SVCHOST: UDP inbound connection

May I jump in? A new Outpost user, just sumped in from NIS...
Started out by finding about inbound LSASS but that was clarified by reading the forum. Now about SVCHOST I have questions:

1) nippauls, what means "unknown protocol" in rules you cite? When I click the protocol "link" in rules I can only select TCP or UDP and I cannot leave the protocol unspecified (Outpost wouldn't let me)

2) Also you specify UDP rules with hostnames for windows update for SVCHOST. What about wuauclt.exe going through TCP? Are they working both in pair or being on WinXP I should rather specify those addresses for wuauclt than for SVCHOST?

3) I have some strange requests for Genereic Host Process for Win32 (SVCHOST) requesting outbound on UPD 1900 at 239.255.255.250. When I block it, nothing bad happens. WTF???

4) Also, I have 3 predefied (if I didn't allow it myself mindlessly) rules for SVCHOST beginning with "SSDP Discovery Service" and "unPnP device host" (two of which requests the same as above UDP (one with IP), the third one an outbound TCP on port 2869) and one SSDP Legacy event notification (Outbound TCP :5000)

Anyone has an idea what is this about?
Reply With Quote
  #11  
Old 11-22-2005, 07:28 AM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

Hello Wildcat,
Welcome to the Forums
I will try to answer you questions:

1) nippauls, what means "unknown protocol" in rules you cite? When I click the protocol "link" in rules I can only select TCP or UDP and I cannot leave the protocol unspecified (Outpost wouldn't let me)

In application rules, by "unknown" I mean "anything"... the rule is simple, you don't choose a protocol... quite simply you just choose "where the direction is inbound" and "block" and likewise for outbound. I find it works for any protocol, and remember there are a considerable number of different protocols that can be used on the internet.

2) Also you specify UDP rules with hostnames for windows update for SVCHOST. What about wuauclt.exe going through TCP? Are they working both in pair or being on WinXP I should rather specify those addresses for wuauclt than for SVCHOST?

wuauclt needs permissions for windows update, but so does svchost. If you give just one permission and deny the other,then your windows update won't function. Microsoft is sneaky and wants both

3) I have some strange requests for Genereic Host Process for Win32 (SVCHOST) requesting outbound on UPD 1900 at 239.255.255.250. When I block it, nothing bad happens. WTF???

My ruleset will block all that

4) Also, I have 3 predefied (if I didn't allow it myself mindlessly) rules for SVCHOST beginning with "SSDP Discovery Service" and "unPnP device host" (two of which requests the same as above UDP (one with IP), the third one an outbound TCP on port 2869) and one SSDP Legacy event notification (Outbound TCP :5000)

You REALLY don't need those
Once again, the rules I set out stop all those things

That said, I am currently assisting a user who has adopted my svchost and system rulesets to "adjust" them slightly to work on his system. Every system is slightly different, some are a lot different. The rules were written for my system and will often need tweaking to work successfully on other systems. The important thing is they are very simple and very safe rulesets.

Hope this helps,

Paul
Reply With Quote
  #12  
Old 11-22-2005, 07:28 AM
tony62's Avatar
tony62 tony62 is offline
Senior Member
 
Join Date: Jan 2005
Location: UK
Posts: 218
Re: SVCHOST: UDP inbound connection

I believe that granting svchost any internet access is an avenue for attack. Although for some people there may be no alternative other than to let it have it's certain permissions. In my case i have Windows Update removed, as i feel it is unessasary on my system, the remaining services have also either been disabled/removed. There is one service however which is relatively important and that is WindowsTime, how do i get around that Timesync. With this setup, svchost isn't even in Outposts Application rules,and never a prompt for it.
I know that some of you may disagree with the update side of life, besides if you really wanted your updates, then browse to microsofts update site.
Reply With Quote
  #13  
Old 11-22-2005, 07:30 AM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

Hi tony62,
time synchronisation can easily be done manually by double-clicking on the clock in the system tray and making the adjustments... I find twice a year works fine
Paul
Reply With Quote
  #14  
Old 11-22-2005, 07:51 AM
tony62's Avatar
tony62 tony62 is offline
Senior Member
 
Join Date: Jan 2005
Location: UK
Posts: 218
Re: SVCHOST: UDP inbound connection

Hi Paul,
I am aware that TimeSynchronization can be achieved this way, however being as it was it was very last rule within svchost i couldn't help but be spiteful and take it away
Reply With Quote
  #15  
Old 11-22-2005, 08:02 AM
nippauls nippauls is offline
Outpost Veteran
 
Join Date: Sep 2004
Posts: 2,357
Re: SVCHOST: UDP inbound connection

Oh right!
I don't have it either
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access the internet with browser using a proxy RedDwarfer Outpost Firewall General Discussions, Support, and Troubleshooting 8 02-19-2010 05:34 AM
Is someone trying to log into my computer? justsomeguy Outpost Firewall General Discussions, Support, and Troubleshooting 10 05-02-2006 06:44 AM
modified protect.lst cause troubles ?? ast Rules Creation and Presets 7 04-14-2004 02:13 AM
Miltiple Connection requests xx19xx Retired Threads 1 04-30-2002 01:22 AM
is this an attack ?!?! Nemo Retired Threads 10 04-15-2002 07:10 PM


All times are GMT -12. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.