Hiding Passwords during Recordings PSM and PSMP ssh recorded session

Hiding Passwords during Recordings PSM and PSMP ssh recorded session

171
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 13:01 PM


Symptom


When connecting via PSMP to a target machine and typing a user password for any reasons.
The password is added to the SSH recording file in a clear text.


Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;PSMP;Privileged Session Management (PSM) PSM and PSMP

Cause


It’s not secure when users can see the users passwords in clear text at the Keystroke Audit files.
 


Resolution


To hide passwords from the recordings, you need to add this capability on the platform:
 
To Hide Passwords during Recordings
1. Click ADMINISTRATION to display the System Configuration page, then click Platform Management to display a list of supported target account platforms.
2. Select the platform to configure, then click Edit; the settings page for the selected platform appears.
3. Expand UI & Workflows, then right-click Privileged Session Management: a pop-up menu displays the parameter sets that you can add and customize to manage your PSM recordings.
4. From the pop-up menu, select Internal Capability Settings; a new set of parameters called Internal Capability Settings is added.
5. Right-click Internal Capability Settings, then from the pop-up menu, select Add SSH Password Hiding; a new capability parameter is added.
6. Select SSH Password Hiding, then specify the following properties:
- Enabled – Determines whether or not passwords will be recorded during PSMP sessions. The default value is Yes, indicating that this feature is enabled and passwords will not be recorded.
- PasswordPrompts – This is a regular expression that is used to identify password prompts. When the system finds a match to this regular expression, it omits the password from the PSM session recording.
- InvalidPasswordChars – Defines characters that cannot be included in passwords. When the user specifies one of these characters, the PSM resumes auditing and recording each keystroke. The default values are spaces and tabs.
7. Click Apply to save the new parameter values and stay in the PVWA Options page, or, Click OK to save them and return to the System Configuration page. The changes will be applied after the period of time specified in the ConfigurationRefreshInterval parameter

Note: Id the password contain spaces you should set a space character in the InvalidPasswordChars above as if not when you will type the password after the space part will also in a clear text. 
==
Note:
This configuration affects both PSM and PSMP, with the following
connection components: PSM-SSH, PSM-Telnet, PSMP-SSH.
==

For more information, please see the "Hiding Passwords during Recordings" section from our documentation.
For PSM: LINK
For PSMP: LINK


Additional Information


Details

SYMPTOM:

When connecting via PSMP to a target machine and typing a user password for any reasons.

The password is added to the SSH recording file in a clear text.

 

PROBLEM:

It’s not secure users can see the users passwords in clear text at the Keystroke Audit files.

 

SOLUTION:

To hide passwords from the recordings, you need to add this capability on the platform:

 

To Hide Passwords during Recordings

1. Click ADMINISTRATION to display the System Configuration page, then click Platform Management to display a list of supported target account platforms.

2. Select the platform to configure, then click Edit; the settings page for the selected platform appears.

3. Expand UI & Workflows, then right-click Privileged Session Management: a pop-up menu displays the parameter sets that you can add and customize to manage your PSM recordings.

4. From the pop-up menu, select Internal Capability Settings; a new set of parameters called Internal Capability Settings is added.

5. Right-click Internal Capability Settings, then from the pop-up menu, select Add SSH Password Hiding; a new capability parameter is added.

6. Select SSH Password Hiding, then specify the following properties:

 Enabled – Determines whether or not passwords will be recorded during PSMP sessions. The default value is Yes, indicating that this feature is enabled and passwords will not be recorded.

 PasswordPrompts – This is a regular expression that is used to identify password prompts. When the system finds a match to this regular expression, it omits the password from the PSM session recording.

 InvalidPasswordChars – Defines characters that cannot be included in passwords. When the user specifies one of these characters, the PSM resumes auditing and recording each keystroke. The default values are spaces and tabs.

7. Click Apply to save the new parameter values and stay in the Web Access Options page, or, Click OK to save them and return to the System Configuration page. The changes will be applied after the period of time specified in the ConfigurationRefreshInterval parameter

 

Note: Id the password contain spaces you should set a space character in the InvalidPasswordChars above as if not when you will type the password after the space part will also in a clear text. 

 

Note:
This configuration affects both PSM and PSMP, with the following
connection components: PSM-SSH, PSM-Telnet, PSMP-SSH.

 

For more information, please see the "Hiding Passwords during Recordings" section on the implementation guide.




Actions
  • Print
  • Copy Link

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