For environments where PSM's RDP proxy is used (using an RDP client to connect through the PSM), the connecting accounts will normally need RDP access to the PSM server. This leaves the PSM open and allows users the ability to bypass PSM session monitoring by opening another RDP window from the PSM server. To help lock down the PSM to users but leave PSM connections open through RDP proxy, AppLocker may be used.
Steps
- On the PSM server, open gpedit.msc and go to "Computer Configuration > Windows Settings > Security Settings > Application Control Policies > AppLocker > Executable Rules".
- Right-click on "Executable Rules" and select "Create New Rule".
- Select Deny as the action. Under "User or Group" select the target user or group that will be restricted.
- For the type of condition, select Path.
- Set the path to "*".
- Under Exceptions, add a new exception for PSMInitSession.exe (by default, under "C:\Program Files (x86)\CyberArk\PSM\Components"). Set the rule scope to any level needed (note: if file version is selected, this must be updated every time the PSM is upgraded).
- Lastly, set the name of the rule and click Create. The user will now be able to connect through the PSM for monitored sessions, but will be presented with a blank screen if they attempt to access the PSM server directly.