Completing the initial setup (cloud-based Tanium Appliance)

To begin deployment of Tanium Appliances, deploy images to your cloud provider, and then configure basic network, host, and user settings.

Requirements

Table 1. Requirements for cloud-based Tanium Appliance deployment

Cloud provider

  • AWS (x86-64 processors)

  • AWS GovCloud

  • Google Cloud Platform (GCP)

  • IBM Cloud

  • Microsoft Azure1

  • Microsoft Azure Government1

1 Tanium Appliances are not supported on Microsoft Azure virtual machines that require Accelerated Networking, such as Dv5-, Dsv5-, Ddv5-, Ddsv5-, Dlsv5-, and Dldsv5-series virtual machines.

Set up the environment for the Appliance

Configure your environment to host cloud-based Tanium Appliances.

Deploy Tanium Server and Tanium Module Server Appliances into your private subnets and the Tanium Zone Server Appliances into public subnets.

Note: For better resiliency in a cloud-based environment, separate Tanium Server, Tanium Module Server, and Tanium Zone Server Appliances between two zones so that each zone contains each Appliance type.

Deploy the virtual image to the cloud provider

Contact Tanium Support to obtain a Tanium Appliance image file for use in a customer cloud. When you configure the image with your cloud provider, you must specify an encryption key pair to initially connect to the image. You can use an existing key pair or generate a new key pair.

aws_key_pair

Considerations for specific cloud providers

Microsoft Azure

For a Microsoft Azure deployment, you must change the initial user name from azureuser to tanadmin before you deploy the image.

Important:

Tanium Appliances do not support the Accelerated Networking feature in Microsoft Azure. You must disable Accelerated Networking on the network interfaces that are connected to Tanium Appliances.

For this reason, Tanium Appliances are also not supported on Microsoft Azure virtual machines that require Accelerated Networking, such as Dv5-, Dsv5-, Ddv5-, Ddsv5-, Dlsv5-, and Dldsv5-series virtual machines.

Google Cloud Platform or IBM Cloud

Use the following steps to prepare the virtual image:

  1. Create a cloud storage bucket with appropriate security, and upload the TanOS artifact file (tar.gz for Google Cloud Platform or qcow2 for IBM Cloud) to the bucket.
  2. Create an image from the artifact file in cloud storage.
  3. Create a VM for each TanOS Appliance using the image that you created.
    Note: The default boot disk size is inadequate for a production Tanium Appliance. At least 500GB of storage is recommended. Increase the size of the boot disk when you create the VM (Google Cloud Platform), or add a new disk to the VM (Google Cloud Platform or IBM Cloud). If you use an additional disk, you must increase the storage on the Tanium Appliance after initial setup. For more information, see Increase storage.

Additionally, for Google Cloud Platform, you must set up an SSH key for the tanadmin user account, even if you primarily plan to use other user accounts with the tanadmin role. For more information, see Configure SSH keys.

For more information, see the Google Cloud Platform or IBM Cloud documentation.

(FIPS-compliant organizations) Enable FIPS 140-3 mode before initial setup

Enabling Federal Information Processing Standards (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.

If FIPS mode is required for your organization, you can enable it before you continue with initial setup so that the password and keys that you configure during setup are FIPS-compliant.

Note: Enable FIPS mode only if you are required to do so for your organization.
Important: To use FIPS mode, the VM on which the virtual Tanium Appliance is installed must use a CPU type that supports the RDSEED instruction.
Note:
  • Enabling FIPS mode in TanOS also puts the Tanium Platform in FIPS mode.

  • You can later disable FIPS mode if it is not required and it was inadvertently enabled during setup. For more information, see Enable FIPS 140-3 mode.

  1. Sign in to the TanOS console as the tanadmin user.

  2. Enter M and follow the prompt to enable FIPS 140-3 mode and reboot the Appliance, and then continue initial setup.

Perform full initial configuration

  1. Make sure your virtual image is configured to use an encryption key pair, and that the private key is set up on your local computer.
  2. Sign in to your cloud provider and use an SSH client to connect to the TanOS console as a user with the tanadmin role. If prompted to accept the key fingerprint, enter yes.
    CODE
    $ ssh tanadmin@10.0.20.212
    	
       >>> Initial Configuration <<<
    
     Initial configuration workflow for a new TanOS Appliance.
     All items must be complete before the Appliance can be used.
    
     Keymap:     n/a
     IP Address: 10.0.20.12
     Hostname:   TanOS-173-AZURE.example.net
     FIPS 140-3: disabled 
    
              1: Set Virtual Console Keymap
              M: Toggle FIPS 140-3 Mode
              
              N: Set FQDN (hostname)            (complete)
              D: Set DNS Nameservers            (complete)
              T: Set NTP (time)                 (INCOMPLETE)
              E: View and Accept EULA           (INCOMPLETE)
    
              F: [DISABLED] Finish Initial Configuration
              S: Shutdown
    
              Z: Log out
  3. Enter T and follow the prompts to set one or more NTP servers.
    CODE
    $ ssh tanadmin@10.0.20.212
    	
       >>>  NTP Configuration <<<
    
     Timezone will be automatically set to UTC.
    
     Enter the NTP server information for up to two NTP servers. Each entry consist
     of a server name or IP address.
     Optionally each server may indicate authentication information using
     colons as a separator: <server>:<key-id>:<SHA1|MD5>:key
    
     1.2.3.4
     pool.ntp.org
     ntp.secret.corp:999:SHA1:0123456789abcdef0123456789abcdef01234567
    
    Please provide the NTP server address: pool.ntp.org
    Please provide the second NTP server address (enter blank value for none): 
      
     The following settings will be used:
    
         NTP Server 1: pool.ntp.org
         NTP Server 2:
    
     Are these settings correct? [Yes|No]:
  4. Enter E, press Enter, and then use the spacebar to page through the end-user license agreement (EULA).
  5. When complete, enter Q, enter your email address, and enter yes to accept the EULA.

    The email address is stored locally only. It is not used externally for any reason.

  6. Enter F to confirm that you finished initial configuration and to end the session.
    CODE
    >>> Initial Configuration <<<
    
     Initial configuration workflow for a new TanOS Appliance.
     All requirements are met to finish Initial Config.
    
     Keymap:     n/a
     IP Address: 10.13.0.6
     Hostname:   TanOS-173-AZURE.hzavr5qms02ujnqr20gh0gorhb.gx.internal.cloudapp.net
     FIPS 140-3: disabled 
    
              1: Set Virtual Console Keymap
              M: Toggle FIPS 140-3 Mode
    
              N: Set FQDN (hostname)            (complete)
              D: Set DNS Nameservers            (complete)
              T: Set NTP (time)                 (complete)
              E: View and Accept EULA           (complete)
    
              F: Finish Initial Configuration
              S: Shutdown
    
              Z: Log out
    
     ------------------------------------------------------
    
     TanOS Version:        1.9.0 
    
     Please select:

The console configures SSH keys and IPSec settings, and then notifies you that the initial configuration is complete.

Access TanOS remotely

To access your Tanium Appliances remotely, note the following requirements.

  • Your local management computer must be connected to a subnet that can reach the Appliance IP address.

  • Your management computer must have an SSH client application or terminal emulator that can make a Client connection to the Appliance.

  • You must have an SSH client such as PuTTY to sign in to the TanOS console. For PuTTY, use version 0.71 or later.

  • You must have an SSH key generator such as ssh-keygen to generate keys for the tancopy user.

  • You must have an SFTP client such as WinSCP to copy files to and from the Appliance. For WinSCP, use version 5.15.2 or later.

Tip: Watch the tutorial about how to configure WinSCP for the Tanium Appliance.

Add TanOS system users

Create additional TanOS system users based on tanadmin (privileged) and tanuser (restricted) profiles.

Note: Create more than one privileged user with the tanadmin role in case you forget the password for the built-in tanadmin user.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter A and follow the prompts to add a system user.
    CODE
    >>> User Administration -> System Users -> Add System User <<< 
    
     Adding a system user requires first name, last name, user name and user role.
    
     Attention: 
     TanUser Role:  Monitor/Check the status of the appliance, no changes are allowed
     TanAdmin Role: Full administrative role to manage the appliance
    
     A temporary password will be generated and the new user is required to change 
     their password upon first login! 
    
     The password policy requires meeting these rules:
     - Minimum of 10 characters long
     - At least 1 upper case character
     - At least 1 lower case character
     - At least 1 numeric character
     - At least 1 other character
     - Must not match any of recent 4 passwords
     - Must not be based on a dictionary word
     - Must not contain part of the username
    
     Please enter first name: John
     Please enter last name: Doe
     Please enter desired user name (max 30 chars): john.doe
     Which role should be assigned to john.doe?
    
     1: TanUser (Monitoring)
     2: TanAdmin (Administrative)
    
     Please select: 2
    
     The temporary password for john.doe is: proudbrownwildfowl
    
     Adding local user john doe ...
     Successfully added user john doe (username: john.doe) with role tanadmin.
    
     Press enter to continue

Configure SSH keys

TanOS has built-in and customer-created user accounts to access the Appliance operating system and perform tasks.

Before you install a Tanium Appliance role, you must add SSH keys to authenticate access for the tancopy built-in user. tancopy can make an SFTP connection with SSH key authentication to TanOS and copy files to and from the /incoming and /outgoing directories. For Google Cloud Platform, you must also set up an SSH key for the tanadmin user account, even if you primarily plan to use other user accounts with the tanadmin role.

Note: Set up SSH key authentication for all TanOS user accounts.
Important: TanOS does not support self-service password reset methods. If you forget your password, you must ask a user with the tanadmin role to reset it for you. You can avoid this risk by setting up SSH key authentication.

Before you begin

  • You must have an SSH client to sign in to the TanOS console, and an SFTP client to copy files to and from the Appliance.

  • You must have an SSH key generator to generate keys for the tancopy user.

Add and test an SSH key for the tancopy user

Add the SSH key for the tancopy user

  1. Use an SSH key generator such as ssh-keygen to generate a public/private key pair. Note:
    • Specify an RSA key with 2048 bits (such as ssh-keygen -t rsa -b 2048).
    • Specify a passphrase that is easy to remember.
    • Save the private key to a location that you can access when you set up your SFTP client.
  2. Copy the text in the public key file to the clipboard. If you use ssh-keygen, copy the contents of the .pub file that you created.
    Important: In an SSH key exchange, the keys must match exactly, including line endings.
  3. Sign in to the TanOS console as a user with the tanadmin role.
  4. Enter C-U (User Administration > TanOS User Management).
  5. Enter the line number for the tancopy user to go to the user administration menu for this user.
    CODE
    >>> User Administration -> TanOS -> tancopy <<< 
    
     Username:        tancopy 
     Account Enabled: Yes
     Authentication:  SSH Key Only
     SSH Lockout:     No (0)
     Multifactor:    Not configured
     
     Notes:
       * This user account cannot be deleted
       * This user account cannot have a password
       * This user account cannot use multifactor
    
              A: Manage SSH Authorized Keys
              P: Manage SSH Key Pair
              L: Reset SSH Lockout
              C: [DISABLED] Change Password
              N: [DISABLED] Disable Password Access
              M: [DISABLED] Multifactor Authentication
    
              E: Enable Account
              D: Disable Account
              X: [DISABLED] Delete User
    
              F: Edit known hosts file
    
              R: Return to previous menu  RR: Return to top
    
    ------------------------------------------------------
  6. Enter A (Authorized Keys).
  7. Enter A and follow the prompts to add the contents of the public key generated in Step 1.
    CODE
    >>> User Administration -> TanOS -> tancopy -> Authorized Keys -> Add <<< 
    
    Account: tancopy
    Please paste the public key and press enter: 
    ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA1ClmgkMrbbxB7jND/Y4/Giupck35xAuGNKfZWqVLM5F0CNXuTScf6v2z
    MDxW5TO5tm/U8P9sqh19RDEzTn2RayXzsoZmXyB8abCCpHG4+03Zv05RHiX4i5QomAMBnbZejdA9/fGTxO1rPo1rdtTq
    Z+KCgzbEhHLWUD44+If5RtG+U4kgyzlYsyjgwhfho+BrRY6e7QYBsXVbuBQ9ROGV6PCTB80jXZVAKrAbsTQ1DVkpuBue
    mftv7vOn3b8MKzJ/IY/LLL1tIgpSGvgvjr2mOJJ+JoZF2XnPVUFmYiDSCkPAzhCyFHILHfOVAfws9n1G6p3fwILqNhvB
    oPeaCFaApQ== rsa-key-20200123
     Validating input
     Adding key to authorized keys after validation
     Finished adding authorized keys for tancopy
    
    
     Press enter to continue

Test the SFTP connection with the SSH key

Use an SFTP client on your management computer, such as WinSCP in Windows or the sftp utility in macOS or Linux, to connect to the Tanium Server Appliance. The following steps demonstrate configuring the connection in WinSCP:

  1. Specify tancopy for user name.
    winscp_tancopy_user
  2. Click Advanced.
  3. Under SSH, browse and select the private key that pairs with the public key uploaded to the Appliance.
    winscp_tancopy_private_key
  4. Save the configuration and click Login to initiate the connection.

    Connect to the Appliance and make sure you can access the /incoming and /outgoing directories.

    winscp_test

Add SSH keys for other TanOS users

It is a best practice to also set up SSH key authentication for TanOS user accounts.

Important: For Google Cloud Platform, you must set up an SSH key for the tanadmin user account, even if you primarily plan to use other user accounts with the tanadmin role.
Tip: As an alternative to the following procedure, you can use ssh-copy-id to add an SSH public key to any TanOS user with the tanadmin profile.
  1. Use an SSH key generator such as ssh-keygen to generate a public/private key pair. Note:
    • Specify an RSA key with 2048 bits (such as ssh-keygen -t rsa -b 2048).
    • Specify a passphrase that is easy to remember.
    • Save the private key to a location that you can access when you set up your SFTP client.
  2. Copy all of the text in the public key file to the clipboard. If you use ssh-keygen, copy the contents of the .pub file that you created.
    Important: In an SSH key exchange, the keys must match exactly, including line endings.
  3. Sign in to the TanOS console as a user with the tanadmin role.
  4. Enter C-U (User Administration > TanOS User Management).
  5. Enter the line number of the user account that you want to manage.
    CODE
    >>> User Administration -> TanOS -> tanadmin <<<
    
     Username:        tanadmin 
     Account Enabled: Yes
     Authentication:  SSH Key or Password
     SSH Lockout:     No (0)
    
     Notes:
       * This user account must always have a password
       * This user account cannot be deleted
       * This user account cannot be disabled
    
              A: Manage SSH Authorized Keys
              P: Manage SSH Key Pair
              L: Reset SSH Lockout
              C: Change/Enable Password (Chosen)
              N: [DISABLED] Disable Password Access
              M: Multifactor Authentication
    
              E: [DISABLED] Enable Account
              D: [DISABLED] Disable Account
              X: [DISABLED] Delete User
    
              F: Edit known hosts file
    
              R: Return to previous menu  RR: Return to top
  6. Enter A (Authorized Keys).
  7. Enter A and follow the prompts to paste the public key generated in Step 1.
    CODE
    >>> User Administration -> TanOS -> tanadmin -> Authorized Keys -> Add <<< 
    
     Account: tanadmin 
     Please paste the public key and press enter: 
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqXUnoyrg4opYQp4DGZoasYy8ud5oJEar9BqRr2RVHMm/Sxcl4T1sthsN
    WS0ECo0j32mCSM3ynYZn2AdJTU6HbKnFM30gtQL7+tpmGrgbkaVEJ9OXoA47JP0o5hbI16UUpuEKJrEBOYovIsrN2gtwKbz
    YdOVCxVq5amzqg7/UrQyUO3rmt54qStiqNIiHI3UjzPWYJwUxz90vU7LWsXYz1CAWBTXnh51kg0lBPFgbRmUZJb0DwLb4Sw
    lFZAe5P0RO4RwdmZVgTfsqy+MVuyzaBzGD1z4MlIZ83R6sW+nXtipbzqhFTLykLRLIXobuHjuf0Yy1H7/ZDJh/qlojce4TC
    g/+5e2h1RQ8ZKgECZDJoCdrkAM6y9arHCoZwqEP9MXugQXCO6EMrP39vXajnV3YrDKKLYP1pxWZGOA4ylNqY5mG1+AofVdG
    vAUBztjXfXgC3bgL0Qgp+d3E8JvLRHXfkmRijppvj+BCJUawXJfkMtBEgrxQP9PoDwHrqJj6ey80v8P7DgojQw83JumsG3S
    +7l0e0Ia02q/05s2EpOv9jE9aJiLRGKbb4WkjvUSpK1VmDK54qfeSKj6yp3IIt13GBKmkVqKbbZS6gaZ3UTpzq3dj+53YeP
    eOe8XMECuxl6aH4nLT4u3CqrCqxTfTa5y1Fi3/e9zI5/AKJlTXWF3ISCQ== tanadmin@appliance-156.tam.local
     Validating input
     Adding key to authorized keys after validation
     Finished adding authorized keys for tanadmin
    
    
     Press enter to continue
  8. To test, on your management computer, set up an SSH client such as PuTTY to connect to the Tanium Server Appliance:
    1. Specify the Tanium Server IP address, port 22, and SSH connection type.
    2. Under SSH, browse and select the private key that pairs with the public key uploaded to the Appliance.
      ssh_auth_private_key
    3. Open the SSH session and enter the tanadmin user name.
    4. You are prompted for the SSH key passphrase instead of the tanadmin password.
      CODE
      login as: tanadmin
      
      ######################## WARNING ########################
      
             Unauthorized access is strictly prohibited.
      
      #########################################################
      
      Authenticating with public key "rsa-key-20200119"
      Passphrase for key "rsa-key-20200119":

Export the GRUB key

The GRUB key can be used during the boot sequence to diagnose and recover from failure conditions. You can export the key and store it in a safe location. During recovery, you need to provide the key.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter A-X (Appliance Configuration > Advanced Configuration).
  3. Enter 6 and follow the prompts to export the GRUB key to the /outgoing folder.
    CODE
    >>> Appliance Configuration -> Advanced Menu -> Export Security Key <<< 
    
    Once the security key has been placed in the outgoing directory it
    will remain until the nightly cleanup job is run. After this time it
    will be deleted and must be exported again.
    Please be sure to download it and save in a secure location.
    
    Would you like to export the security key? [Yes|No]: yes
    
    The security key has been placed in the sftp outgoing directory.
    This location will be cleaned daily at 02:00am appliance time!
    
    Press enter to continue
  4. Use SFTP to copy the file from the /outgoing directory to your local computer.
    sftp_grub_key

What to do next

  • To save time, complete advanced network configuration before you install Tanium Servers. For more information, see Configuring Appliance connections.

  • In an IBM Cloud deployment, add an additional disk to increase the storage volume before you continue with Array or role installation. For more information, see Increase storage.

  • When these steps are completed, you can continue with the installation of an Appliance Array.