For an emergency situation where false positive mitigation is required with the AMSI (Antimalware Scan Interface) and/or command-line scanning features, you need steps to disable these features.
SEP 14.3
Caution: Before you begin, you should make a backup of the Windows Registry. See the Microsoft article Back up the registry.
Note: You must disable the Tamper Protection feature before you follow this process. If you do not disable Tamper Protection, it will block the required registry key modifications. To disable Tamper Protection, see the following article: Disable Tamper Protection.
Open Regedit and navigate to the following Windows registry key:
- On 32-bit computers:
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\Storages\Filesystem\RealTimeScan
- On 64-bit computers (14.3 RU4 or earlier clients):
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Symantec\Symantec Endpoint Protection\AV\Storages\Filesystem\RealTimeScan
- On 64-bit computers (14.3 RU5 or later clients):
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\Storages\Filesystem\RealTimeScan
Open Regedit and navigate to the following Windows registry key:
- On 32-bit computers:
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\Storages\Filesystem\RealTimeScan
- On 64-bit computers (14.3 RU4 or earlier clients):
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Symantec\Symantec Endpoint Protection\AV\Storages\Filesystem\RealTimeScan
- On 64-bit computers (14.3 RU5 or later clients):
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\Storages\Filesystem\RealTimeScan
You may use the following commands to test SEP AMSI and command line scan components:
powershell -command "& {write-output 'Am I evil? Yes I am!!'}"
Will be detected only if registry value AMSIEnabled = 1 or is absent
cmd/C ECHO Am I evil? Yes I am!!
Will be detected only if reg value CommandLineScanEnabled = 1 or is absent
AMSI tests are going to be vendor-specific; e.g. the powershell test above will trigger SEP AMSI but won't trigger Windows Defender. And a Microsoft test from https://docs.microsoft.com/en-us/windows/win32/amsi/how-amsi-helps will trigger Windows Defender, but not SEP:
powershell "Invoke-Expression (Invoke-WebRequest http://pastebin.com/raw.php?i=JHhnFV8m)"