OpenCTI and OpenAEV integration for threat-led simulation

Connect OpenCTI to OpenAEV so threat intelligence drives simulation scenarios and security coverage is recorded against reports and threats. This page covers the method, prerequisites, sequence and failure points.

On this page

OpenCTI and OpenAEV integration for threat-led simulation: what it connects and how

A security team that already holds threat intelligence in OpenCTI and wants to test its controls against that intelligence needs to connect two platforms: OpenCTI, which stores the campaigns, reports, incident responses and threat actors, and OpenAEV (formerly OpenBAS), which runs the attack simulations. The documented link starts on the OpenCTI side. The xtm settings in the OpenCTI configuration hold the OpenAEV URL and token, and an option controls whether OpenCTI checks the OpenAEV TLS certificate. Decide early who owns that token, how it is stored and rotated, and whether the certificate check can stay on in your environment. Confirm the exact key names and defaults in the OpenCTI configuration docs for the OpenCTI version you run, because they can change between releases.

The scenario generation path has changed over time. The GenerationScenario mutations that OpenCTI and OpenBAS used to exchange were deprecated in 6.5 and changed in 6.8. If your team is working from older scripts, blog posts or connector examples, treat them as unverified for your version. Check the OpenCTI breaking changes page before you build anything on those mutations, and plan the OpenCTI and OpenAEV upgrades together so the two sides stay on a compatible pair of versions. Confirm with Filigran which OpenAEV release matches your OpenCTI release before you schedule either upgrade.

The point of the link is to record coverage, not only to launch simulations. OpenCTI Security Coverage objects state whether your systems are protected against the threats described in entities such as campaigns, reports and incident responses. Decide which intelligence objects must map to coverage records, who approves a coverage status change, and how a failed simulation is written back so that a gap stays visible until it is closed. Confirm how the coverage objects are populated from OpenAEV results in your version, since the documented behavior of the connector should be verified against the OpenCTI security coverage docs rather than assumed from this summary.

What you need in place before connecting OpenCTI to OpenAEV

The connection between OpenCTI and OpenAEV depends on more than a URL and a token. Confirm the versions, the platform underneath OpenCTI, the OpenAEV side, the network path between them, and the license your access model requires before you configure anything.

Matching release lines

OpenCTI uses dated version numbers, with regular releases and LTS lines that each receive support for a set period. Pick the OpenCTI line first, then confirm the OpenAEV version that works with it. The OpenCTI breaking changes page records changes to the GenerationScenario mutations used between the two platforms, so check that page against your planned versions. Ask Filigran to confirm the pairing for your target release before you build.

Breaking changes docs

A running OpenCTI platform and dependencies

OpenCTI needs its platform, Python workers and connectors, plus Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage. The OpenAEV connection only works if the platform is healthy and its workers can process queued writes, so confirm the stack is stable and sized before adding the integration. Review the documented sizing for the platform and search nodes against the expected number of workers.

Platform node ratio
3 workers
Deployment overview

An OpenAEV instance and API token

The OpenCTI side of the connection needs an OpenAEV URL and token in its xtm settings. Create a dedicated service account in OpenAEV with only the permissions the scenario generation requires, and store the token in your secrets manager rather than in a plain configuration file. Record who owns the token, when it expires and how it is rotated.

Network paths and TLS certificates

OpenCTI must reach the OpenAEV endpoint over the network, and the configuration includes an option to verify the OpenAEV TLS certificate. Keep verification on, and make sure the certificate chain is trusted by the OpenCTI container or host, including any internal certificate authority. Confirm firewall rules, proxies and DNS names for both directions before testing.

Configuration docs

Security coverage model in OpenCTI

Security coverage objects record whether your systems are protected against the threats described in campaigns, reports and incident responses. Decide which report and threat types will feed coverage, who maintains them, and how they are reviewed. Without this agreement, scenarios will exist but the coverage records they should update will not reflect your actual posture.

Security coverage docs

Enterprise Edition license for SSO and segregation

Authentication strategies, including SSO, are an Enterprise Edition feature from OpenCTI 7.260224.0 onward, and organization-based data segregation is also part of that edition. If your access model requires SSO or segregated data between teams, confirm licensing before the integration design is finalized. Community Edition installs can still connect to OpenAEV, but they lack these controls.

How to configure the OpenCTI to OpenAEV connection, step by step

This sequence connects OpenCTI to OpenAEV with a least-privilege account, verified connectivity and a tested scenario, so you can confirm that intelligence reaches simulation and coverage records before you rely on it.

  1. Confirm versions against the breaking changes page

    Before changing any configuration, the platform owner checks the OpenCTI and OpenAEV versions you run against the OpenCTI breaking changes page. The GenerationScenario mutations used between OpenCTI and OpenBAS were deprecated in 6.5 and changed in 6.8, so an older pairing may need a different connection approach or an upgrade first. Record both versions in your change ticket. This step is done when the page has been read for both products and your versions are recorded with a supported pairing confirmed with Filigran or your own test results.

  2. Create a dedicated OpenAEV account and token

    An OpenAEV administrator creates a separate service account for the OpenCTI connection rather than reusing a personal login. Grant only the permissions needed to receive scenario requests and read the simulation results that OpenCTI needs, and review the role against the OpenAEV documentation for your version. Generate an API token for that account and store it in your secrets manager. This step is done when the account exists, its permissions have been reviewed in writing, and the token is stored where only the OpenCTI administrators can read it.

  3. Set the xtm OpenAEV URL and token in OpenCTI

    An OpenCTI administrator adds the OpenAEV URL and token to the xtm settings in the OpenCTI configuration, using the key names in the OpenCTI configuration documentation for your deployment method, such as environment variables or a configuration file. Keep the token out of version control and out of shared chat logs. Restart the platform components that read the configuration so the new values are loaded. This step is done when the platform starts cleanly with the new settings and no configuration errors appear in the logs.

  4. Decide on TLS certificate verification

    The OpenCTI configuration includes an option to check the OpenAEV TLS certificate. Security and platform teams decide together whether verification stays on. Keep it enabled whenever OpenAEV uses a certificate issued by a trusted or internal certificate authority, and load that CA into the OpenCTI trust store if needed. Disable it only as a documented, time-limited troubleshooting step on a non-production network, and record the decision with its owner. This step is done when the verification setting is recorded in the change ticket and the chosen trust path works from the OpenCTI host.

  5. Verify connectivity from OpenCTI to OpenAEV

    Test the path from the OpenCTI host or container to the OpenAEV URL before expecting data to flow. Confirm that the network route, DNS name, port and TLS handshake succeed, then confirm the token is accepted by OpenAEV. Check the OpenCTI logs for connection errors after a restart. If authentication fails, verify the token value and account permissions before changing any other setting. This step is done when the test succeeds from the OpenCTI runtime environment, not only from an administrator workstation, and the logs show no connection or authentication errors.

  6. Create a test threat-led scenario from one report

    Choose one published report in OpenCTI that describes a threat your organization has a reason to test, and use it as the single input for a test scenario. Keep the scope small, such as one threat actor or one technique group, so that results are easy to review. Create the scenario from the report in the OpenCTI interface, then confirm that the scenario appears in OpenAEV with the expected name and linked threat content. Ask the simulation owner to review the scenario before any agents or assets run it. This step is done when the scenario is visible in OpenAEV and the owner has signed off on what it will test.

  7. Confirm Security Coverage objects are created

    After the test scenario has run in OpenAEV, check the OpenCTI Security Coverage objects. These objects record whether your systems are protected against the threats described in the linked report, campaign or incident response. Confirm that a coverage object exists for the report you used, that it references the expected threat content, and that its status matches the simulation outcome. If no object appears, check the connector logs and the scenario status before rerunning the test. This step is done when a Security Coverage object is visible in OpenCTI for the test report and its status has been reviewed by the simulation owner.

How intelligence flows from OpenCTI into OpenAEV and back as coverage

