Network Security
Configure a File Blocking Profile (PAN-OS & Panorama)
Table of Contents
Expand All
|
Collapse All
Network Security Docs
Configure a File Blocking Profile (PAN-OS & Panorama)
Block or monitor specific file types.
- Create the file blocking profile.
- SelectandObjectsSecurity ProfilesFile BlockingAdda profile.
- Enter aNamefor the file blocking profile such asBlock_EXE.
- (Optional) Enter aDescription, such asBlock users from downloading exe files from websites.
- (Optional) Specify that the profile isSharedwith:
- Every virtual system (vsys) on a multi-vsys firewall—If cleared (disabled), the profile is available only to the Virtual System selected in theObjectstab.
- Every device group on Panorama—If cleared (disabled), the profile is available only to the Device Group selected in theObjectstab.
- (Optional—Panorama only) SelectDisable overrideto prevent administrators from overriding the settings of this file blocking profile in device groups that inherit the profile. This selection is cleared by default, which means administrators can override the settings for any device group that inherits the profile.
- Configure the file blocking options.
- Addand define a rule for the profile.
- Enter aNamefor the rule, such asBlockEXE.
- SelectAnyor specify one or more specificApplicationsfor filtering, such asweb-browsing.Only web browsers can display the response page (continue prompt) that allows users to confirm their Choosing any other application results in blocked traffic for those applications because there is no prompt displayed to allow users to continue.
- SelectAnyor specify one or more specificFile Types, such asexe.
- Specify theDirection, such asdownload.
- Specify theAction(alert,block, orcontinue).For example, selectcontinueto prompt users for confirmation before they are allowed to download an executable (.exe) file. Alternatively, you couldblockthe specified files or you could configure the firewall to simply trigger analertwhen a user downloads an executable file.If a server sends an HTTP response header and the contents of a file in different packets, the firewall blocks the file even if the action for that file type iscontinue.
- ClickOKto save the profile.
- Apply the file blocking profile to a security rule.
- Selectand either select an existing security rule orPoliciesSecurityAdda new rule as described in Create a Security Policy Rule.
- On theActionstab, select the file blocking profile you configured in the previous step. In this example, the profile name isBlock_EXE.
- Commityour configuration.
- To test your file blocking configuration, access an endpoint PC in the trust zone of the firewall and attempt to download an executable file from a website in the untrust zone; a response page should display. ClickContinueto confirm that you can download the file. You can also set other actions, such asalertorblock, which don't provide an option for the user to continue the download. The following shows the default response page for File Blocking:
- (Optional) Define custom file blocking response pages (). This allows you to provide more information to users when they see a response page. You can include information such as company policy information and contact information for a Helpdesk.DeviceResponse PagesWhen you create a file blocking profile with thecontinueaction, you can choose only theweb-browsingapplication. If you choose any other application, traffic that matches the Security policy won't flow through the firewall because users are not prompted with an option to continue. Additionally, you need to configure and enable a decryption policy for HTTPS websites.Check your logs to determine the application used when you test this feature. For example, if you're using Microsoft SharePoint to download files, even though you're using a web-browser to access the site, the application is actuallysharepoint-base, orsharepoint-document. (It can help to set the application type toAnyfor testing.)