MISP VirusTotal enrichment module setup

Configure the VirusTotal enrichment module in MISP through misp-modules, with API key handling, analyst quota planning and sibling reputation lookups set up deliberately.

On this page

How to set up MISP VirusTotal enrichment without exhausting analyst quotas

Build the VirusTotal enrichment on the misp-modules service you already run, and decide early who pays for the API key and who spends its quota. An analyst team that wants attribute lookups inside MISP events usually faces two choices: build the wiring internally, or bring in a partner to plan, configure and document it. The module work itself is modest, since misp-modules already ships VirusTotal expansion modules for both the v3 API and the public API. The harder questions are operational: where the key lives, which attributes are allowed to spend a lookup, and how analysts avoid running out of quota in the middle of an investigation.

The VirusTotal v3 and public API modules are expansion modules in misp-modules, the Python 3 service that runs alongside the core MISP platform and exposes its modules through a REST API. When an analyst triggers enrichment on an attribute, MISP calls misp-modules, which queries VirusTotal and returns results that can be attached to the event. Because the service is separate from the core platform, it can be restarted, scaled or tested on its own. Teams usually implement these modules when they have a steady stream of hashes, domains, IPs or URLs to triage, and when they want analysts to see reputation context without leaving MISP.

Before enabling anything, confirm the VirusTotal licence tier and its request limits with VirusTotal, because the facts supplied here do not state them and they determine how many enrichments a team can run per day. Then decide how the key is stored and who can change it, and whether enrichment is manual or automated for specific attribute types. Test the module through the misp-modules REST API with a few known values, check the openapi.json endpoint for the module's expected inputs, and restart the service after any module is added or removed. The misp-modules README is the natural starting point for those checks.

What the VirusTotal modules add to MISP

VirusTotal enrichment in MISP runs through misp-modules, a separate Python 3 service that exposes expansion modules over a REST API. The same service hosts sibling lookups for URLs, IP addresses and threat feeds, so one deployment choice shapes all of them.

VirusTotal v3 expansion module

The v3 module queries the current VirusTotal API for file hashes, domains, IP addresses and URLs attached to a MISP attribute. Results come back as enrichment data that an analyst can review before anything is added to the event. Check which attribute types your MISP version sends to the module and confirm the v3 key has the access level your analysts expect. Lookups consume quota on the VirusTotal account, so confirm the limits that apply to your key before enabling it for every attribute.

misp-modules docs

VirusTotal public API module

The public API module is the older lookup path, kept in misp-modules for installations that still use a public API key. It covers the same broad attribute families but returns a different response shape, so object mappings written for one module may not fit the other. Decide which module your team will standardize on before building workflows, and confirm with VirusTotal which key type your organization holds and what it permits.

urlscan and AlienVault OTX

The urlscan module adds scan history and page metadata for URL and domain attributes, which helps analysts see what a site served and where it redirected. The AlienVault OTX module adds pulse membership and related indicators from the OTX community. Both return context rather than verdicts, so set event review steps that treat their output as leads to confirm, and check the API key handling for each before sharing it with analysts.

ThreatFox and URLhaus lookups

ThreatFox and URLhaus are abuse.ch services that tag indicators of malware and malicious URLs. Their modules let an analyst check whether an IP, domain, hash or URL already appears in those feeds. Because the sources are community-submitted, a hit should be weighed against the age of the sighting and the attribute's existing context. Confirm which attribute types each module accepts in your release, since coverage differs between them.

Shodan, PassiveTotal and Google Threat Intelligence

These modules add internet-facing context: Shodan for exposed services on IP addresses, PassiveTotal for passive DNS and infrastructure pivots, and Google Threat Intelligence for its own threat data. Each one needs a separately licensed account, its own key, and its own quota. Ask whether the cost of each license is covered in your budget before enabling it, and decide which analysts may trigger paid lookups.

Standalone misp-modules REST service

