You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
How-to guide

Install offline or with FIPS 140-3

Install the XTM stack on a host without internet access, and run OpenCTI with its FIPS 140-3 images and compliant shared services.

OpenCTIAll modulesFor platform engineers

This page installs the XTM stack on a host that cannot reach the internet, by carrying the images over from a connected machine, and lists what still needs an outside source. It then switches OpenCTI to its FIPS 140-3 images and says what the shared services need for a compliant stack. Read Install with Docker Compose first: this page changes only where the images come from and which ones run.

CONNECTED MACHINECARRIED OVERTARGET HOST, NO INTERNETSTILL NEEDS A SOURCExtm-docker configured.env, pinned versionsxtm-images.tarWith .env, override, infra and modulesThe stackdocker load, then up -d without pullPrivate registryIntegrations of XTM ComposerProxyIntegrations that read public sourcesOn-premise AI extractionImport Document AI connectorInternal certificate authorityCertificates of internal services
  1. xtm-docker configured → xtm-images.tar: pull and save
  2. xtm-images.tar → The stack: copy and load
  3. The stack → Private registry: integration images
  4. The stack → Proxy: public sources
  5. The stack → On-premise AI extraction: document extraction
  6. The stack → Internal certificate authority: trusted certificates
The images are pulled and saved on a connected machine, carried to the target host as one archive and started from there, while a few features still need a source of their own

Before you start

  • A connected machine with Docker Compose v2 and Git, and a way to copy files from it to the target host.
  • The same processor architecture on both machines: Intel or AMD (amd64). XTM One is published for amd64 only, and so are the FIPS images of OpenCTI.
  • On the target host, Docker Engine 20.10 or later with Docker Compose v2, and the space for the images: about as much as docker image ls shows on the connected machine after the download.

Install without internet access

  1. On the connected machine, get the deployment and configure it as Install with Docker Compose describes, up to the pinned versions: docker-compose.override.yml pins the images you will copy. For FIPS images, also follow Switch OpenCTI to its FIPS images now.

    git clone https://github.com/FiligranHQ/xtm-docker.git
    cd xtm-docker
    
  2. Download the images and save them in one archive.

    docker compose pull
    docker save -o xtm-images.tar $(docker compose config --images | sort -u)
    
    Check that it worked
    docker compose config --images | sort -u
    

    It lists every image of the stack, with the versions you pinned, and xtm-images.tar exists next to docker-compose.yml.

  3. Copy the whole xtm-docker folder, with .env, docker-compose.override.yml, the infra and modules folders and xtm-images.tar, to the target host. .env holds every secret of the stack: copy it the way you copy secrets.

  4. On the target host, load the images.

    cd xtm-docker
    docker load -i xtm-images.tar
    
  5. Start the stack, without docker compose pull: Docker Compose uses the images it finds on the host.

    docker compose up -d
    
    Check that it worked
    docker compose ps --format '{{.Service}} {{.Health}}' | grep -E '^(opencti|openaev|xtm-one|opencrq) '
    

    opencti, openaev, xtm-one and opencrq say healthy after a few minutes. If up tries to download an image, an image is missing from the archive: repeat steps 2 to 4.

To upgrade, repeat these steps with the new versions pinned in docker-compose.override.yml.

What still needs an outside source

Once the images are on the host, the stack starts from them. Some features read from or deploy outside sources, and need a mirror, an on-premise service or a proxy instead:

FeatureWhat it needsWhere to set it up
Integrations deployed by XTM ComposerPulls the image of each integration from a registryPull integrations from a private registry
Integrations that read public sources, such as the NVD CVE collectorAccess to their sourceRun integrations behind a proxy
AI document extraction in OpenCTIThe Import Document AI connector calls a service hosted by Filigran by defaultExtract intelligence from documents on premises
Certificates of internal servicesYour internal certificate authorityTrust your certificate authority and proxy

The OpenCTI map loads its tiles in the browser from map.opencti.io. On a network without internet access, run a tile server of your own and point OpenCTI to it, as Map tiles describes.

Switch OpenCTI to its FIPS images

