Working with Appliances in an air-gapped environment

If either of the following components does not have internet access, you must use an air gap installation to set up a TanOS Appliance:

  • The Tanium Server

  • Tanium Console

After you complete the air gap installation, you can use the Airgap Operations menu to configure the Tanium deployment to access Tanium content in the air-gapped environment.

Note: Upgrades to TanOS in an air-gapped environment use the same procedures as other environments, with the exception that you must always copy upgrade files to the /incoming directory on the Appliance. For more information, see Upgrade TanOS on Tanium Appliances.

Overview

In an internet-connected Tanium deployment, the Tanium Server connects to content.tanium.com to read a manifest file that enumerates the solutions that can be imported into the deployment. This is the listing you see when you navigate to the Solutions page in Tanium Console (see Managing Tanium solutionsManaging Tanium solutions). When a user performs the operation to import the solution, the solution imports from the remote location. In addition, a Tanium package might reference external files that exist on public sites or a local server.

Figure 1. Importing solutions in an internet-connected Tanium deployment
Solution import topology for an internet-connected Tanium deployment

In an air-gapped environment, the Tanium Server does not have access to the internet and cannot directly access content that is ordinarily downloaded from content.tanium.com and other internet locations. To support customer deployments in air-gapped environments, Tanium provides air gap support versions of solution modules and content packs. You must download this content from an internet-connected computer, move it to a local computer within the air-gapped environment, and upload it to the Tanium Server using SFTP. The air gap installation process installs the manifest locally on the Tanium Server. Content import is then done locally on the Tanium Server host computer, and the air gap versions of content replace references to content.tanium.com and other remote URLs with references to the local host.

Figure 2. Importing solutions in an air-gapped Tanium deployment
Solution import topology for an air-gapped Tanium deployment

Perform initial setup of an air-gapped environment

Initial setup of an air-gapped Tanium deployment includes the initial setup of the included Appliances, installation of a full update (which includes the air-gapped version of solution modules and content packs), and a few additional configuration tasks that are specific to air-gapped installations.

Before you begin

Make sure you have access to these files that you must bring into the air-gapped environment:

  • Tanium license file

  • TanOS physical or virtual Appliance image

  • Air gap full zip (content zip) file

  • Content signing key utility

  • Software to:

    • Connect to the Tanium Appliances through SSH.

    • Transfer files to and from the Appliance through SFTP.

    • Generate SSH keys.

  • Additional module content

    • Mandatory: Default Computer Groups XML file

    • Optional, depending on modules and scenarios:

      • If necessary, air-gapped versions of modules that are more recent than those in the full ZIP package

      • THR Signals

      • Comply standards

      • Comply engines

      • OS patches

      • Tanium Client installers

Prepare a TanOS installation for an air-gapped environment

Initial configuration of an air-gapped environment is similar to that of a typical internet-connected environment, but you must supply a Tanium license during installation and configure the TrustedHostList setting on each Tanium Server and Module Server.

Supply a Tanium license

Obtain a valid license and the Tanium Core Platform installation package from Tanium Support, and upload them to the Appliance:

  1. On your management computer, set up an SFTP client such as WinSCP to connect to the Appliance.
  2. Use the SFTP client to copy your license file (tanium.license) and installation package (<tanium.version>_linux_server_package_8.zip) to the /incoming directory on the Appliance.

    TanOS uses the installation package to install the Tanium roles when you configure the Appliance Array, and it copies the license to the appropriate location during installation of the Tanium Server role.

    Important: Do not skip these steps and upload the license later directly through Tanium Console. Upload the license file manually so that when you install the Tanium Core Platform Server roles, the license gets applied automatically.

Install an Appliance Array and Tanium roles

Follow the steps in Installing and managing an Appliance Array.

After you install the Array and Tanium roles, you have a standard installation of Tanium. For example, if you sign in to Tanium Console, it tries to import Tanium Interact and some default content from content.tanium.com and then fails. To update from local files, you must convert the installation into an air-gap installation.

Update the TrustedHostList settings on each Tanium Server

Add FQDNs and IP addresses for all Tanium Servers and Tanium Module Servers to both the TrustedHostList and the TDL TrustedHostList on each Tanium Server:

  1. Sign in to the TanOS console on the Tanium Server as a user with the tanadmin role.
  2. Enter 2-2-1 (Tanium Operations > Configuration Settings > Edit Tanium Server Settings).
  3. Enter the line number of the TrustedHostList setting and then enter E (Edit line).
  4. Modify the setting so that it contains the following comma-separated entries, and then press Enter:
    • The FQDN of each Tanium Server
    • The FQDN of each Module Server
    • The IP address of each Tanium Server
    • The IP address of each Module Server
    • localhost
    • 127.0.0.1

    For example, a configured setting might look like the following:

    ts1.mycompany.com,ts2.mycompany.com,tms1.mycompany.com,tms2.mycompany.com,10.0.0.119,10.0.0.120,10.0.0.121,10.0.0.122,localhost,127.0.0.1

  5. Enter R-R-2 (Return to previous menu > Return to previous menu > Edit Tanium Server TDL Settings).
  6. Enter the line number of the TrustedHostList setting, enter E (Edit line), and modify the setting to match the Tanium Server TrustedHostList setting you configured in step 4.

Update the TrustedHostList settings on each Module Server

Add FQDNs and IP addresses for all Tanium Servers and Tanium Module Servers to both the TrustedHostList and the TDL TrustedHostList on each Module Server:

  1. Sign in to the TanOS console on the Module Server as a user with the tanadmin role.
  2. Enter 2-2-5 (Tanium Operations > Configuration Settings > Edit Tanium Module Server Settings).
  3. Add the TrustedHostList setting:
    1. Enter A (Add a line).
    2. For the key, enter TrustedHostList.
    3. For the value, enter the same setting that you configured in step 4 of Update the TrustedHostList settings on each Tanium Server.
  4. Enter R-6 (Return to previous menu > Edit Tanium Module Server TDL Settings).
  5. Add the TrustedHostList setting:
    1. Enter A (Add a line).
    2. For the key, enter TrustedHostList.
    3. For the value, enter the same setting that you configured in step 4 of Update the TrustedHostList settings on each Tanium Server.

Install a full update

A full update is a ZIP package that includes the air-gapped version of solution modules, production content packs, and lab content packs.

A full update sets the Tanium Server manifest location to its own host name, instead of content.tanium.com. The update also generates the manifest.xml file. The location of all the entries in the file are set to the name of the Tanium Server, instead of content.tanium.com. Tanium publishes a full update a few times per year when Tanium Server releases occur.

In a clustered environment, the update sets the Tanium Server manifest location and content location for both Servers to the Tanium Server you are updating. Install the update only on the primary Tanium Server; the secondary Tanium Server subsequently downloads the content from the primary Tanium Server.

Before you begin

  • If you are installing the full update for the first time, complete the steps in Prepare a TanOS installation for an air-gapped environment.

  • Read the release notes for the content packs and modules included in the air gap ZIP file. Make sure that you understand the changes introduced in every release in the path from the current release to the target release.

  • Run a health check on each Appliance in the environment to make sure each Appliance is in a healthy state before you perform the update.

Download the ZIP file

  1. From a computer with internet access, download the air gap ZIP file.
  2. Copy the ZIP file to a location that is available to the Appliances.

