MISP enrichment and expansion modules setup

Running the misp-modules service and enabling expansion modules such as VirusTotal, Shodan, Passive DNS and DomainTools, with API keys, rate limits, attribute mapping and analyst triggers planned before go-live.

On this page

MISP enrichment modules setup: what your team takes on before analysts rely on it

Your team takes on a separate service, not just a checkbox. misp-modules is a standalone service that MISP calls to run expansion lookups, so enrichment works only when that service is installed, reachable from the MISP instance, and configured with the right external keys. Setup means deciding which expansion services to enable (for example VirusTotal, Shodan, Passive DNS or DomainTools), where each API key is stored, which attribute types each module may receive, and who is allowed to send indicators to a paid or rate-limited external service. Those decisions matter as much as the install itself, because every enabled lookup sends your indicators to a third party.

Teams usually take this on when analysts are already working in MISP and want to expand an IP, domain, hash or URL without copying it into a separate browser tab. Planning starts with the platform. MISP 2.5 is the version the project recommends for new deployments, and the platform is licensed under the GNU AGPL version 3, which governs the software itself, not the external services you connect to it. Confirm the module release that matches your MISP version, because the core and misp-modules must stay compatible through upgrades. Check the current MISP download page before you pin versions.

Some work sits outside the module. Your team still owns the external accounts and their terms, the outbound network paths from the misp-modules host, the quota planning that keeps analysts from exhausting a shared key, and the review of what enrichment adds to events before anyone publishes them. Confirm with each provider which attribute types their terms allow you to submit and whether their data may be shared onward, especially for air-gapped or regulated networks, where some lookups may not be possible at all. Decide these before analysts rely on the results.

How an analyst enrichment request moves through MISP and misp-modules

The request starts when an analyst triggers enrichment on an attribute in the MISP UI or through the API. The MISP core passes that attribute to the misp-modules service, which reads its provider API key from its own configuration and calls the external provider. The trust boundary sits between your network and the provider's API, so the outbound path, key storage and returned data need review. Results come back as attributes or objects attached to the event, where analysts check them before any sharing or publishing.

Enrichment flow from analyst trigger to results on the event, with the trust boundary to the provider.

What expansion modules do inside MISP

Expansion modules run as a separate misp-modules service that MISP calls when an analyst asks for more context on an attribute. The cards below cover what that service does, what results look like, and where its boundaries sit, so the setup decisions on this page rest on documented behavior.

The misp-modules service

misp-modules is a companion service that runs alongside the core MISP platform and hosts the expansion, import, export and action modules. MISP passes an attribute to the service and receives structured results back. Confirm the service version against your MISP 2.5 release, and check how it is started, monitored and restarted in your environment, because a stopped service leaves analysts with lookups that silently return nothing.

MISP repository

Lookups for VirusTotal and Shodan

Expansion modules for services such as VirusTotal and Shodan query an external provider about an indicator, typically a hash, domain, URL or IP address. Each module accepts a different set of attribute types, so an IP address may enrich through one module and not another. Confirm the accepted attribute types and the response fields in each module's own documentation before you rely on them in an analyst workflow.

Passive DNS and DomainTools context

Passive DNS and DomainTools modules add historical resolution and registration context to domain and IP attributes. This data often comes from paid or access-controlled sources, so the API key, the account tier and the query allowance belong to the organization that owns the subscription. Confirm which query types each provider supports before you plan who may run them, since every lookup may be billed or counted against a quota.

Analyst-triggered enrichment

Expansion runs when an analyst or an automated action requests it on a specific attribute, not as a background pass over every event. Results are shown to the requesting user and are attached only when the user chooses to keep them. Decide early whether analysts will trigger lookups by hand or whether a workflow will run them, and document who reviews a result before it is treated as intelligence.

Enrichment results as attributes or objects

A module response can return flat attributes, which are single values added to the event, or objects, which group related values such as a domain with its resolutions. Objects keep context together but make the event larger and harder to filter. Check which form each module returns, and confirm whether the returned attributes carry to_ids flags, because those flags decide whether detection tools consume the data.

Expansion separate from import and export

Expansion modules enrich existing attributes, while import modules create new events from documents and export modules transform events into other formats. Each type has its own module list and its own configuration in MISP, so enabling one does not enable the others. Confirm which module types your instance has loaded, and treat import and export modules as a separate review before you extend the enrichment setup.

MISP features

Which enrichment services to enable and what each one needs

VirusTotal is usually the first expansion service teams enable, because it covers file hashes, domains, IP addresses and URLs in one lookup. Access depends on an account with an API key, and the key is stored in the MISP module configuration rather than in analyst accounts. Confirm with VirusTotal which API tier your organization holds, since the tier determines the request volume the module can sustain under your analysts' workload.

  • Access requirement: a VirusTotal account and API key, with the key entered in the misp-modules configuration for the VirusTotal module.
  • Attribute types: file hashes, domains, IP addresses and URLs, which are the types the module is designed to query.
  • What it returns: reputation and detection context that analysts can add to the event as enrichment, subject to the module's output settings.
  • Cost and limits: confirm the commercial terms, including whether your intended use is permitted, the request quota for your tier and what happens when the quota is exceeded.
  • Sharing terms: check the provider's terms on what may be submitted or redistributed, especially for samples from restricted investigations.

Before enabling the module, check with the provider whether your tier and terms cover automated enrichment at the volume your team expects.

Configuration decisions for misp-modules and enrichment

This table compares the main choices for running misp-modules and enabling enrichment, with the trade-off each one carries. Read each row against your own network rules and analyst workflow, since the right answer often depends on whether MISP can reach external services and who is allowed to see API keys.

DecisionOptionTrade-offChoose it when
Where the service runsSame host as MISPSimplest to connect and monitor, but a module fault or resource spike shares the host with the core platformThe instance is small and the team wants the fewest moving parts
Where the service runsSeparate host or containerIsolates module load and outbound access, adds a network path to secure and monitorYou want module egress and resource use kept apart from the core platform
API key storageConfiguration settings in MISPKeys are readable by administrators with settings access, so role design mattersFew administrators exist and access to the admin interface is tightly controlled
API key storageSecrets manager or environment injectionStronger separation and rotation, but needs deployment work and a process to refresh keysKeys must be rotated on a schedule or kept out of the MISP database
Module selectionEnable only modules with a defined analyst useSmaller outbound surface and fewer keys to manage, but some analysts may need to request new modulesYour data handling rules limit which third parties may receive indicators
Module selectionEnable all available expansion modulesBroad coverage for analysts, but more third-party data sharing and more quotas to trackSharing indicator data with external services is already approved for your organization
Trigger modelManual enrichment by analystsAnalysts decide what leaves the network and when, at the cost of consistency and speedIndicator volume is low or enrichment reveals sensitive investigations
Trigger modelWorkflow-driven enrichmentConsistent results and less analyst effort, but automated calls can spend quota on low-value attributesVolume is high and you can define which attribute types and events qualify
Rate limits and quotaPer-analyst or shared keysShared keys are simpler to administer but one heavy user can exhaust the quota for everyoneTeams are small and usage is predictable
Rate limits and quotaQueue or throttle automated callsProtects vendor quotas and produces predictable results, but enrichment may complete laterAutomated workflows run in bulk or against large sync imports
Outbound accessAllow module egress to named vendor endpointsEnrichment works as designed, and the allowlist must be maintained when vendors change hostsYour network team can manage destination rules and logging
Outbound accessAir-gapped or fully restricted egressPreserves network isolation, but most external expansion modules will not work; offline options need separate planningPolicy forbids outbound calls from the MISP network

How the enrichment rollout runs, step by step

This sequence takes a MISP instance from an unconfirmed starting point to a tested enrichment setup that analysts can trigger, with each provider key, attribute mapping and access rule documented before any results reach shared events.

  1. Confirm the MISP version and deployment method

    The platform owner records the MISP version, the installation method (official installer, Docker, Ansible, Puppet, RPM or Kubernetes) and where misp-modules runs relative to the MISP server. MISP 2.5 is the recommended line for new deployments, and MISP 2.4 is end of life, so an instance on 2.4 should be scheduled for upgrade before modules are added. The step closes with a written record of the version and host layout that the rest of the rollout references. Confirm the exact module packaging for your method with the MISP installation documentation.

  2. Install or enable the misp-modules service

    The administrator installs misp-modules or enables the service that ships with your deployment method, then starts it under the same process supervision used for other MISP background services. Confirm that the service runs as a non-root account and that its logs go to the central logging location. The step is complete when the service starts cleanly after a reboot and writes its startup output to the log without errors.

  3. Verify the service is reachable from MISP

    The administrator checks that the MISP application server can open a connection to the misp-modules port and that a module list request returns the expected modules. Firewall rules, host names and any container networking must allow this path, and the MISP module settings must point to the correct address. The step closes when the MISP administration interface shows the modules as available, and the team has recorded the connection settings.

  4. Add provider keys and test with a known indicator

    The administrator enters each provider API key in the module settings for VirusTotal, Shodan, Passive DNS, DomainTools and any other chosen module, and restricts who can view or change those values. Each module is then tested with a known, non-sensitive indicator, such as a well-documented public domain, and the team confirms that the returned object or attribute looks correct. The step ends with a test record per module, showing the indicator used, the date and whether the lookup succeeded. Check each provider's terms before sending indicators to a third-party service.

  5. Map each module to its attribute types

    The team lists which attribute types each module accepts, such as IP addresses, domains, hashes or URLs, and writes a mapping that analysts can follow. Modules that do not accept a given type are not triggered on it, and sensitive attribute types are excluded from external lookups unless the data owner has approved them. The step closes with a signed-off mapping table that the platform owner stores with the configuration record. Confirm exact accepted types against each module's own documentation in your version.

  6. Define analyst triggers and access roles

    The platform owner decides whether enrichment is started manually from an attribute, automatically through a workflow, or both, and assigns the roles allowed to run each one. Roles are set so that only analysts who need external lookups can trigger them, and the decision is recorded with the reason for any automatic trigger. The step is complete when a test analyst account can run an approved enrichment and an account without the role cannot.

  7. Document quota and rate-limit handling

    The team records each provider's quota and rate limits from the provider's current terms, along with the number of analyst accounts sharing each key. They define the expected behavior when a limit is reached, such as queuing, skipping with a logged message or notifying the platform owner, and confirm how failed calls appear in the logs. The step closes with a written runbook that analysts and the platform owner can follow. Ask each provider for its current quota figures before writing this document, since limits change.

  8. Review enrichment results before sharing

    Before any enriched event is published or synchronized, a reviewer checks that added objects and attributes are accurate, that the to_ids flags are set as intended and that the distribution level matches the data's sensitivity. Enrichment results from third-party services are treated as context and not as confirmed fact. The step is complete when the reviewer signs off a sample of enriched events and the team has recorded any corrections to the mapping or roles.

How API keys and rate limits shape the setup

Each expansion module that calls a third-party service needs its own API key, and where that key lives decides who can change it and how it is rotated. In a MISP deployment, module keys are supplied to the misp-modules service and then referenced from the module settings in the MISP administration interface, so the key sits in two places that must stay in step. Confirm with your team where the secret is stored (a secrets manager, an environment file or a configuration management tool), who can read it, and how a rotation is applied to the misp-modules process without leaving analysts with a silent failure. Keep the key out of exported configuration and out of shared runbooks.

Key scope and ownership matter more when several analysts share one key. Most commercial providers tie quota, licence tier and audit trail to the key holder, so a single shared key means one analyst's bulk lookups can exhaust the allowance for everyone, and the provider's logs will not show which person or workflow made a request. Decide early whether the organization uses one service key for automated enrichment, separate keys for interactive analyst use, or a per-team arrangement. Confirm with each provider whether it permits organization-wide keys, how many concurrent requests a key may make, and whether the terms allow the key to be used by an automated service on behalf of several people.

Provider rate limits rarely show up as a clear error inside MISP. A throttled or quota-exhausted request can return a partial result, an empty object or a failed module call, and the analyst sees an event with fewer attributes than expected. Record the module name, the provider, the time of the attempt, the key identifier used and the response status in your operating notes, and tell analysts how to tell a genuine absence of data from a lookup that was refused. Also confirm the daily and per-minute limits with each provider directly, since these change and differ by licence tier, and plan enrichment so that bulk imports do not compete with interactive lookups for the same quota.

What drives setup effort and how to keep it down

This table lists the main factors that raise or lower the effort of setting up MISP enrichment and expansion modules, with the direction each one pushes effort and a practical way to contain it. Read each row as a decision you can make before work starts, since most of the effort comes from choices made early. The main takeaway is that the number of enabled providers and the egress rules are the two factors that most often expand scope.

DriverWhy it changes effortHow to keep it down
Number of providers enabledEach provider adds its own API key, settings, error handling, quota behavior and testing. Effort grows with every module added.Start with the few providers that match your highest-value attribute types, then add others once the first set runs reliably.
Provider account and key procurementSome services require paid or vetted accounts, and approval can take longer than the technical work. Confirm license terms with each provider.Request accounts and keys in parallel with design, and record which team owns each account and its renewal date.
Network egress and proxy rulesmisp-modules must reach external APIs from the server or container network, which often needs firewall rules, proxy configuration or allowlisting reviewed by the network team.Map every outbound hostname and port before deployment, and confirm proxy settings with the network team once rather than per module.
MISP version and deployment methodModule packaging and service wiring differ across installer, Docker, Ansible and other methods. Confirm which misp-modules build matches your MISP 2.5 release.Pin the MISP and misp-modules versions together and use the same deployment method that runs the core platform.
Attribute types in scopeEach module accepts specific attribute types such as IP addresses, domains, file hashes or URLs. Broad scope means more mapping, more result types to review and more test cases.Limit the first rollout to the attribute types your analysts query most, and document which module handles each type.
Analyst trainingAnalysts must know when to trigger enrichment, how quota limits affect them and how to read the objects that results create. Gaps lead to repeated or wasted lookups.Give a short, role-based guide with examples of when to enrich, and agree a shared rule for manual versus automatic triggers.
Testing against sensitive dataSubmitting real indicators, internal hostnames or incident data to third-party services can raise data handling questions and requires an approved test set.Test with public or synthetic indicators first, and get written approval from data owners before any production values are sent to a provider.

Questions teams ask before setting up MISP enrichment

What does a MISP enrichment setup cost, and what drives the cost?

The cost comes from three places: the engagement itself, the third-party API subscriptions, and the infrastructure that runs misp-modules. The engagement is priced from a written scope covering which modules you enable, how many providers you connect, how keys are stored, and how analysts are trained to trigger lookups. Provider subscriptions are paid to each vendor directly, and their tiers, quotas and terms vary, so confirm them with each provider before you commit. Infrastructure is usually a small, recurring cost for the service host and its updates. Ask any partner for a quote that separates one-time build work from recurring support, and that lists each provider subscription as a line you own.

How long does MISP enrichment setup take?

Duration depends mostly on how many modules you enable and how much of the surrounding workflow you change. A setup that connects one or two providers to an existing MISP instance is a much smaller job than one that adds several providers, custom review steps and analyst guidance. Time is also spent waiting on provider account approval and key issuance, which sit outside your control. Scope and timeline are agreed in writing before work starts, so ask for the milestone list and the dependencies on your side.

What does our team need to provide for the engagement?

Expect to provide a named technical owner, access to the MISP instance and its host, a decision on which providers your organization is allowed to query, and an approved place to store API keys. You will also need to tell the team which attribute types analysts work with most, because that decides which modules are worth enabling. Your security team should review the data sent to external services, since a lookup sends the indicator to the provider. Confirm these inputs early, as delays here usually push the timeline more than the technical work does.

Can an internal team set up MISP enrichment without a partner?

Yes, a competent platform team can install misp-modules, add provider keys and enable expansion modules by following the project documentation. The harder parts are judgment calls: which attribute types to send to which provider, how to respect each provider's quotas, how to store keys so that analysts cannot read them, and how to keep modules working across MISP upgrades. Teams that lack spare capacity or have strict data handling rules often bring in a partner for the design and review, then run the service themselves. Decide this by comparing your team's time and the review your compliance function will expect.

Can enrichment modules run in air-gapped networks?

Only modules that do not call an external service can run fully offline. Modules such as VirusTotal, Shodan and passive DNS services query remote APIs, so they cannot work in a network with no outbound access unless you route requests through an approved proxy or host a local equivalent. Offline options exist for some data, such as local GeoIP databases, but each one needs its own data file and a process to keep it current. Confirm connectivity rules and the data each module needs before you finalize the design.

How are API keys and provider terms handled?

Keys should be stored in a controlled location, scoped to the minimum access each module needs, and never shared with analysts directly. Restrict who can view or change them, record key use where your platform allows it, and rotate keys on a schedule and after any staff change. Provider terms govern what you may send, how results may be stored or shared, and whether commercial use is allowed, so have legal review them for each provider. Some providers restrict redistribution of their results, which affects how you share events through MISP. Review the terms of each provider before enabling its module.

What happens after go-live?

After go-live, the work shifts to keeping modules working, watching quotas, rotating keys, and updating modules when MISP changes. Each MISP release can affect how misp-modules is packaged and called, so schedule a check after every upgrade. Monitor provider usage so analysts do not hit limits during an incident. Ongoing support can be handled by your own team, by a partner under a retainer, or by a mix of both. Ask any provider which of these tasks sit in its scope and how changes are tested before they reach production.

How enrichment connects to the rest of MISP and your stack

Enrichment is one step in a chain that starts with events and attributes in MISP core and ends in detection tools and analyst workflows. Each card below marks a connection point that affects who can trigger enrichment, what data leaves your network, and how enriched results reach your sensors.

MISP core and the event model

Expansion modules attach their results to attributes and events in MISP's core data model, so enrichment output inherits the sharing rules already set on the event. Check which attribute types each module accepts before you run it, because a module will not add value to a type it does not support. Confirm how results are stored on the event before you publish anything derived from them.

MISP features

Workflows and analyst roles

Enrichment can be started by an analyst from the event view or triggered automatically by a workflow, and the two paths carry different risks. Decide which roles may run lookups that spend paid API quota and which may only read enriched results. Document which events an automated workflow is allowed to enrich so that sensitive indicators are not sent to third-party services without review.

Import, export and custom modules

Sibling topics cover the import and export modules, the sandbox and document import paths, and building an in-house expansion module against an internal inventory. These share the same misp-modules service and deployment, so a change to one can affect the others. Plan the module list as a single inventory with owners, versions and upgrade notes.

SIEM and detection outputs

Enriched attributes often flow onward to SIEMs, network sensors and blocklists, and enrichment can change which indicators get the to_ids flag. Confirm that analysts have reviewed enriched fields before they reach detection, since a wrong pivot can create noisy or misleading rules. Test the export path with a sample event before connecting it to production sensors.

Identity and access for enrichment

Who may trigger enrichment depends on how MISP authenticates users, so single sign-on and role mapping shape the enrichment permissions. The OidcAuth plugin maps identity provider roles to MISP roles and assigns the first matching role by priority, so review that mapping before granting enrichment rights. Confirm which accounts can view API key settings and which can run lookups.

OidcAuth README

Outbound traffic and secrets

Each external expansion module sends indicator values from your instance to a third-party service, and it needs an API key stored somewhere the service can read. Decide which modules may reach the internet from the misp-modules host, and use an egress allow list where your network policy requires one. Confirm where each key is stored, who can read it, and how it is rotated when a module or analyst account changes.

What you hand over and what you receive at the end

Before work starts, the written scope should name what the client provides. The core inputs are access to the MISP instance with a dedicated automation or administrator account, the provider accounts for each enrichment service (for example VirusTotal, Shodan, Passive DNS and DomainTools), and the network rules that let the misp-modules service reach those providers from the client's own network. Where a provider requires outbound access through a proxy or an allowlist, the client's network team must confirm the destinations before configuration begins. The client also supplies an attribute and analyst policy: which attribute types may be sent to external services, which events are sensitive enough to exclude, and who may trigger enrichment. Without that policy, the enrichment configuration cannot be finished, because sending a domain or file hash to a third party is a data handling decision, not a technical one.

At handover, the client should expect a configured misp-modules service and the enabled expansion modules, a key handling record that lists each provider key, where it is stored, who holds it, the rotation owner and the revocation steps, and a tested enrichment runbook covering start-up, health checks, failure behavior and how to add or retire a module. Analyst guidance should describe which attribute types each module enriches, how enrichment is triggered from the event view, and what the provider's quota means for shared use. The written deliverables should also state the support options available after handover, such as a retainer for upgrades and module updates, so the client knows who maintains the setup once the engagement closes. Confirm the exact list of deliverables, acceptance tests and any items excluded from scope in the statement of work before work begins.

How DeployOpen scopes and delivers MISP enrichment setup

DeployOpen approaches MISP enrichment and expansion modules as a scoped piece of work inside a MISP instance you control. We agree which modules, API keys, attribute types and analyst workflows are in scope before any configuration changes, then build, test and document the setup for your own teams.

How we scope

  • Confirm which expansion modules your analysts need and which attribute types each one should enrich
  • Record API key ownership, storage location and the quota limits your provider contracts allow
  • Agree in writing how analysts will trigger enrichment and which results need review before sharing
  • Engagements are fixed-scope, with deliverables and timelines agreed before work starts

How we build

  • Install and configure the misp-modules service alongside your MISP instance in your own infrastructure
  • Enable the agreed expansion modules and test each one against representative sample attributes
  • Check rate-limit handling, error behavior and what each module adds to events during test runs
  • Verify that results land as intended and that enrichment does not expose keys or sensitive values

How we hand over

  • Provide a written configuration record covering modules, key locations, attribute mappings and service settings
  • Document analyst steps for triggering enrichment and reviewing returned data before publishing
  • Walk operations staff through restarting the service, rotating keys and diagnosing failed lookups
  • Deliver a retest summary showing the enabled modules and the results from the final test pass

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers
  • Review module changes and MISP release notes before each planned upgrade of misp-modules
  • Confirm with each provider any changes to API terms, quotas or access requirements that affect your setup
  • Agree the support boundary, response expectations and escalation path in the written scope

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.