Managing installed endpoint tools

Review the endpoint tools installed on your endpoints, and use packages to remove, block, or troubleshoot them.

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. These tools are installed as they are needed by those solutions.

Tip: To manage general installation of endpoint tools, including configuring staged rollouts, see Managing Tanium Client and endpoint tool upgrade rollouts.
Note:
  • Tools cannot be deployed or configured on endpoints with action locks turned on. As a best practice, do not turn on action locks.

  • The set of endpoints targeted by endpoint tools depends on multiple factors. For more information, see Endpoint tool targeting.

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

Endpoint tool targeting

The set of endpoints that receive endpoint tools and configuration changes depends on multiple targeting factors.

The set of endpoints that receive certain endpoint tools and configuration changes depends on multiple targeting factors:

  • Solution action group: The action group for the solution that initiates each configuration change or endpoint tool deployment determines the set of endpoints that can receive any endpoint tools or configuration changes from that solution. For more information, see the user guide for the applicable module or shared service.

  • Configuration item or endpoint tool targeting from the solution: The solution that initiates each configuration change or endpoint tool deployment defines the targeting for that configuration change or endpoint tool, such as the targeting defined in a Threat Response profile. In some cases, a solution targets endpoint tools to all endpoints included in the action group for that solution; in other cases, endpoint tool distribution is associated with certain configuration changes. For more information, see the user guide for the applicable module or shared service.

  • User computer group assignments: The computer group assignments for the user who initiates a configuration change in a solution limit the final targeting for the configuration change and any associated endpoint tool deployments. For more information, see Managing users.

  • Change management upgrade ring (endpoint tools only): If you use the change management feature to promote endpoint tools through upgrade rings, the upgrade ring to which an endpoint is assigned is an additional factor in endpoint tool targeting. For more information, see Managing Tanium Client and endpoint tool upgrade rollouts.

Figure 1. Configuration change targeting
Configuration change targeting factors
Figure 2. Endpoint tool targeting
Endpoint tool targeting factors including the change management upgrade ring
Note: The Endpoint Configuration action group also determines the set of endpoints that can receive any endpoint tools or configuration changes. It is a best practice to keep the Endpoint Configuration action group assigned to the All Computers computer group.
Note: Tanium does not deploy endpoint tools to container-based endpoints; containers are not traditional endpoints that run packages or tooling, and they support only basic monitoring. For more information, see the Tanium Cloud Workloads User Guide.

Reevaluation of targeting

Changes in configuration item or endpoint tool targeting from a solution typically trigger new configuration changes with new targeting. However, other changes can affect whether an endpoint is targeted, such as changes to the properties of an endpoint that change its membership in a computer group that was used for targeting.

In general, each endpoint reevaluates its targeting every five minutes. This interval might be longer for a specific configuration item or endpoint tool if a sensor in a question that defines the targeting for that configuration item or endpoint tool has a max sensor age longer than five minutes.

When the reevaluation occurs, if a change in computer group membership that affects the targeting of a prior configuration change or endpoint tool deployment has occurred, Tanium makes the appropriate changes on the endpoint.

If a new configuration change or a Client reset occurs before the next reevaluation interval, changes to the endpoint occur within the following minute for configuration changes and depending on the distribute over time setting for tools, rather than waiting on the next reevaluation.

View deployed endpoint tools

Review the installation status of endpoint tools across your endpoints, or for a specific tool.

  1. To review installation status for all endpoint tools, enter the following chat prompt in Tanium Atlas:

    Show the installation status of endpoint tools across my endpoints

    Atlas adds a panel that lists each tool that has endpoints that are not running the targeted version, with the number of endpoints and the reasons: pending install, in progress, other version, error, or blocked. Tools that are installed at the targeted version on all targeted endpoints do not appear. To limit the results to one upgrade ring, ask Atlas to narrow the results to that ring.

  2. To review installation status for a specific tool, enter the following prompt:

    Show the installation status of <tool_name> across my endpoints

    Atlas adds a panel that shows the number of endpoints in each status for the tool: installed, in progress, missing, other version, error, blocked, and unsupported.

    Note: These panels use cached data, which includes offline endpoints.

Automatic tool removal

Endpoint tools that are no longer targeted by any solution are automatically removed after a configurable period.

To reduce operational overhead and prevent orphaned tools from accumulating on endpoints over time, Tanium automatically removes endpoint tools that are no longer targeted by any solution after a configurable period (45 days by default). Tanium also deletes all files and databases associated with a removed tool.

Automatic tool removal is enabled by default. To check the number of days before removal, enter the following chat prompt in Tanium Atlas: What is the automatic tool removal period set to? To change it, enter Set the automatic tool removal period to <days> days, review the approval card, and then click Approve once.