misp-modules is written in Python 3 and exposes its modules through a REST API that works without MISP, documented at /openapi.json on the running service. You can test a module with a direct request before wiring it into MISP, which speeds troubleshooting. The service must be restarted after a module is added or removed, so schedule that step with any module change and keep the service off public networks.

misp-modules README

Which VirusTotal module and key model fit your team

This table compares the VirusTotal v3 and public API modules, shared and per-analyst keys, where keys are stored, and on-demand versus ingest-time enrichment. Read each row against your team size, your quota agreement and your audit expectations, then choose the combination that matches how analysts actually work.

DecisionOptionWhen it fits and what it means
Module versionv3 moduleFits teams using the current VirusTotal v3 API and its key tier. Confirm which lookups your key permits before relying on them in workflows.
Module versionPublic API moduleFits a legacy or simpler setup on the public API. Confirm the API key type and available lookups with VirusTotal before choosing it.
Key ownershipShared organization keyOne quota pool for all analysts. Heavy use by one person can exhaust lookups for everyone, so the pool needs monitoring.
Key ownershipPer-analyst keyQuota is spread across individuals and usage is attributable. Requires each analyst to hold an account and key that your VirusTotal terms allow.
Key storageMISP settingsSimplest to configure and keeps the key inside MISP. Anyone with administrative access to the instance can view or change it, so restrict admin roles and log changes.
Key storageManaged secrets storeKeeps the key out of the MISP database and supports rotation and access logs in your secrets platform. Adds integration work to pass the key to the module at runtime.
TriggerOn-demand enrichmentAnalysts choose which attributes to enrich. Quota use follows analyst judgment, and each lookup is traceable to a user action.
TriggerEnrichment on event ingestAutomated lookups on imported attributes. Quota use scales with feed and import volume, so confirm limits and filter what is enriched first.
Audit trailAttributed lookupsPer-analyst keys and on-demand triggers make it easier to show who requested which lookup. Confirm what MISP logs for module calls in your version.

Implementation sequence for VirusTotal enrichment

This sequence moves the VirusTotal module from a working misp-modules service to analyst-facing enrichment that is tested, owned and documented. Each step closes with an output the next step depends on, so the team can stop and verify before access is widened.

  1. Confirm the MISP and misp-modules baseline

    The platform owner confirms that the MISP instance and the misp-modules service are deployed, reachable from the MISP application server, and running on a supported MISP 2.5 release. Confirm the service is not exposed beyond the internal network and that the team knows which host runs it. Close the step with a recorded version of MISP, a recorded misp-modules version, and a reachable service that answers its REST API on the internal address.

  2. Provision the VirusTotal API key under agreed ownership

    Before any module is configured, the security lead and platform owner agree who owns the VirusTotal account, which team pays for and manages the key, and who may rotate it. Confirm the license tier and quota attached to that key with VirusTotal directly, since quota limits shape how analysts can use enrichment. Store the key in the secrets store your team controls, not in shared notes. Close the step with a written ownership record and a documented key rotation procedure.

  3. Enable and configure the VirusTotal modules

    The MISP administrator enables the VirusTotal v3 and public API expansion modules in the misp-modules configuration and supplies the key through the configuration method for the chosen deployment. Confirm which module serves which lookup before analysts depend on it. Restart the misp-modules service after any module is added, removed or reconfigured, because changes do not load on their own. Close the step with a configuration record that names each enabled module and where its key is held.

  4. Test modules through the standalone REST API

    Using the standalone misp-modules REST API, which works without MISP, the engineer lists the loaded modules and sends test queries directly to the VirusTotal modules. Use the OpenAPI description served by the service to confirm request formats and the modules it reports. Test a known-benign and a known-malicious sample you control, and record the response shape and any error for an invalid key. Close the step with a tested module list showing which modules returned valid results and which failed.

  5. Validate enrichment on sample MISP attributes

    Create a test event in a non-production MISP instance or a dedicated test organization containing attributes of the types the VirusTotal modules accept, such as file hashes, domains and IP addresses. Run enrichment on each sample and check what the module adds to the event: which attributes are created or linked, how objects are structured, and whether to_ids flags are set. Confirm that results do not automatically publish. Close the step with a validation record covering each attribute type and any fields that need mapping changes.

  6. Enable analyst access and document quota handling

    Once the test results are accepted, the MISP administrator grants enrichment access to the analyst roles that need it, and the team publishes a short analyst guide covering how to trigger enrichment and what the shared quota means for batch work. Agree who monitors quota consumption and what analysts should do when lookups fail for quota reasons. Close the step with a role assignment list and an analyst guide approved by the security lead.

  7. Add sibling reputation lookups and sign off

    After the VirusTotal path is stable, the team enables the sibling lookups it has chosen, such as urlscan, AlienVault OTX, ThreatFox and URLhaus, testing each one through the same standalone API method before analysts see it. Record which lookups need their own keys or terms, and confirm the licensing position for each. Close the step with a signed-off module inventory listing each module, its key owner, its tested status and the date of the last successful test.

