![]()
| Visitor rulesIt is possible for KFSensor to react differently depending on the IP address of a visitor and to the number
of connections made each visitor. The rules are defined using the Visitor Rule dialog box which can be accessed by the Rules button in the Edit Scenario dialog or the Edit Active Visitor Rules menu option in the Scenario Menu. Rule conditionsA rule is triggered if its conditions are met. When a connection occurs that meets the conditions of several rules then KFSensor will pick one rule.
Rule actionsThere are three possible actions that can be taken by a rule:1. CloseKFSensor will close a connection immediately without sending a response2. IgnoreKFSensor will not log an event for the connection.The Close and Ignore actions can be used together. 3. Set SeverityThe severity of the event generated by the connection will be set to the one specified in the rule. This overrides the severity defined by the listen definition.How rules can be usedThe following examples show how rules can be used to achieve specific purposes.1. Increase severity for internal attacksAttacks originating from inside the organization can be considered more severe than those from the Internet.
2. Ignore legitimate trafficA trusted machine may be generating SQL Server broadcast messages. Events from this machine to port 1434 can be ignored with this rule.
3. Hide from vulnerability scannersIf vulnerability scanners are being used as part of a security audit then they will generate alerts on KFSensor and on the scanner itself. A rule can be used to get KFSensor not to respond to specified IP address.
4. Only log the first three eventsSome visitors can make a very large number of connections to a particular port. This practical example uses a rule to control the actions taken for a visitor that makes repeated connections to UDP port 137, the NBT name service. Only the first three connections will be logged. In the case of UDP 137 it is also useful to specify a separate max connection limit for this port. See the Edit Listen dialog for more details.
Next: Signatures |