The FIPS 140-3 images of OpenCTI are built on Alpine Linux with the OpenSSL FIPS provider enabled, from the base image that Filigran maintains. They exist for the platform, the worker and the connectors, with the tag of the version followed by -fips: 7.261030.1-fips, or 7.260811.0-lts.1-fips for a long-term support release. XTM Composer has a FIPS image too, which deploys the FIPS images of the connectors. OpenAEV and XTM One have no FIPS images.

  1. Pin the versions as Pin the image versions describes.

  2. Switch every OpenCTI image to its -fips tag in docker-compose.override.yml. The Import External Reference connector has no FIPS image and keeps its tag. Run this command again each time you run the pinning commands: they write the tags without -fips.

    OPENCTI_VERSION=7.261030.1
    sed -i.bak -E \
      -e "s#image: (opencti/[a-z0-9-]+):${OPENCTI_VERSION}\$#image: \1:${OPENCTI_VERSION}-fips#" \
      -e "s#(connector-import-external-reference):${OPENCTI_VERSION}-fips#\1:${OPENCTI_VERSION}#" \
      docker-compose.override.yml
    
    Check that it worked
    docker compose config --images | grep '^opencti/'
    

    Every OpenCTI image ends with -fips, except opencti/connector-import-external-reference.

  3. Switch XTM Composer to its FIPS image, so that the connectors you deploy from the catalog run their FIPS images. Add these lines under the services: key of docker-compose.override.yml, above the # Pinned versions line. The pinning commands do not change the image of XTM Composer, so this tag stays.

      xtm-composer:
        image: filigran/xtm-composer:3.261120.0-fips
    

    The FIPS image of XTM Composer sets manager.image_tag_suffix (MANAGER__IMAGE_TAG_SUFFIX) to -fips: it adds -fips to the tag of every integration it deploys. opencti/connector-mitre:7.261030.1 runs as opencti/connector-mitre:7.261030.1-fips, and an image without a tag as latest-fips. A tag that already ends with -fips, or an image pinned by digest, stays as it is. On a host without internet access, the registry XTM Composer pulls from must hold these -fips tags: see Pull integrations from a private registry.

    Check that it worked
    docker compose config --images | grep xtm-composer
    

    It prints filigran/xtm-composer:3.261120.0-fips. Once the stack runs, docker compose logs xtm-composer | grep 'Starting XTM composer' shows fips set to true and image_tag_suffix set to -fips.

    Integrations without a FIPS image

    XTM Composer adds the suffix to every integration it deploys, for OpenAEV as for OpenCTI. An integration with no image under the -fips tag, such as the Import External Reference connector, is not deployed: its Logs tab says [XTM Composer] Connector not deployed, then that the image cannot be pulled, with the error of the registry. XTM Composer tries again at each pass.

  4. For each connector you run outside XTM Composer, use its -fips tag when Docker Hub lists one, such as the FIPS tags of the STIX file export connector.

What the images guarantee

All cryptography in the OpenCTI FIPS images goes through the OpenSSL FIPS provider 3.1.2, the module validated under CMVP certificate #4985, valid until 10 March 2030. FIPS mode is on by default: no flag, variable or configuration step is needed.

  • The module is built from the validated source distribution, unmodified, by the procedure of its Security Policy, with integrity verification and the required self-tests enabled.
  • FIPS mode is enforced: non-approved algorithms are refused, not substituted.

The full posture is in FIPS.md, in the base image repository.

Make the shared services compliant

The FIPS images cover OpenCTI. For a compliant stack, the shared services must use FIPS 140-3 cryptography too.

ServiceHow
ElasticsearchFIPS 140-3 from version 9.4, and from 8.19.15 in the 8.x line, with the Bouncy Castle FIPS 2.x libraries as Java security provider. Earlier versions support FIPS 140-2 with Bouncy Castle 1.x. Follow the Elastic FIPS guide, or use the Elastic FedRAMP offering.
RedisNo FIPS images. Redis encrypts TLS with the OpenSSL it is built against: build it on a FIPS-validated OpenSSL and choose the ciphers with tls-ciphers (TLS 1.2) and tls-ciphersuites (TLS 1.3). Or put a Stunnel TLS endpoint between OpenCTI and Redis.
RabbitMQNo FIPS images, but custom cipher suites; since RabbitMQ 3.12.5, its Erlang build (26.1 and later) supports FIPS mode on OpenSSL 3. Or use a Stunnel TLS endpoint.
S3 object storagePrefer an endpoint that is already validated, such as the AWS S3 FIPS endpoints. xtm-docker runs RustFS: check its builds against your FIPS requirements before you rely on them. The last MinIO FIPS images, on Quay.io with tags ending in .fips, are no longer maintained: check them against your requirements first.

The Elasticsearch of xtm-docker, 8.19.18, is in the FIPS 140-3 range, but runs with security off: enable FIPS mode as the Elastic guide describes.

AWS native services

OpenCTI works with AWS native services, available in the FedRAMP Moderate and FedRAMP High scopes: Amazon OpenSearch Service, Amazon ElastiCache for Redis, Amazon MQ for RabbitMQ and Amazon S3.

Check what the OpenCTI images contain

Each OpenCTI release publishes a software bill of materials (SBOM) for each variant of the platform and worker images, in the assets of its GitHub release. Use it in the security review of the images you carry over, or to check whether a vulnerable library is in the version you run.

Image variantImage tagSBOM asset
Standard7.261030.1sbom-opencti-platform-7.261030.1.cdx.json
FIPS 140-37.261030.1-fipssbom-opencti-platform_fips-7.261030.1.cdx.json
Red Hat Universal Base Image 97.261030.1-ubi9sbom-opencti-platform_ubi9-7.261030.1.cdx.json

Each file is in the CycloneDX JSON format. Its top component is OpenCTI, with one child component for each part, each with its own dependencies: filigran/platform, the platform image, with its Alpine and Python packages; opencti-front, the web interface; opencti-graphql, the GraphQL API; and filigran/worker, the worker image. The connectors are not in it: each has its own image.

To count the dependencies of each part, then find the version of a library, here the Python library stix2:

OPENCTI_VERSION=7.261030.1
curl -fsSLO "https://github.com/OpenCTI-Platform/opencti/releases/download/${OPENCTI_VERSION}/sbom-opencti-platform-${OPENCTI_VERSION}.cdx.json"
jq -r '.components[] | "\(.name): \((.components // []) | length)"' "sbom-opencti-platform-${OPENCTI_VERSION}.cdx.json"
jq -r '[.. | objects | select(.name? == "stix2") | "\(.name) \(.version)"] | unique[]' "sbom-opencti-platform-${OPENCTI_VERSION}.cdx.json"
Check that it worked

The first command prints one line for each part, such as filigran/worker: 122. The second prints stix2 3.0.2 for 7.261030.1.

What's next

NextInstall with Docker Compose
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent