Chat now with support
Chat with Support

One Identity Safeguard for Privileged Sessions 6.4.0 - Administration Guide

Preface Introduction The concepts of One Identity Safeguard for Privileged Sessions (SPS) The Welcome Wizard and the first login Basic settings
Supported web browsers and operating systems The structure of the web interface Network settings Configuring date and time System logging, SNMP and e-mail alerts Configuring system monitoring on SPS Data and configuration backups Archiving and cleanup Forwarding data to third-party systems Joining to One Identity Starling
User management and access control Managing One Identity Safeguard for Privileged Sessions (SPS)
Controlling One Identity Safeguard for Privileged Sessions (SPS): reboot, shutdown Managing Safeguard for Privileged Sessions (SPS) clusters Managing a High Availability One Identity Safeguard for Privileged Sessions (SPS) cluster Upgrading One Identity Safeguard for Privileged Sessions (SPS) Managing the One Identity Safeguard for Privileged Sessions (SPS) license Accessing the One Identity Safeguard for Privileged Sessions (SPS) console Sealed mode Out-of-band management of One Identity Safeguard for Privileged Sessions (SPS) Managing the certificates used on One Identity Safeguard for Privileged Sessions (SPS)
General connection settings HTTP-specific settings ICA-specific settings MSSQL-specific settings RDP-specific settings SSH-specific settings Telnet-specific settings VMware Horizon View connections VNC-specific settings Indexing audit trails Using the Search interface Advanced authentication and authorization techniques Reports The One Identity Safeguard for Privileged Sessions (SPS) RPC API The One Identity Safeguard for Privileged Sessions (SPS) REST API One Identity Safeguard for Privileged Sessions (SPS) scenarios Troubleshooting One Identity Safeguard for Privileged Sessions (SPS) Using SPS with SPP Configuring external devices Using SCP with agent-forwarding Security checklist for configuring One Identity Safeguard for Privileged Sessions (SPS) Jumplists for in-product help Configuring SPS to use an LDAP backend Glossary

Enabling TLS-encryption for MSSQL connections

The following steps describe how to enable TLS-encryption in a MSSQL connection policy. Note that when using encryption, One Identity Safeguard for Privileged Sessions (SPS) automatically changes the port number of the connection policy to 992.

Prerequisites

Depending on your requirements, one or more of the following might be needed:

  • An X.509 certificate and its private key. SPS can display the same certificate to the peers on both the client and the server side. You can also use different certificates for the client and server sides. Use your own PKI system to generate these certificates, as they cannot be created on SPS. Note that the Common Name of the certificate must contain the domain name or the IP address of SPS, otherwise the clients might reject the certificate.

  • To generate certificates on-the-fly for a connection, a signing certificate authority is required. For details on creating a signing CA, see Signing certificates on-the-fly.

  • To require the peers of SPS to have an X.509 certificate signed by a specific Certificate Authority, a list of the trusted certificate authorities is needed. For details on creating a trusted CA list, see Verifying certificates with Certificate Authorities.

One Identity recommends using 2048-bit RSA keys (or stronger).

To enable TLS-encryption in a MSSQL connection policy

  1. Navigate to MSSQL Control > Connections and select the connection policy in which you want to enable TLS.

    Figure 179: MSSQL Control > Connections — Enabling TLS-encryption for MSSQL connections

  2. Set the encryption settings in the Transport security settings section.

    • To require encryption, select TLS. When the connection is encrypted, SPS has to show a certificate to the peer.

  3. Select the certificate to show to the peers.

    • To use the same certificate for every peer, complete the following steps.

      1. Generate and sign a certificate for SPS in your PKI system, and export the certificate and its private key.

      2. Select Use the same certificate for each connection.

      3. Select Private key for host certificate, click and upload the private key.

      4. Select X.509 host certificate, click and upload the certificate.

    • To use a separate certificate for every connection, complete the following steps.

      1. Create a certificate authority that will be used to sign the certificates that SPS shows to the peer. For details, see Signing certificates on-the-fly.

      2. Select Generate certificate on-the-fly.

      3. In the Signing CA field, select the certificate authority to use.

  1. Select which certificatie validation method SPS should use in the Server certificate validation section.

    • To permit connections from peers without requesting a certificate, select No validation.

    • To permit connections only from peers with a valid certificate that was signed by a specific CA, complete the following steps.

      1. Create a list of trusted Certificate Authorities that will be used to validate the certificates of the peers. For details on creating a trusted CA list, see Verifying certificates with Certificate Authorities.

      2. Select Only accept certificates authenticated by the trusted CA list.

      3. Select the certificate authority list to use in the Trusted CA field.

  1. Click Commit.

    Expected result

    The encryption settings are applied to the connection policy.

