![](https://static.wixstatic.com/media/a27d24_643313c05e124a768a0ee179834cdeaf~mv2.jpg/v1/fill/w_500,h_500,al_c,q_80,enc_auto/a27d24_643313c05e124a768a0ee179834cdeaf~mv2.jpg)
The most common method for blocking unauthorized software is to block the primary program executable. To ensure that the correct file is blocked, Symantec recommends that you calculate an MD5 hash of the file.
Note: When an update for a program is available and its executable modified, you need to create and add a new MD5 hash. Hashes are necessary for all versions of the executable that may be in use.
Generate an MD5 hash
Use one of the following methods to generate an MD5 hash:
(Recommended) Use the checksum.exe utility that is installed with Symantec Endpoint Protection on the client computer to create a file fingerprint list.
Submit a file to http://www.threatexpert.com - The generated report, which will be available online and emailed to you, contains the MD5 hash value.
Use Microsoft’s free File Checksum Integrity Verifier.
Use the Get-FileHash command from within Windows PowerShell.
Note: Some of these tools are 32-bit applications. Due to Windows file system redirection on 64-bit operating systems, some unexpected behavior can occur.
If an application such as notepad.exe is present in both of the following folders, each file has different hash values. Symantec recommends that you add both hash values to the policy.
C:WindowsSysWOW64
C:WindowsSystem32
Note: Some MD5 hash tools may provide hash values of files in the C:\Windows\SysWOW64\ folder, even though you request values for files in the C:\Windows\System32\ folder. Symantec’s checksum.exe tool (recommended) generates hash values for the exact file path requested.
Create a rule
In Symantec Endpoint Protection Manager (SEPM), click Policies.
Click Application and Device Control.
Create a new Application and Device Control policy, or use an existing policy.
Click your selected policy to edit it.
Click Application Control.
Click Add.
Next to Apply this rule to the following processes, click Add.
In the Process name to match field, type an asterisk (*).
Click OK.
Under Rules in the bottom left, click Add.
Click Add Condition.
Click Launch Process Attempts.
Next to Apply to the following processes, click Add.
In the lower right, click Options.
Select Match the file fingerprint.
Copy the MD5 hash into the field for the fingerprint.
Click OK.
Click the Actions tab.
Decide if you want to block the file when it runs, or log it.
Log: Choose "Continue processing other rules” and check "Enable logging.” There are 16 levels of logging, but "Critical - 0" is usually sufficient.
Block: Choose "Block Access.” You can enable logging under this option as well.
Notification: Check "Notify User" to notify the user by pop-up message that the software is unauthorized.
Click OK. Ensure that the new rule is enabled and is set for production (test only logs) when you are ready to use it.
Click OK.
Click Yes to assign the policy.
Check any client group to which the policy should apply.
Click OK.
![](https://static.wixstatic.com/media/a27d24_1cfffa9ee917419aa295bd09add8a5de~mv2.png/v1/fill/w_500,h_386,al_c,q_85,enc_auto/a27d24_1cfffa9ee917419aa295bd09add8a5de~mv2.png)
Application and Device Control
Administrators may create policies to block specific software using Application and Device Control (ADC) in SEP. ADC can block threats for which virus definitions are not yet available, and can be used to prevent the unwanted use of legitimate applications.
References:
https://support.symantec.com/en_US/article.TECH97618.html
Interesting...Thanks for sharing
Thanks! This article was very useful