What an enriched event looks like for analysts

The VirusTotal lookup adds its results to the attribute that triggered it, not to a separate report. In MISP, an expansion module returns data that the platform can attach as new attributes, as objects that group related values, or as tags and text. For the VirusTotal modules, a file hash, domain, IP address or URL attribute typically gains related context such as detection counts and linked values. The exact placement, object template and naming depend on the module version and on how your instance is configured, so confirm them on a test event before analysts rely on the output. Check the module's documentation in your installed release and run one known indicator end to end to see where each field lands.

Analysts usually trigger lookups from the event view, where an enrichment action can be run against a selected attribute or a set of attributes. Enrichment is a manual step unless you have configured automation, so the analyst chooses which indicators are worth an API call. That choice matters because each lookup consumes quota on the API key in use, and a bulk run over a large event can exhaust it quickly. Agree a rule for which attribute types and which events are enriched, and make sure analysts know the difference between an automatic and a manual run.

Enriched output is third-party data, and it can be wrong, stale or incomplete. Before an event is published or synchronized, a reviewer should confirm that added attributes are relevant, that the to_ids flag is set only where a detection action is intended, and that no sensitive internal context has been pulled into a community-facing event. Enrichment can also bring in values that look malicious because a vendor flagged them, so the reviewer should compare the result against the original report. Treat the review step as a required gate in your publishing workflow, and record who approved each event.

What drives VirusTotal enrichment effort and cost

This table lists the cost components of running VirusTotal enrichment through misp-modules and what raises or lowers each one. Read it as a planning checklist: the main takeaway is that most recurring cost comes from the VirusTotal account terms, module upkeep and analyst workflow, not from the initial switch-on.

Cost componentWho is paid or responsibleWhat raises itHow to keep it down
Internal engineering timeYour platform or MISP teamCustom module changes, separate misp-modules hosts per environment, manual restarts after module changesStandardize one misp-modules deployment, document the restart step and reuse the same configuration across environments
VirusTotal account and termsYour organization holds the account with VirusTotalHigher lookup volume, use of a public API key where a premium tier is needed, sharing one key across many usersConfirm quota and licence terms in writing with the vendor before rollout, and size lookups to what analysts actually need
misp-modules hostingYour infrastructure teamRunning the service on shared hosts, no monitoring, no patch window for the Python serviceRun it on infrastructure you control with health checks, a patch schedule and access limited to the MISP server
TestingYour MISP administrators or DeployOpen if engagedTesting against live events, multiple attribute types, changes after each MISP or module upgradeKeep a small set of test attributes per type and check the /openapi.json endpoint and a sample lookup after each change
Analyst trainingYour SOC or threat intelligence leadAnalysts unaware of quota limits, unclear rules for when to trigger enrichment, enrichment results treated as verdictsPublish a short guide on which attribute types to enrich, quota etiquette and how to read VirusTotal results
Ongoing key and module upgradesYour MISP team, plus any retainer partnerModule removals or renames across releases, API key rotation, changed vendor endpointsTrack MISP and misp-modules release notes, rotate keys on a schedule and plan upgrades alongside the core platform

