Deploy the Tanium Client to macOS endpoints using the installer
On macOS endpoints, the Tanium Client is installed as a system service. The Client files are installed in the /Library/Tanium/TaniumClient directory.
You can use the installation wizard or CLI to deploy the Tanium Client to macOS endpoints. You must perform the installation as a user with an administrator account.
For information about managing the Tanium Client service, managing firewall rules or pop-ups, or uninstalling the Tanium Client after deployment, see Manage the Tanium Client on macOS.
Prepare for installation
- Ensure that the endpoint meets the basic requirements for the Tanium Client on macOS.
- Ensure that host and network firewalls are configured to allow inbound and outbound TCP traffic on the ports that the Tanium Client uses. For more information, see Manage macOS firewall rules and Network connectivity, ports, and firewalls.
- (macOS 10.14 or later only) Create a mobile device management (MDM) profile that provides the necessary permissions for the following Tanium applications.
Important:
This step is critical for full support of Tanium Client functionality on macOS 10.14 or later.
Application
Location
Required Permissions
Apple Events
Tanium Client
/Library/Tanium/TaniumClient/TaniumClient All System Files, Admin System Files, Post Events
System Events, SystemUIServer, Finder
Tanium Client Extensions1
/Library/Tanium/TaniumClient/TaniumCX All System Files, Admin System Files, Post Events
System Events, SystemUIServer, Finder
/Library/Tanium/TaniumClient/TaniumCX.app All System Files, Admin System Files, Post Events
System Events, SystemUIServer, Finder
Tanium End-User Notifications
End-User Notifications 1.18.57 or later:
/Library/Tanium/EndUserNotifications/bin/Launcher.app
Earlier versions:
/Library/Tanium/EndUserNotifications/bin/end-user-notifications.app
Post Events
System Events, SystemUIServer, Finder
1 On endpoints running the universal Tanium Client binary, you must specify both of the locations listed for Tanium Client Extensions. On endpoints running the x86-64 Tanium Client binary, you do not need to specify /Library/Tanium/TaniumClient/TaniumCX.app. Tanium recommends the universal binary for all Mac computers running macOS 11 or later. For more information, see Client version and operating system requirements.
An MDM administrator must create a PPPC custom payload that specifies the necessary permissions for each application. The PPPC custom payload must be delivered using a User-Approved MDM (UAMDM) payload in a device profile.
The team identifier for Tanium applications is TZTPM3VTUU.
Important: If you previously created a PPPC custom payload for a version of the Tanium Client earlier than 7.2.314.3608, you must update the code signing requirement for newer versions of the Tanium Client.For more information about MDM on macOS, see Apple Platform Deployment.
- Sign in to the target endpoint.
- Use the Tanium Client Management service to download the Client installer bundle to the macOS endpoint. From the Client Management Overview page, click Download Installers > Download macOS Package.
The bundle (mac-client-bundle.zip) contains the following files:
- install.sh
- TaniumClient‑<version>-universal.pkg
- TaniumClient‑<version>-x64.pkg
- Download the tanium-init.dat file from a Client Deployment Template in the Tanium Client Management service:
-
From the Main menu, go to Shared Services > Client Management.
-
Go to Client Installations > Client Deployment Templates.
-
In the row for a template, click Actions
and select Download tanium-init.dat.
-
Deploy Tanium Client using the appropriate installer or package file and the tanium-init.dat file you downloaded. For more information, see Deploying the Tanium Client using an installer or package file.
Tip: You must create a Client Deployment Template in Client Management before performing this step. For more information, see (Optional) Create a Client deployment template.Note: Download the tanium‑init.dat file for a Client Deployment Template in Client Management. Though you can also download tanium‑init.dat through Tanium Console without creating a Client Deployment Template (see Download infrastructure configuration files (keys)), the installation process requires fewer manual configuration steps if you use these steps.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.
-
- Extract the files from the bundle, and copy the package files, tanium-init.dat, and, optionally, install.sh to a temporary directory on the endpoint. Make sure to keep the tanium‑init.dat file in the same directory as the package files.
Install the Tanium Client on macOS using the installation wizard
- Sign in locally to the macOS endpoint as a user with an administrator account.
- Double-click TaniumClient‑<version>-universal.pkg or TaniumClient‑<version>-x64.pkg to start the installation wizard.
Note: Tanium recommends the universal binary for all Mac computers running macOS 11 or later. The universal binary is supported and runs natively on both Intel-based Mac computers running macOS 11 or later and Apple "M" series-based Mac computers.Note: If you are using any solutions that use the Tanium™ Client Recorder Extension, you must install the universal binary for full functionality of the extension.
- Respond to the wizard prompts. Specify the User Name and Password of a local administrator when the wizard prompts you for credentials.
- (For tanium-init.dat files that do not include Client settings) Use the CLI (see CLI on non-Windows endpoints) to configure the following basic Tanium Client settings.
In a deployment with a standalone Tanium Server, set the ServerName to the Server FQDN or IP address. In a deployment with Tanium Zone Servers or multiple Tanium Servers, configure ServerNameList with the FQDN or IP address of each Server, separated with a comma.
Important: If the tanium‑init.dat file specifies ServerNameList, you do not need to configure ServerName or ServerNameList; any setting that you specify here is added to the ServerNameList specified in tanium-init.dat. By default, the tanium‑init.dat that you download through the Client Management service specifies ServerNameList, while the tanium‑init.dat that you download through Tanium Console does not. You can use the TaniumClient pki show <path_to_tanium-init.dat> command on an endpoint where Tanium Client is already installed to view the ServerNameList that the tanium-init.dat file specifies.Note: If the tanium-init.dat file does not include the ServerNameList, specify FQDNs for this setting.Tip: You can optionally set the port that the Tanium Client uses to communicate with Servers by appending :<port_number> to the Server IP addresses or FQDNs (for example, ts1.local.com:443,ts2.local.com:443,zs1.example.com:443). The ServerNameList port values override the ServerPort setting for the Tanium Client (default is 17472).ServerPort
The port that the Tanium Client uses for communication with the Tanium Server and with peers. The default port is 17472. For more information, see ServerPort.
LogVerbosityLevel
The level of logging on the endpoint. The following values are best practices for specific scenarios:
-
1 (default): Use this value during normal operation.
-
41: Use this value during troubleshooting.
-
91 or higher: Use this value for full logging, for short periods of time only.
Note:A value of 0 disables logging. As a best practice, do not disable logging.
Note: For information about configuring additional settings, see Modify Client settings and Tanium Client settings reference.The following example commands are for a deployment with multiple Tanium Servers and Zone Servers:
CODEsudo /Library/Tanium/TaniumClient/TaniumClient config set ServerNameList \ ts1.example.com,ts2.example.com,zs1.example.com,zs2.example.com sudo /Library/Tanium/TaniumClient/TaniumClient config set LogVerbosityLevel 1 -
- Use the following command to copy tanium‑init.dat from the temporary directory to the Tanium Client installation directory:
CODE
sudo cp <extracted installer bundle directory>/tanium-init.dat /Library/Tanium/TaniumClient - Wait a few minutes for the Tanium Client to register with the Tanium Server or Zone Server, and then verify that the Client installed correctly and is communicating properly. For more information, see Verify the Tanium Client installation.
Install the Tanium Client on macOS using the command line
To install the Tanium Client, you must have root or sudo permissions to run the installer command. For more information about using the CLI, see CLI on non-Windows endpoints.
- Sign in locally to the macOS endpoint as a user with an administrator account.
- Open Terminal.
- Run the following command in the directory into which you copied TaniumClient‑<version>-universal.pkg or TaniumClient‑<version>-x64.pkg to install the Client :
CODE
sudo installer -pkg TaniumClient-<version>-binary.pkg -target / installer: Package name is TaniumClient installer: Installing at base path / installer: The install was successful.Note: Tanium recommends the universal binary for all Mac computers running macOS 11 or later. The universal binary is supported and runs natively on both Intel-based Mac computers running macOS 11 or later and Apple "M" series-based Mac computers. - (For tanium-init.dat files that do not include Client settings) Use the CLI (see CLI on non-Windows endpoints) to configure the following basic Tanium Client settings.
In a deployment with a standalone Tanium Server, set the ServerName to the Server FQDN or IP address. In a deployment with Tanium Zone Servers or multiple Tanium Servers, configure ServerNameList with the FQDN or IP address of each Server, separated with a comma.
Important: If the tanium‑init.dat file specifies ServerNameList, you do not need to configure ServerName or ServerNameList; any setting that you specify here is added to the ServerNameList specified in tanium-init.dat. By default, the tanium‑init.dat that you download through the Client Management service specifies ServerNameList, while the tanium‑init.dat that you download through Tanium Console does not. You can use the TaniumClient pki show <path_to_tanium-init.dat> command on an endpoint where Tanium Client is already installed to view the ServerNameList that the tanium-init.dat file specifies.Note: If the tanium-init.dat file does not include the ServerNameList, specify FQDNs for this setting.Tip: You can optionally set the port that the Tanium Client uses to communicate with Servers by appending :<port_number> to the Server IP addresses or FQDNs (for example, ts1.local.com:443,ts2.local.com:443,zs1.example.com:443). The ServerNameList port values override the ServerPort setting for the Tanium Client (default is 17472).ServerPort
The port that the Tanium Client uses for communication with the Tanium Server and with peers. The default port is 17472. For more information, see ServerPort.
LogVerbosityLevel
The level of logging on the endpoint. The following values are best practices for specific scenarios:
-
1 (default): Use this value during normal operation.
-
41: Use this value during troubleshooting.
-
91 or higher: Use this value for full logging, for short periods of time only.
Note:A value of 0 disables logging. As a best practice, do not disable logging.
Note: For information about configuring additional settings, see Modify Client settings and Tanium Client settings reference.The following example commands are for a deployment with multiple Tanium Servers and Zone Servers:
CODEsudo /Library/Tanium/TaniumClient/TaniumClient config set ServerNameList \ ts1.example.com,ts2.example.com,zs1.example.com,zs2.example.com sudo /Library/Tanium/TaniumClient/TaniumClient config set LogVerbosityLevel 1 -
- Use the following command to copy tanium‑init.dat to the Tanium Client installation directory:
CODE
sudo cp tanium-init.dat /Library/Tanium/TaniumClient - Wait a few minutes for the Tanium Client to register with the Tanium Server or Zone Server, and then verify that the Client installed correctly and is communicating properly. For more information, see Verify the Tanium Client installation.