Module
OpenAEV
Concept

Choose between the OpenAEV agent and your EDR

Compare the executors that run attack actions on your endpoints, the OpenAEV agent or the EDR you already run, and learn how they enroll endpoints and run implants.

OpenAEVFor security validation engineers and platform engineers

To run attack actions on an endpoint, OpenAEV needs an executor there: a program that starts an implant for each inject, and the implant runs the actions. You can install the OpenAEV agent, or reuse the endpoint detection and response (EDR) agent already on your endpoints, driven through its vendor's API, with nothing new to deploy. This page compares the executors and explains how an EDR executor enrolls endpoints and runs implants, so you can choose one and know what to expect from it. The parts of OpenAEV and the path of an inject are in How OpenAEV works.

OPENAEVEXECUTORSENDPOINTPlatformBuilds the implant commandOpenAEV agentFetches its jobsEDR APICrowdStrike, MDE, SentinelOne, Cortex,TaniumImplantRuns the actions
  1. OpenAEV agent → Platform: fetch jobs
  2. Platform → EDR API: run script
  3. OpenAEV agent → Implant: starts
  4. EDR API → Implant: starts
  5. Implant → Platform: results
OpenAEV reaches an endpoint through its own agent or through the API of the EDR already there, and either way an implant runs the actions and reports back

The executors

ExecutorRuns implants throughEnterprise EditionSet up
OpenAEV agentThe OpenAEV agent you installNoInstall the OpenAEV agent on your endpoints
CrowdStrike FalconReal Time Response custom scriptsYesRun actions through CrowdStrike Falcon
Microsoft Defender for EndpointLive Response library scriptsYesRun actions through Microsoft Defender for Endpoint
SentinelOneRemote Ops scriptsYesRun actions through SentinelOne
Palo Alto CortexAgent Script Library scriptsYesRun actions through Palo Alto Cortex
TaniumTanium packagesYesRun actions through Tanium
CalderaMITRE Caldera agentsNoRun actions through Caldera

Every executor works on Windows, Linux and macOS. Without an Enterprise Edition license, the agents of an EDR executor show an EE chip on their endpoint's page, and the injects that target them fail with a LICENSE RESTRICTION trace.

How the actions run differs between the two families:

OpenAEV agentEDR executors
Rights of the actionsThose of the installation mode you choose: a standard user, an administrator, or SYSTEM and rootAlways SYSTEM on Windows, root on Linux and macOS
Agents per endpointSeveral, one per mode and user, to compare levels of rightsOne per executor. The executor finds the endpoint by the EDR's device ID, then by its MAC address, so an endpoint that already has an OpenAEV agent gets the EDR's agent next to it
Endpoints in OpenAEVEach agent enrolls its endpoint when it startsThe executor imports the endpoints of the groups you choose in the EDR
What to deployThe agent, with its antivirus exclusionTwo scripts or packages in the EDR console, and an API key

Choose the OpenAEV agent to simulate an attacker with limited rights, or on endpoints without an EDR. Choose your EDR executor to cover many endpoints at once without installing anything on them, when the attacker you simulate has full control of the machine.

How an EDR executor works

An EDR executor runs inside the platform. Once started, it works in three loops:

  1. It imports the endpoints. Every 20 minutes by default, it reads the endpoints of the groups you named from the EDR's API. Each one becomes an endpoint in Assets, with an agent of the executor, and each group becomes an asset group in Asset groups, named after it. The last time the EDR saw the endpoint gives the agent its Last Seen: an agent unseen for one hour is inactive.
  2. It runs the injects. When an inject targets these endpoints, the platform builds the command that downloads and starts the implant, encodes it in Base64, and asks the EDR's API to run your OpenAEV script with it, in batches every 5 seconds to respect the API's limits. The script decodes the command and runs it. The implant downloads into runtimes/implant-<id> under C:\Program Files (x86)\Filigran\OAEV Agent on Windows or /opt/openaev-agent on Linux and macOS, runs the actions, and sends its results to OpenAEV.
  3. It cleans the endpoints. It sends a command that deletes the folders under runtimes and payloads older than 24 hours: every 8 hours by default for CrowdStrike Falcon, Palo Alto Cortex and Tanium, every day at 03:00 for SentinelOne, and before each inject for Microsoft Defender for Endpoint.

So each endpoint must reach the OpenAEV URL over HTTPS, openaev.agent-url or openaev.base-url when the first is not set, from the openaev block. The EDR never needs to reach OpenAEV: the platform calls its API.

On Windows, Microsoft Defender for Endpoint and Palo Alto Cortex end every process their remote session started. For these two, the command starts the implant from a scheduled task of the SYSTEM account, OpenAEV-Inject-<inject>-Agent-<agent>, which deletes itself when the implant ends.

Where an executor is configured

You deploy an EDR executor from the integrations catalog of OpenAEV, like any other integration. It runs inside the platform, so XTM Composer is not needed. Deploying, configuring, starting and stopping it requires an Enterprise Edition license and the Manage tenant settings capability. Each executor's page gives the steps and the fields of its form.

Each executor also has a block of the configuration: executor.crowdstrike, executor.mde, executor.sentinelone, executor.paloaltocortex, executor.tanium and executor.caldera. The platform reads these keys once, the first time it starts: when the block's enable key is true, it turns them into a deployed executor, and it ignores them afterwards. Change an executor in the interface, not in the configuration. Microsoft Defender for Endpoint is set up in the interface only: its keys never create it.

OpenAEV 3.261118.0

When an inject fails on an EDR executor

  1. Run the inject and wait until it fails or times out.
  2. In the EDR console, look for the execution of your OpenAEV script. When there is none, the problem is upstream: the API key, the script's name or ID, the endpoint's group, or the executor's form.
  3. Copy the command OpenAEV sent and decode it from Base64. Check its paths for the endpoint's system, its parameters and its quoting.
  4. Run the decoded command on the endpoint and keep its whole output: it shows why the implant did not start or did not report.

An agent can be active and its inject still end in TIMEOUT: active means the EDR saw the endpoint in the last hour, while TIMEOUT means the implant did not report to OpenAEV within 10 minutes, the default of inject.execution.threshold.minutes in the inject block. When the command ran, check that the endpoint reaches the OpenAEV URL (network, proxy, firewall, certificate) and that no antivirus deletes the implant. Inject results are explained in Inject status.

What's next

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