Disabling Keystroke Logging
Overview
This article describes how to disable keystroke logging (keylogging) and SSH session screen recordings in Netwrix Privilege Secure for Access Management, and how to delete existing recordings for a specified time window.
Instructions
Disabling Keystroke Logging and SSH Recordings
IMPORTANT: The following steps disable all screen recordings of SSH activity.
-
Locate the
sbpam_iolog.jsonfile in theC:\ProgramData\Stealthbits\PAM\ProxyServicedirectory. If no such file exists in the directory, create it and name itsbpam_iolog.json. -
Edit the file to include the following lines (add the lines to the new file if you created it):
{"idletimeout" : 300000000000,"path" : "C:\ProgramData\Stealthbits\PAM\ProxyService\iolog","replicas" : 1,"disableMetadata" : true} -
Save the changes. This disables all metadata recording, keylogging, and capture of all SSH session recordings.
IMPORTANT: This does not affect the previous records.
Deleting Recordings from a Specific Time Window
-
Locate the iolog directory. The default path is
C:\ProgramData\Stealthbits\PAM\ProxyService\iolog. -
Sort the contents by date and delete the folders matching the time window you want to delete.
-
Locate the sbpam_metadata database in the
C:\ProgramData\Stealthbits\PAM\ProxyService\iolog\.metadirectory and delete it. -
Run the following PostgreSQL query to delete references for recordings:
delete from proxy_session where start_datetime_utc <= '2023-10-31 13:54:22.315271';