Manage the Tanium Client on Windows
The Tanium Client is installed as a service with a Startup Type set to Automatic on Windows endpoints. The default installation directory is C:\Program Files (x86)\ for 64-bit versions of Windows, or C:\Program Files\ for 32-bit versions of Windows.
Manage the Tanium Client service on Windows
Use the Windows Services application to stop, start, or restart the Tanium Client service on Windows endpoints:
Manage tamper protection
The protocols that the Client uses to communicate with the Tanium Server and peer Clients are designed to be secure and prevent rogue sensors or actions, and digital signing prevents an attacker from causing the Client to run sensors or packages that the Tanium Server did not issue. However, the Tanium Client is a traditional Win32 application on Windows. By default, it appears in the Add/Remove Programs list, and users with local administrator rights can manage the service and access the Tanium Client installation directory.
The anti-tamper feature prevents end users from taking the following actions on Windows endpoints where it is enabled:
-
Stopping or restarting the Tanium Client service
-
Stopping Tanium Client processes
-
Uninstalling the Tanium Client
-
Tampering with Tanium Client files or registry entries
The restriction on uninstalling the Tanium Client applies to all processes, not only to end users. When anti-tamper is enabled on an endpoint, you cannot reinstall the Tanium Client remotely (including through Client Management) even when using a system-level process. If you need to reinstall a Tanium Client on an endpoint where anti-tamper is enabled, you must first disable anti-tamper on that endpoint. For more information, see Disable the anti-tamper feature on an offline endpoint.
Additionally, when anti-tamper is enabled, Tanium processes cannot see certain registry locations that are not owned by Tanium. A query that targets one of these locations from a Tanium process returns an empty or "not found" result that looks the same as a key that does not exist.
This restriction applies only to the Tanium Client and the processes it starts, including TaniumScript, Python, PowerShell, cmd, and VBScript sensor and package hosts, and Client Extensions such as Comply, Threat Response, and Direct Connect. It does not affect other processes on the endpoint, such as Registry Editor, a PowerShell session that a user starts, or Windows Management Instrumentation (WMI).
For example, the Registry Key Subkeys sensor returns "Key/Value not found" for HKLM\Software\Microsoft\AMSI\Providers on an endpoint that has anti-tamper enabled.
To enable the anti-tamper feature, configure an anti-tamper recovery password and then configure and deploy a Client settings configuration with the Enable Anti-Tamper setting selected. For more information, see Managing Client settings in Client Management.
-
Perform regular audits of unmanaged assets to look for and remediate systems with missing or non-functioning Clients, regardless of whether you have enabled the anti-tamper feature on Windows Clients. For more information, see Audit and remediate disconnected Tanium Clients.
-
If you choose to harden the Tanium Client on Windows endpoints, use the anti-tamper feature instead of Client Service Hardening features where possible.
-
If you have used the features of the Client Service Hardening content pack to limit control of Tanium Client services, use the Client Service Hardening - Set Service Permissions to Defaults package to remove these restrictions before you enable the anti-tamper feature on those Clients. For more information, see Unharden the Tanium Client on Windows. The anti-tamper feature replaces the service permissions control of Client Service Hardening. Though leaving this restriction in place from Client Service Hardening does not affect the functionality of the anti-tamper feature, doing so can cause the service permissions to unexpectedly remain restricted if you disable anti-tamper.
-
You can use the Client Service Hardening features to limit permission to view files in the Tanium Client directory and to hide the Tanium Client from the Windows Add/Remove Programs list in conjunction with the anti-tamper feature, but keep in mind that Client Service Hardening packages cannot function on an endpoint while the anti-tamper feature is enabled. Also, if you limit permissions on the Tanium Client directory to the LOCAL SYSTEM user account and you need to unlock a Tanium Client that is not connected to the Tanium Server, you must use the LOCAL SYSTEM user account to disable the anti-tamper feature.
Configure the anti-tamper recovery password
You can use the anti-tamper recovery password to unlock the anti-tamper feature on endpoints that are offline or where Tanium Client is otherwise unable to communicate with the Tanium Server.
Change the anti-tamper recovery password in Client Management.
Redeploy settings configurations to update the anti-tamper recovery password on endpoints
After you change the anti-tamper recovery password, you must redeploy settings configurations that have the Enable Anti-Tampering setting selected to update the password on endpoints.
- From the Main menu, go to Shared Services > Client Management.
- From the Client Management menu, go to .
- In the row for each settings configuration that has the Enable Anti-Tampering setting selected, click Actions
and select Deploy.
Disable the anti-tamper feature on an offline endpoint
If an endpoint that has the anti-tamper feature enabled is offline or is otherwise unable to communicate with the Tanium Server, you can unlock anti-tamper locally on the endpoint using the anti-tamper recovery password.
Determine whether anti-tamper is enabled on endpoints
Ask a question using the Tanium Driver Status sensor to determine whether endpoints have anti-tamper enabled. The sensor returns EnableAntiTamper: 1 to indicate that anti-tamper is enabled on an endpoint. For example:
Get Tanium Driver Status from all machines with Is Windows contains true
Manage Client Service Hardening features
Certain client hardening features are provided by the Client Service Hardening content pack. Use the saved question dashboards in the Client Service Hardening content pack to review restrictions on user access to the Tanium Client on Windows endpoints. Deploy actions with the packages that are associated with the saved questions to adjust those restrictions. For more information about deploying packages, see Deploying actions and playbooks in Console and Interact.
If you choose to harden the Tanium Client on Windows endpoints, use the anti-tamper feature instead of Client Service Hardening features where possible. The anti-tamper feature provides enhanced functionality with easier deployment and easier recovery of disconnected Tanium Clients. For more information, see Manage tamper protection. You can still use the Client Service Hardening content pack together with the anti-tamper feature if you need to restrict viewing the contents of the Tanium Client directory or to hide Tanium Client from the Add/Remove Programs list. The anti-tamper feature fully replaces the service permissions control feature of Client Service Hardening.
Install the Client Service Hardening content pack
- Sign in to Tanium Console as a user who is assigned the Administrator reserved role.
- From the Main menu, go to .
- In the Content section, select the Client Service Hardening row and click Import Solution.
- Review the list of packages and sensors and click Begin Import.
Access the Client Service Hardening dashboards
The Client Service Hardening dashboards in Interact provide easy access to review and manage access restrictions for the Tanium Client.
- From the Main menu, go to .
- In the Categories section, select Client Service Hardening.
Limit permission to start and stop Tanium Client services to the SYSTEM account
Limit permission to view or modify files in the Tanium Client directory to the SYSTEM account
- In the Dashboards section in Interact, click Set Client Directory Permissions to issue the dashboard question.
- Select the Not Restricted row, as well as any rows that indicate a restriction other than NT AUTHORITY\SYSTEM (such as Restricted - BUILTIN\Administrators) and click Deploy Action.
- For Deployment Package, select Client Service Hardening - Set SYSTEM only permissions on Tanium Client directory.
- Click Show Preview To Continue, review the list of targeted endpoints, and then click Deploy Action.
Hide the Tanium Client from the Windows Add/Remove Programs list
Hiding the Tanium Client from the Windows Add/Remove Programs list or the Programs menu does not affect the security of the Client. A user with permissions to uninstall an application can still launch the uninstallation manually. Hiding the Tanium Client from the Add/Remove Programs list helps to reduce accidental uninstallations and casual tampering by end users.
- In the Dashboards section in Interact, click Hide From Add-Remove Programs to issue the dashboard question.
- In the section for the Tanium Client Visible in Add-Remove Programs saved question, select the No row and click Deploy Action.
- For Deployment Package, leave Client Service Hardening - Hide Client from Add-Remove Programs selected.
- Click Show Preview To Continue, review the list of targeted endpoints, and then click Deploy Action.
Unharden the Tanium Client on Windows
Use Packages to unharden the Tanium Client
If an endpoint is communicating with your Tanium Server, you can unharden the Tanium Client using the following packages that correspond to each hardening package:
-
Client Service Hardening - Set Service Permissions to Defaults
-
Client Service Hardening - Reset permissions on Tanium Client directory
-
Client Service Hardening - Show Client in Add-Remove Programs
Unharden Tanium Client that is not reporting to the Tanium Server
If an endpoint is not communicating with your Tanium Server, and you have limited permission for Tanium Client services or the Tanium Client directory to the LOCAL SYSTEM account, you must unharden the Tanium Client from the command line. You can use the PsExec command line utility to run packages as the LOCAL SYSTEM user account, which is not installed with Windows but is available as a download from Microsoft.
Encrypt the Client state and sensor queries stored on the Client
Use the StateProtectedFlag Client setting to enable encryption of the Client state and sensor queries stored on the Client. This encryption is not required for the security of the Tanium Client, but it might be required for compliance with certain regulations. This setting does not require the Client Service Hardening content pack.