MID Server SSH cryptographic algorithms
Summarize
Summary of MID Server SSH cryptographic algorithms
The MID Server uses SSH clients to perform various discovery actions by establishing secure connections through SSH handshakes. During this handshake, the client and server negotiate supported cryptographic algorithms and select the highest priority algorithm compatible with both parties. This process applies to key exchange, host key, cipher, and MAC algorithms, ensuring secure communication in discovery tasks.
Show less
Key Features
- Default Supported Algorithms: The MID Server supports a prioritized list of algorithms for key exchange (e.g., ecdh-sha2-nistp256, diffie-hellman-group14-sha256), host key (e.g., ssh-ed25519, rsa-sha2-512), cipher (e.g., aes128-ctr, aes256-cbc), and MAC (e.g., hmac-sha2-256, hmac-md5) operations.
- Algorithm Selection: The client selects the highest priority algorithm supported by both client and server for each category, matching the key type for host key algorithms.
- Customization of Algorithm Priorities: Customers can customize the SSH algorithm priorities through specific MID Server properties:
- Key Exchange:
mid.ssh.algorithms.kex - Host Key:
mid.ssh.algorithms.hostkey - Cipher:
mid.ssh.algorithms.cipher - MAC:
mid.ssh.algorithms.mac
- Key Exchange:
- Property Configuration: The properties accept comma-separated lists to define algorithm priority. Operators allow appending (+), removing (-), or prioritizing (^) algorithms relative to the default list.
- Glide Import Exception: Glide Import operations use default algorithms and are not affected by these MID Server properties as they run on the instance rather than the MID Server. SNCSSH is used for Glide Import SFTP and SCP instead.
Practical Implications for ServiceNow Customers
- You can tailor SSH cryptographic algorithm priorities on the MID Server to meet specific security requirements or compliance standards.
- Understanding and adjusting these settings enables stronger security during discovery and remote command executions that rely on SSH connections.
- Since Glide Import operates differently, ensure its SSH needs are managed separately from the MID Server settings.
- Familiarity with the operators (+, -, ^) allows fine control over algorithm lists without completely replacing defaults, facilitating incremental security improvements.
The MID Server utilizes SSH clients to perform many discovery actions. During the SSH handshake, both the client and server first determine which algorithms both parties support, then client picks the highest priority algorithm. For the Host Key Algorithm, the client picks highest priority algorithm which both parties support that matches the key type.
Default supported SSH algorithms by priority
- ecdh-sha2-nistp256
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group14-sha256
- diffie-hellman-group16-sha512
- diffie-hellman-group14-sha1
- diffie-hellman-group1-sha1
- diffie-hellman-group-exchange-sha1
- ssh-ed25519-cert-v01@openssh.com
- rsa-sha2-512-cert-v01@openssh.com
- rsa-sha2-256-cert-v01@openssh.com
- ssh-ed25519
- ecdsa-sha2-nistp256
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp521
- rsa-sha2-512
- rsa-sha2-256
- ssh-rsa-cert-v01@openssh.com
- ssh-rsa
- ssh-dss
- aes128-ctr
- aes192-ctr
- aes256-ctr
- aes128-cbc
- aes192-cbc
- aes256-cbc
- hmac-sha2-256
- hmac-sha1
- hmac-sha2-512
- hmac-sha1-96
- hmac-md5-96
- hmac-md5
Customize the SSH algorithms priority list
The MID Server SSH algorithm priorities can be customized based on security needs. Each algorithm is controlled by one of the following MID Server properties.
Key Exchange algorithms: mid.ssh.algorithms.kex
Host Key algorithms: mid.ssh.algorithms.host_key
Cipher algorithms: mid.ssh.algorithms.cipher
MAC algorithms: mid.ssh.algorithms.mac
- The + operator appends the comma separated list of algorithms to the default algorithm list.
- The - operator removes the comma separated list of algorithms from the default algorithm list.
- The ^ operator places the comma separated list of algorithms at the front of the default algorithm list.