Module
OpenAEV
How-to guide

Run actions through SentinelOne

Let OpenAEV run attack actions on the endpoints of your SentinelOne accounts, sites or groups, through Remote Ops scripts, without installing the OpenAEV agent.

OpenAEVEnterprise EditionFor platform engineers and security validation engineers

The SentinelOne executor runs OpenAEV implants through the SentinelOne agent already on your endpoints. OpenAEV imports the active agents of the accounts, sites or groups you choose, then, for each inject, asks SentinelOne to run a Remote Ops script of yours that starts the implant. This page prepares SentinelOne, 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.

OPENAEVSENTINELONEENDPOINTSentinelOne executorRuns inside the platformEndpointsOne per active agentSentinelOne APIAgents, Remote OpsRemote Ops scriptDecodes the commandImplantRuns as SYSTEM or root
  1. SentinelOne executor → SentinelOne API: list agents
  2. SentinelOne executor → Endpoints: imports
  3. SentinelOne API → Remote Ops script: runs
  4. Remote Ops script → Implant: starts
  5. Implant → Endpoints: results
OpenAEV imports the active agents of your SentinelOne accounts, sites or groups, then asks Remote Ops to run your script, which starts the implant

Before you start

  • OpenAEV runs with an Enterprise Edition license, and your role has the Manage tenant settings capability.
  • Your SentinelOne license includes the remote script orchestration add-on, which runs scripts on agents. It shows in Settings > Configuration > Add-ons.
  • The endpoints reach the OpenAEV URL over HTTPS: see How an EDR executor works.

Prepare SentinelOne

Create the API key and the scripts with the same user, in the same account or site.

  1. In Settings > Users > Service Users, create a service user with at least the IR Team role, and keep its API token.

  2. In Automation > Remote Ops, click Create new and upload the Unix script, for Linux and macOS:

    #!/bin/sh
    
    echo $1 | base64 -d | sh
    
  3. Upload the Windows script the same way:

    $command = $args[0];
    cmd.exe /d /c powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -NonInteractive -NoProfile -encodedCommand $command
    
  4. Set both scripts as below, then keep the ID of each one. OpenAEV passes the Base64 command as the script's input.

    SettingUnix scriptWindows script
    Script nameOpenAEV Subprocessor (Unix)OpenAEV Subprocessor (Windows)
    Script typeActionAction
    OS typemacOS and LinuxWindows
    Script execution timeout60 seconds60 seconds
    InputInput is required, with the instructions $1Input is required, with the instructions $command
  5. Note the IDs of the accounts, sites or groups whose endpoints your simulations target, in Settings > Accounts and Sites.

Deploy the executor in OpenAEV

  1. Open Integrations, then the Available tab.

  2. Open SentinelOne 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, SentinelOne by default
    Executor Sentinelone UrlThe URL of your SentinelOne console, such as https://euce1-meridian.sentinelone.net. OpenAEV calls its API version 2.1
    Executor Sentinelone Api KeyThe API token of the service user
    Executor Sentinelone Windows Script Id and Executor Sentinelone Unix Script IdThe IDs of your two scripts
  4. Open Advanced options and fill in at least one of Executor Sentinelone Account Id, Executor Sentinelone Site Id and Executor Sentinelone Group Id, each with one ID or several separated by commas. With none, OpenAEV imports no endpoint. The other options set how often OpenAEV imports the endpoints, cleans them and sends commands: their defaults are in the executor.sentinelone 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 active agents of your accounts, sites and groups show as endpoints, with SentinelOne in their Executors column. Asset groups has one group per account, per site and per group, named <account>, <account>_<site> and <account>_<site>_<group>. OpenAEV imports active agents only, and imports them again every 20 minutes.

Each night at 03:00, the executor asks the agents to delete the implant folders older than 24 hours. The schedule is a cron expression, Executor Sentinelone Clean Implant Cron in Advanced options.

When an inject does not run, look for the script's task in Automation > Remote Ops, then follow When an inject fails on an EDR executor.

ExampleValidate Meridian EDR on the booking servers

Grand Meridian's booking database servers, where Velvet Harbor exported the guest records, run the SentinelOne agent in the site Booking of the account Grand Meridian. The platform engineer creates the service user openaev-executor with the IR Team role and uploads both scripts with it. In OpenAEV, the form gets:

FieldValue
Display nameMeridian EDR - Booking
Executor Sentinelone Urlhttps://euce1-meridian.sentinelone.net
Executor Sentinelone Api KeyThe API token, kept in the vault as MERIDIAN_S1_API_TOKEN
Executor Sentinelone Windows Script Id2214587703945617411
Executor Sentinelone Unix Script Id2214587703945617412
Executor Sentinelone Site Id1903327155824735005

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

EXECUTOR_SENTINELONE_ENABLE=true
EXECUTOR_SENTINELONE_URL=https://euce1-meridian.sentinelone.net
EXECUTOR_SENTINELONE_API-KEY=${MERIDIAN_S1_API_TOKEN}
EXECUTOR_SENTINELONE_SITE-ID=1903327155824735005
EXECUTOR_SENTINELONE_WINDOWS-SCRIPT-ID=2214587703945617411
EXECUTOR_SENTINELONE_UNIX-SCRIPT-ID=2214587703945617412

After Start, the booking servers show in the asset group Grand Meridian_Booking. The simulation replays the export of the guest records on them, and SentinelOne runs each action as root or SYSTEM.

What's next

NextRun actions through Tanium
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