Important:

The following tools are always excluded from automatic removal:

  • config-cx and cx-core: These are foundational Client Extensions that are always required on endpoints. Removal requires reinstallation of the Tanium Client.

  • Npcap: Removal of Npcap can cause stability issues on some endpoint configurations.

How automatic tool removal works

A tool that is no longer targeted on an endpoint moves through two stages before it is removed.

A tool can become untargeted on an endpoint if the endpoint is removed from targeting in all solutions that use the tool, or if a solution is unlicensed. If multiple solutions use a tool, that tool is considered untargeted on an endpoint only if none of those solutions target that endpoint.

When a tool becomes untargeted, Tanium tracks it through two stages before removal:

  • Safe to Remove: The tool is installed but is no longer targeted by any solution. The tool's status changes to Safe to Remove, and the removal countdown starts. For information about removing tools manually during this stage, see Remove unused endpoint tools.

  • Pending Automatic Uninstall: When the remaining time drops to 50% of the configured period, the tool advances to Pending Automatic Uninstall status. For example, with a 30-day setting, the tool enters this status when 15 days remain. During this stage, the Endpoint Configuration - Automatic Uninstall Status sensor reports the number of days remaining until removal. When the configured time has elapsed and the endpoint confirms it is communicating with the Tanium Server, Tanium removes the tool and any associated files or databases.

If a tool is re-targeted at any point before the configured time has elapsed, the timer resets, and the tool returns to a normal installed status.

Offline endpoints

Endpoint tools are not removed from endpoints while they are offline.

Tanium does not automatically remove endpoint tools from endpoints while they are offline. When an endpoint comes back online after the configured time has elapsed, Tanium waits at least 60 minutes before checking whether removal should proceed, giving the endpoint time to receive the current manifest. If a tool is re-targeted during that window, removal is canceled. If the endpoint has not yet communicated with the Tanium Server when the check runs, the check is postponed another 60 minutes.

Remove unused endpoint tools

Manually remove an endpoint tool from endpoints where it is no longer needed.

Some tools remain installed on an endpoint even after the associated solution no longer targets that endpoint or after the associated solution is no longer installed. Endpoints that have an endpoint tool installed under these conditions report the Safe to Remove status for that tool. These tools are also removed automatically after a configurable period. For more information, see Automatic tool removal.

  1. To find the tools that are safe to remove, enter the following chat prompt in Tanium Atlas:

    Which endpoint tools are Safe to Remove, and on how many endpoints?

  2. To list the endpoints for a tool, enter the following prompt:

    List the endpoints with <tool_name> marked Safe to Remove

  3. Enter the following prompt in Tanium Atlas:

    Open the Deploy Action panel to deploy the Endpoint Configuration - Uninstall Tool [Windows] package to <endpoints>

    For non-Windows endpoints, use the Endpoint Configuration - Uninstall Tool [Non-Windows] package.

    Tip: If a prompt names the package, the endpoints, and every required parameter but does not ask for the Deploy Action panel, Atlas creates the action after you approve it in chat instead of opening the panel.
  4. In the Deploy Action panel, under Package Parameters, configure the following settings:
    • Tool Name: Select the tool that you are removing.

    • Manually specified tool name: If the tool does not appear in the Tool Name list, for example because the solution that installed it has been removed, enter the tool name exactly as the Endpoint Configuration - Tools Status sensor reports it.

    • Block reinstallation: By default, tools cannot be reinstalled after they are removed. To allow tools to be automatically reinstalled, turn off this setting.

    • Soft uninstall: Turn on this setting to remove only the tool and preserve databases and logs that might be useful for troubleshooting on the endpoint. To remove all databases and logs for the tool, turn it off.

      CAUTION: When you perform a hard uninstallation of some tools, the uninstallation also removes data that is associated with the tool from the endpoint. This data might include important historical or environmental data. If data that you want to keep is associated with the tool, make sure you perform only a soft uninstallation of the tool.
    • Remove unreferenced dependencies: Turn on this setting to also remove tools that were dependencies of the tool you are removing but are not dependencies for other solutions.

  5. (Optional) In the Deployment Schedule section, configure a schedule for the action.
    Note: If some target endpoints might be offline when you initially deploy the action, select Recurring Deployment and set a reissue interval.
  6. Review the targeted endpoints, and then click Deploy.

Block or unblock tools from installing on an endpoint

Prevent a tool from installing or upgrading on endpoints, or allow it again.

Blocking a tool prevents the tool from installing on an endpoint if it is not already installed, or upgrading if it is installed.

