What happens when we run PSM-RDP on the target machine?
Question
What happens when we run PSM-RDP on the target machine?
Environment
v9.2;9.3;9.5;9.6;9.7;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;14.2;14.5;14.6
Answer
When using PSM-RDP connection client, we have some files that are copied and executed on the target machine in order to have the features: WinAudit and KeystrokesLogger to work.
Regarding KeystrokesLogger feature - We run exe on the target machine only when there is a need to use multiple languages.
If these two features are turned off, there will be nothing that will be copied or executed to the target machine.
Both features use the:
-
CAInvokerService.exe
This executable is installed as a service on the target machine, in order to run other executabls on the target
(The other executables are described below, this is according to the wanted feature).
(This file is called PSMWinAgentInvoker.exe on the PSM machine)
It runs only during the time of an initialization of a new session.
-
Microsoft C Runtime Libraries
The library files msvcr120.dll and msvcp120.dll are also copied to the target.
-
WinAudit:
Runs the following executables on the target:
- PSMWinAgent.exe
It checks for new windows on the target and sends their titles to PSM.
-
KeystrokesLogger:
The following executables and dlls are used on the target:
- PSMKeystrokesLogger32.exe
- PSMKeystrokesLogger64.exe
- PSMKeystrokesLogger32.dll
- PSMKeystrokesLogger64.dll
Those executables gets all keys that are pressed on the target and sends them to PSM.
-
Everything that is done on the target uses the account's credential (The administrator user that logs on the target machine).
-
We leave zero footprint by the end of the session - Nothing will be running if there is no open session.
-
Moreover, the customer doesn't have to install an agent on each of the target machines because this is done by PSM when each session begins.
Note:
The user on the target machine must belong to the Administrators group on that machine
----
The Admin$ share is disabled by PVWA hardening (PVWA_IIS_Regitry_Shares.psm1), and having it enabled is not in line with our security best practices.
Admin$ share is required on PSM Windows targets so PSM can copy the audits over.
To enable auditing, "PSMWinAgent.exe" should be copied and executed on target's machine. For this to happen, there are some prerequisites:
* A share called "admin" must be available on the target server.
* Make sure the “SERVER” Windows service is running.
* In the firewall, open TCP port 445.
* The account used to access the target machine must belong to the Administrators Group
Additional Information
Details
Q:
What happens when we run PSM-RDP on the target machine?
A:
When using PSM-RDP connection client, we have some files that are copied and executed on the target machine in order to have the features: WinAudit and KeystrokesLogger to work.
Regarding KeystrokesLogger feature - We run exe on the target machine only when there is a need to use multiple languages.
If these two features are turned off, there will be nothing that will be copied or executed to the target machine.
Both features uses the:
-
CAInvokerService.exe
This executable is installed as a service on the target machine, in order to run other executabls on the target
(The other executables are described below, this is according to the wanted feature).
It runs only during the time of an initialization of a new session.
-
WinAudit:
Runs the following executables on the target:
- PSMWinAgent.exe
It checks for new windows on the target and sends their titles to PSM.
-
KeystrokesLogger:
The following executables and dlls are used on the target:
- PSMKeystrokesLogger32.exe
- PSMKeystrokesLogger64.exe
- PSMKeystrokesLogger32.dll
- PSMKeystrokesLogger64.dll
Those executables gets all keys that are pressed on the target and sends them to PSM.
-
Everything that is done on the target uses the account's credential (The administrator user that logs on the target machine).
-
We leave zero footprint by the end of the session - Nothing will be running if there is no open session.
-
Moreover, the customer doesn't have to install an agent on each of the target machines because this is done by PSM when each session begins.
Note:
The user on the target machine must belong to the Administrators group on that machine