Does Idira use some mechanism to clear the NTLM cache on the PSM?
Objective
**Clearing NTLM Cache on Idira PSM Servers**
Environment
12.2;12.6;13.0;13.2;13.1;14.0;14.2;14.3 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
Procedure
Idira does not natively provide a mechanism to clear the NTLM cache. Typically, the simplest way to clear this cache is by restarting the server, which will remove all cached credentials.
Alternatively, you can clear cached credentials using the command prompt. To do this:
1. Open Command Prompt with administrator privileges.
2. Run the following command to clear the cached credentials:
```
klist purge
```
It’s important to follow your organization’s guidelines when managing cached credentials.
### Security Consideration: Can an Intruder Access NTLM Hashes?
If the PSM server is compromised, could an intruder obtain NTLM hashes of the accounts logged into PSM and use them to access target servers?
The PSM server relies on the operating system's configuration for authentication.
- **Domain Users**: When a domain user (e.g., PSMConnect or the target user) logs in, PSM primarily uses **Kerberos**. If Kerberos authentication fails, the system falls back to **NTLM**.
- **Shadow Users**: PSMShadow users are local users, so Kerberos cannot be used for them. However, shadow users are temporary and can be deleted after a defined period.
By default, Kerberos is preferred, but the fallback to NTLM ensures continued functionality if domain authentication methods encounter issues. Always be cautious when handling credentials and ensure proper security measures are in place.