Sibling reputation lookups and when to add them

The VirusTotal module is one of several lookups that run in the same misp-modules service. Each sibling accepts different attribute types and needs different keys or accounts, so add them based on what your analysts actually pivot on rather than enabling everything at once.

urlscan for URL and domain context

The urlscan expansion module queries urlscan.io for scan results tied to URLs, domains and IP addresses that appear in your attributes. It adds page screenshots, redirect chains and related infrastructure that a reputation score alone does not show. Check whether your urlscan account tier permits private or unlisted scans, because a public submission can expose internal URLs to the wider community. Confirm the key requirement and accepted attribute types in the module's own documentation before you enable it.

misp-modules docs

AlienVault OTX for community pulses

The OTX module looks up indicators against AlienVault Open Threat Exchange, where community members publish pulses that group related indicators. It is useful when you need to know which other organizations have reported a value and what campaign label they attached. It requires an OTX API key tied to a user account. Review the terms of your account before you rely on its data in customer-facing reports, and confirm which MISP attribute types the module enriches.

misp-modules docs

ThreatFox for IOC context

The ThreatFox module checks indicators against abuse.ch's ThreatFox database of malware-related IOCs, including file hashes, IP and domain indicators and URLs. It returns malware family and confidence fields that help analysts decide whether a match is actionable. Confirm whether the module needs an Auth-Key for your use and how it treats the attribute types you store. Use it alongside VirusTotal rather than as a substitute for a detection verdict.

misp-modules docs

URLhaus for malicious URL status

The URLhaus module checks URL and host attributes against abuse.ch's URLhaus database of malware distribution URLs. It answers a narrow question: whether a URL has been reported as distributing malware. That narrowness makes it a low-noise check for URL attributes in phishing and delivery investigations. Confirm the key requirement and attribute types in the module documentation, and note that URLhaus results describe reported distribution, not the current state of a host.

misp-modules docs

Choosing which lookups to enable

Each enabled module adds outbound calls, a separate key to rotate and a separate quota to monitor. Map your most common attribute types, such as hashes, domains, IPs and URLs, to the modules that accept them, then enable the smallest set that covers your analysts' pivots. Document the decision and review it when analysts report that results are duplicated or missing. Confirm each module's requirements in its own documentation before changing the enabled list.

misp-modules docs

How an analyst lookup reaches VirusTotal through misp-modules

The flow starts when an analyst triggers enrichment on an attribute in the MISP web interface. MISP sends the request to the misp-modules REST service inside the organization's network, and the VirusTotal module reads its API key from the module configuration before calling the external reputation API. Results return to MISP and are attached to the attribute or event as enrichment. The trust boundary sits where the request leaves the organization's network, so check which hosts can reach the external API, where the key is stored, and what attribute values leave the network.

Analyst enrichment request from MISP to VirusTotal, with the network trust boundary shown.

Questions teams ask before setting up VirusTotal enrichment

What does VirusTotal enrichment in MISP cost to set up and run?

The misp-modules service itself is open source and runs alongside MISP, so the software cost is zero. The recurring costs come from VirusTotal access: the API tier your organization holds, and the licensing terms that govern how you may use its results. Setup costs are internal engineering time to deploy and restart the service, configure the key, and test enrichment on sample attributes, plus any partner fees if you buy the work. Ask any partner for a fixed-scope quote listing deployment, key handling, testing and handover as separate lines, and confirm with VirusTotal which tier and terms apply to your use case before you budget for it.

How long does a VirusTotal enrichment setup take?

The schedule depends on whether misp-modules already runs next to your MISP instance, how many analysts need enrichment, and how many other expansion modules you enable in the same change. A team with an existing MISP and misp-modules service mainly needs time to obtain the key, enable the v3 or public API module, restart the service and validate results on representative attributes. Any new service, network path or change-control step adds time. Agree the timeline in writing once you know those variables, rather than relying on a generic estimate.

