Deploying the Deep Instinct Agent Using Tanium

It takes a village to make a Community. A special thanks goes out toDerek Carver* for his contributions to this article.*

Tanium has recently released a foundational partnership with Deep Instinct to better solve security issues. Tanium brings unparalleled visibility, control and speed with endpoints, coupled with Deep Instinct’s powerful protection components. Here we cover the basics of deploying the Deep Instinct agent.

The Basics

The integration is based around tight communication with the Deep Instinct agent, to which alerts are brought into the Tanium console for alerting and subsequent response action. The prerequisites of the integration are Tanium Threat Response and Deep Instinct Infrastructure. Once these prerequisites are met, you can move on to the deployment. It is recommended to review the Deep Instinct agent docs as well. Contact your Deep Instinct representative for more information.

Gather Pre-requisites from Deep Instinct

The pre-requisites to install the Deep Instinct agent are composed of 3 parts which can all be retrieved from the Deep Instinct console:

  • Deep Instinct installer:

    • Navigate to Deep Instinct Management Console > Devices > Deployment

    • Download the Installation File

  • Deep Instinct Version:

    • Take note of the version listed on this page that was downloaded, as it will be required when creating the package

  • Deep Instinct install command line:

    • From the same screen as above, there should be a text box at the bottom with the entire command line. Use the Copy CLI Command button.

    • Paste the command into your notes and append /tanium to the end if it does not already exist.

    • The full command line should look like this:

      • InstallerManaged_deep.exe test.deepinstinctweb.com /token xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /tanium

When this section is complete you should have 3 things: an installer executable, a version, and a command line. You’ll need these as you work through this document.

Create the Package

Now that you have the components that you need, you can create the package. There are two common methods to install the agent based on which Tanium products are licensed. If Tanium Deploy is licensed, then this is the best method as it will allow ongoing deployments, robust reporting, and simpler control of where it gets installed. The second option is using the core Tanium platform, which every Tanium customer has access to. Choose one of the following options depending on what is available to you in Tanium.

  1. In Tanium, navigate to Modules > Deploy > Software

  2. Select the Create Software Package button in the top right corner

  3. Use the following settings in the Create Software Package form

  4. Package Files:

  5. Select the Add package files button and choose the <installer executable from previous section>

  6. Package Details

  7. Product Vendor: Deep Instinct

  8. Product Name: Deep Instinct

  9. Product Version: <version from previous section>

  10. OS Platform: Windows

  11. You may add Additional Details, Description, and/or a Package Icon if you desire. These are not required.

  12. System Requirements

  13. Disk Space Required: 200 MB

  14. Minimum Ram: 1 GB

  15. Architecture: x86, x64 (Select All)

  16. Deploy Operations

  17. Select the Install operation.

  18. Select Require Source Files if it is not already selected.

  19. Select the Add Command button and choose Run Command.

  20. Display Name: Deep Instinct Agent Install.

  21. Run Command: <command line from previous section>.

  22. Leave the rest of the values in this section at the defaults.


    DeployingDeepIn_99398f2d-ef04-4cb3-a283-73cb90ded46c.png
  23. Installation Requirements

  24. Registry Path

  25. Select Attribute: Registry Path

  26. Select Operator: does not exist

  27. Registry Path: HKEY_LOCAL_MACHINE\SOFTWARE\Deep Instinct\Version

  28. Install Verification

  29. Registry Data

  30. Select Attribute: Registry Data

  31. Registry Value Path: HKEY_LOCAL_MACHINE\SOFTWARE\Deep Instinct\Version

  32. Select Operator: is equal to

  33. Value: <version from previous section>

  34. Select the Apply button on the right.


    DeployingDeepIn_95bc2820-a9cd-484d-8ed5-ecabfeb06565.png
  35. Select the Create Package button.

