OpenCTI Hands-on Handbook繁中

Your First OpenCTI Login and Deployment Verification

Check container health, the web interface, administrator login, GraphQL and background work to confirm that OpenCTI really functions.

Handbook v1.10.1OpenCTI 7.261124.0About 5 minutes

A working homepage is good news. It is only the first check.

The image downloads and first initialization are behind you. Before enabling every feed, perform a small but complete acceptance check: services respond, authentication works, data can be created and read back, and background processing can handle work.

Keep a record of these checks as a baseline for upgrades and migrations. When someone says ‘it worked yesterday,’ you will know exactly what passed yesterday.

Check the endpoint from the host first.

Run from the repository's lab directory
docker compose ps
curl -s -o /dev/null -w 'HTTP %{http_code}\n' http://localhost:18080/

The homepage should return a successful HTTP response. A result of 000 generally means no HTTP response was received; check services, ports, and connectivity first. A 4xx or 5xx response means you reached an HTTP endpoint, but you still need to determine whether the platform or an intermediate proxy responded. This command does not test login or database contents and cannot replace a functional test.

The lab's Compose configuration calls the platform health endpoint with a dedicated health-check key. Do not expose that key in browser screenshots or a shared terminal for convenience. The container's healthy status is sufficient as the first layer of evidence.

At first login, establish which identity you are using.

  1. Open http://localhost:18080 in a local browser. This is the lab platform; octi-zh.sectools.tw is the teaching website. They are separate services.
  2. Use the lab/.env file's OPENCTI_ADMIN_EMAIL and OPENCTI_ADMIN_PASSWORD values. Read them locally in a text editor rather than printing them into shared records.
  3. After signing in, confirm the current account and platform version, then locate reports, observables, threats, and settings. Interface language, menu layout, and visible features may differ by version and permissions.
  4. Keep the administrator account for lab configuration. For real collaboration, create ordinary users with suitable roles instead of sharing one administrator password.

On November 29, 2026, password login was completed in a local browser, and the homepage and teaching report were confirmed readable. A successful API token check does not establish that every UI operation was tested; these forms of evidence are recorded separately.

OpenCTI homepage with navigation on the left and teaching-data statistics and charts on the right.Enlarge
Homepage after loginThe homepage contains 1 intrusion set, 1 malware object, and 3 reports. Some charts still have no data because this environment contains only a small fictional dataset. An empty chart does not by itself indicate deployment failure.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29

For API reads, check the response data and the errors field.

A GraphQL request can return HTTP 200 while its response still contains errors. The API chapter provides a complete Python example that prompts for a token interactively, keeping secrets out of source code and shell history.

GraphQL query example · Authentication required; not a shell command
query HandbookVersion {
  about {
    version
  }
}

Expect a platform version with no GraphQL errors. The returned version should match the deployment plan. If it does not, check the endpoint and Docker context before changing the expected test result.

Use a small dataset to verify that knowledge is actually stored.

The shared fictional case is ‘SecTools Lab — 釣魚事件建模練習’ (a phishing incident modeling exercise). It contains a report, an intrusion set, a malware object, an example domain, and a ‘uses’ relationship. All names are educational examples. Do not use the sample domain as a real blocking indicator.

Create the case manually using the report chapter, or reproduce it with the verification scripts. Acceptance requires more than a successful API mutation: query the report again, check its included objects, and confirm the relationship's source and target. On a second run, verify that the same data is reused rather than creating another report with the same name.

Separate service startup from functional acceptance.

Commands, outputs, and downloadable examples for the complete local test are collected in the Docker verification record. This lets you distinguish observed execution results from explanations of how the workflow operates.

Leave a checklist for the next upgrade.

CheckEvidence of successWhere to investigate a failure
Dependencies and platformHealth checks pass and services are not repeatedly restartingResources, kernel parameters, configuration, and dependency logs
HTTP endpointThe host receives a successful response from the homepagePorts, context, URL, and proxy
Identity and APIAuthenticated queries succeed without GraphQL errorsToken, permissions, and expiration
Data writesThe same report and relationship can be read back after creationWrite permissions, confidence ceiling, and data fields
Background jobsWork is processed and its results can be retrievedConnector, RabbitMQ, worker, and job errors
PersistencePreviously verified data remains readable after a restartVolumes and Compose project name

Completing this checklist says much more than ‘the screen looks fine.’ You are turning a tool into a maintainable working environment rather than relying on a one-off successful installation.

See the official getting-started guide and official API documentation. To apply this approach to other security tools, explore more practical security work at SecTools.tw.

Every step is worth recording

Finished this chapter?

Mark it when you are ready. Opening or scrolling through a chapter does not complete it automatically. You can undo your choice.

View my progress

Progress is saved only in this browser. No account or automatic device sync. Clearing site data also removes progress.

KEEP YOUR CURIOSITY ALIVE

Make sense of intelligence.
Keep exploring real security questions.

Explore incidents, perspectives and tools at SecTools.tw, and find your next question worth investigating.

SecTools.tw

Search the handbook