OpenCTI VirusTotal enrichment

Connect the OpenCTI VirusTotal connector to your observables, control when it queries the API, and verify the detections and YARA rules it imports before analysts act on them.

On this page

How OpenCTI VirusTotal enrichment works for your team

A threat intelligence team that holds file hashes, IP addresses, domains and URLs in OpenCTI needs multi-engine context on those objects, but it cannot afford to send every observable to VirusTotal. The supported method is the Filigran Verified VirusTotal internal enrichment connector, which queries the VirusTotal API for multi-engine detections, file hash reputation, and IP, domain and URL analysis, and can import YARA rules. Because the connector runs as a worker that the platform feeds with messages, it consumes API quota every time it is asked to process an object. Your scope decisions, meaning which observable types it handles and what triggers it, determine most of the quota use, the worker load and the amount of new data landing in your graph.

Start by listing the observable types your analysts actually pivot on. File hashes and domains often carry the most value per query, while broad automatic enrichment of every IP in a busy feed can drain a free or low-volume key within a short period. Check the quota attached to your VirusTotal account and the rate limits that apply to it with VirusTotal before you enable the connector, because those limits, not OpenCTI, set the ceiling. Confirm also which connector configuration keys control the object types and scope in the version you deploy, as they differ between connector releases and should be read from the connector's own documentation in the OpenCTI connectors repository.

Decide early whether enrichment runs automatically on creation or only when an analyst requests it. Automatic runs give consistent context but spend quota on objects that may never matter, while on-demand runs keep quota for investigations at the cost of an analyst step. Plan for the YARA import as a separate decision, since imported rules add indicators that other workflows will match against. Ask your provider or internal platform team to confirm how the connector authenticates, where its API key is stored, and how failed or rate-limited requests appear in worker logs, so the team can watch quota use from the first day.

What you need before connecting VirusTotal to OpenCTI

Connecting the VirusTotal connector to OpenCTI depends on four things being in place before any configuration begins: a working platform, a VirusTotal key the organization controls, a network path to the VirusTotal API, and a clear decision about who can trigger lookups. Each card below is a checkpoint to close before the connector is registered and started.

A running OpenCTI platform and workers

The connector writes results back through the platform, so the OpenCTI web application, its GraphQL API and the Python workers must be healthy first. Those workers consume RabbitMQ messages for asynchronous writes, so RabbitMQ and the other dependencies (Elasticsearch or OpenSearch, Redis and S3-compatible storage) must be reachable. Confirm the minimum OpenCTI version and the connector release in the connector repository and the OpenCTI release notes rather than assuming them, because the connector and platform must match.

Deployment overview

A VirusTotal API key on an owned account

The connector authenticates to VirusTotal with an API key, so the key should belong to an account the organization controls, not a personal account of an analyst who may leave. Ask who holds the account, who can rotate the key, and where the key will be stored. Confirm with VirusTotal which API tier the account has, since its request limits and feature access determine how much enrichment the connector can run before throttling.

Outbound access from the connector host

The connector host needs outbound HTTPS access to the VirusTotal API and nothing more. If the platform runs in an restricted or air-gapped network, the lookups will fail silently or with connection errors unless a proxy or approved egress path is set up first. Confirm the exact hostnames and any proxy settings with your network team, and test the path from the same host and container runtime the connector will use.

Decide who can trigger enrichment

VirusTotal lookups consume API quota, so decide which OpenCTI users and groups may request enrichment and which may only read results. Map these roles to the platform's access model before the connector goes live, because an automatic rule that runs on every new observable can use quota quickly. Note which decisions are controlled by Enterprise Edition features such as playbooks and organization-based segregation, and confirm whether your license includes them.

A file and observable scope

Decide which observable types you need VirusTotal to cover: file hashes, IP addresses, domains and URLs. Each type can produce a separate lookup, so a narrow scope protects quota and keeps results relevant. Confirm which YARA rule import you want, since it adds rule objects to the platform and should be planned alongside your curation process.

A test and rollback plan

Before enabling the connector in production, run it against a small set of known observables and review what it writes, including detections, labels and relationships. Record the connector's configuration and the platform version so you can roll back a failing change. Ask your implementation partner or internal team to document who owns the API key, the connector host and the upgrade path.

How an enrichment request travels from OpenCTI to VirusTotal and back

