Defining application signatures
Use the application signatures file to create IP address and content-based rules that assign application IDs to flows that QRadar does not automatically detect.
About this task
The application signatures file is a definition file that is distributed to all QRadar Flow Collectors by the primary QRadar Console. The file includes source and destination ports, and ranges.
The application signatures file includes the following characteristics:
- Hex content is delimited with the pipe character (
|
):<dstcontent offset="0" depth="4">|45 54|</dstcontent>
<dstcontent offset="0" depth="4">GET</dstcontent>
- A flow can be associated with multiple signatures. A flow is mapped to an application ID based on the signature order in the file. The first signature that applies in the file is assigned to the flow.
- When you edit the signatures.xml file, the data that is inserted between the XML tags is case-sensitive. For example, when you specify TCP within the XML tags, enter the value with all capital letters.
- Modifying or removing existing signatures is not supported. Any changes made to the signatures will be restored on the next QRadar Auto Update. If any signature is consistently classifying flows incorrectly, please contact IBM Support.
- To make a signature unique and not to be overwritten by QRadar Auto Update, the "appid" and "sigid" pair should be unique.
The following code is an example of a Signatures.xml file:
<signatures>
<signature>
<appid>1009</appid>
<appname>IMAP</appname>
<groupname>Mail</groupname>
<colour>#ff0000</colour>
<description>IMAP traffic</description>
<revision>1</revision>
<protocol>TCP</protocol>
<srcip>any</srcip>
<srcport>any</srcport>
<dstip>any</dstip>
<dstport>any</dstport>
<commondstport>143</commondstport>
<srccontent offset="0" depth="128" ignorecase="true">LOGIN</srccontent>
<dstcontent offset="0" depth="5">* OK</dstcontent>
<weight>30</weight>
</signature>
</signatures>