Note: Blocking a tool does not prevent the tool from running if it is already installed.
  1. In Tanium Atlas, enter the following chat prompt:

    Open the Deploy Action panel to deploy the Endpoint Configuration - Block Tool [Windows] package to <endpoints>

    For non-Windows endpoints, use the Endpoint Configuration - Block Tool [Non-Windows] package.

    Tip: If a prompt names the package, the endpoints, and every required parameter but does not ask for the Deploy Action panel, Atlas creates the action after you approve it in chat instead of opening the panel.

    To unblock tools, use the Endpoint Configuration - Unblock Tool [Windows] or Endpoint Configuration - Unblock Tool [Non-Windows] package instead.

  2. In the Deploy Action panel, under Package Parameters, configure the following settings:
    • Tool Name: Select the tool to block or unblock. To block or unblock all tools, select All Module Tools instead. All Module Tools applies to all endpoint tools except core-cx and cx-config.

    • Manually specified tool name: If the tool does not appear in the Tool Name list, for example because the solution that installed it has been removed, enter the tool name exactly as the Endpoint Configuration - Tools Status sensor reports it.

  3. (Optional) In the Deployment Schedule section, configure a schedule for the action.
    Note: If some target endpoints might be offline when you initially deploy the action, select Recurring Deployment and set a reissue interval.
  4. Review the targeted endpoints, and then click Deploy.

Review tool installations that are scheduled for a retry

Review tool installations that previously failed and that will be retried.

To view tool installations that previously failed and that will be retried, enter the following chat prompt in Tanium Atlas:

Show me endpoint tool installations that are scheduled for a retry, with the tool name, targeted version, retry count, and next retry

Atlas uses the Endpoint Configuration - Tools Retry Status sensor, which returns the following columns:

  • Tool Name: The tool for which installation will be retried

  • Targeted Version: The version of the tool that is being installed

  • Retry Backoff Seconds: The current delay between the failed installation and retrying the installation. This value increases each time the installation fails.

  • Retry Count: The number of times the installation has been retried, within a range

  • Next Retry: The approximate time until the next retry

To see which endpoints are affected, ask Atlas to add computer names to the results.

Manage Client Extension shared process mode

Control whether Client Extensions run in separate processes or in a single combined process.

You can enable or disable Client Extension shared process mode to control whether Client Extensions run in separate processes or in a single combined process:

  • Shared process mode disabled: Each Client Extension runs in its own isolated instance of TaniumCX.exe (Windows) or TaniumCX (non-Windows), associated with the dynamic library for that Client Extension. For example, on a Windows endpoint, ConfigCX runs with the following command:

    CODE
    "C:\Program Files (x86)\Tanium\Tanium Client\TaniumCX.exe" run --purpose TaniumConfig.dll
  • Shared process mode enabled: All Client Extensions run together in a single instance of TaniumCX.exe (Windows) or TaniumCX (non-Windows). For example, on a Windows endpoint, all Client Extensions run under the following command:

    CODE
    "C:\Program Files (x86)\Tanium\Tanium Client\TaniumCX.exe" run-framework
Note:
  • With shared process mode enabled, other processes, such as Tanium Client processes and endpoint tools other than Client Extensions, continue to run separately.

  • Enabling shared process mode reduces the number of Tanium processes running on endpoints. However, you cannot determine the CPU or memory usage of individual Client Extensions within the combined process. While troubleshooting an issue where it is necessary to identify a specific extension causing the issue, such as excessive CPU usage, disable shared process mode. For more information, see Identify and resolve issues with endpoint tools or Client Extensions.

Determine whether shared process mode is enabled on endpoints

Check the DisableExtensionIsolation Tanium Client setting on your endpoints.

In Tanium Atlas, enter the following chat prompt:

Which endpoints have Client Extension shared process mode enabled?

Endpoints with a value of 1 for the DisableExtensionIsolation Tanium Client setting have shared process mode enabled.

Enable or disable shared process mode

Deploy a package to enable or disable shared process mode on endpoints.

  1. In Tanium Atlas, enter the following chat prompt:

    Open the Deploy Action panel to deploy the Endpoint Configuration - Enable Shared Process Mode [Windows] package to <endpoints>

    To disable shared process mode, use the Endpoint Configuration - Disable Shared Process Mode [Windows] package instead. For non-Windows endpoints, use the [Non-Windows] version of either package.

    Tip: If a prompt names the package, the endpoints, and every required parameter but does not ask for the Deploy Action panel, Atlas creates the action after you approve it in chat instead of opening the panel.
  2. (Optional) In the Deployment Schedule section, configure a schedule for the action.
    Note: If some target endpoints might be offline when you initially deploy the action, select Recurring Deployment and set a reissue interval.
  3. Review the targeted endpoints, and then click Deploy.