The flow starts with analysts' reports and threats stored in OpenCTI. The xtm settings hand OpenAEV a URL and token, and the TLS certificate check is the step to confirm before anything moves. OpenAEV turns the threat content into simulation scenarios, runs them, and writes the results back to OpenCTI as Security Coverage objects tied to the reports and threats they test. The trust boundary sits around the token, so review who can create it and what it can change.

Intelligence moves from OpenCTI to OpenAEV and returns as coverage, across a token-controlled boundary.

How threat intelligence becomes an attack simulation scenario

The scenario content in an OpenCTI to OpenAEV workflow comes from the intelligence already modeled in OpenCTI, so the quality of the simulation depends on what the team has linked there. The main inputs are threat actors, campaigns, reports and MITRE ATT&CK techniques and the relationships between them. A report that describes a ransomware group's initial access and lateral movement, linked to the matching ATT&CK techniques, gives the generation step far more to work with than a report that only names a campaign. Before any scenario is generated, the team should audit a shortlist of candidate entities and confirm that the techniques attached to them are accurate and not inherited from a broad, loosely linked import.

Scope selection is the decision that most shapes the result. A team has to choose which entities become simulations, and the choice should follow from what the organization actually needs to test: a threat actor that targets its sector, a campaign that used technologies it runs, or a recent report on a tool in its estate. Selecting too broadly produces scenarios that are hard to schedule, interpret and remediate, while selecting too narrowly leaves gaps the exercise never probes. Scope should be written down with the owners of the affected systems, so that the simulation results can later be mapped to a named set of controls and assets.

Generation behavior depends on the installed versions of OpenCTI and OpenAEV, and the two products' integration settings, so the team should not assume that output from one release will match another. Confirm the integration version pairing, the OpenAEV URL and token settings in the OpenCTI configuration, and the TLS check option before running anything. Then test with one report that the team understands well, review every generated step against the source intelligence, and only widen the scope once the output is predictable. Keep that first test and its results, since they become the baseline for later upgrades.

Which OpenCTI entities map to which OpenAEV objects and coverage records

This table compares each OpenCTI entity type used for threat-led simulation with the OpenAEV object it feeds and the Security Coverage record it supports. Read each row as a design question: confirm the mapping in the target versions before you commit a scenario generation rule to production.

OpenCTI entityOpenAEV object or coverage useVerification status
ReportCandidate source for scenario content, with the report's linked techniques and indicators used to shape injects. Security Coverage objects can reference reports to show whether controls address the described activity.Security Coverage reference to reports confirmed in the docs. Inject generation from reports to be verified in the target version.
CampaignGroups the techniques and actors a simulation should emulate over time, so a scenario can represent a sustained operation rather than a single action. Coverage can be recorded against the campaign.Campaign coverage reference confirmed in the docs. Scenario grouping by campaign to be verified in the target version.
Threat actor (intrusion set)Supplies the set of techniques associated with a known group, which can seed scenario selection and attacker profile in OpenAEV.Relationship to scenarios to be verified. Confirm which relationship types the generation step reads.
ATT&CK technique (attack pattern)Most likely mapping to an individual inject or атомic action in OpenAEV, tied to the technique ID for reporting.Technique-to-inject mapping to be verified in the target version. Confirm ID carry-over.
Incident responseContext for a simulation that replays a known intrusion, with coverage recorded to show whether detection and response controls handled the same behavior.Coverage reference to incident responses confirmed in the docs. Inject linkage to be verified.
Asset or target systemTarget endpoints, hosts or applications in OpenAEV that injects run against, so results can be tied back to the systems being protected.Asset linkage in OpenAEV to be verified. Confirm how OpenCTI identity or location objects are matched.
Security Coverage objectRecords whether systems are protected against threats in linked campaigns, reports and incident responses. Simulation results should update this record to show measured coverage.Coverage model confirmed in the docs. Automatic write-back of OpenAEV results to be verified in the target version.

Securing the OpenAEV token, TLS trust and simulation scope

The OpenCTI to OpenAEV link carries a privileged token and can trigger simulations against real systems, so its security depends on who holds the credential, how the connection is verified and who can request a scenario. The cards below cover those controls and the logs that show how they were used.

Dedicated service account and token rotation

Create a dedicated OpenAEV service account for the OpenCTI connection rather than reusing a personal administrator token. Scope it to the scenario and simulation actions the integration needs, and confirm with Filigran which permissions the token requires in your OpenAEV version. Set a rotation schedule with an owner, and plan how the token is replaced in OpenCTI and any dependent connector without a gap in scenario generation.

Storing the token as a secret

The OpenAEV URL and token are set under the xtm settings in OpenCTI configuration. Keep the token out of plain configuration files and version control, and inject it at runtime from your secrets manager or the container orchestrator's secret store. Confirm how your chosen deployment method reads secrets, and check that logs, error output and support bundles do not echo the token value.

OpenCTI configuration docs

TLS certificate checking

OpenCTI offers an option to check the OpenAEV TLS certificate. Enable that check and make sure the platform trusts the internal certificate authority that issued the OpenAEV certificate, including any intermediate certificates. Avoid disabling verification to clear a connection error, because that lets a misconfigured or spoofed endpoint receive the token. Test the connection after each certificate renewal.

OpenCTI configuration docs

Restricting who can request production scenarios

Scenarios generated from intelligence can target assets that carry real business risk, so decide who may create, approve and launch them. Separate the people who curate threat content in OpenCTI from the people who run simulations in OpenAEV, and require a documented approval for any scenario that touches production systems. Confirm the role and permission model in your OpenAEV version before you assign access.

Audit logging on both platforms

Record which account created each scenario, which intelligence object triggered it and when it ran, so a simulation can be traced back to its source. Check the audit and activity logging available in your OpenCTI edition, since the Enterprise Edition adds activity monitoring and audit logs. Forward OpenAEV execution logs to the same log platform, and agree how long each set is kept.

OpenCTI Enterprise docs

Common failures when OpenCTI and OpenAEV do not connect or record coverage

This table lists the failure points we see most often when OpenCTI is linked to OpenAEV, with the likely cause, the check to run and the fix for each. Work through the rows in order, because connection problems hide coverage problems: confirm the link works before judging whether scenarios and coverage records are correct.

Failure pointLikely causeCheck and fix
Wrong OpenAEV URLThe xtm settings in the OpenCTI configuration point to a host, port or path that differs from where OpenAEV is reachable, often after a DNS, proxy or container name change.Confirm the OpenAEV URL from the OpenCTI container or host with a basic request. Correct the URL in the xtm settings and restart the OpenCTI services that read it.
Invalid or expired tokenThe OpenAEV token was regenerated, revoked, copied with extra whitespace, or belongs to a user whose role no longer allows the required actions.Generate a new token in OpenAEV for a dedicated integration account with the permissions it needs. Replace the token in the OpenCTI configuration and check the OpenCTI logs for authentication rejections.
TLS certificate errorsOpenAEV uses an internal certificate authority or a certificate that does not match the hostname, and the certificate check is enabled in the OpenCTI configuration.Confirm the certificate chain and hostname match the OpenAEV URL. Install the internal CA in the OpenCTI runtime trust store. Avoid disabling the certificate check except as a documented, temporary test.
Version mismatch after an upgradeAn upgrade changed the GenerationScenario mutations used between OpenCTI and OpenBAS (deprecated in 6.5, changed in 6.8), so one side calls operations the other no longer accepts.Compare the OpenCTI and OpenAEV versions against the breaking changes documentation before and after each upgrade. Upgrade both sides to a compatible pair and retest scenario generation with one test entity.
Missing Security Coverage objectsCoverage records are created only for entities that are linked to the relevant campaigns, reports or incident responses, or the coverage relationship was never set up for the scenarios that ran.Open a known report or campaign in OpenCTI and check whether a Security Coverage object exists and links to it. Create or link coverage for the entities you intend to test, then rerun the simulation and confirm the results update.
Scenarios generated from incomplete entitiesThe source report or threat lacks attack patterns, targeted assets or indicators, so the generated scenario has few or no steps that map to the intended behavior.Review the source entity for linked attack patterns and relevant relationships before generation. Enrich or correct the data in OpenCTI first, then regenerate the scenario and review its steps with the people who own the detections.
Coverage results that do not reflect testingSimulation results are not written back to the matching coverage object, often because the identifiers or entity links differ between the scenario and the source entity.Trace one scenario from its source entity to its coverage object and confirm the identifiers match. Correct the links, then run a single controlled exercise and verify the recorded outcome in both platforms.

