When MISP objects and custom object templates fit your intelligence
Flat attributes work well for a single indicator, but they break down once an analyst has a malware sample that carries a file name, several hashes, a file path, a mutex and two network endpoints. Stored as loose attributes, those values lose their connection to one another, and a reader has to reconstruct which hash belongs to which file and which IP address belonged to which port. A MISP object solves this by grouping related attributes under one parent, built from a reusable JSON template. Each value inside the object stays a separate attribute, so it can still be correlated, shared, tagged and matched on its own, while the object records that the values describe the same thing.
The MISP best practices push teams toward object equivalents rather than combined attributes. Composite values such as filename|sha512 or ip-dst|port pack two facts into one string, which is harder to search, correlate and export cleanly. The recommended pattern is a file object for the sample and an ip-port object for the endpoint. Before you start modelling, confirm which templates your instance already loads from the community library and which of your intelligence types they cover, since the community repository is refreshed through Update Objects or the cake Admin updateObjectTemplates command. Check that your analysts know these templates, because a flat attribute entered by habit will not appear in the same object view.
In-house templates become worth building when your team repeatedly records data that no community template describes, such as internal asset identifiers, case reference fields, or a vendor's proprietary log format. Custom templates are placed in app/files/misp-objects/ and loaded with Update Objects, and objects can reference other objects or attributes using directional relationship types, which is what makes the event graph useful for investigators. Decide early who owns template changes, how field names are versioned, and whether templates will be shared with partners, because a template that exists only on your instance will not be understood by the communities you exchange data with.
Which modelling option fits which data
This table compares four ways to model indicators in MISP: flat attributes, combined attributes, community object templates and custom templates. Read each column for when the option fits, what it makes correlatable and the upkeep it adds. The main takeaway is that objects are usually preferred over combined attributes, and custom templates should be added only when no existing template fits.
| Modelling option | Flat attributes | Combined attributes | Community object templates | Custom templates |
|---|---|---|---|---|
| When it fits | Single standalone values such as one domain, one hash or one IP address | Legacy data or quick entry where two values belong together and no object exists | Related indicators that match a template in the misp-objects library, such as a file or an ip-port pair | In-house data structures with no community equivalent, such as internal asset or case fields |
| What it makes correlatable | Each value on its own, so matches come from the single value | The combined string only, so a partial match on one part is missed | Each value as its own attribute, with the grouping kept for analysts and the event graph | Each value as its own attribute, with the grouping defined by your template |
| Relationship to other data | Can be linked only through event or tag context | Hard to reference cleanly from other objects or attributes | Can reference other objects or attributes using directional relationship types | Can reference other objects or attributes using directional relationship types |
| Best practice status | Acceptable for single values | Not recommended where an object equivalent exists, according to the MISP best practices | Preferred where a matching template exists | Used where community templates do not cover the data |
| Consumer and export impact | Simple for detection tools that expect single values | Exports carry a combined value that many downstream tools cannot split | Exported attributes stay usable by tools that read individual values | Confirm how your exports and downstream tools handle custom object types before rollout |
| Maintenance it implies | Little beyond normal event hygiene | Little now, but harder to migrate later into objects | Refresh the template library with Update Objects or the admin update command when the project changes templates | Your team owns the template file, its versioning, its review and any change to fields |
| Who owns the decision | Analysts publishing events | Legacy workflows or imports | Platform or threat intelligence team, reviewing templates against community use | Platform team with input from the data owners who will query the objects |
| What to confirm before choosing | Whether downstream tools need one value per attribute | Whether any feed or partner still sends combined values | Which template fields your sharing partners populate | Whether the custom template has a stable name, field set and review owner |
Building a custom template for in-house data
A custom object template turns your internal data model into something MISP can store, correlate and share. Most of the effort sits in a few decisions: which fields become correlatable attributes, how the template is named and versioned, and how the file is placed and loaded so every instance sees the same definition.
Define the JSON structure first
A template is a JSON file that lists the object's name, description, meta-category, version and attributes, where each attribute has a type, a description and a multiple flag. Draft the structure from the questions analysts ask of the data before writing any keys. Check the layout against the existing templates in the community library so your fields follow the same conventions. Validate the file before it reaches a production instance, since a malformed template is the easiest way to block a load.
MISP objects guidePick correlatable fields deliberately
Each attribute in an object is stored as its own value, so only fields with a MISP attribute type that analysts need to match on should be typed as indicators. Descriptive context such as an analyst note, a confidence explanation or a free-text reason is better kept as a text-type attribute that does not drive correlation. Over-typing context fields creates false matches across unrelated events. Ask the data owner which values will be searched or pivoted on, and mark only those as correlatable.
Avoid combined attribute values
The project's best practices recommend object equivalents over combined attributes, such as file and ip-port objects instead of filename|sha512 or ip-dst|port. When an in-house record carries two related values, model them as two attributes inside one object rather than joining them into a single composite value. Combined values cannot be correlated on their parts, and they are harder to export to detection tools. Review each proposed field against existing object types before creating a new one.
Best practices guideName and version the template
The template name and version determine how other instances recognize and update the definition. Choose a name that describes the data model, not a team or project, and treat any change to fields, types or meanings as a new version. Keep a changelog in your repository so that events created under an older version can be interpreted later. Agree the naming convention with the teams that will publish events, because two templates with near-identical names cause confusion in searches.
Place the file in the objects directory
Custom templates go into the app/files/misp-objects/ directory of the MISP installation, in a folder named after the template. Confirm the folder name matches the object name the template declares, and keep the file under your configuration management so it survives upgrades and rebuilds. Do not edit community templates in place, because a later refresh of the community library will overwrite them. Record which template versions are deployed on each instance so that sharing partners can see what they receive.
Load the template and verify it
Load the template with the Update Objects action in the web interface, or the corresponding administrative command on the command line, then confirm it appears in the object template list with the expected attributes. Create a test event in a non-production instance using the new object and check that each correlatable value matches across a second event. Check the result in the event graph to confirm the intended relationships render. Only then enable the template for analysts and for synchronization partners.
Setting up object templates on a MISP instance
This sequence takes a MISP instance from a confirmed version and template library to a tested custom object template, loaded and proven in the event graph before it reaches production analysts. Each step ends with a check so the team knows whether to continue.
Confirm the MISP version and template state
The platform administrator records the running MISP version from the administration interface and confirms it sits in the 2.5 line, since the project recommends 2.5 for new deployments and lists 2.4 as end of life. The administrator then opens the object templates list to note which community templates are present, their versions, and whether any local templates already exist under the custom template directory. Save this inventory before changing anything. The step is done when the version and template inventory are written down and shared with the team that owns the instance.
Refresh the community template library
The administrator runs Update Objects from the administration interface, or runs the cake Admin updateObjectTemplates command from the command line on the server, to pull the current community templates from the misp-objects repository. Run this on the test instance first and compare the new list against the inventory from the previous step. The step is done when the refresh completes without errors and the template count and names match what the team expects from the update. If a template you depend on has changed, note it before promoting the update to production.
Draft the custom template in a test instance
A template developer writes the JSON template for the in-house data, placing the file in the app/files/misp-objects/ directory on the test instance. Each attribute in the template should map to a single correlatable value with a clear type, category and relation name, so that the object groups related values without merging them into combined attributes. Follow the best practice of using object equivalents instead of combined attributes where a standard object already covers the data. The step is done when the file is in place, the JSON parses without syntax errors, and the developer has written down the relation names used for each attribute.
Load and validate the template with Update Objects
The administrator runs Update Objects again so MISP loads the custom template alongside the community set. The administrator then opens the object templates list and confirms that the new template appears with the expected name, version and attribute list. Open the template detail view and check that each attribute type and relation is what the developer intended. Test that a template with a mistake, such as a missing required field or an unknown type, is rejected or flagged rather than silently accepted. The step is done when the template loads cleanly and the team agrees the definition matches the design.
Create a test event with linked objects
An analyst creates a test event on the test instance, adds an instance of the community template and an instance of the custom template, and fills in illustrative values that match the events the team plans to record. The analyst then adds a directional relationship from one object to the other, or from an object to a standalone attribute, using the relationship types that suit the data. Save the event and confirm that each object shows its attributes individually. The step is done when the event saves with both objects and the relationship is visible on the event page.
Check correlation and the event graph
The analyst confirms that correlation works on the individual attributes inside each object by publishing or checking a second test event that reuses one value from the first event. The analyst then opens the event graph and verifies that the object references appear as expected, with the correct direction and labels. Where the references do not show, the analyst checks whether the relation names and target objects in the template match the relationship types used in the event. The step is done when the shared value correlates across events and the graph displays every reference the test event defines, which is the signal to plan the same change for production.
How an object template becomes correlated attributes in the event graph
The flow starts with a JSON object template, either a community template from the misp-objects repository or a custom template placed in app/files/misp-objects/. Loading it with Update Objects makes it available when an analyst adds an object to an event. The object groups related attributes, and each value stays a separate attribute that the correlation engine checks on its own. Relationships then link objects and attributes with directional types, so the event graph shows how they connect. Check that each value is a true attribute, not a combined string, before publishing.
Template loading, object grouping, relationships and correlation in MISP.
Sharing, access and template governance
Objects and templates carry the same sharing rules as the events they sit in, but the template files themselves are shared infrastructure. The cards below cover the decisions that keep a custom template from breaking partners, editors and audit trails.
Distribution on objects and attributes
An object carries its own distribution setting, and each attribute inside it can be set to a distribution that differs from the object. Check that a sensitive attribute inside a shared object does not inherit a wider audience than intended. Confirm how your version handles sharing groups on objects before you publish object-heavy events to partners, and test the result with a sync partner account.
MISP objects guideWho may edit and load templates
Writing a custom template is separate from loading it into a running instance. The documented route is to place the JSON file in the misp-objects directory and load it with Update Objects. Decide which administrators may do this on production, and keep template authoring in a development instance where changes are reviewed first.
Change control for shared templates
When sync partners rely on a template's object name, attribute types and relationship types, a change can break their imports or their own object matching. Treat template edits as versioned changes, announce them to the communities you exchange with, and avoid renaming or removing attributes in a template that is already in circulation.
Refreshing community templates
Community templates come from the misp-objects repository and are refreshed with Update Objects or the cake Admin updateObjectTemplates command. Confirm whether your instance should track upstream changes automatically or pin a reviewed snapshot, and check that a local custom template does not share a name with a community one.
Logging template updates
Template loads and changes are operational events that auditors may ask about. Confirm which application and system logs record who ran Update Objects or the cake command, where those logs are kept, and how long they are retained. Store template files in version control so the file history supplements the instance logs.
Relationships that cross sharing boundaries
Object references let an object point at another object or attribute with a directional relationship type. A reference to content that a recipient cannot see can expose that the content exists. Map which objects reference which before publishing, and decide whether cross-event references are allowed in your sharing model.
Questions teams ask about MISP objects and templates
What drives the effort of modelling MISP objects and templates?
The effort is driven by how many distinct data shapes you need to model and how messy the source data is. Each object type needs a template that defines its attributes, types, categories and relationships, so a handful of well-understood records is far less work than dozens of feeds with inconsistent field names. Other drivers include how many analysts must agree on the model, whether you reuse community templates from the misp-objects repository or write your own, and how much testing you do with real events before publishing. Ask any partner to break the estimate down by template count, source systems and review rounds.
Can our own team build MISP object templates without outside help?
Yes, many teams can, provided they have someone comfortable with JSON and a clear picture of their data. Custom templates are added to app/files/misp-objects/ and loaded with Update Objects, so the mechanics are simple. The harder part is the modelling decision: deciding which fields become separate correlatable attributes and which relationships to express. Teams often struggle with this design work rather than the file format itself. If your analysts and administrators can review each template against real events, an internal build is practical. Partners are most useful when the team lacks that modelling experience or needs a fast, reviewed result.
What does the work need from analysts and MISP administrators?
Analysts need to define what each object represents, confirm which values they search on, and test that the template matches how they record intelligence. MISP administrators need to manage the template files, run Update Objects or the updateObjectTemplates command, and check the change in a non-production instance before it reaches the live platform. Both groups should agree on naming, categories and relationship types so that events from different analysts stay consistent. Plan time for these reviews, because templates that nobody validates tend to produce inconsistent data that is hard to correlate later.
How long does template work take for a typical number of templates?
No duration can be given here without a written scope, because timing depends on template count, data variety and how many review cycles your analysts require. Ask for timelines per template group, including modelling, build, test with sample events, and rollout. For reference, the MISP best practices favor object equivalents over combined attributes, such as file and ip-port objects instead of filename|sha512 or ip-dst|port, which suggests reviewing existing attribute usage first. A partner should be able to state what is in scope before committing to a schedule.
Should we reuse community templates or build custom ones?
Start with community templates from the misp-objects repository and build custom ones only where your data does not fit. Community templates are refreshed through Update Objects or the cake Admin updateObjectTemplates command, and reusing them keeps your events comparable with those shared by other organizations. Custom templates make sense for in-house data such as internal asset identifiers or proprietary fields. Keep custom templates few and well documented, because each one becomes something your team must maintain through MISP upgrades and future template changes.
When is it worth bringing in a partner for MISP object work?
A partner is worth considering when you need custom templates quickly, lack in-house modelling experience, or must align objects with an existing data pipeline or SIEM integration. DeployOpen plans, customizes and documents self-hosted open-source platforms inside your own infrastructure, so object modelling can be scoped alongside deployment and integration work under a written, fixed-scope agreement. Ask for the deliverables in writing: the template files, the review record, the test events and the operating notes for your administrators. A quote follows from that scope.
How do object references show up in the event graph and what breaks them?
Object references link an object to other objects or attributes using directional relationship types, and MISP displays them in the event graph. References break when the related item is deleted, when relationship types are used inconsistently, or when a template change renames a field that other objects depend on. Check that relationship names follow your agreed vocabulary, test graph output on a sample event, and review templates for field renames before loading an update. Confirm the exact behavior for your MISP version against the official user guide.
What do we need to check before sharing objects with partners?
Before sharing, confirm that each object's attributes carry the intended distribution level and that no internal-only fields leak through a custom template. Test sync behavior with a partner instance in a controlled setting, because objects and their references travel with the event. Review whether your custom templates contain fields that partners cannot interpret, since shared data is only useful when the other side reads it the same way. Document the template versions your community uses so that future changes do not silently break exchanges.
How DeployOpen scopes object modelling work
DeployOpen plans, builds, documents and hands over MISP object modelling as part of a written, fixed-scope engagement inside infrastructure you control. The work starts from the objects your teams need to share and ends with templates your analysts can maintain after the engagement closes.
How we scope
- We inventory the indicator sets your teams currently combine into single attributes and map them to candidate MISP object templates.
- We agree which community templates to use and which custom templates to write, with each object's relationship types defined in writing.
- The written scope lists the templates, sample events, sharing settings and test cases to be delivered before work begins.
How we build
- We write custom templates under app/files/misp-objects/ and load them with Update Objects, checking each attribute type and category against your data.
- We test object references and directional relationships on sample events so the event graph shows the links your analysts expect.
- We review existing events for flat combined attributes and agree a remediation approach before any bulk change is made.
How we hand over
- You receive the template files, a change log, and a short guide covering how to add, version and retire templates.
- We document the modelling decisions, including why each object was chosen over combined attributes, so future analysts can follow them.
- Handover includes a walkthrough with your MISP administrators on loading updated templates and checking object references.
How we support
- Ongoing support, template updates and upgrade testing are available as a retainer after the fixed-scope engagement ends.
- Retainers can cover new template requests from your teams as your data sources and sharing partners change over time.
- Ask any provider to confirm how template changes are tested against your existing events before they reach production.