RDP-specific settings

The following sections describe configuration settings available only for the RDP protocol. Use the following policies to control who, when, and how can access the RDP connection.

Using multiple monitors (Multimon) is supported. To enable Multimon, use one of the following three methods:

  • enable Display > Use all my monitors for the remote session option in the Remote Desktop Client (mstsc.exe) window of the client machine

  • use the /multimon switch on the mstsc.exe command line

  • add the use multimon:i:1 row to the RDP file

NOTE:

The Maximum display width and Maximum display height options should be high enough to cover the combined resolution of the client monitor setup. Connections that exceed these limits will automatically fail. Make sure to adjust these settings if your clients use multiple monitors. For example, if your clients use two monitors that have a resolution of 1920x1080 pixels each, set Maximum display width to 4000, and Maximum display height to 2200.

Limitations

The RDP connection fails due to the following Windows-side settings:

Supported RDP channel types

The available RDP channel types and their functionalities are described below. For details on configuring Channel Policies, see Creating and editing channel policies. For a list of supported client applications, see Supported protocols and client applications.

  • Drawing: Enables access to the server's graphical desktop (screen). This channel must be enabled for RDP to work.

    NOTE:

    In case the Drawing channel is disabled and the load of One Identity Safeguard for Privileged Sessions (SPS) is high, or the connection requires four-eyes authorization and the Authorizer is slow to accept the connection, the client might receive the following error message:

    The Remote Desktop Gateway server administrator has ended the connection.
    Try reconnecting later or contact your network administrator for assistance

  • Clipboard: Enables access to the server's clipboard: the clipboard of the remote desktop can be pasted into local applications (and vice-versa). Note that SPS can audit the clipboard channel, and that files transferred via the clipboard can be audited Configuring SPS to enable exporting files from audit trails after RDP file transfer via clipboard.

    If the Clipboard channel is enabled, it implicitly enables copying files as well, as the user can simply copy-paste the file. Copy-pasted files will not be visible in the logs or the File operations column of the Search page. To ensure that SPS records file transfer events, you must disable the Clipboard channel.

  • Redirects: Enables access to every device redirection available in RDP, like file-sharing, printer sharing, device (for example, CD-ROM) sharing, and so on.

    • To make the list of file operations available in the File operations column of the Search page, navigate to the Channel Policies page of the protocol, and enable the Log file transfers to database option. This option is disabled by default.

    • To send the file operations into the system log, enable the Log file transfers to syslog option. This option is disabled by default.

      NOTE:

      Turning logging on might result in a slight performance penalty. If traffic load slows processes down, disable the option.

    To enable only specific types of redirections, use the following channels:

    • Serial redirect: Enables access to serial-port redirections.

    • Parallel redirect: Enables access to parallel-port redirections.

    • Printer redirect: Enables access to shared printers.

      When enabling printer redirection, you may need to use TSVCTKT and XPSRD channels — these enable XPS printing.

      Note that these channels are dynamic virtual channels and you have to be enable them using the Custom channel type.

      For more information on TSVCTKT and XPSRD channels, see section 2.1 Transport in Microsoft Technical Document [MS-RDPEXPS].

      Before consulting the cited Microsoft Technical Document, it is recommended to start by reading [MS-RDSOD]: Remote Desktop Services Protocols Overview.

    • Disk redirect: Enables access to shared disk drives.

      • To make the list of file operations available in the File operations column of the Search page, navigate to the Channel Policies page of the protocol, and enable the Log file transfers to database option. This option is disabled by default.

      • To send the file operations into the system log, enable the Log file transfers to syslog option. This option is disabled by default.

        NOTE:

        Turning logging on might result in a slight performance penalty. If traffic load slows processes down, disable the option.

      If the Clipboard channel is enabled, it implicitly enables copying files as well, as the user can simply copy-paste the file. Copy-pasted files will not be visible in the logs or the File operations column of the Search page. To ensure that SPS records file transfer events, you must disable the Clipboard channel.

    • SCard redirect: Enables access to shared SCard devices.

    To permit only specific redirections, enter the unique name of the redirection into the Details field. For example, if you want to enable access only to the shared disk drive C:, enable the Disk redirect channel and enter C: into the Permitted devices field. Note that the name of the device comes from the device itself, so it is case sensitive, and may not always be reliable from a security point of view.

  • Sound: Enables access to the sound device of the server.

  • Custom: Applications can open custom channels to the clients connecting remotely to the server. Enabling the Custom channel allows the clients to access all of these custom channels. To permit only specific channels, enter the unique names of the channel into the Permitted devices field.

    For example, to monitor RemoteApp connections, you need to configure custom channels. For more information, see Configuring RemoteApps.

  • Seamless: Enables seamless channels that run a single application on the RDP server, instead of accessing the entire desktop.

  • Dynamic virtual channel: Enables the server to open channels back to the client dynamically. To restrict which dynamic channels are permitted, select Channel details, click and enter the name of the permitted channel.

    Additionally, you may need to use one or more of the following:

    Before consulting any of the listed Microsoft Technical Documents, it is recommended to start by reading [MS-RDSOD]: Remote Desktop Services Protocols Overview.