Questions buyers ask about OpenCTI and OpenAEV integration

What drives the cost of connecting OpenCTI to OpenAEV?

The main drivers are the version alignment between the two platforms, the number of entities in scope for scenarios, the TLS and network work between them, and how much testing happens against production-like assets. Version alignment matters most because the GenerationScenario mutations used between OpenCTI and OpenBAS were deprecated in 6.5 and changed in 6.8, so an older or mismatched pairing can require rework before any scenario runs. Ask any provider to price these items separately: the version check, the entity scope, the certificate and firewall changes, and a test plan that uses non-production assets. One-time build work and recurring operations should appear as separate lines in the quote, with the recurring items named. No cost figure is given here because none is supplied for this integration.

Can our own team build the OpenCTI and OpenAEV integration in-house?

Yes, a team with platform engineering skills and access to both consoles can build it, provided it has an owner for each side and a clear test plan. The work involves OpenCTI configuration with an xtm section that holds the OpenAEV URL and token and the option to verify the OpenAEV TLS certificate, plus OpenAEV scenario setup and a review step for what gets generated. The harder part is the judgment: deciding which reports and threats should produce scenarios, and which Security Coverage objects should record the result. Teams without someone who understands both platforms often spend the first cycle learning the data model. Ask whether the in-house team has done a version-aligned pairing before and who signs off on scenarios.

What does our team need to provide for the integration?

You need three roles named before work starts: platform administrators for OpenCTI, owners for OpenAEV who can manage scenarios and tokens, and a security lead who approves which generated scenarios can run. Platform administrators handle the OpenCTI configuration, network access and the TLS certificate decision. OpenAEV owners confirm which assets and agents scenarios may touch and rotate the API token when needed. The security lead decides what is in scope for simulation, because a scenario built from a threat report can act on systems the business has not agreed to test. Provide a test environment or a defined window on production-like assets, and a list of the report types and threat actors that matter to your program.

What recurring work follows go-live of the OpenCTI and OpenAEV integration?

Three recurring items need owners after go-live: upgrades, token rotation and scenario review. Upgrades matter because the mutations between OpenCTI and OpenBAS have changed across releases, so each OpenCTI or OpenAEV upgrade needs a check that the generation path still works before production use. OpenCTI also uses dated version numbers and LTS lines, so plan the upgrade cadence against the line you run. Token rotation for the OpenAEV connection should follow your secrets policy and be tested in the same change window. Scenario review is ongoing: someone must check what intelligence produced each scenario and whether the Security Coverage records still reflect your controls. Write these tasks into the run book with named owners and a review date.

How does OpenCTI Enterprise Edition licensing affect this integration?

The Community Edition is licensed under Apache License 2.0 and the Enterprise Edition under a proprietary license, so confirm which edition your deployment uses before you design the workflow. Since OpenCTI 7.260224.0, defining and using authentication strategies, including SSO, is an Enterprise Edition feature. If your organization requires SSO for the people who approve generated scenarios, that requirement changes the edition decision. Enterprise Edition also adds features such as audit logs, playbooks, organization-based data segregation and priority intelligence requirements, which can help control who sees simulation-relevant intelligence. The OpenAEV integration itself should be checked against your edition with Filigran, because licensing terms can change and this page does not set them.

What should we check for TLS and network access between OpenCTI and OpenAEV?

Check that OpenCTI can reach the OpenAEV URL over the network path you intend, and decide whether to verify the OpenAEV TLS certificate. OpenCTI configuration includes an option to check that certificate, and that option should be enabled wherever your internal certificate authority is trusted by the OpenCTI container or host. If a private certificate authority is used, the trust chain must be installed where OpenCTI runs before the check is switched on. Confirm firewall rules in both directions for the ports your OpenAEV deployment uses, and confirm that the token is stored in your secrets system rather than in plain configuration files. Test the connection from the OpenCTI host before enabling any generation step.

