The FW identifies the types of transferred files, and blocks or generates alarms on the specified types of files.
If the traffic that passes the FW matches a security rule, the action is set to permit, and the file blocking profile is referenced, file blocking must be implemented on the traffic. The mechanism of file blocking is as follows:
The FW identifies the following file attributes:
The processing of file identification exceptions specifies the action for abnormal file types. Usually, the default values are used.
The possible anomalies in file type identification are as follows:
As shown in Table 1, the FW determines whether to match files with filtering rules as well as matching conditions based on file identification results and the action for file identification exceptions.
To implement the matching of file blocking rules, the FW matches file attributes (application, direction, file type, and file name extension) with the rules defined in the file blocking profile.
If the attributes of a file meet all conditions in a file blocking rule, the file matches the rule successfully. If the attributes of a file do not meet one or more conditions, the FW matches the file attributes with the next rule. If a file does not match any rule, the FW allows the file transfer.
If a file matches a rule, the FW implements the action defined in the rule. If the action is Block, the FW blocks the file. If the action is Alert, the FW allows the file transfer and generates a log.
File Identification |
Actions for File Identification Exceptions |
Rule Matching |
|---|---|---|
The file type and file name extension are consistent. |
- |
The FW matches the file type with file blocking rules. Matching conditions are the application, file type, and direction. |
The file type and file name extension are inconsistent. |
The FW implements one of the following actions for a mismatched file name extension: |
If the FW matches the file with file blocking rules by type, the matching conditions are Application, File Type, and Direction. |
The file type cannot be identified, but the file name extension exists. |
- |
If the FW matches the file with file blocking rules by name extension, the matching conditions are Application, File Extension, and Direction. |
The file type cannot be identified and no file name extension exists. |
The FW implements one of the following actions for an unidentified file type: |
- |
The file is damaged. |
The FW implements one of the following actions for a damaged file: |
- |