Custom Signature

You can create a custom match object that matches any part of a packet if you want to control traffic that does not have a predefined object type in Application Control. This allows you to create a custom signature for any network protocol.

For instance, you can create a custom signature to match HTTP GET request packets. You might use this if you want to prevent Web browsing from your local area network.

To determine a unique identifier for a HTTP GET packet, you can use the Wireshark network protocol analyzer to view the packet header. For more information about using Wireshark, see Wireshark. In Wireshark, capture some packets that include the traffic you are interested in. In this case, you want to capture a HTTP GET request packet. You can use any web browser to generate the HTTP GET request.

To create a custom policy for a custom signature:
1
2
3
Wireshark displays the HTTP GET request packet:

4
5

The packet is displayed in the two lower panes. For a SYN packet, the center pane provides a human-readable interpretation of the packet header, and the actual header bytes are displayed in hexadecimal in the lower pane.

6
7
8
9
Navigate to Firewall > Match Object.
10
Click Add New Match Object. The Add/Edit Match Object dialog displays.
11

a
b
Select Custom Object from the Match Object Type drop-down menu. Select Exact Match from the Match Type drop-down menu.
c
Select the Enable Settings check box. The settings fields become available.
d
In the Offset field, type 1 (the starting byte of the identifier).
e
In the Depth field, type 3 (the last byte of the identifier).
TIP: You can leave the Payload Size set to the default value. The Payload Size is used to indicate the amount of data in the packet, but in this case we are only concerned with the packet header.
f
For Input Representation, select Hexadecimal.
g
In the Content field, type the bytes as shown by Wireshark: 474554. Do not use spaces in hexadecimal content.
12
Click OK.
13
Navigate to Firewall > App Rules.
14
Click Add New Policy. The Edit App Control Policy dialog displays.
15

16
17
Select HTTP Client for the policy type from the Policy Type drop-down menu.
18
From the Match Object drop-down menu, select the match object that you just defined, HTTP GET.
19
20
For the Connection Side, select Client Side. You can also modify other settings. For more information about creating a policy, see Prerequisites to Configuring App Rules Policies.
21