Module
OpenAEV
How-to guide

Run actions through Tanium

Let OpenAEV run attack actions on the endpoints of your Tanium computer groups, through two Tanium packages, without installing the OpenAEV agent.

OpenAEVEnterprise EditionFor platform engineers and security validation engineers

The Tanium executor runs OpenAEV implants through the Tanium client already on your endpoints. OpenAEV imports the endpoints of the computer groups you choose, then, for each inject, asks Tanium to deploy one of two OpenAEV packages, which starts the implant. This page imports the packages, deploys the executor in OpenAEV and checks that the endpoints show up. How EDR executors work, and when to prefer the OpenAEV agent, is in Choose between the OpenAEV agent and your EDR.

OPENAEVTANIUMENDPOINTTanium executorRuns inside the platformEndpointsOne per Tanium endpointTanium GatewayComputer groups, actionsOpenAEV packageDecodes the commandImplantDetached process
  1. Tanium executor → Tanium Gateway: list endpoints
  2. Tanium executor → Endpoints: imports
  3. Tanium Gateway → OpenAEV package: deploys
  4. OpenAEV package → Implant: starts
  5. Implant → Endpoints: results
OpenAEV imports the endpoints of your Tanium computer groups, then deploys an OpenAEV package, which starts the implant

Before you start

  • OpenAEV runs with an Enterprise Edition license, and your role has the Manage tenant settings capability.
  • In Tanium, you can import packages and create an API token that reads endpoints through the Tanium Gateway (GraphQL) and deploys packages.
  • The endpoints reach the OpenAEV URL over HTTPS: see How an EDR executor works.

Prepare Tanium

  1. Choose the packages. Most endpoints take the standard packages. Endpoints that run Tanium Threat Response (TTR) need the TTR packages, which work everywhere but do more on the endpoint and raise more alerts.

    PackagesWhenFiles
    StandardThe Tanium client onlyopenaev-tanium-packages.json
    TTRTanium client with Threat Responseopenaev-tanium-packages-TTR.json, with the scripts openaev-ttr.ps1 and openaev-ttr.sh attached in the files of the package
  2. Import the file in Tanium. It creates two packages, OpenAEV Subprocessor (Unix) and OpenAEV Subprocessor (Windows), which decode the Base64 command OpenAEV passes as their parameter and run it.

  3. Open each package and check that Launch this package command in a process group is not checked: the implant runs as a detached process, which a process group would end with the package.

  4. Keep the ID of each package: it is in the address of its page, ui/console/packages/<ID>/preview.

  5. Keep the IDs of the computer group whose endpoints your simulations target, and of the action group allowed to run the packages on them.

  6. Create an API token, and keep it.

Deploy the executor in OpenAEV

  1. Open Integrations, then the Available tab.

  2. Open Tanium Executor and click Deploy. The Create a new connector instance panel opens.

  3. Fill in the form. Each field is named after its configuration key:

    FieldWhat to enter
    Display nameThe executor's name in OpenAEV, Tanium by default
    Executor Tanium Api UrlThe URL of your Tanium server. OpenAEV calls its Gateway at /plugin/products/gateway/graphql
    Executor Tanium Api KeyThe API token
    Executor Tanium Windows Package Id and Executor Tanium Unix Package IdThe IDs of your two packages
  4. Open Advanced options and set Executor Tanium Computer Group Id, one ID or several separated by commas, and Executor Tanium Action Group Id. They are 1 and 4 by default: check them against your Tanium. The other options set how often OpenAEV imports the endpoints, cleans them and sends commands: their defaults are in the executor.tanium block.

  5. Click Create.

  6. In the Deployed tab, open the executor and click Start.

OpenAEV 3.261118.0

Check that it works

Within a minute of the start, open Assets: the endpoints of your computer groups show in the Endpoints list, with Tanium in their Executors column, and Asset groups has a group named after each computer group. OpenAEV imports them again every 20 minutes.

Each inject is a deployment of one of your packages, in Tanium's actions. When nothing runs there, follow When an inject fails on an EDR executor.

ExampleRun the Velvet Harbor simulation on the Paris workstations through Tanium

Grand Meridian manages the workstations of its Paris hotel with Tanium, without Threat Response. The platform engineer imports the standard packages, which get the IDs 1874 (Windows) and 1875 (Unix), and creates an API token. The front desks are the computer group 231, and actions on them go through the action group 12. In OpenAEV, the form gets:

FieldValue
Display nameTanium - Paris
Executor Tanium Api Urlhttps://tanium.grand-meridian.example
Executor Tanium Api KeyThe token, kept in the vault as MERIDIAN_TANIUM_API_TOKEN
Executor Tanium Windows Package Id1874
Executor Tanium Unix Package Id1875
Executor Tanium Computer Group Id231
Executor Tanium Action Group Id12

On a new platform, the same values can come from its configuration, read at its first start only:

EXECUTOR_TANIUM_ENABLE=true
EXECUTOR_TANIUM_URL=https://tanium.grand-meridian.example
EXECUTOR_TANIUM_API-KEY=${MERIDIAN_TANIUM_API_TOKEN}
EXECUTOR_TANIUM_WINDOWS-PACKAGE-ID=1874
EXECUTOR_TANIUM_UNIX-PACKAGE-ID=1875
EXECUTOR_TANIUM_COMPUTER-GROUP-ID=231
EXECUTOR_TANIUM_ACTION-GROUP-ID=12

After Start, the front-desk workstations show in Assets with the Tanium - Paris executor, and the Velvet Harbor simulation runs on them as SYSTEM.

What's next

NextCollect lessons learned after an exercise
OpenAEV
Adversarial exposure validation: scenarios, simulations, atomic tests.

Published

Overview
Use
Build dashboards of your validation results
OverviewCreate the widgets of a dashboard
Check one attack technique with an atomic testConnect OpenAEV to OpenCTI to test security coveragesHow collectors measure what your security tools saw
How injectors deliver your injects
OverviewBuilt-in injectors and their injects
Install the OpenAEV agent on your endpointsReview what your injects discovered
Run a simulation and read its results
OverviewShare simulation results in a report
Set up your profile