Doc Reference: https://docs.versa-networks.com/Next_Gen_Firewall/SD_Security/Configuration_from_Director/Configure_File_Filtering_(NGFW)
Steps to configure a custom file hash to be blocked, using FTP for example:
1) Create a file-filter profile using the below snippet as a reference:
Get the sha256sum or sha384sum of a file and add it to the Deny list as shown below.
2) Attach the User defined File Filtering profile to the interested security access policy:
Viewing the profile in Action: