Why teams add Shodan and Censys enrichment to MISP
An IP address or domain attribute arrives in a MISP event, and the analyst's first question is what is exposed on it. Open ports, running services and TLS certificates answer that question faster than pivoting through several consoles by hand. The Shodan and Censys Enrich modules in misp-modules add internet scanning data to those attributes, so the answer sits next to the indicator in the event. The misp-modules README lists both a Shodan expansion module and a Censys Enrich module, which is the basis for treating them as standard parts of the enrichment toolkit rather than custom work.
Teams usually add these modules when they already run other enrichment on the same misp-modules service, such as reputation or passive DNS lookups. Both modules are called through the same service, so the decision is about where the service runs, who can trigger lookups and which API accounts the organization is willing to hold. Before rollout, confirm with your own environment which attribute types each module accepts in your misp-modules version, since the README is the authoritative list and the accepted inputs are the first thing an analyst will test.
The practical payoff is triage speed and better context for sharing. An exposed management interface or an unexpected certificate on a reported domain can change how urgently an event is handled and what gets published to partners. Plan for the trade-off as well: scanning data is point-in-time and can be stale, so teams should record when enrichment was run and treat results as supporting evidence, not as confirmation that a host is compromised.
What the Shodan and Censys modules do inside MISP
The Shodan and Censys modules add internet scanning context to IP and domain attributes that already exist in an event. Each card below covers one part of that job: what the modules are, what they return, how analysts trigger them, and what to confirm before relying on the output.
Two scanning sources in misp-modules
misp-modules ships a Shodan expansion module and a Censys Enrich module, both run by the misp-modules service alongside MISP. They query internet scanning data about a host rather than about an event, so they add exposure context to indicators you already hold. Confirm which of the two modules is enabled on your instance before you write enrichment procedures for analysts, because the enabled set varies by deployment.
misp-modules READMEOpen ports and services on hosts
The core value is an view of which ports and services a public IP address exposes at the time of the scan. For IP attributes this helps analysts decide whether an address looks like a server, a VPN endpoint, a remote administration interface or a shared hosting node. Scanning data is a snapshot, so a port seen last week may already be closed. Record the scan context alongside the enrichment rather than treating it as current fact.
Certificate data where the module provides it
Certificate details can help link infrastructure, for example when several hosts present the same certificate subject or issuer. Whether a given module returns certificate fields depends on the module version and the upstream data source, so do not assume certificate output on every lookup. Check the module source for your misp-modules version to see which certificate fields are mapped before you build pivots on them.
Attribute types the modules accept
Enrichment is only useful when the attribute type matches what the module queries. Confirm in the module source which MISP attribute types each module accepts, typically IP address and domain values, and whether it handles hostnames or URLs. Attributes of other types will not return scanning data, so an analyst may see no result without an error. Document the accepted types in your runbook so that analysts know which attributes to enrich.
How analysts trigger enrichment
In a MISP event, analysts run enrichment against a selected attribute, choose the module, and review the returned data before accepting it. The step is manual by default, which keeps analyst judgment in the loop and limits outbound queries. Decide whether your team wants analysts to run lookups ad hoc or to batch them, and confirm the exact trigger path in the MISP version you run.
How results land as objects
Scanning results are returned to the event as enrichment output that analysts can review and attach. Plan for how that output is stored, since scanning snapshots become part of the event record and may be shared with partners. Confirm the object or attribute structure each module produces for your version before setting sharing rules or automation that depends on it, and check that the output meets your data handling policy.
Configuration decisions before enabling the modules
This table compares the choices to settle before the Shodan and Censys enrichment modules go live, with the option, the trade-off and when each fits. Read it as a checklist: resolve each row with your security and threat intelligence owners before any API key is entered into MISP.
| Decision | Options | Trade-off | When to choose it |
|---|---|---|---|
| Account and plan | Organization-owned Shodan or Censys account, or a shared analyst account | Organization ownership keeps usage and access reviewable, while a shared account is harder to attribute and revoke | Organization-owned accounts fit any production instance; confirm current plan terms and query limits with each vendor before sizing usage |
| Credential storage | Instance settings in the MISP web interface, or a secrets manager feeding the configuration | Settings storage is simple but anyone with admin rights can read it; a secrets manager adds setup work but limits exposure | Use a secrets manager where your policy requires centralized secret handling or rotation; confirm how your MISP build stores module settings |
| Who can read keys | Site administrators only, or a broader group of maintainers | Each additional reader widens the blast radius of a leaked key and makes rotation harder | Restrict to a small named group and record who holds the keys, since rotation must follow any staff change |
| Trigger mode | On-demand enrichment by analysts from an event, or automated enrichment in a workflow | On-demand keeps query use deliberate, while workflows enrich everything that matches and can spend quota quickly | Start on demand for a new instance; move to a workflow only for attribute types and event sources you have already reviewed |
| Attribute types passed | IP address attributes only, domain attributes only, or both | IP lookups return open ports, services and certificates; domain lookups depend on resolution and may surface different hosts | Pass IP attributes first; add domains once you confirm which types the module accepts in your build and what results you expect |
| Result handling | Keep results as objects directly, or hold them for analyst review before publishing | Direct objects save time but can carry stale or third-party data into shared events; review adds analyst effort | Hold for review on events that will sync to partners; direct objects suit internal-only events with clear ownership |
| Sharing scope of enriched data | Keep enriched events internal, or publish to a sharing community | Scan data about third-party hosts may be sensitive or inaccurate, and sharing copies it beyond your control | Keep scan-derived objects internal unless your sharing agreement and data handling rules allow it |
| Key rotation and audit | Manual rotation with logs reviewed by hand, or scheduled rotation tied to access reviews | Manual rotation is cheap to start but easy to forget; scheduled rotation needs ownership and tooling | Choose scheduled rotation for shared or regulated environments and confirm the vendor's key-regeneration process |
Rolling out the enrichment modules step by step
This sequence moves Shodan and Censys enrichment from a running misp-modules service to analyst use in production, with each step ending in a check you can record. Most of the risk sits in key handling and in how results land as objects, so those are tested before any analyst relies on them.
Confirm misp-modules is reachable from MISP
The platform team confirms the misp-modules service is running and that the MISP host can reach it on the address and port set in the MISP modules settings. Check the service logs for startup errors and confirm the module list served by the service includes the Shodan expansion module and the Censys Enrich module. Done when MISP's module configuration shows both modules as available and a test call returns a response without errors.
Obtain and scope API access
The security owner requests API access from Shodan and Censys under the accounts your organization is licensed to use, and confirms the plan covers the query volume your analysts expect. Record which account owns each key, who can rotate it, and which indicator types the team intends to enrich. Confirm current quotas and terms with each provider, since these are not set out in this page. Done when the access record names an owner and a rotation contact for each key.
Configure module settings and key storage
The MISP administrator enters the Shodan and Censys credentials in the module settings for the misp-modules integration, using the storage method your secrets policy requires. Restrict who can read or edit these settings, and keep keys out of configuration files that are committed to version control or copied into tickets. Confirm that logs and API responses in MISP do not echo the key. Done when a configuration review confirms the keys are stored only in the approved location and access is limited to named administrators.
Test on sample IP and domain attributes
The engineer creates a test event in a non-production MISP instance with known IP address and domain attributes, chosen from infrastructure your team already controls or from indicators that are already public. Run the Shodan and Censys enrichment on each attribute and record the response time, errors and any rejected attribute types. Confirm that each module accepts only the attribute types it supports and that unsupported types are skipped cleanly. Done when a test log shows successful enrichment for IP and domain samples and documented failures for anything unsupported.
Review how results land as objects and tags
The threat intelligence lead opens the test event and checks how the returned open port, service and certificate data is added. Confirm whether results are attached as objects, what attributes they contain, and which tags are applied. Verify that enrichment does not change to_ids flags or distribution settings on the original attributes without review. Done when the reviewer signs off on a sample event that shows the expected objects and tags and no unexpected changes to the parent attribute.
Set analyst permissions and documentation
The MISP administrator assigns the enrichment action to the analyst roles that need it, and confirms that roles without a business need cannot trigger external lookups. The team writes short internal guidance covering which attribute types to enrich, how to read the returned objects, and when a result should not be shared outside the organization. Done when the role matrix is reviewed and the guidance is published to the analyst team.
Roll out to production and monitor usage
The platform team enables the modules on the production instance using the same configuration that passed testing, and records the change in the change log. For the first period of use, the team reviews errors, rejected requests and provider quota messages, and adjusts the analyst guidance where results are misread. Done when production enrichment runs without unresolved errors and the operations owner has accepted the monitoring routine.
Which attribute types the modules accept and how results land as objects
The Shodan and Censys modules work on IP address and domain style attributes, which is where internet scanning data has something to say. An ip-src or ip-dst attribute can be looked up for open ports, services and banners, and a domain or hostname attribute can be used to find hosts and certificates associated with that name. Values of other types, such as file hashes, email addresses or free-text comments, are not what these modules are built for and should not be sent to them. Before you build an analyst workflow around them, confirm the exact attribute types each module declares as inputs in your installed misp-modules version, because the accepted list is defined by the module code and can change between releases. The misp-modules README is the place to start.
Where a module returns structured data, MISP attaches it to the event as an object built from a template, with object relations that hold the individual fields such as ports, services or certificate details. This is different from adding loose attributes, and it matters for review. Check the object templates present in your instance and the object relations each one uses, since these determine how the data is displayed, searched and exported. Reviewers should also check the to_ids flag on every attribute the enrichment adds or links to. Scanning results describe what was observed at one moment on infrastructure that may belong to someone else or may have moved, so a to_ids value set to true can push a noisy or stale indicator into detection tooling. Confirm the default to_ids behavior for each returned attribute in your version, and decide who signs off before the event is published or synchronized to partners.
What drives effort and cost for this module
This table compares the main cost and effort drivers for the Shodan and Censys enrichment modules, who pays for each, and whether it is one-time or recurring. Use it to shape a quote: each row names a question to answer in writing before work starts.
| Driver | Why it changes cost or effort | One-time or recurring | What to request or confirm in a quote |
|---|---|---|---|
| misp-modules hosts and network reach | Each host that runs the modules needs outbound access to the Shodan and Censys APIs, so more hosts mean more firewall, proxy and egress rules to design and test. | One-time setup, then recurring upkeep | Number of hosts, outbound paths, proxy use and who owns firewall changes |
| Provider accounts and key ownership | Keys are issued to accounts on the provider side. Shared or personal keys create rotation and offboarding work, and plan limits set how much enrichment the team can run. | Recurring provider subscriptions, one-time key handling setup | Which account holds each key, plan tier, who rotates keys and where they are stored |
| Volume of IP and domain attributes | Enrichment is triggered per attribute, so high-volume events or automated enrichment consume API quota faster and may need queuing or rate control. | Recurring, scales with usage | Expected monthly attribute volume by type, whether enrichment is manual or automated, and rate limit handling |
| Analyst workflow customization | Deciding which attributes analysts enrich, how results are reviewed and whether results feed workflows or notifications adds design and testing time. | One-time design, occasional change | Documented analyst steps, which attribute types qualify, and who approves changes to the workflow |
| Data handling and sharing rules | Returned scan data can describe third-party infrastructure. Teams must decide whether results stay internal, are published or are synchronized to partners, which adds review and tagging work. | One-time policy and configuration, periodic review | Distribution level for enriched objects, sharing rules for partners, and retention of returned data |
| Testing across MISP versions | Modules and MISP core change across releases. Each supported MISP version needs its own test pass, and upgrades can require retesting enrichment results and object mapping. | One-time test pass, recurring on each upgrade | Versions covered, test cases for IP and domain attributes, and who signs off after an upgrade |
How an enrichment request moves from MISP to the scanning APIs
The request starts when an analyst or workflow asks MISP to enrich an IP or domain attribute. MISP hands the attribute to the misp-modules service, which reads the stored Shodan or Censys key and calls the scanning API over the outbound network. The returned open port, service and certificate data comes back into MISP as an object attached to the event. Check the key boundary, the egress path and whether the object lands where your analysts expect.
Enrichment flow from MISP through misp-modules to the scanning APIs and back as an event object.
Questions teams ask before implementing Shodan and Censys enrichment
How much effort and cost should we expect for Shodan and Censys enrichment?
The cost is mostly the effort to enable and test the modules inside an existing or new MISP instance, plus any paid data access you choose to buy. The modules are part of misp-modules, so the software itself carries no license fee beyond what your deployment already needs. Effort rises with the number of attribute types you want enriched, how many analysts will trigger lookups, whether you run misp-modules in a separate container or host, and how much testing your security team requires before analysts use the results. Any quote should separate one-time setup from recurring work such as key rotation, module updates and retesting after MISP upgrades. Ask for the written scope to name each module, each environment and the test cases used to confirm results land as expected. Confirm subscription terms for Shodan and Censys directly with each provider, since those plans are outside DeployOpen's scope.
How long does setup take for these modules?
Setup time depends on your existing MISP environment more than on the modules themselves. An instance that already runs misp-modules, has a working network path to the module service and has an approved owner for API keys can be configured quickly. A new deployment, a segmented network or a change process that requires review adds steps before the first enrichment runs. Work typically follows a sequence: confirm the MISP and misp-modules versions, provision the keys, enable the modules, test each attribute type with known indicators, review how the resulting objects appear in events, and document analyst steps. Ask any partner to commit to a timeline only after the scope, environment access and approval steps are agreed in writing.
What do we need to provide before the work starts?
You will need four things: a running MISP instance or a plan to deploy one, a misp-modules service that MISP can reach, network rules that allow outbound requests from misp-modules to the Shodan and Censys APIs where your policy permits it, and named owners for each API key. Ownership matters because keys carry quota and billing, and someone must be accountable when a key is revoked or rotated. Also confirm whether analysts will share a key or receive their own, which affects logging and rate limits. Document these decisions before the build begins so the scope and test plan reflect your actual environment.
Can our in-house team implement these modules without a partner?
Yes, a team that already operates MISP and misp-modules can enable these modules. The work is configuration, key handling and testing rather than custom development. The harder parts are usually network design for the module service, secure key storage, validation of which attribute types produce useful objects, and keeping the setup working through MISP upgrades. A partner is most useful when your team needs an independent review of the configuration, a documented test plan for compliance evidence or help getting analysts to a consistent workflow. Decide based on whether your team has capacity to own the setup after handover and whether it can absorb the testing and documentation effort.
How should we store the Shodan and Censys API keys?
Do not place keys in event data, shared notes or screenshots. Store them in the configuration path that misp-modules reads, restrict file permissions to the service account, and keep the keys out of version control. Where your organization already runs a secrets manager, decide with your security team whether it can inject the values at runtime. Use separate keys for test and production, record the owner of each key, and set a rotation procedure that includes checking MISP and misp-modules logs after a change. Confirm the exact configuration keys and file locations for your installed version against the module README before writing any runbook.
Which attribute types do these modules accept, and what do results look like?
The modules are designed for internet-facing indicators such as IP addresses and domain names, so those are the types you should test first. Results are added to the event as enrichment, typically as objects that hold open ports, services and certificate details rather than as a flat list of new attributes. Review the output in a test event before enabling the module for analysts, because the amount of data returned can be large and some fields may not be suitable for to_ids flags or sharing. Confirm the accepted attribute types and the object templates for your MISP version against the misp-modules README and your own tests.
How do upgrades of MISP and misp-modules affect these modules?
Upgrades can change module behavior, configuration keys, object templates and the list of supported attribute types, so treat each upgrade as a change that needs retesting. Keep MISP and misp-modules versions aligned with the project's guidance, and check the release notes before moving either component. Plan the test set in advance: a few known IP and domain indicators, the expected objects, and the analyst view. Confirm that your key configuration survives the upgrade. Because the MISP project recommends version 2.5 for new deployments and 2.4 is end of life, any instance on the older line should move forward before adding new enrichment work.
How these modules connect to the rest of the MISP platform
The Shodan and Censys enrichment modules run inside the misp-modules service, so they share hosting, configuration and upgrade cycles with every other expansion module. Their output becomes ordinary MISP objects and attributes, which means sharing rules, tags, workflows and downstream feeds all apply to enriched data the same way they apply to analyst-entered indicators.
Shared misp-modules service
Shodan and Censys are served by the same misp-modules process that handles VirusTotal, passive DNS, GeoIP and import or export modules. Restarting, upgrading or sizing that service affects every enrichment module at once. Check which modules are enabled in your build, confirm that the Shodan and Censys modules appear in your MISP instance's module list after deployment, and plan maintenance windows with analysts who depend on any of them.
misp-modules READMEResults stored as MISP objects
Enrichment output such as open ports, services and certificate fields is added to the event as objects linked to the original IP or domain attribute, rather than as loose attributes. Objects keep the source data grouped and can be reviewed, edited or removed as a unit. Confirm which object templates your version uses for each module's output so that your sharing and export tooling reads them correctly.
Tags and analyst review
Tags such as tlp labels, workflow markers or your own enrichment status tags let analysts see which attributes have already been enriched and which still need review. Adding tags to enriched objects also helps downstream consumers filter by status. Confirm how your MISP version applies tags during enrichment and whether they can be set automatically before publication.
Workflows that trigger enrichment
Enrichment can be started manually from an attribute or invoked through workflow modules where your MISP version supports it. Automated triggers suit high-volume feeds, but each Shodan or Censys lookup consumes provider quota under the key you configured. Confirm workflow support for enrichment actions in your target version before designing an automated path, and decide which attribute types should never trigger a lookup.
Distribution and sharing rules
Enriched objects inherit the distribution level and sharing group of the event they belong to, so internet scanning data about a partner's infrastructure can reach more recipients than intended. Review the distribution setting on each event before publishing, and confirm whether your sync configuration sends objects that were added by enrichment. Consider whether third-party scan data is permitted to leave your organization under the terms of your provider accounts.
Detection and SIEM feeds
Open ports and service data added to IP and domain attributes can change how a feed is exported, for example through the Suricata, Snort, Zeek or CSV formats. Enriched fields that are not flagged for detection should not turn into blocking rules by accident. Check the to_ids flags and export filters on enriched attributes, and test one exported output in your sensor before it reaches production.
What the client provides and what DeployOpen hands over
The client supplies the things only it can supply: the Shodan and Censys accounts, the people who own the API keys, and a network path that lets the misp-modules service reach the provider APIs from the MISP host. Confirm before work starts who owns each provider account, whether the organization holds a paid or free tier with each service, and which mailbox or role receives account notices. Ask the key owners to name a rotation contact, because the keys are stored in MISP and a rotation without a named owner tends to break enrichment silently. The client also has to confirm egress rules from the misp-modules host, since a proxy or egress filter that blocks the provider endpoints will show up as failed lookups rather than a clear error. Sample data matters as well. Provide a set of representative IP addresses and domains from your own events, including some that are known to be exposed and some that are not, so the test results reflect your traffic.
The client also signs off on the sharing rules that govern enrichment output. Enrichment results can add scan data to an event that is later synchronized to partners, so the client should decide which events may be enriched, which distribution levels apply to the added objects, and whether any scan results should stay internal. Record that decision in writing, because DeployOpen will configure the workflow to match it, not to a default.
On handover, DeployOpen delivers a configuration record listing the enabled modules, the attribute types each one is wired to, the key storage location and the owner of each key, and the network paths used. It also delivers key handling notes covering how keys are entered, who can view them, and how to rotate them without losing enrichment history. The test results from the sample data set are included, along with a runbook for enrichment failures and quota exhaustion, covering how to recognize a rejected key, a rate limit, or a blocked egress path. The final item is an upgrade checklist that names the misp-modules and MISP version pairs to recheck after each change. Timelines for each handover item are set out in the written scope.
How DeployOpen scopes and delivers MISP enrichment modules
DeployOpen plans and implements the Shodan and Censys enrichment modules inside your own infrastructure, starting from a written scope that names the attribute types, API keys and analyst workflows in use. The work covers configuration, testing, documentation and handover, and it can continue as a retainer once the modules are running.
How we scope
- Inventory which IP and domain attributes analysts enrich, and which events they currently pivot from.
- Confirm which Shodan and Censys accounts, key ownership and licensing terms your organization will use.
- Agree in writing which modules, attribute types, users and deliverables the fixed scope includes.
How we build
- Install and configure the misp-modules service alongside your MISP instance in your own environment.
- Enable only the Shodan and Censys modules in scope, and store their API keys in your approved secrets handling.
- Test enrichment on sample IP and domain attributes and check how resulting objects appear in events.
How we hand over
- Document configuration, key rotation steps, attribute mappings and the analyst enrichment procedure.
- Walk your operations and security teams through how results are stored, shared and reviewed before publishing.
- Deliver a record of the tests run, open findings and the items your team should confirm with each provider.
How we support
- Offer ongoing support, module upgrades and continuous testing as a retainer after handover.
- Re-test enrichment after MISP or misp-modules upgrades, so changes to modules do not break analyst workflows.
- Agree support boundaries, response expectations and review cadence in the written scope.

