Tanium Client concepts

Registration

When you first deploy the Tanium Client to an endpoint, the Client initiates a connection to Tanium™ Cloud. During initial registration, the Tanium Client establishes a unique ID, and Tanium Cloud sends it the latest Client settings, a list of nearby peers, and the latest definitions for sensors, questions, and scheduled actions. Typically, the initial registration status is configured to reset at randomized intervals of two to six hours, forcing the Tanium Client to re-initialize registration. Repeating the initial registration ensures that Tanium Cloud applies the latest settings and the Clients select optimal peers.

The Tanium Client also re-registers with Tanium Cloud through a normal registration, which occurs at a randomized interval every few minutes. During a normal registration, the Tanium Client reports its current state of questions, actions, and settings to Tanium Cloud. In response, Tanium Cloud sends new questions, actions, or settings to apply. In environments with numerous endpoints, normal registrations are the primary way that Tanium Clients receive new questions, actions, and settings.

Note: To register with Tanium Cloud, the Tanium Client must have been initialized with the tanium-init.dat file for the Tanium Cloud service instance.
Important:

Be careful not to allow the tanium-init.dat file to be distributed or stored outside of your organization, such as in a publicly accessible source code repository or any other location accessible from the public internet. Limit the distribution to specific use in the deployment of Tanium Clients.

Though this file does not contain private keys and cannot be used to provide control over a Tanium environment, a user with malicious intent could use it to connect an unapproved Client and use this unauthorized access to learn how your organization is using Tanium.

Client peering

In an enterprise network, Tanium Clients establish peer relationships with each other in a linear chain. Peer connections are continuous, long-lived connections that the Clients use to exchange Tanium messages and files. During registration, Tanium Cloud sends the Tanium Client a peer list of other Tanium Clients with which it can try to establish a peer connection. The Tanium Client uses the list to determine which peers are the most optimal neighbors within the linear chain.

Forward and backward leaders

By design, one forward leader and one backward leader terminate opposite ends of the linear chain. Other than at registration, only leaders establish direct connections with Tanium Cloud. Tanium Cloud passes questions and scheduled actions to the backward leader, which passes them to its forward peer, which in turn passes them to its forward peer, and so on, until they reach the forward leader. The forward leader returns the question answers and the scheduled action statuses to Tanium Cloud.

Note: Tanium Clients establish outgoing connections to backward peers for file distribution (see File distribution).
Figure 1. Tanium Client linear chain
Tanium Client linear chain connecting to Tanium Cloud

Forward and backward reflection

Tanium peer communication is designed to accommodate new Clients that come online, to route around Clients that are removed or stop communicating effectively, and to reflect around network-level blockages, such as firewall blocking. Forward reflection occurs if a Tanium Client cannot establish an outgoing connection to a forward peer in its peer list: the Client establishes its forward connection to Tanium Cloud instead and becomes a forward leader. Similarly, backward reflection occurs if a Tanium Client cannot establish an outgoing connection to a backward peer: the Client establishes a backward connection to Tanium Cloud and becomes a backward leader.

Tanium Client version compatibility for peering

Tanium Clients peer only with other Clients that share the same minor version (the second component of the version number). For example, a Tanium Client running version 7.b.x peers with other 7.b.x Clients, but not with 7.a.x or 7.c.x Clients.

This version boundary means that while upgrading Clients in stages, endpoints on different minor versions cannot peer with one another. As a result, the proportion of endpoints that become forward or backward leaders can temporarily increase, leading to more direct connections to Tanium Cloud and higher WAN bandwidth consumption.

Note:

To reduce peering disruption during upgrades, plan to complete upgrades quickly within each subnet, and avoid leaving mixed minor versions in the same subnet for an extended period. For upgrade planning guidance, see Best practices.

Satellites

Satellites are Tanium Clients that you designate to run secure workloads on endpoints that Tanium Cloud cannot directly reach. Satellites enable Tanium solutions to perform operations on those endpoints, such as non-line-of-sight scans for Tanium Discover or remote authenticated scans for Tanium Comply.

Tanium Cloud might need to send sensitive, encrypted data (such as credentials) to a satellite when running a workload. Therefore, you must verify each Tanium Client that you designate as a satellite to prevent spoofing attacks. Tanium Cloud never sends such sensitive data through the Client linear chain and the satellite does not store that data on disk.

Designating and using satellites requires Direct Connect version 2.1 or later.

For more information about managing satellites, see Managing satellites.

File distribution

Tanium Cloud distributes files to managed endpoints when you deploy actions that use those files. For example, if you deploy an action to upgrade Windows, Tanium Cloud distributes a package that includes the Windows patch file. Tanium Clients running on the endpoints optimize the file distribution process through peering and caching.

CDN downloads

In Tanium Client 7.6 and later for the USA region and Tanium Client 7.8 and later for all other regions, Tanium uses the Tanium™ Content Distribution Network (CDN) to provide enhanced distribution of files to Tanium Clients. The CDN optimizes the delivery of files by intelligently routing Client connections through the shortest and most efficient path among the CDN points of presence, providing faster file downloads than are available directly from Tanium Cloud servers.

Files delivered through the CDN can include:

  • Action packages (both those created manually by users and those created by Tanium modules, such as Tanium Client upgrades, Endpoint Configuration Toolset upgrades, or Tanium Patch deployments)

  • Files included with actions

  • Files used by an action but not initially included in the action package

  • Files that a Client Extension instructs the Tanium Client to download as part of Tanium solution activities

If a CDN connection is unavailable (for example, because of network restrictions), Clients seamlessly revert to downloading package files from Tanium Cloud servers, which ensures reliable performance in all scenarios.