Install the update

  1. Use SFTP to copy the air gap ZIP file to the /incoming directory on the Tanium Server Appliance. The file name provided by Tanium must be preserved.
  2. Sign in to the TanOS console as a user with the tanadmin role.
  3. Enter 2-C-1 (Tanium Operations > Manage Content > Install Airgap Content).
  4. Enter the line number of the file that you want to install.
  5. Follow the prompts to install the air gap ZIP file.
    CODE
    ------------------------------------------------------
    
        >>> Tanium Operations -> Airgap Installer <<< 
    
    This feature is used to install a Tanium Airgap content package.
    
    Airgap files should be placed in the incoming directory using sftp tancopy.
    File names as provided by Tanium must be preserved. This installer supports
    the following Airgap content file types.
    
    * Air Gap Individual Zip     Airgapped-*-Installer.zip
    * Air Gap Bundle Zip         Tanium_Airgap_*.zip
    * Air Gap Bundle RPM         TaniumAirgap-*.rpm
    
    Air Gap Bundle files are very large and will take several minutes to install.
    
     Continue with installation of Tanium_Airgap_2026H2_Ux_yyyy-mm-dd.zip ? [Yes|No]: yes
     Running airgap installer
     Validating file signature
    ################################# [100%]
    Updating / installing...
    ################################# [100%]
    
     Enter Console URI (minus protocol prefix): ts1.tam.local
    
     Console URI is: https://ts1.tam.local/content/manifest.xml
     Creating content signing key
     Pruning Airgap content
    Nothing to prune
    NO airgap content directory found
     Installing content
    
     Re-Apply Tanium Server ACLs
     Removing Airgap RPM
    
     Airgap installation complete
    
     Tanium Server Manifest URL changed to custom (https://ts1.tam.local/content/manifest.xml)
    
     Press enter to continue

    For the console URI, enter the public FQDN of the Server.

  6. Press Enter to return to the Manage Content menu.

When you install the air gap ZIP file, TanOS automatically makes the following changes:

  • Sets the manifest URL and the labs manifest URL on the Tanium Servers to the URL for the Tanium Server on which you are installing the update. For more information, see Change the air gap manifest URLs.

  • Sets the is_airgap global setting on the Tanium Servers to 1.

  • Sets the content_base_url global setting on the Tanium Servers to https://fqdn/content, where fqdn is the fully qualified domain name of the Tanium Server on which you are installing the update.

Sign in to Tanium Console and let the Server complete the initial import

At this point, the Tanium installation is converted into an air gap installation.

Sign in to Tanium Console for the first time through the FQDN of the primary Tanium Server. After this step, the system automatically imports Default Content.

Note: If the initial import process fails:
  • Make sure the URL you are using to access Tanium Console contains the exact same host name listed in the manifest URL configuration on the Appliance. For example, do not use the IP address to connect to the console if the manifest lists the FQDN of the Appliance.

  • Make sure you did not forget to set the location of the LABS manifest. For more information, see Install a full update.

Import recommended content

  1. As a test, import Interact to make sure it works.
    Important: If the import fails, check all the TrustedHostList settings, modify as needed, and then try this step again.
  2. Download, sign, and import the Default Computer Groups XML file.

    An air-gapped version of the Default Computer Groups content is not available, because the content does not include sensors or packages.

    To sign the file before you import it, follow the instructions in Authenticating content filesAuthenticating content files.

    Note: After successfully importing Default Computer Groups, it does not appear on theContent > Solutions page even though it was installed successfully.
  3. Import Tanium Client Management.
    Important: To deploy Tanium Clients with Client Management in an air-gapped environment, you must upload Tanium Client files. For more information, see Manage versions of the Tanium Client available for legacy deploymentsManage versions of the Tanium Client available for deployments and upgrades.

Import content packs and modules

After you install full or individual updates, you can import the related content packs and modules into Tanium.

After you install a full update, if you want to install the modules and content that came with the update, then you can proceed to install them. If you want to use more recent versions of the modules than what shipped with the full ZIP package, see Install an individual update. To install additional updates for individual modules, see Update external files for individual modules.

  1. Sign in to Tanium Console on the primary Tanium Server as a user with the Administrator reserved role, which is required to import content.
  2. From the Main menu, go to the Administration > Configuration > Solutions page.
  3. Click Import > Import Files.
  4. Perform one of the following steps to select the file:
    • Drag and drop files from your file explorer.
    • Click Browse for File, select the file, and click Open.
  5. Review the content to import. In most cases, when you import Tanium-produced content, select the options to merge the categories configuration and to overwrite all of the other configurations, including the designated content set.
  6. Click Begin Import. If prompted, enter your credentials and click OK.
  7. Review the messages to make sure the import completes successfully, and then click Close.
    Tip: If you encounter errors importing content, check the trusted host list configuration on all Tanium Server and Tanium Module Server Appliances to ensure the air gap Server IP address is trusted. For more information, see Configuring Appliance security and Edit TDownloader settings.

Update an existing air gap installation

To perform updates in an air-gapped environment, you obtain and install different types of update packages, and then import the included modules and content.

Types of air gap updates

Full updates

Tanium Server releases occur a few times per year. For each Tanium Server release, Tanium publishes a ZIP package that includes the air-gapped version of solution modules, production content packs, and lab content packs. A full update is also used for initial setup of an air-gapped environment.

Individual updates

Tanium product releases occur weekly. Usually, a few solution modules or content packs are updated. If a solution module or content pack update is published, Tanium posts a ZIP file that contains the content XML and external files for the update.

Additional external files updates

External files for Tanium Comply, Tanium Deploy, Tanium Patch, and Tanium Threat Response might require updates more frequently than full or individual update releases. These files can be obtained and installed separately.

When to perform an update

Customer lab

Install updates at the direction of Tanium Support. Updates in the lab are completed in preparation for a rollout to production.

The following list is a typical work flow for update management:

  • Install the available full update initially when you first set up the air-gapped installation of TanOS.

  • Install full updates shortly after they are made available.

  • Install individual updates for the solution modules and content that you support shortly after they are made available.

  • Install additional external file updates regularly.

Tip: Make a habit of tracking weekly release announcements. Read the release notes to identify items included in the release that might improve the user experience and organizational objectives.

Customer production

Install updates only after you complete testing in the lab environment.

Before you begin

Make sure you have access to these files that you must bring into the air-gapped environment:

  • The appropriate update package. Contact Tanium Support to obtain this file.

  • Content signing key utility

  • Software to:

    • Connect to the Tanium Appliances through SSH.

    • Transfer files to and from the Appliance through SFTP.

  • Additional module content

    • Mandatory: Default Computer Groups XML file

    • Optional, depending on modules and scenarios:

      • If necessary, air-gapped versions of modules that are more recent than those in the full ZIP package

      • THR Signals

      • Comply standards

      • Comply engines

      • OS patches

      • Tanium Client installers

Install a full update to update an existing air-gapped installation

You can install each full update as it is released to update Tanium Core Platform Servers, modules, and content. For more information, see Install a full update.

After installing the full update, import updated content packs and modules. For more information, see Import content packs and modules.

Install an individual update

You can install each individual update as it is released to apply the latest module and content pack updates.

Before you begin

Read the release notes for the content pack or module included in the air gap installer file. Make sure that you understand the changes introduced in every release in the path from the current release to the target release.

Note: The Tanium Server requires that content files imported into Tanium Console are signed, and the signatures verified by public keys stored on the Tanium Server. The public keys for content developed by Tanium and delivered through content.tanium.com are included with the installation.

Download the update file

Note: The installer supports both RPM and ZIP air gap files. The following instructions demonstrate an install with a ZIP file.
  1. From a computer with internet access, download the air gap ZIP file.
    Figure 3. Downloading the air gap update file
    air_gap_single_download
  2. Copy the file to a location that is available to the Appliances.

Install the update

  1. Use SFTP to copy the air gap ZIP file to the /incoming directory on the Tanium Server Appliance.
  2. Sign in to the TanOS console as a user with the tanadmin role.
  3. Enter 2-C-1 (Tanium Operations > Manage Content > Install Airgap Content).
  4. Enter the line number of the file that you want to install.
  5. Follow the prompts to install the air gap ZIP file, but do not press Enter after the install completes.
    PYTHON
    ------------------------------------------------------
    
         >>> Tanium Operations -> Airgap Installer <<< 
    
    This feature is used to install a Tanium Airgap content package.
    
    Airgap files should be placed in the incoming directory using sftp tancopy.
    File names as provided by Tanium must be preserved. This installer supports
    the following Airgap content file types.
    
    * Air Gap Individual Zip     Airgapped-*-Installer.zip
    * Air Gap Bundle Zip         Tanium_Airgap_*.zip
    * Air Gap Bundle RPM         TaniumAirgap-*.rpm
    
    Air Gap Bundle files are very large and will take several minutes to install.
    
       #  File name
       1: Airgapped-IC_Base-Installer.zip
    
    Please select file by line number (enter to exit): 1
    
     Continue with installation of Airgapped-IC_Base-Installer.zip ? [Yes|No]: yes
     Running airgap installer
     Validating file signature
    
     Airgap installer script completed.
    
     The XML file for install of the Airgap content can be downloaded
     from the following URL
         https://ts1.tam.local:8443/content/IC_Base/2020-06-24_10-38-36_1.2.3.4567/IC_Base.xml
    
     Re-Apply Tanium Server ACLs
     Removing Airgap installer files
    
     Airgap installation complete
    
     Press enter to continue
  6. Copy the URL that appears for the XML file.
  7. Press Enter to go to the Manage Content menu.
  8. Download the XML file to your local computer. For example, you can open the URL in a web browser and save the file to your computer. Depending on the configuration, you might need to change the FQDN of the Server to the IP address.
  9. Use keyutility.exe to generate a cryptographic key pair and use it to sign the XML file. For more information, see Enable import of user-created content in an Appliance deployment.
    CODE
    C:\Tanium\KeyUtility.exe signcontent TaniumLab.pvk IC_Base.xml
    Signature Created.
    
    C:\Tanium>

Update external files for individual modules

External files for Tanium Comply, Tanium Deploy, Tanium Patch, and Tanium Threat Response might require updates more frequently than full or individual update releases. These files can be obtained and installed separately.

Update the Tanium Comply engine packages

In an internet-connected environment, Tanium Comply automatically connects to content.tanium.com to download updates for key components used in endpoint scans. In an air-gapped environment, you must update these components manually through Tanium Console. For complete instructions, see Configure Comply for an air-gapped environmentConfigure Comply for an air-gapped environment.

Configure an alternate location for the Predefined Package Gallery in Tanium Deploy

The Predefined Package Gallery in Tanium Deploy provides a collection of common software packages that are hosted at content.tanium.com. These packages are preconfigured and ready to deploy to endpoints. By default, the Tanium Server in an air-gapped environment cannot directly access Deploy Gallery package definitions. You can configure an alternative Gallery location so that a Tanium Server in an air-gapped environment can still download the Gallery. For complete instructions, see Configure an alternate location for the Predefined Package GalleryConfigure an alternate location for the Predefined Package Gallery.

Update Tanium Patch files

When the Tanium Server is in an air-gapped environment, the Server cannot download patches from the internet. You must configure Patch to install patches from an alternate file location in the Patch settings for Windows endpoints.

To update Tanium Patch files, follow the steps in Downloading Windows patches in an air-gapped environmentDownloading patches in an air-gapped environment, but perform the following steps after you download the remote package files:

  1. Rename the ZIP file to content-results.zip and copy to a location that is available to the Tanium Server Appliance.
  2. Use SFTP to copy the ZIP file to the /incoming directory on the Tanium Server Appliance.
  3. Sign in to the TanOS console as a user with the tanadmin role.
  4. Enter 2-C-4 (Tanium Operations > Manage Content > Manage Web Server Content).
  5. Enter 1 to go to the Tanium Web Server Content Installer menu and follow the prompts to install the content-results.zip file.
  6. Verify the configuration as instructed in the Patch documentation.

Install or update Tanium Threat Response Signals

In an internet-connected environment, Tanium Threat Response automatically connects to content.tanium.com to download updates for Tanium Signals. In an air-gapped environment, you must update the Tanium Signals files manually.

Download the Tanium Signals file

  1. From a computer with internet access, go to the content download URL and download the DetectSignalsV4.zip file.
  2. Use a ZIP program to add another ZIP layer. The extra layer is required to import the ZIP file to the Tanium Server Appliance. For example:
    1. Go to Administration > Configuration > Solutions, search for Distribute Tanium Standard Utilities, and download 7za.exe.
    2. Create an archive named content-DetectSignalsV4.zip that includes the file DetectSignalsV4.zip.
      PYTHON
      cmd> 7za a content-DetectSignalsV4.zip DetectSignalsV4.zip
      7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30
      
      Scanning the drive:
      1 file, 13644 bytes (14 KiB)
      Creating archive: content-DetectSignalsV4.zip
      
      Add new data to archive: 1 file, 13644 bytes (14 KiB)
      
      Files read from disk: 1
      Archive size: 13735 bytes (14 KiB)
      
      Everything is Ok
      Note: The file must be named content-DetectSignalsV4.zip. TanOS expects the prefix content-.
    3. Copy the file to a location that is available to the Tanium Server Appliance.
Install or update the Tanium Signals file

  1. Install the content on the Tanium Server Appliance:
    1. Use SFTP to copy the Tanium Signals ZIP file to the /incoming directory on the Tanium Server Appliance.
    2. Sign in to the TanOS console as a user with the tanadmin role.
    3. Enter 2-C-4 (Tanium Operations > Manage Content > Manage Web Server Content).
    4. Enter 1 to go to the Tanium Web Server Content Installer menu and follow the prompts to install the Tanium Signals ZIP file.
  2. Specify the location on the Appliance for the Tanium Signal's manifest URL setting.
    1. In a web browser, sign in to Tanium Console, and go to Modules > Threat Response.
    2. From the Threat Response menu, go to Intel > Sources.
    3. Edit the Tanium Signals source. If the source does not exist, click New Source and complete the configuration.
    4. For the manifest URL, specify the URL for the zip file that you installed in the previous steps. The URL has the following form: https://<TS FQDN>/content/files/DetectSignalsV4.zip. The file name of the zip file is case sensitive.
    5. Save the configuration.
    6. From the Sources page in Threat Response, make sure the Intel Count populates with items in the Tanium Signals row.
      Note: It might take up to the time configured for the Subscription Interval in the Tanium Signals source (60 minutes by default) for the intel to update from the Tanium Signals file.
    Tip:

    If the Tanium Signals file does not install or update as expected, try the following:

    • If the Server deployment uses self-signed certificates, select the Ignore SSL option.

    • If you encounter errors importing content, check the trusted host list configuration on both the Tanium Server and Tanium Module Server to ensure the air gap Server IP address is trusted.

    • On the Module Server, check the Threat Response log (TanOS menu path 3-2-<Threat Response menu number>-2). Export the log and search for the string signals.downloadSignalsZip to see the logs related to the download operation.

View the air gap usage report

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 2-C (Tanium Operations > Manage Content).
  3. Enter 2 to go to the Airgap Content Usage report.
    PYTHON
    ------------------------------------------------------
    
      >>> Tanium Operations -> Airgap Content Usage <<< 
    
       UsedKB Solution                  Solution_ID            Sol_Vers Action
       ====== ========                  ===========            ======== ======
      149068K Connect                   99-200-0008         1.2.3.4567 Delete
    
    Delete will prune 150M bytes from 1 solutions
    Delete will preserve 0 bytes from 0 solutions
    
     Press enter to continue

View the air gap installation log

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 3-1-1-9 (Tanium Support Menu > Tanium Log Files > TanOS Appliance > Airgap Log).
  3. Enter V to view the current log file, or enter the line number of a previous log file if the relevant log entries have been rotated out of the current log file.

Prune unused air gap content

You can prune solutions that have been upgraded to a later version and content that was included in an update but that has not been imported.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 2-C-3 (Tanium Operations > Manage Content > Prune Airgap Content).
  3. Follow the prompts to prune the air gap content.

Manage web server content

TanOS has menus to support installation and management of air-gapped web server content.

Before you begin

Use SFTP to copy the air gap content files to the /incoming directory on the Appliance. The file names must be in the content-*.zip format. The web content installs to the <Tanium Server>/http/content/files directory.

Install content

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 2-C-4-1 (Tanium Operations > Manage Content > Manage Web Server Content > Tanium Web Server Content Installer).
  3. Follow the prompts to install the content.

Delete content by list

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 2-C-4 (Tanium Operations > Manage Content > Manage Web Server Content).
  3. Enter 3 and follow the prompts to delete the content.

Change the air gap manifest URLs

The manifest and lab manifest refer to the URL Tanium Console uses to locate solution modules and content packs available for download and use. The default locations point to content.tanium.com. In an air-gapped deployment, the manifest URLs are different. Use the TanOS menu to change them to the air gap content location. If a lab license is in use, you must change both the manifest and lab manifest locations.

Note: When you install a full update, TanOS automatically changes the manifest URL and the labs manifest URL to the URL for the air gap Server IP address, and it is only necessary to follow these steps if the manifest is not located on the Tanium Server. For more information, see Install a full update.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 2-C-B (Tanium Operations > Manage Content > Manifest URL Change).
  3. Use the menu to change the manifest URL.