Module
OpenAEV
Concept

How OpenAEV works: platform, agents, collectors and injectors

What OpenAEV is made of, what its platform, agents, executors, injectors and collectors each do, and the path an inject takes from a simulation to a score.

OpenAEVFor security validation engineers, platform engineers and administrators

OpenAEV is made of a platform, where you build scenarios and run simulations, and of integrations that act on your environment and measure its response. Agents and executors run actions on endpoints, injectors deliver injects to people and systems, and collectors read what your security tools saw. This page explains what each part does and the path an inject takes. With it, you know what to deploy and where to look when a result is missing. How OpenAEV fits in the XTM stack, next to XTM One and OpenCTI, is in The XTM stack.

What OpenAEV is made of

ENDPOINTSINTEGRATIONSOPENAEVSHARED SERVICESAgentsOpenAEV or third-party agentsInjectorsRun injects on other systemsCollectorsRead results from security toolsPlatformInterface, API, built-in integrationsPostgreSQLMain database and sessionsElasticsearchSearch indicesRabbitMQQueues for injectorsS3 storageFiles
  1. Agents → Platform: fetch jobs
  2. Injectors → Platform: API
  3. Collectors → Platform: API
  4. Platform → PostgreSQL: read and write
  5. Platform → Elasticsearch: index
  6. Platform → RabbitMQ: queue injects
  7. Platform → S3 storage: files
OpenAEV is a platform that agents and integrations talk to, with four shared services behind it
PartWhat it isKeeps data
PlatformA Java application: the web interface, the API under /api, the scheduler and the built-in integrationsNo
OpenAEV agentsPrograms installed on your endpoints that run the actions of injectsNo
ExecutorsThe integrations that run work on endpoints: the OpenAEV agent, or a third-party agent driven through its vendor's APINo
InjectorsThe integrations that deliver injects: built into the platform, or standalone Python processesNo
CollectorsStandalone Python processes that read data from your security tools and other sourcesNo
PostgreSQLThe main database, including user sessions, in the database openaev by defaultYes
Elasticsearch or OpenSearchSearch indices that the platform builds from PostgreSQL, under the prefix openaev by defaultYes, rebuilt from PostgreSQL
RabbitMQThe queues between the platform and its injectorsMessages in transit
S3 storage (MinIO, or RustFS in xtm-docker)Files uploaded to the platform, in the bucket openaev by defaultYes

OpenAEV does not use Redis. Sessions are stored in PostgreSQL, so they survive a restart of the platform.

The platform

The platform is the center of OpenAEV. You configure scenarios, simulations, atomic tests and integrations there, and it schedules each inject at its time. Agents, injectors and collectors connect to its API with a URL and a token, OPENAEV_URL and OPENAEV_TOKEN for the Python integrations.

The platform writes to PostgreSQL first. It then copies the data to Elasticsearch in the background, for search. A change can take a short while to appear in search results, and the indices can be rebuilt from PostgreSQL.

Agents and executors

To act on an endpoint, OpenAEV needs an executor on it: a program that starts the actions of an inject as separate processes.

  • The OpenAEV agent is the default executor, for Windows, Linux and macOS, on x64 and ARM64 processors. It enrolls the endpoint as an asset in the platform, fetches the jobs to run and starts an implant for each one. The implant runs the actions; the agent itself does nothing on the endpoint, so it stays neutral toward antivirus software. See OpenAEV agents.
  • A third-party agent already on your endpoints can play the same role: CrowdStrike Falcon, SentinelOne, Tanium or Caldera. The platform asks the vendor's API to start the implant. Each is turned on in the platform configuration with its own key, such as executor.crowdstrike.enable.

Each implant works in its own folder, under runtimes/ in the agent's folder, one per inject execution. Antivirus exclusions apply to runtimes/ only, so the actions themselves can still be detected and blocked: that is what the simulation measures. An OpenAEV agent runs at most 5 jobs at a time by default (executor.openaev.agent.max-simultaneous-jobs).

