Configuring Appliance security
Manage inbound SSH access rules
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter A-A-2 (Appliance Configuration > Security > Manage SSH).
- From this menu, you can add or delete rules that restrict SSH access to hosts from specified subnets only.
- Enter A and follow the prompts to add a new rule.
- Enter the line number of an existing rule and follow the prompts to delete the rule.
Configure SSH banner text
You can add custom SSH banner text to TanOS.
View SSH fingerprints
Manage inbound HTTPS access rules
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter A-A-6 (Appliance Configuration > Security > Manage HTTPS).
- From this menu, you can add or delete rules that restrict HTTPS access to hosts from specified subnets only.
- Enter A and follow the prompts to add a new rule.
- Enter the line number of an existing rule and follow the prompts to delete the rule.
Configure LDAPS or StartTLS
If you have requirements to use the LDAPS or StartTLS protocol for the LDAP sync connection to the back-end LDAP server, you must import the LDAP server root certificate authority (CA) certificate and then enable the LDAPS/StartTLS configuration. You can import multiple root CA certificates if necessary. The certificates must be in PEM format. On the Appliance, you have the option to paste the contents of the LDAP server root CA certificate or import the file. You do not have to do both.
-
The LDAP server root CA certificate must be able to validate the LDAP server certificate. The subject field of the LDAP server certificate must match the host field in the LDAP configuration.
-
Secure certificates for Server and Client systems are required. The certificates have a minimum bit size of 2048 for RSA and 256 for ECDSA. To check key sizes, use OpenSSL from a CLI. If your Tanium license includes Tanium Certificate Manager, see View short keys for the steps to check the key sizes in your environment.
Paste the LDAP server root CA contents
-
Sign in to the TanOS console as a user with the tanadmin role.
-
Enter A-A-A (Appliance Configuration > Security > LDAP CA Certificate Management).
-
Enter 1 and follow the prompts to paste the contents of the LDAP server root CA certificate file.
CODE>>> Appliance Configuration -> LDAP Sync CA Cert Mgmt -> Create Certificate <<< Please paste the certificate text (Empty line to end): -----BEGIN CERTIFICATE----- MIIC+TCCAeGgAwIBAgIgT6zZwxXi3vGl+DFiachhuiDEc/Rak9ECxUEhRcHZx8ww DQYJKoZIhvcNAQELBQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MB4XDTA5MTIwNDA4 MTY1NVoXDTI5MTIwNDA0NDA1NVowFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjAN BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2xC69YszWNu1p4pdyC1rWGtiqEWg X+s1Hykq23bDzA56CqbsM3FO+HkDSty6HLCDZttDOJ4EG+DvVjOGSdyTPDF/O2B1 Ztc1hxr/YSGu/4zm/SEgrHpw4iU4+fEcyK8LXlS19o36mZ1J/jy7LU4JFe6MLcIQ c6Stq1FbUJl7M7qO6NwIAaWnjX0gw3jpCtYHPqwGw9K0Sg0a5Rrsbam64srrm2Yl q9P7lMtJqTpwmglg8CxJ6QEPEyzprF6VNaNnT6KUlNhc634KChGXw5otwsU4lfvW 2Yti1C8ofG96fGwFr189KqjWTCXI/K7eCDi/9AYnmFgvJbuUdUF9fVS/oQIDAQAB ozcwNTAdBgNVHQ4EFgQU9P/VO7ipszDcUQaWdE3RmH0w/gwwFAYDVR0RBA0wC4IJ bG9jYWxob3N0MA0GCSqGSIb3DQEBCwUAA4IBAQAb0TK8LhdsdWbaPIQFI2K2QgKt OvBuf4j1Mbm0rT1hyOyvpP0Bl429gr7AwDlnSZgBQzjIVjtUpgLlTlarZmAnaaLz /EBY4cq9PGPXeLEiFGNh6/LQfGt5Gx7y/hpv+xutPS2uo2IBhidlePNuLoAX3tY4 B4vW1LFcD2mkPXvZHeZ4vrmpls1nxLo+wP7pgvLxL6GqYi6hZVAuHrKmsvsT0E09 3JDYgvGm5drX+Y3hsmMn7IaG4e/53qm7TiVjFGAFVwd+3K6apdMUabVaz5oQ161I tgcXvdk4RvVOdFL/ZSC+PsPyhZrwyXFQF9C494P7utu4Lnqc/Ke5buWeHTz5 -----END CERTIFICATE----- Validating input Please enter a short name for this certificate: ldaps_ca Installing certificate Finished adding LDAPS certificate You will need to restart the Tanium Server service for this change to take effect. Do you wish to restart the service now? [Yes|No]: -
Restart the Tanium Server service. For more information, see Start, stop, and restart Tanium services on Tanium Appliances.
Import the LDAP server root CA certificate files
- Use SFTP to copy the file to the /incoming directory of the Tanium Server Appliance.
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter A-A-A (Appliance Configuration > Security > LDAP CA Certificate Management).
- Enter 2 and follow the prompts to import the LDAP server root CA certificate file.
- For the file ID, enter a short, unique string that you can use to reference the certificate.
- Restart the Tanium Server service. For more information, see Start, stop, and restart Tanium services on Tanium Appliances.
Enable/Disable the LDAPS or StartTLS configuration
You can toggle the LDAPS or StartTLS configuration on and off. When disabled, the connection is unencrypted LDAP.
-
Sign in to the TanOS console as a user with the tanadmin role.
-
Enter A-A-A (Appliance Configuration > Security > LDAP CA Certificate Management).
-
Enter 3 to enable or disable the LDAPS configuration.
Enable/Disable TLS certificate validation
If necessary during troubleshooting, you can disable TLS certificate validation to help you determine if there is a problem with the certificate. After troubleshooting, re-enable certificate validation.
-
Sign in to the TanOS console as a user with the tanadmin role.
-
Enter A-A-A (Appliance Configuration > Security > LDAP CA Certificate Management).
-
Enter 4 and then E to enable or D to disable TLS certificate validation for connections with the LDAP server, and follow the prompt to restart the Tanium Server service.
CODE------------------------------------------------------ >>> Appliance Configuration -> LDAP Sync CA Cert Mgmt -> Validation <<< Ignore certificate validity when using LDAPS or StartTLS. Certificate Validation: Enabled E: Enable Certificate Validation D: Disable Certificate Validation R: Return to previous menu RR: Return to top Please select: D You will need to restart the Tanium Server service for this change to take effect. Do you wish to restart the service now? [Yes|No]: Yes Press enter to continue
View and manage LDAPS certificates
Copy the LDAPS configuration and certificates to another Tanium Server in a Cluster
- Sign in to a Tanium Server Appliance as a user with the tanadmin role.
- Enter A-A-A (Appliance Configuration > Security > LDAP CA Certificate Management).
- Enter S to go to the Sync Configuration to Peer TS screen, and follow the prompts to copy the configuration to the other Tanium Server Appliance.
The LDAPS configuration and certificates are copied automatically when you add a new Tanium Server to the Array.
To copy only an individual certificate, follow the steps in View and manage LDAPS certificates.
Configure security policy rules
The TanOS user access security policy has the following factory settings.
|
Setting |
Factory default |
Description |
|---|---|---|
|
Password Lifetime |
Minimum: 0 days Maximum: 36500 days |
The minimum sets the minimum number of days between password changes. A value of 0 indicates the password can be changed at any time. The maximum sets the age at which a current password expires. A value of 36500 (the default) effectively disables password expiration. |
|
Password History |
4 most recent |
The number of most recent passwords to disallow reuse. A setting of 0 allows reuse of any previous passwords. This setting does not apply to the tanadmin account. |
|
Password Minimum Length |
10 characters |
The minimum number of characters allowed in a password. Valid range is 6–32 characters. |
|
Password Minimum Characters Changed |
0 (disabled) |
The minimum number of characters in the new password that must not be present in the previous password. 5 is a common practice. STIG requires a minimum of 8. A setting of 0 allows reuse of any character. This setting does not apply to the tanadmin account. |
|
Login Failure Delay |
0 seconds |
The time, in seconds, between a failed sign in attempt and the next time the prompt is returned to prompt the user for the password. |
|
Expired Passwords Effect |
Force Password Change |
Determine the effect on a user account when a password expires. Two options:
|
|
Account Lockout Time |
900 seconds after 3 failures |
The number of seconds to lock an account after three consecutive unsuccessful sign in attempts. Valid range is 0-604800 seconds. |
|
Maximum Concurrent Logins |
10 |
The number of concurrent sign in sessions for a user account. Valid range is 2–1000. |
To modify security policy settings:
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter A-A-P (Appliance Configuration > Security > Appliance Configuration Security Policy).
- Use the menu to view and edit password, sign in, and lockout rules.
Enable FIPS 140-3 mode
Enabling FIPS mode causes the Appliance to use a FIPS-validated cryptographic module for all cryptographic operations. It also ensures that services like SSH use only cryptographic algorithms that FIPS 140-3 allows.
-
Enable FIPS mode only if you are required to do so for your organization.
-
If FIPS mode is required for your organization, enable it before initial setup so that the password and keys that you configure during setup are FIPS-compliant. For more information, see one of the following sections:
-
To use FIPS mode on a virtual Tanium Appliance, the VM on which the Appliance is installed must use a CPU type that supports the RDSEED instruction.
-
Changing the FIPS mode affects the available ciphers and keys used while connecting to the Appliance over SSH. After you change the FIPS mode, the Appliance reboots immediately, and you might not be able to use SSH to access the TanOS console until you regenerate SSH keys. Before you change the FIPS mode, make sure you can access the Appliance another way, such as through iDRAC or the VM console.
Use AIDE reporting
Advanced Intrusion Detection Environment (AIDE) is a host-based intrusion detection system (HIDS) for checking the integrity of files. The AIDE solution runs an initialization scan over a set of files and directories in the system and generates a reference snapshot of the environment state. Subsequent scans can be run, and the differences between initial and current scans are reported as differences to be investigated.
The set of files and directories over which the scans are run can be customized in a configuration file. If needed, contact Tanium Support for assistance.
-
Before you perform an upgrade or installation, run an AIDE check report.
-
Then perform the upgrade or installation.
-
After the upgrade or installation, run AIDE initialization to reset the AIDE reference. A fresh AIDE report is run automatically at the end of the initialization process.
Enable AIDE
Run an AIDE check report
Disable the weekly AIDE check report
Enable the weekly AIDE check report
Export the weekly AIDE check report
Toggle SELinux mode
Security-Enhanced Linux (SELinux) is a set of kernel modifications and user-space tools that make a Linux-based OS more secure.
By default, the SELinux setting is set to enforcing.
- Sign in to the TanOS console as a user with the tanadmin role.
- Enter A-A-X (Appliance Configuration > Security > Advanced Security).
- Enter 4 to toggle the SELinux setting—permissive or enforcing. A reboot is not required.
Set menu timeout
The menu timeout is the amount of time that the TanOS menu system waits for user input. Enable this feature to cancel user sessions after a period of inactivity. The timeout applies to SSH sessions, but not to Tanium Console sessions. This setting takes effect when a user signs in to the Appliance. By default, menus do not time out.
Manage the RAID controller security key
Export the RAID controller security key (physical Tanium Appliance only)
The RAID controller security key is used by the controller to lock and unlock access to encryption-capable physical disks. You can export the key and store it in a safe location. During recovery from controller failure, you will need to provide the key. When you run a Health Check, you might see messages alerting you to export the RAID controller security key.
Boot Check: Pass (EFI Boot)
Active partition: pass (VolGroup1-root)
>>> Hardware health (will take 1-12 seconds) <<<
hardware type: pass (TV-220)
RAID controller RAID.Integrated.1-1 Security Key: pass
disk encryption: pass
>>> RAID Controller Security Key <<<
RAID Security key check: fail (key has NOT been exported) <--------
>>> Tanium Application file Permissions <<<
executed checks: 48
failed checks: 4
new health status setting: warning
Change the RAID controller security key (physical Tanium Appliance only)
You can change the RAID controller key in the event of a failure, but you need to have the existing key decrypted to do so.
Before you begin
The passphrase that is associated with the existing key must be decrypted by Tanium. Contact Tanium Support for assistance.
Change the key with the decrypted previous key
Manage the GRUB key (physical Tanium Appliance or virtual Tanium Appliance only)
Export the GRUB key
Change the GRUB key password
If necessary, you can regenerate the GRUB key and password.