MID Server SSH cryptographic algorithms
Summarize
Summary of MID Server SSH cryptographic algorithms
The MID Server uses SSH clients to execute various discovery actions, establishing secure connections through an SSH handshake. During this handshake, the client and server negotiate supported cryptographic algorithms and select the highest priority algorithm compatible with both parties. This process ensures secure authentication and data exchange.
Show less
Key Features
- Default SSH Algorithm Priorities: The MID Server supports multiple algorithms across four categories prioritized by default:
- Key Exchange Algorithms: Includes ecdh-sha2 variants, diffie-hellman groups with SHA variants, and others.
- Host Key Algorithms: Used for public key signatures during authentication, including ssh-ed25519, rsa-sha2 variants, ecdsa, ssh-rsa, and ssh-dss.
- Cipher Algorithms: Covers aes128-ctr, aes192-ctr, aes256-ctr, and CBC modes.
- MAC Algorithms: Includes hmac-sha2-256, hmac-sha1, hmac-sha2-512, and others.
- Customization of Algorithm Priorities: Customers can tailor the MID Server’s SSH algorithm priorities to meet specific security requirements using dedicated MID Server properties:
- mid.ssh.algorithms.kex (Key Exchange)
- mid.ssh.algorithms.hostkey (Host Key)
- mid.ssh.algorithms.cipher (Cipher)
- mid.ssh.algorithms.mac (MAC)
- Important Note: Glide Import operations on the instance use default algorithm lists and are not affected by these MID Server properties, as they run on the instance rather than the MID Server. Instead, SNCSSH handles SFTP and SCP for Glide Import.
Practical Implications
- By understanding and customizing SSH algorithms, ServiceNow customers can enhance the security posture of their MID Servers according to organizational policies or compliance requirements.
- Proper configuration ensures compatibility with SSH servers and avoids handshake failures due to unsupported algorithms.
- This capability supports integration scenarios requiring strong cryptographic standards and can aid in meeting security audits or governance mandates.
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.