Installing executors on endpoints is in How integrations run.

Injectors

Injectors deliver injects: they push the actions of a simulation to people and systems. Two kinds exist:

  • Built-in injectors run inside the platform and are configured in its configuration: email, SMS, media pressure, challenges, manual action reminders and Caldera, among others.
  • External injectors are standalone Python processes, such as the HTTP query injector. Each one registers with the platform, which gives it the connection details of RabbitMQ. The injector then takes its injects from its own queue. It must be able to reach RabbitMQ under the host name the platform knows it by.

Some injectors run actions on endpoints. When they register, they tell the executors how to start them on Windows, Linux and macOS, and the executors do the rest. See Injectors.

Collectors

Collectors are standalone Python processes that pull data from other systems, for two purposes:

  • Measure the response to injects. Collectors for security tools look for the alerts and logs an inject caused. They fill the detection and prevention expectations. An endpoint detection and response (EDR) collector matches on the host name and on the name of the parent process, the implant, which contains the inject's ID. A security information and event management (SIEM) collector relies on the EDR: it confirms what the EDR collector has already matched.
  • Feed the platform. Other collectors import assets, identities, and threat intelligence such as attack patterns and kill chains, used to build scenarios.

See Collectors.

The path of an inject

PLANSEXECUTESYOUR ENVIRONMENTMEASURESSCORESPlatformRuns the simulationInjectorEmail, HTTP, Caldera and moreAgentStarts an implant per injectTargetsPeople, systems, endpointsSecurity toolsSIEM, EDR, XDR, gatewaysCollectorMatches alerts to injectsExpectationsDetected, prevented or not
  1. Platform → Injector: inject
  2. Platform → Agent: job
  3. Injector → Targets: acts on
  4. Agent → Targets: runs actions
  5. Targets → Security tools: seen by
  6. Security tools → Collector: alerts and logs
  7. Collector → Expectations: results
The platform hands an inject to an injector or an agent, it acts on your environment, and collectors read what your security tools saw to score the expectations

Take a simulation that runs an attack technique on a group of endpoints:

  1. At the time set in the simulation, the platform starts the inject and creates its expectations: for example, that the attack is detected and prevented.
  2. For an action on endpoints, the platform hands a job to the executor. An OpenAEV agent fetches the job from the platform. For a third-party agent, the platform calls the vendor's API.
  3. On each endpoint, the agent starts an implant, which runs the actions. For an inject to people or systems, an injector delivers it instead: an email, an HTTP request, a message.
  4. Your security tools see the actions, or not, and raise alerts.
  5. Collectors read the alerts and logs of those tools and match them to the inject.
  6. Each match fills an expectation. An expectation that nothing has filled when it expires stays unmet: the attack counts as not detected or not prevented.

Expectations expire after a delay set in the platform configuration, in seconds. By default, detection and prevention expectations expire after 6 hours (openaev.expectation.technical.expiration-time), and expectations of people after 24 hours (openaev.expectation.human.expiration-time).

Background work

Background components of the platform, its managers, keep some features working without anyone asking. The telemetry manager counts how the platform is used every hour and sends that usage telemetry to Filigran every 6 hours. The platform runs other background work, set by configuration keys:

WorkWhat it doesWhen it runs
IndexingCopies the data of PostgreSQL to the Elasticsearch indicesContinuously
Agent inactivity monitorChecks which agents have stopped reportingEvery 5 minutes (openaev.cron.config.agent.inactivity.monitor.interval, in minutes)
Implant cleanupAsks each agent to remove the folders of implants and payloads older than 24 hoursEvery 8 hours (clean-implant-interval of each executor, in hours)
Health probesChecks the connection to PostgreSQL, RabbitMQ and S3 storage, for the health endpointEvery 10 seconds (openaev.healthcheck.connectivity-probe-interval)

Every key is in the OpenAEV configuration reference.

What's next

NextHow a scenario becomes a simulation
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