Add a custom DLL in the PSMConfigureAppLocker file

Add a custom DLL in the PSMConfigureAppLocker file

87
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:09 PM


Objective


Some applications required to use custom DLLs that are blocked by the AppLocker.

To add a custom DLL, like the ORACLE\INSTANTCLIENT\OCI.DLL to be allowed by AppLocker, you need to add the Path into the PSMConfigureAppLocker.xml file stored in the PSM\Hardening folder.
 


Environment


14.0 Privileged Access Manager (PAM, self-hosted) Privileged Session Management (PSM)

Procedure


1. Go to the <InstallDrive>:\Program Files (x86)\CyberArk\PSM\Hardening folder
2. Edit the PSMConfigureAppLocker.xml
Search in the in the AppLocker Config file for the following line:
<!-- Allowed DLLs -->

This line is added at the beginning and at the end of the script .
Add the following line, replacing the values in <>.
<Libraries Name="<Name>" Type="Dll" Path="<Path where the Dll is located>\*" Method="Path" SessionType="*" />

For example, if you need to add the  ORACLE\INSTANTCLIENT\OCI.DLL file, enter:
<Libraries Name="INSTANTCLIENT" Type="Dll" Path="C:\ORACLE\INSTANTCLIENT\*" Method="Path" SessionType="*" />

Run the PSMConfigureAppLocker.ps1 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001XV5CAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail