Installing the Tanium Zone Server

Install a Tanium Zone Server in your DMZ to proxy communication from external endpoints to the Tanium Server. You can install the Zone Server Hub on the same host as the Tanium Server or on a dedicated host. You can deploy two Zone Servers and two Zone Server Hubs in an active-active high availability (HA) configuration to ensure continuous availability in the event of an outage or scheduled maintenance. For more information about the Zone Server, Zone Server Hub, and deployment options, see Tanium Zone Server.

Before you begin

Ensure that you meet the following requirements before installing the Zone Server:

  • Installer version: Ensure that you have the right version of the installer (SetupZoneServer.exe). The installation package for all Tanium Core Platform servers must have the same build number (for example, if you are installing Tanium Core Platform 7.9.3.2345 on one server, you must install 7.9.3.2345 on all servers; you cannot install 7.9.3.1234 on a different Tanium Core Platform server). Download the installation package from the Artifacts section of your Tanium Account. For more information, see Upgrade solutions and verify the Servers upgradeView Tanium artifacts.

  • Host requirements: The host system must meet the hardware, software, and network connectivity requirements suitable for your deployment: see Tanium Core Platform requirements in a Windows environment and Resource requirements.

  • Firewall rules: Your network administrator must configure firewall rules to allow communication from the Zone Server Hub to the Zone Server on the port that you configured for that traffic. The default is TCP port 17472 but you can specify a different port: see Configure ports for traffic from Zone Server Hubs and Tanium Clients.

  • Security exclusions: Your security team must configure exceptions to host-based security policies to allow Tanium processes to operate smoothly and at optimal performance.

    For more information about security exclusions to define across Tanium, see Reference: Endpoint security exclusionsReference: Endpoint security exclusions. For Windows-based Tanium Core Platform deployments, see Tanium Core Platform Server security exclusionsTanium Core Platform Server security exclusions.

  • Initialization bundle: If you are performing a fresh installation of the Zone Server and Zone Server Hub, download the Tanium™ initialization bundle (tanium-init.dat). The Zone Server and Hub use the file to secure communication with the Tanium Server. For the download procedure, see Download infrastructure configuration files (keys)Download infrastructure configuration files (keys).

Install the Tanium Zone Server

This section provides procedures for the following workflow:

  1. Run the installer on the Zone Server Hub host computer. In this example, the Tanium Server host computer is also the Zone Server Hub host computer.
  2. Run the installer on one or more Zone Server host computers in the DMZ.

The Tanium Zone Server installer takes the following actions:

  • Opens TCP port 17472 in the local host computer Windows Firewall.

  • Installs Tanium Zone Server Hub or Zone Server on the local host computer and starts the service.

Install the Zone Server Hub

Perform the following steps for each Zone Server Hub.

  1. Sign in as an administrator user on the internal network host system where you will install the Zone Server Hub.
  2. Copy the installer (SetupZoneServer.exe) to a temporary location on the hub host.
  3. (Fresh installations only) Copy the initialization file (tanium-init.dat) from the Tanium Server to a temporary location on the hub host if you will install the hub on a dedicated host. If you will install the hub on the Tanium Server host, you can find the file in the Tanium Server installation folder.
  4. Right-click SetupZoneServer.exe and select Run as administrator.
  5. Complete the installation wizard. The following table provides guidelines for key settings.
    Table 1. Tanium Zone Server Hub installation wizard settings

    Settings

    Guidelines

    Choose Install Location

    The default installation folder is C:\Program Files (x86)\Tanium\Tanium Zone Server.

    Zone Server Type

    Select Zone Server Hub.

    Choose Service Account for Tanium Zone Server

    Specify Account: Define a service account to run the Tanium Zone Server service on the local host computer:

    • User Name: Enter only the account name portion of the credentials, such as taniumsvc.

    • Domain: Enter the domain name, such as example.com.

    • Password: Enter the account password.

    Local System Account: Select this option to install software and run the service in the context of the Local System account. Because this account grants higher operating system privileges than are necessary for Zone Server operations, the best practice is to not select this option for production deployments.

    Initialization File

    (Fresh installations only) Specify the file path of the tanium-init.dat file.

    Server Address

    Specify the fully qualified domain name (FQDN) or IP address of the Tanium Server. You must enter IPv6 addresses within square brackets (for example, [2001:db8::1]).

    Server Port

    The inbound port on which the Zone Server Hub receives traffic from the Tanium Server and Zone Server. The default is 17472.

  6. (Non-local hub only) If the Zone Server Hub resides on a different host than the Tanium Server, sign in to the Tanium Server CLI and configure the AllowedHubs setting:
    1. Navigate to the Tanium Server installation folder:

      $ cd <Tanium Server>

    2. Enable (best practice) or disable enforcement of the AllowedHubs setting. The default value 1 specifies that the Tanium Server enforces the setting: only hubs listed in AllowedHubs can communicate with the Tanium Server. The value 0 enables any hub to communicate with the Tanium Server regardless of the AllowedHubs setting.

      $ TaniumReceiver config set EnforceAllowedHubs [1|0]

    3. If you enabled enforcement of AllowedHubs, configure it as follows, where <hub1,hub2...> is a comma-separated list of hubs that are authorized to communicate with this Tanium Server. Specify the hubs by FQDN or IP address. You must enter IPv6 addresses within square brackets (for example, [2001:db8::1]). The default value is 127.0.0.1 (localhost).

      $ TaniumReceiver config set AllowedHubs <hub1,hub2...>

  7. (Non-local hub only) If the Zone Server Hub resides on a different host than the Tanium Server, enable the file cache and set its maximum size: see Manage caching on the Zone Server and Zone Server Hub.

Install the Zone Server

Perform the following steps for each Zone Server.

  1. Sign in to the Tanium Zone Server host computer as an administrator user.
  2. Copy the installer (SetupZoneServer.exe) to a temporary location on the Zone Server.
  3. (Fresh installation only) Copy the initialization file (tanium-init.dat) from the Tanium Server to a temporary location on the Zone Server.
  4. Right-click the SetupZoneServer.exe file and select Run as administrator.
  5. Complete the installation wizard. The following table provides guidelines for key settings.
    Table 2. Tanium Zone Server installation wizard settings

    Settings

    Guidelines

    Choose Install Location

    The default is C:\Program Files (x86)\Tanium\Tanium Zone Server.

    Zone Server Type

    Select Zone Server.

    Choose Service Account for Tanium Zone Server

    Specify Account: Define a service account to run the Tanium Zone Server service on the local host computer:

    • User Name: Enter only the account name portion of the credentials, such as taniumsvc.

    • Domain: Enter the domain name, such as example.com.

    • Password: Enter the account password.

    Local System Account: Select this option to install software and run the service in the context of the Local System account. Because this account grants higher operating system privileges than are necessary for Zone Server operations, the best practice is to not select this option for production deployments.

    Initialization File

    (Fresh installations only) Specify the file path of the tanium-init.dat file.

    IP addresses or FQDNs of allowed Zone Server Hubs

    Enter a comma-separated list of IP addresses or FQDNs for the Zone Server Hubs that are authorized to communicate with this Zone Server. You must enter IPv6 addresses within square brackets (for example, [2001:db8::1]). In an HA deployment, specify both Zone Server Hubs.

    Tip:

    This installation setting populates the AllowedHubs setting on the Zone Server. To change this setting at a later time, configure it using the following command on the Zone Server, where <hub1,hub2...> is a comma-separated list of the allowed hubs.

    $ TaniumZoneServer config set AllowedHubs <hub1,hub2...>

  6. (HA only) As a best practice, specify the preferred Zone Server Hub from which the Zone Server receives Tanium Client content, such as action packages (see Tanium Zone Server for details). Sign in to the Zone Server CLI (see Reference: Tanium Core Platform Command-line interface in a Windows deployment) and run the following commands:
    CODE
    $ cd <Zone Server>

    $ TaniumZoneServer config set HubPriorityList <hub IP address or FQDN>

  7. (Best Practice) Configure separate ports on the Zone Server for traffic from Zone Server Hubs and Tanium Clients: see Configure ports for traffic from Zone Server Hubs and Tanium Clients.
  8. Enable trust between the Zone Server Hub and Tanium Server, and map Zone Servers to the hub: see Enabling communication between Zone Servers and HubsManaging Zone Servers and hubs.
  9. If the Zone Server requires different separated subnets or isolated subnets than the Tanium Server, configure them as described in Configuring Tanium Client peeringConfiguring Tanium Client peering.
  10. Configure the connections from Tanium Clients that must register with the Zone Server: see Configure Tanium Clients to register with the Zone Server.
  11. If necessary to prevent over-consumption of disk space on the Zone Server, configure a maximum file cache size: see Manage caching on the Zone Server and Zone Server Hub.
  12. Verify the deployment: see Verifying the deployment to your Windows environment.

Configure ports for traffic from Zone Server Hubs and Tanium Clients

By default, the Zone Server uses the same incoming port (default is 17472) for traffic from Zone Server Hubs and Tanium Clients. As a best practice to improve the security of the Zone Server, configure separate ports:

  1. Sign in to the Zone Server host as an administrator user.
  2. Access the CLI (see Reference: Tanium Core Platform Command-line interface in a Windows deployment).
  3. Navigate to the Zone Server installation folder:
    CODE
    > cd <Zone Server>
  4. Configure the port for traffic from Tanium Clients:

    > TaniumZoneServer config set ZoneServerPort <port>

    Best practice: If Tanium Clients are already configured to communicate with the Zone Server, the best practice is to leave this port number unchanged and edit only the port for traffic from Zone Server Hubs.
  5. Configure the port for traffic from Zone Server Hubs:

    > TaniumZoneServer config set ZoneServerPortForHub <port>

  6. If traffic between the Zone Server and Zone Server Hubs traverses a firewall, configure the firewall to allow only hubs that are in the AllowedHubs list to connect to the port that you specified in the ZoneServerPortForHub setting. For information about configuring the firewall, see your firewall documentation. To see which hubs are in the AllowedHubs list, run the following command:

    > TaniumZoneServer config get AllowedHubs

  7. Access the Windows Services program and restart the Tanium ZoneServer service.
  8. Delete and recreate the Zone Server Hub-to-Zone Server mappings of the Zone Server for which you configured separate ports.

    For more information, see Delete a Zone Server Hub-to-Zone Server mappingDelete a Zone Server Hub-to-Zone Server mapping and Map Zone Servers to a Zone Server HubMap Zone Servers to a Zone Server Hub.

Manage caching on the Zone Server and Zone Server Hub

To optimize performance for the Tanium Core Platform, the Zone Server caches package files for actions and files requested through the Tanium Client API. The Zone Server provides these resources to Tanium Clients without having to re-request them from the Tanium Server.This file cache is disabled by default on the Zone Server Hub because in most deployments the hub is installed on the Tanium Server, which has its own cache. However, if the hub is installed on a dedicated host, you must enable it to perform the same caching as the Zone Server. By default, the cache uses a maximum of 20% disk space on the Zone Server and on the hub on a dedicated host, but you can change that limit.

Best practice: Set the maximum cache size to whichever is the lesser value between 200GB and 60% of available disk space on the drive where the Zone Server or hub is installed.
Note: When you set the cache size, the Zone Server or Zone Server Hub automatically removes all the files that are currently in the cache (<Zone Server/hub>\Cache\HotCacheFile).

Manage Zone Server caching

  1. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings and click Add Setting.
  2. Configure the following parameters and click Save:
    • Setting Type: Select Server
    • Platform Setting Name: Enter zs_hot_cache_limit_in_MB.
    • Value Type: Select Numeric
    • Value: Enter the maximum storage space in megabytes for the Zone Server cache. The default is 0 (20% of disk space).

Manage Zone Server Hub caching

If the Zone Server Hub is installed on the Tanium Server, the hub cache is unnecessary.

If the Zone Server Hub is installed on a dedicated host, configure the cache as follows:

  1. Sign in to the hub host as an administrator user.
  2. Access the hub CLI (see Reference: Tanium Core Platform Command-line interface in a Windows deployment) and run the following commands:
    CODE
    $ cd <Zone Server Hub>

    $ TaniumZoneServer config set EnableFileCache 1

  3. Open the Windows Services program and restart the Tanium ZoneServer service.
  4. Sign in to Tanium Console.
  5. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings and click Add Setting.
  6. Configure the following setting and click Save:
    • Setting Type: Select Server
    • Name: Enter hub_hot_cache_limit_in_MB.
    • Value Type: Select Numeric
    • Value: Enter the maximum storage space in megabytes for the hub cache. The default is 0 (20% of disk space).

Configure Tanium Clients to register with the Zone Server

To configure Tanium Clients to register with a Zone Server, you must add it to the ServerNameList setting on each Client. This setting can specify multiple Zone Servers and Tanium Servers. When attempting to connect, the Client randomly selects one Server at a time in the list and registers only with the first Server for which the Client can resolve the IP address. To ensure that Clients connect and register with the correct Server, work with your network administrator to review your Domain Name System (DNS) configuration. For example, external Clients typically resolve the IP addresses of Zone Servers in the DMZ but not of Tanium Servers in the internal network. By contrast, internal Clients typically resolve the IP addresses of Tanium Servers in the internal network but not of Zone Servers in the DMZ.

The steps to configure Tanium Clients to register with the Zone Server depend on whether you have already deployed the Clients.

Initial Tanium Client deployment

Perform the following steps if you have not yet deployed the Tanium Clients that must register with the Zone Server:

  1. Use Tanium™ Client Management to download installer bundles as described under (Optional) Download a tanium-init.dat file for alternative deploymentDownload the installation bundle for alternative deployment.

    Each endpoint OS type requires a separate bundle. Each bundle contains the following files, which you use when deploying the Clients:

    • Installer file to install the Tanium Client, such as SetupClient.exe for Windows endpoints.

      Note: The Linux bundle contains an installer for each supported Linux distribution.
    • Initialization file (tanium-init.dat) to secure connections between the Tanium Client and other Tanium Core Platform components.

    Figure 1. Installer bundles
    installer bundles
  2. Deploy the Tanium Client to endpoints as described in the Tanium™ Core Platform Tanium Client Management User Guide. For the ServerNameList setting, specify the FQDN or IP address of each Zone Server and Tanium Server.

    You must enter IPv6 addresses within square brackets (for example, [2001:db8::1]).

    Note: In the Tanium Client installation wizard for Windows, you specify the ServerNameList value in the Server Address field.
    Best practice: Specify FQDNs for this setting.
  3. Work with your network administrator to ensure that Tanium Clients that must register with the Zone Server cannot resolve the IP address of the Tanium Server.

    This step is necessary to prevent Clients from bypassing the Zone Server and connecting directly with the Tanium Server.

  4. Use Tanium Interact to issue a question that returns the value of the ServerName and ServerNameList settings from Tanium Clients. The ServerName is the FQDN or IP address of the Server with which Clients currently connect.

    Get Tanium Server Name and Tanium Server Name List from all machines

  5. In the Question Results grid, verify that the Tanium Server Name value displays the Zone Server for any Clients that must register with it, and verify that the Tanium Server Name List value includes all the Servers that you specified.
    Figure 2. Tanium Server Name and Server Name List values
    Tanium Interact question results showing Tanium Server Name and Server Name List values

Existing Tanium Client deployment

Perform the following steps to change the ServerNameList setting on Tanium Clients that you want to register with the Zone Server. In a deployment with both Windows and non-Windows endpoints, repeat the steps for both types of endpoints.

  1. Delete any existing scheduled actions that configure the ServerNameList or ServerName to prevent conflicts with the new actions that you create for those settings.
  2. Use Tanium Interact to issue a question that identifies the Tanium Clients that do not yet register with the Zone Server.

    The following example identifies Tanium Clients in a deployment where the Zone Server FQDN is zs1.tam.local and the active-active Tanium Servers are ts1.tam.local and ts2.tam.local.

    Get Tanium Server Name List and Is Windows from all machines with all Tanium Server Name List not equals “zs1.tam.local,ts1.tam.local,ts2.tam.local"

    Figure 3. Clients not yet registered with Zone Server
    Tanium Interact question results showing clients not yet registered with Zone Server
  3. In the Question Results grid, select the Windows or non-Windows endpoints (not both) that must register with the Zone Server and click Deploy Action.
  4. Specify one of the following as a Deployment Package:
    • Set Tanium Server Name List for Windows endpoints
    • Set Tanium Server Name List [Non-Windows] for non-Windows endpoints
  5. Enter the FQDN or IP address of each Zone Server and Tanium Server in the Server Name List field.

    You must enter IPv6 addresses within square brackets (for example, [2001:db8::1]).

    Best practice: Specify FQDNs for this setting.
    Figure 4. Action package settings for Zone Server redirection
    Tanium action package settings for directing clients to connect to Zone Server
  6. Set a schedule for the action.
    Tip: Consider setting a reissue interval if some target endpoints might be offline when you initially deploy the action.
    Figure 5. Action schedule configuration
    Tanium action schedule configuration for Zone Server client redirection
  7. In the Targeting Criteria section, ensure that the settings specify only Windows endpoints or non-Windows endpoints based on the package that you selected
  8. Click Show preview to continue and verify that the targeting is correct.
    Figure 6. Action targeting settings
    Tanium action targeting settings for Zone Server client redirection
  9. Click Deploy Action and review the action status to verify that the action completes without errors.
    Figure 7. Action status
    Tanium action status showing progress of Zone Server client redirection
  10. Use Tanium Interact to issue a question that returns the ServerName and ServerNameList values from Tanium Clients. The ServerName is the FQDN or IP address of the Server with which Clients currently connect. If the action succeeded, the ServerName indicates the Zone Server for at least some Clients and the Tanium Server Name List value lists all the correct Servers (zs1.tam.local,ts1.tam.local,ts2.tam.local, in this example).
    Note: You might have to wait a few minutes for the results to show the new values. Ensure that live updatesLive Updates are enabled for the results grid. Whether a particular Tanium Client connects to the Zone Server or Tanium Server depends on the Domain Name System (DNS) configuration of your network.

    Get Tanium Server Name and Tanium Server Name List from all machines

    Figure 8. Clients registered with Zone Server
    Tanium Interact question results showing clients registered with Zone Server
  11. Work with your network administrator to ensure that the Tanium Clients that must register with the Zone Server cannot resolve the IP address of the Tanium Server.

    This step is necessary to prevent those Clients from bypassing the Zone Server and connecting directly with the Tanium Server.