NOTE:

When the channel opens, there are certain cases when the remote group is not known yet. For example, in case of an RDP or ICA login screen, the drawing channel has to be opened first to properly display the logon screen. Only those channel rules will apply, where the Remote group field is empty. In case of network level authentication, all required information is present already so this limitation does not apply.

Creating and editing protocol-level RDP settings

RDP settings determine the parameters of the connection on the protocol level. For example, timeout value, the version of RDP permitted in the connection, and display parameters.

Figure 180: RDP Control > Settings — RDP settings

Caution:

Modifying the RDP settings is recommended only to advanced users. Do not modify these settings unless you exactly know what you are doing.

To create a new RDP settings profile or edit an existing one

  1. Navigate to RDP Control > Settings and click to create an RDP setting profile. Enter a name for the profile (for example, rdp5only).

  2. Click to display the parameters of the RDP connection.

  3. Modify the parameters as needed. The following parameters are available:

    • Idle timeout: Timeout value for the connection in seconds. To avoid early timeout, set it to a larger value, for example a week (604800 seconds).

      Caution:

      Determining if a connection is idle is based on the network traffic generated by the connection, not the activity of the user. For example, if an application or the taskbar of a graphical desktop displays the time which is updated every minute, it generates network traffic every minute, negating the effects of timeout values greater than one minute and preventing One Identity Safeguard for Privileged Sessions (SPS) from closing the connection.

      Caution:

      If the value is set below 31 seconds, MSTSC can fail and prevent new connections if Act as a Remote Desktop Gateway is enabled in RDP Control > Connections. To prevent this, set the Idle timeout value to at least 31 seconds.

    • Maximum display width: The maximum allowed width of the remote desktop in pixels (for example 1024).

      NOTE:

      The Maximum display width and Maximum display height options should be high enough to cover the combined resolution of the client monitor setup. Connections that exceed these limits will automatically fail. Make sure to adjust these settings if your clients use multiple monitors. For example, if your clients use two monitors that have a resolution of 1920x1080 pixels each, set Maximum display width to 4000, and Maximum display height to 2200.

    • Maximum display height: The maximum allowed height of the remote desktop in pixels (for example 768).

      NOTE:

      The Maximum display width and Maximum display height options should be high enough to cover the combined resolution of the client monitor setup. Connections that exceed these limits will automatically fail. Make sure to adjust these settings if your clients use multiple monitors. For example, if your clients use two monitors that have a resolution of 1920x1080 pixels each, set Maximum display width to 4000, and Maximum display height to 2200.

    • Maximum display depth: The maximum allowed color depth the remote desktop in bits (for example 24). The following values are valid: 8, 15, 16, 24.

      Caution:
      • Using 32-bit color depth is currently not supported: client connections requesting 32-bit color depth automatically revert to 24-bit.

      • Certain Windows versions do not support 24-bit color depth. In this case, those versions can only be displayed in 16-bit color depth. SPS automatically changes its settings to 16-bit.

    • Enable Network Level Authentication: Select this option to enable the use of Network Level Authentication (NLA, also called Credential Security Service Provider or CredSSP).

      Note the following points:

      • SSL-encrypted connections do not require this option, it is only needed for Network Level Authentication (NLA).

      • Smartcard authentication cannot be used when the Enable Network Level Authentication option is enabled.

      Caution:

      To access hosts running Windows 2008 Server R2 using Network Level Authentication (NLA), select the Enable RDP4 style authentication option as well.

    • Enable RDP4 style authentication: Select this option to enable RDP4 authentication within the RDP5 protocol. This might be needed for compatibility reasons with certain client applications.

    • Enable pre channel check: Select this option to evaluate the connection and channel policies before establishing the server-side connection. That way if the connection is not permitted at all, SPS does not establish the server-side connection.

    • Permit unreliable usernames: SPS automatically terminates RDP connections if it cannot reliably extract the username from the RDP connection. Enable this option to permit connections with unreliable usernames. For details on ensuring that the usernames in RDP connections are reliable, see Usernames in RDP connections.

      Known issue

      When accessing a Windows Server 2003 R2 host, the Permit unreliable usernames option is disabled, and the username is unreliable, SPS terminates the connection, but only after the user logs in. As a result, the session is not closed on the server-side.

    • Autologon domain suffix: Enter the suffix that the client will append to the domain when using autologon in conjunction with Network Level Authentication (CredSSP).

  4. To display a banner message to the clients before authentication, enter the message into the Banner field. For example, this banner can inform the users that the connection is audited. SPS displays this banner in a graphical window that has only an OK button. Note the following points:

    • You can write a plain-text or a basic HTML-formatted banner.

      Caution:

      If the banner is overly complex HTML using deeply embedded structures, displaying the banner will fail, causing the RDP connections to time out.

    • When using HTML markup, the entire banner must be a single HTML object (for example, a div).

      <div align="center"><b>Your session is recorded using Privileged Session Monitoring</b></div>
    • In HTML, you can embed images (for example, a company logo) as data URLs in an img tag:

      To include a logo or other image, use a base64-encoded data url within an, like this: <img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..." />.
    • Note that while you can include links in the text, your users cannot click or copy them.

  5. To configure TLS security settings on both the Client side and the Server side, proceed to TLS security settings.

    Figure 181: <Protocol> Control > Settings > TLS security settings - configuring TLS security settings

    • Cipher strength specifies the cipher string OpenSSL will use. The following settings options are possible:

      • Recommended: this setting only uses ciphers with adequate security level.

      • Custom: this setting allows you to specify the list of ciphers you want to permit SPS to use in the connection. This setting is only recommended in order to ensure compatibility with older systems. For more details on customizing this list, check the 'openssl-ciphers' manual page on your SPS appliance.

        For example: ALL:!aNULL:@STRENGTH

    • Minimum TLS version specifies the minimal TLS version SPS will offer during negotiation. The following settings options are possible:

      • TLS 1.2: this setting will only offer TLS version 1.2 during negotiation. This is the recommended setting.

      • TLS 1.1: this setting will offer TLS version 1.1 and later versions during negotiation.

      • TLS 1.0: this setting will offer TLS version 1.0 and later versions during negotiation.

    NOTE:

    Note that SPS only permits TLS-encrypted connections. SSLv3 is not supported.

    NOTE:

    TLS 1.1 and 1.2 support for Windows 7 Service Pack 1 (SP1) and for Windows Server 2008 R2 Service Pack 2 (SP2) is not available by default. For more information about the requirements and process of enabling this feature, click here or contact our Support Team.

  6. Click Commit.

  7. Select this settings profile in the RDP settings field of your connections.

Related Documents