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.

Note: You cannot install the universal version of the macOS Tanium Client on an endpoint where the x86-64 version is already installed. You must first uninstall the existing Tanium Client.

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

  1. Ensure that the endpoint meets the basic requirements for the Tanium Client on macOS.
  2. 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.
  3. (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

    /Library/Tanium/EndUserNotifications/bin/Launcher.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.

  4. Sign in to the target endpoint.
  5. 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
    • tanium‑init.dat
    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.

  6. 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

  1. Sign in locally to the macOS endpoint as a user with an administrator account.
  2. 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.
  3. Respond to the wizard prompts. Specify the User Name and Password of a local administrator when the wizard prompts you for credentials.
  4. Use the CLI (see CLI on non-Windows endpoints) to configure the following basic Tanium Client settings.

    ServerNameList

    Fully qualified domain names (FQDNs) from the Tanium Cloud Client Edge URLs with which the Client can connect, separated with commas.

    Typically, the tanium-init.dat file included with the installation package includes the appropriate FQDNs and you omit this argument. If you need to specify Server addresses manually, contact Tanium Support for the appropriate FQDNs.

    Tip: If you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud, you can optionally set the port that the Tanium Client uses to communicate with Tanium Cloud by appending :<port_number> to the FQDNs (for example, taas-example1-zs.cloud.tanium.com:443,taas-example2-zs.cloud.tanium.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 Tanium Cloud and with peers. Do not change the default of 17472 unless you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud or you are overriding this port specification in the ServerNameList setting for communication with Tanium Cloud. 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 Tanium Cloud deployment:

    CODE
    sudo /Library/Tanium/TaniumClient/TaniumClient config set LogVerbosityLevel 1
  5. 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
  6. Wait a few minutes for the Tanium Client to register withTanium Cloud, and then verify that the Client installed correctly and is communicating properly.

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.

Tip: The install.sh file provides an example of a script that performs an installation of the Tanium Client. By default, the script checks for a supported version of macOS, installs the appropriate Tanium Client package, and copies the tanium‑init.dat file. You can modify this script with CLI commands that configure the Tanium Client settings that are necessary for your environment. You can then use the modified script for automated deployment of the Tanium Client. To run the install.sh script, you must have root or sudo permissions.
  1. Sign in locally to the macOS endpoint as a user with an administrator account.
  2. Open Terminal.
  3. 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.
  4. Use the CLI (see CLI on non-Windows endpoints) to configure the following basic Tanium Client settings.

    ServerNameList

    Fully qualified domain names (FQDNs) from the Tanium Cloud Client Edge URLs with which the Client can connect, separated with commas.

    Typically, the tanium-init.dat file included with the installation package includes the appropriate FQDNs and you omit this argument. If you need to specify Server addresses manually, contact Tanium Support for the appropriate FQDNs.

    Tip: If you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud, you can optionally set the port that the Tanium Client uses to communicate with Tanium Cloud by appending :<port_number> to the FQDNs (for example, taas-example1-zs.cloud.tanium.com:443,taas-example2-zs.cloud.tanium.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 Tanium Cloud and with peers. Do not change the default of 17472 unless you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud or you are overriding this port specification in the ServerNameList setting for communication with Tanium Cloud. 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 Tanium Cloud deployment:

    CODE
    sudo /Library/Tanium/TaniumClient/TaniumClient config set LogVerbosityLevel 1
  5. Use the following command to copy tanium‑init.dat to the Tanium Client installation directory:
    CODE
    sudo cp tanium-init.dat /Library/Tanium/TaniumClient
  6. Wait a few minutes for the Tanium Client to register withTanium Cloud, and then verify that the Client installed correctly and is communicating properly.