Use the Edit Signature dialog box to add or change a signature definition.
The bytes signature type is handled by the Edit Bytes Signature dialog box.
The Signatures section of the KFSensor Concepts section of the manual describes how signatures are matched in more detail.
Type | Notes |
String |
The raw data received from the visitor is matched against the signature content using a fast
string search algorithm. |
URL | In the case of a HTTP request the URL may be encoded in a special format. This is often used to hide specific attack pattern. With this type of signature the content is matched against the decoded or normalized form of the URL. This will only work for events generated by the HTTP Sim Server. |
Reg Ex | This type matches the content as a PERL regular expression. For more information on the format and options for PERL regular expressions check out the PCRE web site at http://www.pcre.org |
Decoded | Certain service protocols, such as NetBIOS, use a compact binary messages.
Where KFSensor can decode these they are recorded in the event in a text format. This type of signature matched the decoded text to make rules easier to write. For example, an MS SQL Server log in request contains an encoded user name field. The signature "User: root" will be match against the decoded message and not the raw data. |
Description | This option causes the signature to try and match the Description field of an event. Certain types of event, such as a syn scan, have no content to match, but a description is generated by the system. This can be used to identify those types of event. |