EPM Performance problems with Digital Guardian or Bit Defender and EPM's "Anti-Tampering Protection" setting
203
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:01 PM
Symptom
After installing EPM Agent Version 23.3.x.x on an endpoint with either Digital Guardian or Bit Defender, the endpoint user may experience one or more of these symptoms:
- Explorer.exe takes a long time to open (30-60 seconds or perhaps longer)
- Chrome or Edge web browsers may show a file download progress as incomplete when the file appears in the user's downloads folder. When going into the properties of the file you downloaded, the EPM tab may be unresponsive. The web browser progress indicator may eventually show the file download has been completed but this could take a more extended time (15 minutes or much longer)
- Cmd.exe may take a long time to open
This is an example of what the EPM vf_agent_srv.trace.x log entry will look like:
- 2023.04.10 12:17:00 PID:4568 TID:4572 CvfCustCmdClientValidator::Validate: ERROR: Unknown module. contentId=35, clientPid=12424 clientPath=[C:\Windows\explorer.exe], clientUser Name=[DOMAIN\USER] SID=[S-1-12-1-1234567890-1234567890-1234567890-1234567890].
- 2023.04.10 12:19:54 PID:4568 TID:4572 CvfCustCmdClientValidator::Validate: ERROR: Stack frames count 8
- 00 00007FF861BE4CF4 00007FF861B40000 C:\Windows\SYSTEM32
tdll.dll
01 00007FF8619E2DB2 00007FF8619C0000 C:\Windows\System32\RPCRT4.dll
02 00007FF8619DFE4B 00007FF8619C0000 C:\Windows\System32\RPCRT4.dll
03 00007FF861A12816 00007FF8619C0000 C:\Windows\System32\RPCRT4.dll
04 00007FF8619C188C 00007FF8619C0000 C:\Windows\System32\RPCRT4.dll
05 00007FF8619C1D3F 00007FF8619C0000 C:\Windows\System32\RPCRT4.dll
06 00007FF86144A874 00007FF861430000 C:\Windows\System32\sechost.dll
IF YOU DON'T SEE A CvfCustCmdClientValidator ENTRY LIKE IN THE ABOVE EXAMPLE, THEN THIS CASE DOES NOT APPLY TO YOUR SITUATION.
Environment
23.3 EPM Windows Agent EPM SaaS 23.3.x.x
Digital Guardian or Bit Defender Installed
Cause
This is caused because Digital Guardian or Bit Defender are attempting to inject their dll files into a process stack like explorer.exe, and EPM's "Anti-Tampering Protection" setting is having a problem with this.
EPM's Anti-Tampering Protection settings are as follows:
- Strong: A process call stack may only contain Windows dlls. EPM does not allow third party dlls to be injected. This is the default setting.
- Moderate: A process call stack may contain a dll signed by any publisher.
- Off: Disables anti-tampering protection.
- https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/23.3.0/en/Content/EPM/Server%20User%20Guide/AgentConfiguration.htm
Resolution
- Upgrade to the latest Windows Agent v23.10 or above
- On the Agent Configuration page
- Change the 'Anti-tampering protection' to 'Minimal':
- Add exclusions under the 'Exclude files from policies (Windows)':
For example, if you're using 'Digital Guardian', then you should exclude DGApi64.DLL
- Change the 'Anti-tampering protection' to 'Minimal':
Note: The path of the file to be excluded "DgApi64.dll" is in c:\windows\system32 and not in the DigitalGuard installation path.