cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
0
Helpful
11
Replies

filter is not working in TOC of VMS 2.2

fengluo
Level 1
Level 1

I created a filter rule in TOC to suppress some false positives on a ids sensor, the event still shows up, what else I have to check to resolve the problem?

1 Accepted Solution

Accepted Solutions

You can edit the filter on the sensor through CLI or IDM.

Connect to your sensor via its C&C interface with your browser at this address 'https://'

After you log in click on "Configuration" -> "Sensing Engine" -> "Event Filters".

This should bring up a current list of your filters. From this location you can Edit or Add a filter.

Hope that helps.

Don

View solution in original post

11 Replies 11

dblairii
Level 1
Level 1

I may be stating the obvious here, but you need to compare the packet(s) that triggered the event with the filter rules that you created to exclude it. (Without details of the custom filter and the signature it is hard to tell)

I am getting the event "eventId=1079416621888497871 hostId=******* appName=sensorApp appInstanceId=1104 tmOffset=60 tmTimeZone=EST tmTime=1087315812477 severity=5 alertDetails="Traffic Source: int0 ; " sigId=4003 sigName="Nmap UDP Port Sweep" version=S65 src=170.146.77.220 srcDir=IN srcport=53 dst=192.168.100.17 dstDir=IN dstport=2899"

Since 170.146.77.220 is a name server, the event is a false positive.

The filter looks like this,

Filter Name Action Signatures Subsignatures Sources Destinations

filter4 Exclude 4003 All Subsignatures 170.146.77.220 Any

Hi,

my understanding is you should not use Exclude for the filter definition.

Exclude means a filter exception, i.e. alarms which are NOT filtered out.

Regards,

Milan

The other option there is Include. I tried both, did not work.

Include should work.

Are you sure you downloaded the filter successfully to the sensor?

Try to use

sh config | incl Filter

CLI command.

It should show you the filters configured on the sensor.

Regards,

Milan

I cannot see the filter on the sensor, what should I do? How can I edit the filter on the sensor?

You can edit the filter on the sensor through CLI or IDM.

Connect to your sensor via its C&C interface with your browser at this address 'https://'

After you log in click on "Configuration" -> "Sensing Engine" -> "Event Filters".

This should bring up a current list of your filters. From this location you can Edit or Add a filter.

Hope that helps.

Don

My VMS cannot push the filter down to the sensor, is this a known issue with version 2.2?

Honestly, I have little faith in VMS. I only use VMS to push signature updates to my sensors.

Any configuration changes that are necessary I utilize IDM or CLI on each sensor individually (50+). It isn't the sexiest way to manage config changes, but it is reliable and predictable.

I just had an issue with trying to view existing sensor filters through VMS and discovered from TAC that if you use variables in your filter definitions that you can't use VMS.

I have requisitioned (on order) ActiveStates' TCL/Expect Dev kit to start creating my own sensor management tools out of necessity. I will eventually post information about how that all is working for me.

I am getting the event "eventId=1079416621888497871 hostId=******* appName=sensorApp appInstanceId=1104 tmOffset=60 tmTimeZone=EST tmTime=1087315812477 severity=5 alertDetails="Traffic Source: int0 ; " sigId=4003 sigName="Nmap UDP Port Sweep" version=S65 src=170.146.77.220 srcDir=IN srcport=53 dst=192.168.100.17 dstDir=IN dstport=2899"

Since 170.146.77.220 is a name server, the event is a false positive.

The filter looks like this,

Filter Name Action Signatures Subsignatures Sources Destinations

filter4 Exclude 4003 All Subsignatures 170.146.77.220 Any

To add to what Milan said....

A filter that is set WITHOUT the 'Exclude' option enabled is designed to REMOVE (filter out) events.

When you set a filter with 'Exclude' ENABLED, it is generally set in conjuction with a 'non-excluded' filter.

In other words you could say I want to filter out all of the following 'a-z'.... and then with an exclude statement.... BUT, I don't want to filter 'x'.

You have essentially included what you wanted to remove by setting your filter with 'Exclude' enabled.