All endpoints that use CDN downloads must allow this HTTPS communication. Additionally, you can optionally apply bandwidth throttles to CDN traffic. For more information, see Allow connectivity to CDN downloads and Managing bandwidth throttles and CDN downloads.

The figure Package file downloads using the CDN shows the process for distributing package files when CDN downloads are enabled.

1

A user configures actions through Tanium Console, or Tanium modules create actions based on user input or configurations. Each action specifies a package that might have associated files. The files might be uploaded directly to Tanium Cloud or downloaded from an internet location, such as content.tanium.com or other remote sources. The action can also include instructions for the Client to download additional remote files when the action runs on an endpoint.

The raw files uploaded directly to Tanium Cloud reside in the data region selected during initial Tanium Cloud onboarding.

2

If the package contains remote files, Tanium Cloud servers download the files from their sources. All downloaded files then reside in the data region selected during initial Tanium Cloud onboarding.

Tip: Tanium Cloud is preconfigured to authenticate downloads from content.tanium.com. To configure downloads authentication for other remote sources, see Managing downloads authentication.
3

Tanium Cloud generates a symmetric encryption key for each of the package files and encrypts the contents of the files. Tanium Cloud stores the key within the data region selected during initial Tanium Cloud onboarding.

4

Tanium Cloud uploads the encrypted contents of the package files to the Tanium CDN service.

5

When an action is scheduled to start, Tanium Cloud sends a message to the Clients, originating from the Tanium Cloud server in the customer data region and sent directly to the Clients using the encrypted Tanium™ Protocol. This message includes the URLs and the decryption keys necessary for the Clients to download and decrypt the encrypted packages.

Note: Tanium Cloud controls access to files distributed through the CDN using digitally signed URLs with a short-lived token to ensure the CDN traffic is secure and that endpoints cannot permanently access encrypted file contents.
6

The targeted Clients send a request to the Tanium CDN for the encrypted package files, which is automatically routed to the nearest CDN point of presence (PoP).

7

Only after receiving this request from a Client, the Tanium CDN sends the encrypted contents through the CDN PoP nearest the Client.

Note:
  • Tanium Cloud does not pre-cache files in CDN PoPs. Encrypted package files are replicated in a PoP only when a Client in the associated region requests them, and they are stored there only temporarily.

  • Only encrypted file contents are sent from the customer data region to the CDN. No raw data is distributed through the CDN.

8

Upon receiving the encrypted contents, Clients decrypt the package files and run the action. If the action needs an additional remote file that was not included in the original package, and the file is already available on the CDN, the Client downloads it directly from the CDN while running the action. If the file is not available on the CDN, the process repeats steps 2–7 to make the requested file available on the CDN and have the Client download it.

Likewise, if a Client Extension instructs the Tanium Client to download as part of a Tanium solution activity that does not have an associated action, the process is the same: the Client downloads the file if it is already available on the CDN, or otherwise the process repeats steps 2–7.

Figure 3. Package file downloads using the CDN
Package file downloads using the CDN

File distribution among peers

Peering reduces the number of files that Tanium Cloud distributes over WAN links. Instead of sending files to all managed endpoints, Tanium Cloud sends files only to the backward leader of each linear chain. Each backward leader then relays the files over a high-speed LAN connection from one forward peer to another until they reach the forward leader.

Chunk caching

Caching enables Clients to redistribute files in multiple small pieces known as chunks. Each Client maintains a local cache of the file chunks that Tanium Cloud previously distributed to the linear chain. When the same files are requested later (for example, when an action runs again), Clients can use the cached chunks, instead of requesting that Tanium Cloud redistribute the files again.

TLS

Tanium Cloud uses Transport Layer Security (TLS) for encrypted communication in connections from Tanium Clients to Tanium Cloud by default.

Client extensions and endpoint tools for Tanium solutions

In addition to the Tanium Client binary, Tanium installs Client Extensions and other tools on endpoints to perform tasks that are common to certain Tanium solutions. Endpoint Configuration installs these tools as they are needed by those solutions. For information about managing installed endpoint tools, see Managing endpoint tools.

Tools are bundled together in a versioned toolset that contains a specific version of each tool. The entire toolset upgrades as new versions are available. You can use the change management feature of Endpoint Configuration to perform a staged rollout of each toolset that accommodates the software upgrade strategy for your organization. For more information, see Managing endpoint tool upgrade rollouts.

Each Client Extension and tool has required security exclusions to allow the Tanium processes to run without interference. For more information, see Reference: Endpoint security exclusions, or the requirements section of each solution user guide in the Tanium Resource Center.

Client extensions can run in separate processes, or together in a single process, depending on whether Client Extension shared process mode is enabled. For more information, see Manage Client Extension shared process mode.

The Tanium Client applies a CPU throttle (5% of total CPU capacity) to limit the aggregate CPU usage of all Client Extensions on an endpoint, regardless of whether Client Extension shared process mode is enabled. When a single extension is active, it can use up to the full 5% allocation; when multiple extensions are active simultaneously, they share the available CPU within that limit. Long-running work such as indexing might run faster when no other extensions are competing for CPU.

Note:
  • After a Client Extension restart, the Client allows approximately 30 seconds before applying the throttle. Brief CPU peaks during this window are expected and allowed.

  • The Client Recorder Extension is exempt from the CPU throttle to ensure reliable event recording. For more information, see Client Recorder Extension requirements.

The Tanium Client uses code signatures to verify the integrity of each Client Extension prior to loading the extension on the endpoint.

To troubleshoot issues with endpoint tools, see Identify and resolve issues with endpoint tools or Client Extensions.

For a list of Client Extensions and endpoint tools used for each solution, see Reference: Client extensions and endpoint tools used for Tanium solutions.