An enrichment request starts with an analyst action or an automatic trigger in the OpenCTI web application. The platform's GraphQL API places a message on the RabbitMQ queue, and the VirusTotal connector worker picks it up. The worker reads its API key from its own configuration, calls the VirusTotal API across the boundary to the external service, and writes detections, reputation and YARA rules back into OpenCTI. The boundary is the point to check: confirm what leaves your network and which connector hosts hold the key.

Request path from OpenCTI to the VirusTotal API, with the trust boundary and API key location marked.

What VirusTotal returns to your observables and where it lands

VirusTotal enrichment adds detection context and reputation to observables that already exist in OpenCTI. It does not create a separate report that sits beside your data. When the connector queries VirusTotal for a file hash, IP address, domain or URL, the answer is attached to the observable your analysts are already investigating, so the detection picture travels with the indicator into relationships, reports and exports. The key point for planning is that enrichment changes existing objects, and the exact changes depend on the connector version you deploy.

Before go-live, confirm against the connector README which STIX objects, labels, scores and external references each result creates or updates. Check how multi-engine detection counts are stored, whether a reputation value is written as a score or a label, which external reference links back to the VirusTotal analysis page, and whether a re-run overwrites or appends. Write this mapping down as a short table for the client, covering each observable type the connector handles. Analysts and detection engineers need it to interpret results consistently, and it lets the client's data governance owner decide what the platform is allowed to store.

YARA rule import works differently. The connector brings YARA rules from VirusTotal into the platform as YARA indicators so they can be matched against artifacts later. Importing a rule does not by itself classify a file or mark anything as malicious. Confirm which rule sets are imported, how often the import runs, and whether imported rules are tagged with their source so curators can tell them apart from rules written in-house. Plan who reviews imported rules before they feed matching or alerting, because a large, unreviewed rule set can produce results nobody can explain later.

Configuring the VirusTotal connector step by step

This sequence takes the VirusTotal connector from a blank OpenCTI platform to a running worker that enriches known test objects. Each step ends with a check you can verify before moving on, so problems surface early.

  1. Confirm platform and connector prerequisites

    Before touching the connector, confirm that the OpenCTI platform is reachable, that its workers and RabbitMQ are healthy, and that the team has administrator access to the platform. Confirm also which container runtime or host will run the connector, and that it can reach the VirusTotal API from your network. Check the connector's requirements in the connectors repository, since the supported runtime and image details are documented there. You are done when the platform loads for an administrator and the connector host can make an outbound HTTPS request to the VirusTotal API endpoint.

  2. Register the connector instance in the platform

    In the platform's connector management area, create a new internal enrichment connector instance for VirusTotal. Assign it a clear name that identifies the environment, such as production or lab, so later troubleshooting is easier. Generate or note the connector identifier that the platform issues, because the deployed connector must present it. You are done when the instance appears in the connector list with a status that shows it is waiting for a worker, and not as an error.

  3. Set the platform URL and connector identity

    In the connector's configuration, set the platform URL that the connector uses to reach OpenCTI, along with the connector identifier from the previous step and the connector type and name fields. Take the exact configuration keys from the VirusTotal connector documentation in the connectors repository, not from memory or from other connectors, because key names differ between connectors and versions. Keep the platform token in a secret store or environment variable rather than in a file committed to version control. You are done when the connector process starts and logs a successful connection to the platform.

  4. Add the VirusTotal API key through secrets

    Create a VirusTotal API key under the account or service identity that your security team owns, then supply it to the connector through its documented secret or environment variable setting. Use a key that belongs to a team account rather than an individual analyst, so the quota and access are not tied to one person. Confirm with VirusTotal which key tier and request limits apply to your account, because those limits drive how you scope enrichment later. You are done when the connector starts without an authentication error in its logs.

  5. Choose the observable types it may enrich

    Decide which observable types the connector may process, such as file hashes, IP addresses, domains and URLs, and set those types in the connector's scope configuration using the keys named in the connector documentation. Limiting types early keeps API usage predictable and avoids enriching objects that the team does not need. Note the types you exclude so the decision is recorded for review. You are done when the connector configuration lists only the types you chose and the connector restarts cleanly with that configuration.

  6. Set the scope or trigger for enrichment

    Decide how enrichment starts: automatically for every matching observable, or only when an analyst requests it through a playbook or manual action. Set the corresponding auto or scope option in the connector configuration, and check whether the Enterprise Edition is required for the playbook path in your version. If you plan to run it on demand to protect quota, choose that mode now and document it. You are done when a test enrichment request is queued and visible in the platform's work queue, or when an automatic trigger is confirmed to be off as intended.

  7. Deploy the worker and verify the connector is active

    Start the connector as a worker in your chosen environment, using the deployment method your team already runs for OpenCTI connectors, and keep it on the same network path as the platform. Confirm in the platform that the connector instance shows as active and that its heartbeat is recent. Review the first logs for errors about queues, keys or scope. You are done when the connector status reads active in the platform and the logs show it is listening for work.

  8. Run known-benign and known-malicious test objects

    Create or select one benign test object and one malicious test object, such as a well-known clean domain and a sample hash from a public malware catalog that your policy allows you to store. Trigger enrichment on each one, and wait for the queued job to complete in the work queue. For the malicious object, expect VirusTotal detection data to appear on the observable, and for the benign object, expect a clean or low-detection result. If the expected results are missing, check the job error message and the connector logs before changing anything else. You are done when both test objects show the expected results and the job history records a completed run for each.

Running VirusTotal on demand or automatically: choosing the trigger

On-demand enrichment means an analyst chooses an observable in the OpenCTI interface and starts the VirusTotal enrichment for that object. Nothing runs in the background, so API calls only happen for objects someone has decided are worth checking. This model gives the tightest control over quota, because the number of calls per day follows investigation volume rather than ingestion volume. It also keeps the worker queue quiet, since each request is a single job.

  • API calls per day: Calls track the number of objects analysts choose to enrich, which makes daily usage easier to forecast and cap.
  • Worker load: Load is light and predictable, because jobs enter the queue only when a person starts them.
  • Analyst noise: Enrichment results appear only on objects under review, so the graph stays uncluttered for other users.
  • Requirements: The VirusTotal connector must be deployed and connected with a valid API key, and analysts need permission to trigger enrichment on the objects they work with.
  • Trade-off: Analysts must remember to enrich, so indicators that were never opened may go unchecked.

Before you rely on this model, confirm with your analysts which objects they actually open during triage and whether your access settings let them start enrichment on those objects.

Observable types and the VirusTotal lookups each one triggers

This table maps each observable type to the VirusTotal lookup it triggers, the OpenCTI object it updates, the analyst question it answers and the quota impact to plan for. Read each row as a starting point and confirm it against the connector documentation for your connector version before you size your API budget.

Observable typeVirusTotal lookupOpenCTI object updatedAnalyst question and quota impact
File hashFile hash reputation and multi-engine detection, with YARA rule import where the connector supports itFile observable, with detection scores, labels and linked malware or YARA indicatorsIs this sample already known to engines? Each hash is one lookup, so bulk imports of hashes consume quota quickly. Confirm whether YARA import draws from the same quota.
IP addressIP address analysis across enginesIPv4 or IPv6 observable, with reputation and detection contextIs this address tied to malicious activity? Shared hosting and frequent re-enrichment of the same address add lookups. Confirm how often the connector refreshes an existing observable.
DomainDomain analysis across enginesDomain name observable, with reputation and detection contextIs this domain malicious or newly suspicious? Domains that appear in many reports drive repeated lookups if enrichment runs on every new observable. Confirm the caching behavior in your version.
URLURL analysis across enginesURL observable, with detection results and categoriesIs this link hosting or redirecting to malicious content? URLs are often unique, so high-volume feeds can exhaust quota fastest. Confirm whether the connector submits unknown URLs for scanning, which may use a different quota.

Protecting the VirusTotal API key, samples and analyst data

The VirusTotal connector touches three things worth protecting: an API key with quota and account value, file content that may leave your network, and the analyst identities that trigger lookups. The cards below cover each one, plus the platform settings that enforce them.

Store the API key in a secret store

The connector authenticates to the VirusTotal API with a key that is tied to your account and its quota. Keep it out of plain-text compose files, Helm values and shared wikis, and inject it from a managed secret store such as OpenBao or your cloud provider's secret service. Then restrict who can read the connector's configuration in OpenCTI and in your container platform. Check that the key does not appear in worker logs after a restart.

Connector docs

Limit who can submit files

Hash lookups send only a digest, but file submission sends the sample itself. Decide which OpenCTI groups can upload artifacts or trigger enrichment on them, and keep that list short. Pair the group decision with platform controls for who can edit and trigger connectors. Confirm in a test environment that a standard analyst account cannot start a file submission it was not meant to have.

Review what content leaves the network

Before enabling a connector that uploads files, list the artifact types your analysts handle, such as customer documents, internal tooling or incident evidence. A hash lookup discloses only that you hold a file, while a submission discloses its contents to a third party. Write a rule that says which sensitive samples must never be submitted, and check whether your data handling policy requires a self-hosted sandbox for them.

Use a dedicated connector service identity

Give the connector its own OpenCTI service account instead of running it under a personal analyst login. Personal credentials then stay out of the connector configuration, and audit records show automated lookups separately from analyst actions. Give the account only the capabilities it needs to write enrichment results. Rotate its token on a schedule and deactivate it when the owning team changes.

Enforce access with platform authentication

Authentication strategies and user roles are configured on the OpenCTI platform, not inside the connector. Local users and LDAP are available in the platform, while defining and using SSO is an Enterprise Edition feature since OpenCTI 7.260224.0. Organization-based data segregation, audit logs and authorized members also require the Enterprise license. Confirm your edition before designing the access model, and ask the vendor which controls your license includes.

Authentication docs

Testing enrichment before analysts depend on it

Treat the VirusTotal connector as a system under test before any analyst relies on its output. Build a fixed test set of benign and known-malicious file hashes, IP addresses, domains and URLs, and record for each one the object type it should attach to, the detections or fields you expect, and any YARA indicators it should produce. Use the same set every time you change the connector version, its configuration or the worker host, so that differences in results point to a change rather than to new sample data. Confirm the test items with your threat intelligence lead, and keep the malicious samples in a location your malware handling policy allows.

Next, check the behavior and the quota together. Trigger enrichment on one batch of test observables and count the outbound VirusTotal API calls for that batch, using the connector's logs and your API key's usage view in the VirusTotal account. Compare the count with what your key's quota allows per period, and confirm which observable types trigger more than one request. Then verify that each test object received the expected results on the expected object: detections on file hashes, reputation on IPs and domains, and YARA indicators appearing only where you intended. Check that YARA rules are scoped as planned, not attached to every file in the platform.

Finally, test failure. Block outbound access from the connector's worker to the VirusTotal API, trigger enrichment on a test observable, and confirm the worker logs a clear error and the work item is marked failed or retried, with no partial labels, empty fields or broken relationships left on the object. Restore access and confirm the retry completes cleanly. Save the test inputs, outputs, call counts, configuration versions and this failure result as dated evidence in the client's change record, so that the enrichment setup can be reviewed and repeated after upgrades.

Common VirusTotal enrichment failures, their causes and fixes

This table lists the failures teams meet most often with the VirusTotal connector, the likely cause of each and the first check to run. Read it top to bottom when a symptom appears, and confirm exact error text against the connector logs and the platform's queue views before changing settings.

SymptomLikely causeFirst check
Connector shows inactiveConnector not registered, not started, or its token in the configuration does not match the platformConfirm the connector container or process is running and that its platform URL and token match the platform's connector registration
Enrichment jobs stay queuedWorker not consuming, or RabbitMQ messaging unhealthy so enrichment messages are not deliveredCheck the worker count and RabbitMQ queue views for the connector's queue for unacknowledged or growing message counts
API returns authentication errorsMissing, malformed or revoked VirusTotal API key in the connector configurationConfirm the key is set in the connector environment, has no stray whitespace, and is valid in your VirusTotal account
API returns quota errorsRequest volume exceeds the key's allowance, often from bulk enrichment of many observables at onceReview how many observables were submitted in the same window and whether automatic enrichment is triggered for every new object
Connection or timeout errors to VirusTotalNetwork egress blocked by a proxy, firewall or DNS rule between the connector host and the VirusTotal APITest outbound HTTPS from the connector host and container to the VirusTotal API endpoint using the same proxy settings
Objects enriched but no new detections appearScope settings exclude the observable types returned, or the object was enriched with no matching VirusTotal recordConfirm the connector's scope covers the observable type and check the connector log for the response returned for that object
YARA rules do not importYARA import disabled in configuration, insufficient permissions for the rule type, or rule import failing on a malformed ruleCheck the connector log for import errors and confirm the YARA import option is enabled for the connector
Same object enriched repeatedlyAutomatic triggers on updates re-queue the object, or several enrichment paths run for the same observableReview the connector's triggers and any playbooks that also send the object to VirusTotal, then remove the duplicate path

Questions buyers ask before hiring help with VirusTotal enrichment

What drives the effort of a VirusTotal enrichment project in OpenCTI?

The effort follows four drivers: how many observable types you enrich (file hashes, IP addresses, domains and URLs each need their own configuration and testing), the deployment model (a single Docker Compose stack is simpler than a Kubernetes cluster with separate worker pools), the trigger design (automatic enrichment on every new observable needs more controls than on-demand runs), and the depth of testing against real data. Ask any partner to show how each driver changes their quote, and to list which observable types and triggers are in the written scope. The connector itself is only one part of the work, since queues, workers and quota controls around it take most of the planning.

Can our own team set up VirusTotal enrichment without a partner?

Yes, a team with OpenCTI administration experience and access to a test environment can usually install and configure the VirusTotal connector alone, because the connector is documented in the OpenCTI connectors repository. The harder parts are the decisions that surround it: which observables get enriched, who may trigger lookups, how API keys are stored, and how usage is watched over time. If your team has not run OpenCTI connectors in production before, a partner can cover those decisions and hand over a runbook. Either way, confirm the connector version and its configuration keys against the repository before you rely on them.

What do we need to provide before the work starts?

Four things are needed before any build begins. First, a VirusTotal account with an API key that your organization is permitted to use for this purpose, which you should confirm against VirusTotal's current terms. Second, a test environment that mirrors your production OpenCTI version so changes can be checked safely. Third, platform administrator access to OpenCTI and to the host or cluster where connectors run. Fourth, a named owner on your side who is accountable for the quota, approves changes to enrichment triggers and receives usage alerts. Without that owner, quota problems tend to surface only after lookups have stopped.

Is the VirusTotal connector free to use in OpenCTI?

The connector is published in the OpenCTI connectors repository under the project's license terms, and it is Filigran Verified. However, two separate agreements apply: the connector license governs the software, and your VirusTotal account terms govern the API you query through it. Check both before rollout. The VirusTotal API is not free for every use, and your account tier determines the quota and the permitted use. Confirm the connector license text in the repository and your VirusTotal terms with your legal or procurement team, since the answer depends on your account and use case.

How do we protect our VirusTotal quota in practice?

Quota is protected by limiting when lookups happen, not by hoping usage stays low. The main controls are to disable automatic enrichment for high-volume observable types, to run enrichment on demand or through playbooks for objects an analyst has chosen, to keep the connector's own request limits and retry behavior configured, and to watch the connector logs and your VirusTotal usage page. Test these settings in a staging environment with a sample of real observables before production. Document who may trigger a lookup and what happens when the quota is exhausted, so analysts know whether work stops or waits.

What recurring work follows go-live?

Three kinds of work recur after go-live. Connector upgrades follow OpenCTI and connector releases, so each upgrade needs a test against your configuration before it reaches production. API key rotation should happen on a schedule your security policy sets, with the new key tested before the old one is revoked. Quota review means checking usage trends against your VirusTotal plan, adjusting triggers when analysts add new workflows, and confirming that the named owner still holds the role. These tasks can be done by your team or covered by a support retainer, and the scope should be written down before the work begins.

Does DeployOpen handle VirusTotal enrichment for us?

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. For this topic, that means installing and configuring the connector, setting trigger and quota controls, testing with your observables and handing over documentation. Ongoing upgrades and key rotation can be covered by a retainer. A quote follows from the written scope, so describe your observable types, deployment model and quota owner when you ask for one.

How DeployOpen scopes, delivers and supports the VirusTotal integration

DeployOpen plans, implements, documents and supports self-hosted OpenCTI inside your own infrastructure, including the VirusTotal connector and the quota controls around it. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Written scope lists which observable types are enriched: file hashes, IP addresses, domains and URLs.
  • Scope records whether enrichment runs automatically, through playbooks or on demand, and who triggers it.
  • Scope states the VirusTotal API key ownership, storage location and which team manages key rotation.

How we build

  • Connector deployment alongside your OpenCTI platform, workers and RabbitMQ, configured for your environment.
  • Test runs against sample observables to confirm detections, file hash results and YARA rule import behave as documented.
  • Quota-aware settings and trigger rules tested so enrichment stays within the API allowance your team has confirmed.

How we hand over

  • Runbook covering configuration keys, secrets handling, trigger rules and how to add or remove enrichment on demand.
  • Verification checklist that your team can repeat after upgrades or connector changes.
  • Knowledge transfer session with the engineers and analysts who will operate and query the connector day to day.

How we support

  • Support retainers cover connector updates, OpenCTI upgrades and checks after dependency changes.
  • Periodic review of enrichment volume against your confirmed VirusTotal API limits and usage.
  • Security testing of the OpenCTI setup is available on request, with a findings report and retest.

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.