What does our internal team need to provide for this work?

You need someone who administers the MISP host and can install or update Python packages for misp-modules, a person who can request and approve the VirusTotal API key, and an analyst who can confirm that enrichment results match what the workflow expects. The misp-modules service is written in Python 3 and documents its API at /openapi.json, so an engineer comfortable with a Python service and systemd-style restarts will be productive quickly. Also confirm who owns the key lifecycle, who receives alerts when quota is exhausted, and who approves changes to enabled modules.

Can our team set up VirusTotal enrichment without a partner?

Yes, a team that already runs MISP and can operate a Python service can usually complete the basic setup alone, because the module configuration and the standalone REST API make it straightforward to check behavior. Where teams struggle is in the surrounding decisions: key custody, quota planning across analysts, validating which attribute types each module accepts, and testing after upgrades. If those areas are thin in your team, a fixed-scope engagement can cover them with written deliverables. DeployOpen implements, hardens, documents and supports open-source platforms in your own infrastructure, but it does not issue audit reports or certifications.

Where should the VirusTotal API key be stored?

Store the key in the misp-modules configuration on the server that runs the service, with file permissions limited to the service account, and never in a shared spreadsheet, chat message or public repository. Keep the key out of version control and backups that analysts can read, and restrict who can view or change the MISP settings that hold it. Confirm with your security team whether your secrets platform should supply the key at runtime, and document rotation steps so that a key replacement does not require a full outage. Review the MISP security hardening guidance before you finalize the design.

How do VirusTotal quota limits affect analysts?

Quota limits are set by the VirusTotal tier your organization holds, and they apply to the whole key, so every analyst and every automated job that calls the module draws from the same budget. When the quota is exhausted, lookups fail or return errors, which can look like a MISP problem to analysts. Plan which attributes are worth enriching, decide whether enrichment is manual or automatic, and tell analysts what a failed lookup means. Ask VirusTotal for the current limits of your tier before rollout, since those terms are not part of the researched facts for this page.

How do MISP upgrades affect the enrichment modules?

The misp-modules service is separate from the core MISP platform, so an upgrade of one does not automatically validate the other. After a MISP version change, retest the VirusTotal module, the v3 and public API paths, and the sibling lookups such as urlscan, OTX, ThreatFox and URLhaus, because module names, required fields and returned objects can change. Restart the misp-modules service after any module is added or removed. Keep a record of the module versions and the key configuration that passed testing so you can roll back cleanly if an upgrade breaks enrichment.

How DeployOpen scopes and delivers MISP enrichment work

DeployOpen plans, implements, hardens and documents self-hosted platforms inside the client's own infrastructure, and a VirusTotal enrichment setup is scoped the same way. The work runs in your cloud accounts, data centers or air-gapped network, so the misp-modules service, the MISP instance it serves and the API key store all stay under your control. Before any work starts, the scope should name which VirusTotal modules are in play, which MISP attribute types they will touch, where the key is stored, who on the analyst side can trigger lookups, and how the setup will be verified after the restart that misp-modules needs whenever modules are added or removed.

Most engagements are fixed-scope. Scope, deliverables and timelines are agreed in writing before work starts, and the written scope is the document that governs what gets built, tested and handed over. For this topic, the deliverables usually include the configured module, the key handling approach, the test records showing what an enrichment adds to an event, and the operating notes your team needs to repeat the check after upgrades. Ask for these items by name in any proposal, and confirm with your MISP and misp-modules versions which module names and options apply to your build.

DeployOpen does not publish a price list, and a quote follows from the written scope. Ask any provider, including DeployOpen, to break the quote into one-time setup, testing and documentation, and recurring items such as upgrades, ongoing support or continuous testing offered as a retainer. Retainers are the usual route for keeping enrichment working across MISP and misp-modules upgrades, since module behavior and API terms can change with each release. Confirm with the vendor and your own environment what your VirusTotal license and quota allow before the scope is signed.

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.