How do we verify that the integration produces the right security coverage?

Verification means checking the generated scenarios and the coverage results against a known set of reports and threats. OpenCTI Security Coverage objects model whether your systems are protected against the threats described in entities such as campaigns, reports and incident responses, so the test should pick a few reports with known expected results and confirm that the coverage records match what your controls should show. Run the scenarios against a test scope first, review the outcomes with the security lead, and record which findings are valid gaps and which are artifacts of the test setup. Ask any provider to show the test cases, the expected results and the evidence they keep for the review.

How to test the integration and run it after go-live

Test the OpenCTI to OpenAEV link in stages, and only expand once each stage produces records you can check by hand. Start with one report that has a clear set of techniques and a named owner. Generate one scenario from that report in OpenAEV, run it against a test asset group you control, and then confirm that the Security Coverage object in OpenCTI reflects what the run actually showed. Compare the coverage record with the raw execution results in OpenAEV, not with the scenario you intended to run. If the coverage says a control blocked a technique that the logs show was never attempted, stop and fix the mapping before adding more reports. Check the xtm settings in the OpenCTI configuration, including the OpenAEV URL, the token and the TLS certificate check, since a failure there can look like missing data rather than a broken link.

Once one report produces verified coverage records, add a second report of a different type, then a small set of threats from one campaign, and only then widen the scope. Each expansion step should have a written exit criterion, such as coverage records matching run results for the whole set and no unexpected scenario content. Keep the number of scenarios per threat small at first so reviewers can read each one. Schedule a review of coverage records on a fixed cadence, with the detection engineering owner deciding what a gap means and the simulation owner deciding whether the scenario still reflects the threat. Record who owns each scenario, who approves changes to it and who closes a coverage gap.

After every OpenCTI or OpenAEV upgrade, repeat the single-report check before anyone trusts the output again. Read the OpenCTI breaking changes page for each version you cross, and look for entries touching the scenario generation mutations, which were deprecated in 6.5 and changed in 6.8. Confirm the versions of both platforms are compatible with the connector and the mutation names your setup calls. Test in a non-production instance first, and keep a copy of existing scenarios and coverage records so you can compare results before and after. Ask your vendor or the Filigran documentation to confirm the current supported pairing before you upgrade, because compatibility is not something this page can state for you.

How DeployOpen scopes, delivers and supports the OpenCTI and OpenAEV integration

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and the OpenCTI and OpenAEV integration follows the same method. We agree the scope in writing first, then build the connection and its scenario and coverage workflows in your environment, and hand over the configuration and runbooks your team needs to operate it.

How we scope

  • Written scope lists the OpenCTI and OpenAEV versions, hosting model and which intelligence sources feed scenarios.
  • We confirm which OpenAEV instance, URL and token settings the integration will use, and how its TLS certificate is checked.
  • Scope names the report, campaign and threat types that will drive scenarios and the security coverage records to be kept.

How we build

  • We configure the OpenAEV connection in OpenCTI, test it in a non-production environment and confirm that scenario generation works end to end.
  • We map which OpenCTI entities become simulation content, and set filters so only intelligence your team approves reaches OpenAEV.
  • We test each coverage update against known reports and threats, and check the results before the workflow goes into regular use.

How we hand over

  • You receive the configuration record, connector settings, token handling notes and the data mapping used for each scenario type.
  • Runbooks describe how to rotate the OpenAEV token, upgrade either platform and recover the integration after a failed sync.
  • Documentation records which OpenCTI version the integration was tested against, so your team knows what to retest before an upgrade.

How we support

  • Fixed-scope engagements end with a defined handover, and any follow-up work is scoped separately in writing.
  • Ongoing support, upgrades and continuous testing are available as a retainer, including retesting after OpenCTI or OpenAEV version changes.
  • Before an upgrade, we review the breaking-change notes for both platforms and agree the retest scope with your team.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.