MISP import and export modules: when your team needs them and when it does not
You need misp-modules only when intelligence has to come into MISP from a source it cannot read natively, or when a tool downstream cannot consume any of MISP's built-in formats. For everything else, the core platform is enough. The misp-modules service is a separate process that runs alongside core MISP and handles the import, export, expansion and action work that the core does not do itself, so adding it is an operational decision with its own service to install, patch and monitor, not just a feature toggle. Before scoping any module work, decide whether the gap is in how data gets in or how it gets out.
The built-in restSearch and export formats cover many cases without any module. MISP JSON, STIX 1 and 2, OpenIOC, CSV, text, Suricata, Snort, Zeek and RPZ are available from the platform itself, and the API lets teams pull filtered results into their own tooling. A team that feeds a firewall, DNS resolver or IDS from MISP, or exchanges events with partners in STIX, usually needs no module at all. Check first whether your target product already ingests one of these formats, and whether your analysts can accept a flat CSV or text export for the use case before committing to a module-based route.
When a gap does exist, confirm three things before you build or buy the module path. First, confirm the exact module version and its input and output formats against the misp-modules documentation for your MISP release, since module behavior changes between versions. Second, decide who reviews imported attributes before they are published, because module imports can create attributes whose to_ids flags need checking. Third, confirm that the service is patched and monitored like any other component of the instance, and that someone owns its upgrades. Teams that skip these checks often discover the gap was smaller than they assumed, or that a module adds maintenance cost the built-in formats never carried.
What the import and export modules do in MISP
misp-modules is a separate service that extends MISP beyond its built-in formats. The module families are import, export, expansion and action, and each one converts data in or out of MISP events. Confirm each module name against the misp-modules release you install, because the supplied facts do not list the module inventory.
Import modules bring data into events
Import modules parse a file or report and turn its contents into MISP attributes and objects inside an event. The modules in scope for this page are CSV, email, and sandbox report imports. Before you rely on one, check which attribute types it creates and whether it creates flat attributes or structured objects, since that choice affects correlation and export later. Review extracted values before anyone publishes the event.
Export modules shape output for tools
Export modules convert MISP event data into a format a downstream tool reads directly. The in-scope examples are YARA, PDF, KQL and CEF. Confirm each exporter exists in your installed misp-modules release, and check which event fields and to_ids flags it carries across. An export is only as accurate as the attributes you pass to it, so filter by distribution and status first.
Expansion modules add context
Expansion modules query an external or local source for each attribute and return extra data, such as lookups against reputation or passive DNS services. They are not the focus of this page, but they run in the same misp-modules service, so the same release and dependency checks apply. Expansion calls can send indicator values to third parties, which makes them a data handling decision as well as a technical one.
Action modules run on events
Action modules perform an operation after or around an event, such as sending a notification to a chat channel. They are reached through workflows and carry their own credentials and rate limits. Decide which events justify an action before enabling it, because a noisy channel leads analysts to mute it.
Built-in formats may be enough
MISP already exports MISP JSON, STIX 1 and 2, OpenIOC, CSV, text, Suricata, Snort, Zeek and RPZ, and offers an API with restSearch and PyMISP. If your consumer accepts one of these, a module adds a dependency without adding value. Use a module only when the target format or the input source is not covered by the built-in set.
MISP featuresVerify modules against your release
Module availability, options and output formats change between misp-modules versions. The supplied facts confirm MISP 2.5 as the recommended line and 2.5.50 as a recent release, but do not list which modules each version includes. Check the installed module list, run a test import or export on a non-production sample, and record the module version alongside the MISP version in your change records.
MISP releasesWhich route gets indicators in and out of MISP
This table compares the built-in MISP formats, misp-modules import and export modules, and PyMISP scripting against the work each one suits. Read each row as a question about the source or target: one-off analyst files, recurring feeds, SIEM targets or detection content. The main takeaway is that the built-in formats cover most exports, and a module or script is worth its upkeep only when the destination needs a format MISP does not produce.
| Route | Best fit | Trade-off | Where it runs |
|---|---|---|---|
| Built-in import and export formats | Standard MISP JSON, STIX, CSV, Suricata, Snort, Zeek and RPZ outputs | Nothing extra to install or maintain, but the format list is fixed by the platform | On the MISP host through the web interface or restSearch |
| misp-modules import module | One-off analyst files such as CSV, email or sandbox reports | Extracted values need analyst review before they are published | Inside the misp-modules service alongside MISP |
| misp-modules export module | SIEM or tool targets such as YARA, PDF, KQL or CEF | Adds a service dependency and a module version to track through upgrades | Inside misp-modules; confirm the module list for your release |
| PyMISP scripting | Recurring feeds, scheduled pulls and custom transforms to detection content | Someone must own and test the script, including its credentials and error handling | On a separate worker or scheduler that calls the MISP API |
| Review before publishing | Email, PDF and sandbox imports where extraction may be noisy | Adds analyst time per import but stops false indicators reaching detection | Analyst review in the MISP interface before publish |
| Export location | Low-volume exports to files or known formats | Running exports on the MISP host adds load to the same server | Prefer a separate worker for large or scheduled exports; confirm capacity with your sizing |
How an import or export module goes from pilot to production
The sequence moves a misp-modules import or export from a version-checked test instance to production, with each step producing a reviewable artifact. Skipping a step usually shows up later as wrong attributes in events or a SIEM that rejects the export.
Confirm the MISP and misp-modules versions
Record the MISP release and the misp-modules version in use before anything else is enabled. The MISP 2.5 line is the recommended choice for new deployments, and MISP 2.4 is end of life with security fixes only, so an instance on 2.4 should be scheduled for upgrade before a module project starts. Confirm the module's documented dependencies against the exact versions, then write both versions into the change record. The output is a version record that every later test can be traced back to.
Enable the module in a test instance
Turn the module on in a non-production MISP instance that matches production in version, configuration and enabled object templates. Set the module's options, such as any file size limits or API keys the module needs, and keep secrets out of shared configuration files. Confirm the module appears in the module list and responds to a test call. The output is a working test instance with a note of every setting changed from defaults.
Assemble a sample set from the real source
Collect sample files from the actual source system, such as real sandbox reports, mail exports or CSV feeds, with sensitive content handled under your data policy. Include clean files, malformed files and edge cases like empty fields, duplicate values and unusual encodings. Label each sample with its origin and expected result. The output is a tested sample set with expected outcomes written beside each file.
Review objects and to_ids flags
Run each sample through the import module and compare what MISP creates against the expected outcome. Check whether values became flat attributes or structured objects, whether attribute types are correct, and whether the to_ids flag is set only where a detection system should act on the value. Record every mismatch and its cause in a review log. The output is a signed-off mapping of source fields to MISP attribute types and object templates, with to_ids decisions noted.
Build the export against the target format
For export modules, start from the consuming tool's documented input format rather than from MISP's output. Write a specification covering which event fields, attribute types, tags and distribution levels are exported, and how empty or unsupported values are handled. Compare the result with what the built-in MISP formats already provide, since a module is only worth its maintenance cost when the built-in output does not fit. The output is an export specification that a second person has reviewed.
Validate on the consuming system
Load the exported output into the target tool in the test environment, such as a SIEM, rules engine or reference list. Confirm the consumer accepts every record, that fields land where the specification says, and that matching behaves as expected on known values. Test a few records that should not match to rule out over-broad output. The output is a validation record with the consumer's version, the test data and pass or fail results for each check.
Move to production with access and logging decisions recorded
Deploy the module to production using the same version and configuration tested earlier, and document any differences. Decide which roles can run the import or export, who receives its output, which events are logged, and where those logs are kept. Confirm that the first production run is reviewed against the validation record. The output is a production change record with the access model, logging decisions, rollback steps and the named owner of the module.
How module data moves between MISP, misp-modules and the target system
The request flow is simple to describe and worth checking in your own deployment. MISP sends an input to the misp-modules service, such as an attribute value, a file or a set of parameters, and names the module to run. The module does its work, which may mean querying an external service, parsing a file or converting event data, and returns attributes or objects to MISP. Those results are not yet part of the sharing picture. An analyst reviews them, decides which to keep, adjusts the to_ids flags and distribution, and only then does publishing make the event visible to synchronized instances, feeds and the detection tools that read them. Review is the step where bad parses and noisy enrichment get caught, so plan it as a named responsibility rather than an afterthought.
Export modules work differently. They change the output format, such as YARA, PDF, KQL or CEF, and read the event without altering it. The stored event, its distribution settings and its attributes stay the same after an export. That means an export cannot introduce a sharing error on its own, but the files it produces can leave your control, so decide where each output is written, who can retrieve it and how long it persists. Confirm with the MISP release you run how each export module is called and which fields it reads, because the module contract can change between releases. Check the current documentation for your version before you build automation on top of it.
Data handling for files and API keys sits with your own controls, not with MISP. Uploaded samples, extracted text and third-party API keys pass through the misp-modules process, so confirm where that service runs, what it can reach over the network, what it writes to disk and what it logs. Store API keys in your secrets management, restrict which roles can trigger enrichment that spends paid quota, and treat files sent to external lookup services as disclosed to those services. Test these paths in a staging instance with sample data before production use, and record the results so the review of each module's inputs and outputs can be repeated after upgrades.
Where import and export modules sit in the MISP data path
The diagram starts with source files and sandbox output entering MISP through misp-modules, where the import module turns them into draft attributes and objects. An analyst reviews those drafts inside MISP before anything is published, and only then do the export modules and the built-in restSearch route send data to SIEM, detection and chat targets. The boundary around the external tools is the point to check: nothing outside MISP should see unreviewed indicators, and the restSearch path does not pass through misp-modules at all.
Import and export modules sit either side of MISP review, with restSearch as a parallel route.
What drives the effort and cost of module work
This table lists the factors that change how much work a misp-modules import or export takes and how to keep each one contained. Read it before scoping, since most of the effort comes from the number of formats, the quality of sample data and the teams that depend on the output. Narrowing scope early is the most reliable way to keep the work predictable.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number and variety of source formats | Each source has its own structure, encoding and field naming, so every additional format needs its own parser and tests. | Start with one source, such as a single sandbox or one mail format, and add others only after the first is reviewed. |
| Quality of sample files | Real reports contain malformed rows, missing headers, mixed encodings and inconsistent values that a clean sample hides. | Collect a representative set of real samples from the source owner, including bad ones, before writing any mapping. |
| Mapping to MISP object templates | Choosing between flat attributes and structured objects, and matching fields to the right templates, is design work that gets revisited when analysts disagree. | Agree the target object templates and attribute types in writing before the build, and record the mapping in a single reference table. |
| Validation against each consuming tool | A SIEM, detection rule or blocklist may reject or misread a field that MISP accepts, so each consumer needs its own check. | List every consuming tool and its expected input, then test an export against each one with a known sample. |
| Review workload for to_ids flags | Imports that set to_ids incorrectly can push benign values into blocking, and reviewing each flag adds analyst time that grows with volume. | Default new imports to to_ids off, restrict automatic flagging to well-understood sources, and sample-review output before publishing. |
| Testing across MISP upgrades | Module code and MISP core change between releases, so a module that works today may break after an upgrade in the same line. | Keep a regression set of sample files and expected outputs, and rerun it on a staging instance before each upgrade. |
| Number of teams that consume exports | Each team that receives an export may need a different format, field set or delivery schedule, multiplying formats and support requests. | Publish one or two agreed export formats, and use built-in restSearch formats where they meet the need instead of a module. |
How these modules connect to the rest of the platform
Import and export modules do not sit alone. Every file they bring in or send out touches sharing, detection, automation, access control and logs. Review each connection before enabling modules, because an extracted indicator can reach partners, sensors or blocklists within one publish step.
Sharing and synchronization
An event created from an imported CSV, email or sandbox report carries its distribution level from the moment it is saved. Check the default distribution and sharing group before the first import, because a sync partner can receive the event as soon as it is published. Confirm which attributes are marked for sharing and which stay local to your instance.
MISP featuresDetection and blocking outputs
Attributes with the to_ids flag set are the ones MISP exports to detection and blocking formats such as Suricata, Snort, Zeek and RPZ. Module imports often set this flag automatically based on the source, so review it before publishing. A wrong flag can push a benign domain or a common file hash into a blocklist.
SIEM and sensor intake
Export modules such as CEF, YARA and KQL produce files or formats that SIEMs and scanners read directly. Confirm which module output your SIEM expects, which fields it maps, and whether the consumer refreshes from a file or pulls through an API. Mismatched field names are a common cause of silent gaps in matching.
API and PyMISP automation
Imports and exports can be triggered through the REST API and scripted with the bundled PyMISP library instead of an analyst uploading files by hand. Automated imports run under an API key, so each script's key, its role and its rate of event creation should be recorded. Test scheduled jobs against a non-production instance first.
Authentication and role permissions
Who may run an import, publish an event or download an export is controlled by MISP roles, and identity provider groups can map to those roles through the OidcAuth plugin. Assign the first matching role by priority, so check that a broad group does not map ahead of a narrower one. Limit import rights to analysts who review extracted values.
OidcAuth plugin READMELogging and audit trail
Record which user or API key ran each import and export, which file was processed and which module produced the attributes. Keep these logs with your other security records and confirm how long your MISP instance and log pipeline retain them. Without this trail, an indicator that reached a blocklist cannot be traced back to its source document.
Questions teams ask before planning MISP import and export modules
How much effort does setting up MISP import and export modules take?
Effort depends mostly on how many input and output formats you need and how varied the source files are. A single import path, such as CSV from one team, is a small task. Each additional format adds parser testing, field mapping and a review step before values reach detection. Output modules add a second layer: each target tool (a SIEM lookup, a YARA rule set, a KQL query or a CEF feed) needs its schema confirmed with the tool owner. Ask any provider to break the effort into import paths, export targets, test cycles and the review workflow, so you can see which parts scale with your sources.
How long does a typical module scope run?
Duration follows the same drivers as effort: the number of formats, the number of target tools and how quickly sample data and owners are available. Without a published figure for this work, treat any timeline as a function of your scope rather than a fixed number. A narrow scope with one import and one export, clean sample files and a named tool owner moves quickly. Scopes that cross several teams, need change approval for a production MISP instance, or depend on data quality fixes take longer. Most DeployOpen engagements are fixed-scope, so the agreed written scope sets the schedule before work starts.
What does the work need from our team?
The work needs four inputs from your side. First, representative sample files: CSV exports, email samples, sandbox reports or whatever sources you plan to ingest, including messy examples. Second, named owners for each target tool, such as the SIEM, YARA rule repository or KQL workspace, who can confirm the expected fields and formats. Third, analyst time to review extracted indicators and confirm which values should carry detection flags. Fourth, change approval for installing or updating modules on the production MISP host. Confirm these commitments and their owners in the scope before work starts, because delays usually come from missing samples or unavailable reviewers.
Can our in-house team build and run these modules?
Often yes, if the team already runs MISP and has Python and Linux skills. The work splits into operating the misp-modules service, writing or configuring modules, testing them against sample data and keeping outputs correct over time. The harder parts are usually analyst review rules and target schema knowledge, not the code itself. Consider whether your team has spare capacity for testing, whether someone will own module upgrades, and whether detection engineers can validate outputs. Many organizations build the first module with a partner, then maintain it internally. DeployOpen can plan and implement these modules inside your infrastructure, and you can compare that against your own staffing as part of the scope discussion.
Do we need a module export, or are the built-in MISP formats enough?
Start with the built-in formats. MISP already exports MISP JSON, STIX 1 and 2, OpenIOC, CSV, text, Suricata, Snort, Zeek and RPZ, and offers an API for pulling data through restSearch. Those formats are often sufficient when your tool accepts one of them directly. A module export becomes worth the effort when your target needs a format MISP does not produce natively, such as a YARA rule set or a KQL-oriented output, or when the SIEM needs a specific field layout such as CEF. Confirm the exact input format with the target tool owner first, then decide whether the module adds value or simply adds another component to maintain.
How do MISP upgrades affect import and export modules?
Modules run alongside the core platform, so each MISP upgrade can change the interfaces modules depend on. Treat the misp-modules service and any custom modules as part of the upgrade plan, not an afterthought. Before upgrading, check the release notes for the version you are moving to, because MISP 2.5 is the recommended line for new deployments and 2.4 is end of life with security fixes only. Test each import and export path against your sample files in a staging instance, record the expected outputs, and confirm the target tools still accept them. Ask any provider how module versions are pinned and how rollback works if an output changes.
What risks should we check before enabling import modules?
The main risk is extracted indicators reaching detection without review. Email, PDF and sandbox parsers can produce false positives, pull in benign domains, or flag values with the wrong type. Set a review step that checks extracted values and to_ids flags before anything is published or exported to a blocklist. Also check how uploaded files are handled, since parsing untrusted documents is a security boundary: confirm where parsing runs, what it can access and how logs record each import. Finally, confirm which sharing distribution levels apply to imported data, because a poorly labeled import can spread further than intended.
What the client should expect to receive and keep
The handover should be a written set that lets your own team run every enabled misp-modules import and export without calling back the implementer. Expect a configuration record for each enabled module, listing the module name, the MISP settings that call it, where its API keys or credentials are stored, and the attribute types it accepts. Alongside that, expect sample input and expected output sets for each module, so a future engineer can tell whether a changed output is a fault or a new behavior. Field mapping notes should show how each source column, email header, sandbox field or YARA metadata key lands in MISP attributes and objects, and which to_ids defaults apply. Ask for these artifacts to be stored in your own repository, not only in a project folder.
The review procedure and export specification are the controls your analysts and detection engineers will depend on. The review procedure should state who checks imported attributes before publication, which fields must be confirmed, and what happens to rejected values. The export specification should be produced per consuming tool, such as the CEF, KQL, PDF and YARA outputs, and should name the target product version, the fields it expects and the schedule or trigger that runs the export. The runbook for upgrades and module failures should cover how to restart the misp-modules service, read its logs, roll back a module, and retest after a MISP 2.5 update. Confirm the access model in writing: which roles can trigger imports and exports, which service accounts hold API access, and who approves changes to module settings.
After the engagement ends, your organization must keep ownership of the module configuration, the credentials for third-party services, the sample sets and the retest steps. Assign a named owner for misp-modules and a backup owner, and schedule a review of each module's upstream changes against your upgrade cycle. Plan for credential rotation and for the removal of access held by implementers. Ask the implementer to confirm which parts of the handover depend on their own tooling, and to deliver those parts in a form your team can rebuild. Whether a retainer for upgrades or testing is needed afterward is a separate decision, and it should be made from the handover's gaps rather than assumed at the start.
How DeployOpen scopes and delivers MISP module work
DeployOpen plans, installs, configures, tests and documents misp-modules import and export workflows inside your own infrastructure, alongside your MISP instance. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Inventory the input sources (CSV, email, sandbox reports) and the export targets (YARA, PDF, KQL, CEF) your teams actually use
- Decide which formats the built-in MISP exports already cover and which need a misp-modules module
- Confirm the module version, hosting model and network path to any external services before build
- Record the written scope with named deliverables, acceptance tests and a timeline agreed with you
How we build
- Install and configure the misp-modules service next to your MISP instance and enable only the modules in scope
- Set up import review steps so extracted values, to_ids flags and objects are checked before publishing
- Test each export format against sample events and confirm the output parses in the receiving tool
- Document module settings, service dependencies and the upgrade checks needed when MISP or misp-modules changes
How we hand over
- Deliver a runbook covering service configuration, logs, module health checks and the analyst workflow for each module
- Provide a test record showing the sample inputs, expected outputs and results for every in-scope module
- Walk your MISP administrators and analysts through import review, export use and common failure cases
- Hand over configuration as files your team can review and keep under version control
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Retest modules after MISP 2.5 upgrades or misp-modules changes and report any regressions with fixes
- Confirm with the MISP project and your own environment which module versions your deployment supports before each change