Option 2: Tanium Core Package

  1. In Tanium navigate to Administration > Packages.

  2. Select the New Package button on the right side.

  3. Use the following settings in the Create Package form:

  4. Package Name: Deep Instinct Agent Install

  5. Content Set: Default (or any other appropriate Content Set if you would like to control more finely who has access to this package in Tanium)

  6. Command: cmd /c <command line from previous section>

  7. Command Timeout: 5 minutes

  8. Select the Add File button and choose Local Files.

  9. Browse for or drag in the <installer executable from previous section>.

  10. Select the Save button.


    DeployingDeepIn_2b64367e-ac5f-4328-b278-7905a42bb287.png

Deploy the Deep Instinct Package

Now that you created the package, you can deploy it to your endpoints. Similar to the previous section, the deployment instructions vary depending on the way you created the package. Choose only the option that corresponds to the way you created the package in the previous section.

Option 1: If the package was created in Tanium Deploy

  1. In Tanium navigate to Modules > Deploy > Software Packages.

  2. Select the Deep Instinct package you created (the filter bar on the right is helpful if there are many packages).

  3. Select Deploy Package button.

  4. Note that the settings configured for the deployment around rebooting, notifications, etc are determined by whatever the defaults have been configured for in your environment. These can all be configured per deployment as well if you choose to.

  5. In the Endpoints to target section select a computer group to deploy the agent to.

  6. Then select Preview to Continue.

  7. If the preview (especially the endpoint count) matches your expectations, you can select the Deploy button.

Option 2: If the package was created in Tanium Core

In Tanium, packages are targeted based on questions. As such, the way you target endpoints for packages have many different possibilities and that is a strength of the platform. You can target based on OS, computer name, AD OU (Organizational Unit), logged in user, some custom tag/attribute, or by something more detailed such as if a certain application is installed, or a registry key is present. The possibilities are endless. For the sake of this exercise, we’ll focus on a couple common use cases for Deep Instinct deployment.

Let's start small in the first example. A targeting question could be something with many unique answers like Get Computer Name from all machines. This would return the computer name for every endpoint. This may be appropriate targeting if you want to select only a few systems to deploy the Deep Instinct agent to.

A targeting question could also be something at a much higher level, like Get OS Platform from all machines, which would return fewer unique answers like Windows, Linux, macOS along but with a much higher count of how many systems matched each answer. This would be appropriate if the goal was to target all Windows systems, for example. In this case, you can select Windows as your target and Deploy the Deep Instinct Agent to all Windows systems at once.

Another common method for Deep Instinct agent deployment is to ask a question that checks whether the Deep Instinct agent is already installed and then only attempts to install it where it is not installed already. This is well suited for setting up recurring deployments to catch any new systems as they come online. This can be accomplished by using the following question: Get Registry Value Data[ HKEY_LOCAL_MACHINE\SOFTWARE\Deep Instinct,Version] from all machines and selecting “Key/Value not found” as your target since that value will exist on systems that have Deep Instinct installed.

Once you decide on a targeting question, you can create a deployment.

  1. Select the rows (up to 10) you want to deploy the Deep Instinct agent to.

  2. Select the Deploy Action button.

  3. Select Package: Deep Instinct Agent Install.

  4. Schedule Type: One Time Deployment.

    Note:

    Using Get Registry Value Data[ HKEY_LOCAL_MACHINE\SOFTWARE\Deep Instinct,Version] from all machines and selecting “Key/Value not found” as your target allows you to also switch to a recurring Deployment. A recurring deployment allows you to ask the question every few hours. For example, you can recurring deployment to see if any new machines are online that do NOT have a Deep Instinct agent, and then install it right away.

  5. Select the Show Preview To Continue button to see a list of systems that will be targeted by this deployment.

  6. If the target Preview matches your expectation, you can simply select the Deploy Action button at the bottom to continue.

With these steps, your Tanium infrastructure is equipped to roll out Deep Instinct to Windows endpoints! For further details and talks around Deep Instinct, check out this Endpoint Explorers video featuring Derek Carver, lead TSE on the project: