MISP decaying models for indicator scoring

MISP decaying models lower the relevance of indicators as they age, so exports and lookups favor fresh intelligence. This page explains the parameters, formulas and export filters to plan before you enable them.

On this page

How MISP decaying models score indicator relevance

MISP decaying models give each attribute a score that falls as the attribute ages, and they set a decayed flag once that score drops below the model's threshold. The scores are computed at query time rather than stored, so the same attribute can be fresh under one model and decayed under another. A MISP instance that has accumulated years of indicators, many of which feed firewalls, DNS filters or detection rules, needs this distinction: an IP address seen in a single campaign three years ago should not carry the same weight as one observed last week. Decaying models let the team express that difference without deleting history.

Teams need decaying models when exports or detection pipelines pull indicators in bulk and treat every attribute alike. Creating or editing a model requires the Decaying Model Editor permission, so the decision about who holds that role belongs in the access design of the instance, alongside the roles that publish events. Before you grant it, confirm with your MISP administrator which users will own model parameters and who approves changes, because a model edited mid-quarter changes the scores that downstream consumers see. Read the MISP user guide on decaying models to confirm how the permission is named and assigned in the version you run.

The practical question is which consumers should see decayed data. A threat intelligence team may keep decayed indicators for correlation and hunting while a blocking pipeline excludes them, so the choice of model and filter should match each consumer's purpose. Record that decision in writing for each export, including the model used and whether decayed attributes are removed. This turns scoring from an analyst's private judgment into a configuration your detection engineers can review and test.

Setting up a decaying model step by step

This sequence takes you from an empty model to a tested decaying model that scores attributes by age and flags stale ones, with a check at each stage so you can confirm the scoring behaves as intended before any export depends on it.

  1. Confirm permissions and taxonomy tags

    Before opening the model editor, confirm that the account creating the model holds the Decaying Model Editor permission, since creating or editing models requires it. Then check which taxonomy tags your events carry, because the base score for each model is derived from those tags. Ask your MISP administrator which taxonomies are enabled on the instance and whether your organization's tagging follows them consistently. The step is done when you can name the tags you intend to score against and the account can open the decaying model section without a permission error.

  2. Create the model and name it clearly

    Open the decaying model section and create a new model. Give it a name that states its purpose, such as the indicator type or the sharing context it covers, so analysts and automation scripts can select the correct model later. Set the default base score and the base score configuration so that attributes without a matching tag still receive a sensible starting value. Check that the model appears in the model list with the name and default values you entered. Save only after reviewing the base score configuration, because later edits change how existing attributes are scored at query time.

  3. Set the base score from taxonomy tags

    In the base score configuration, map the taxonomy tags you confirmed earlier to base scores. Higher base scores keep an indicator visible for longer, so assign them to tags that represent higher confidence or higher impact, and assign lower values to tags that mark weaker evidence. Keep the mapping small at first, covering the tags your team uses most. Verify the result by opening one attribute carrying a mapped tag and one carrying no mapped tag, then confirming that the score shown for each reflects the configured base values. The step is done when both attributes show the scores you expected.

  4. Set lifetime, decay speed and threshold

    Set the lifetime, which controls how long the model considers an attribute relevant, along with the decay speed, which controls how quickly the score falls with age, and the threshold, below which the attribute is marked as decayed. These three values work together, so change one at a time and record why you chose each value. Choose values against the indicator types the model covers, such as short-lived network indicators compared with longer-lived file hashes. Confirm the settings by reviewing the model summary, then move on only when you can explain in one sentence what an attribute at the end of its lifetime looks like.

  5. Select the scoring formula

    Choose the formula that matches your intent. Polynomial applies a standard age-based decay. Polynomial (Extended) adds a retention cut-off, which is useful when you want attributes to stop contributing after a fixed point regardless of score. Sightings weights the score by true-positive versus false-positive sightings, so it only produces meaningful results where your team records sightings consistently. Confirm that the sightings formula is chosen only if sightings are captured on the events in scope. The step is done when the formula is saved and the model summary shows the formula name you intended.

  6. Test the model on a sample event

    Create or pick a sample event with attributes that carry tags mapped to different base scores and different ages. Apply the model to the event, then view the attributes and confirm that scores are computed and that attributes past the threshold carry the decayed flag. Because scores are calculated at query time, reload the event or rerun the query after changing a parameter and confirm the new value appears without any re-import. If you cannot find the decayed flag on an attribute you expected to decay, recheck the lifetime and threshold before changing the formula. The step is done when the flagged and unflagged attributes match your expectations.

  7. Check results through restSearch

    Query the instance through the API with the decay-related parameters, including includeDecayScore and decayingModel, to confirm the same scores appear in machine-readable output. Then run a query with excludeDecayed to confirm decayed attributes are removed from the result set. Compare the counts from the two queries against the event you tested, so you know the API and the interface agree. Record the model name, parameters and test results in your change notes so that any later adjustment starts from a known baseline. The step is done when the API output matches the interface and the filtered export omits only the attributes flagged as decayed.

Model parameters and when each fits

This table compares the six parameters that shape a MISP decaying model and the three formulas it can use. Read each row as a control: what it changes, when you would adjust it, and what you give up when you do. The main takeaway is that lifetime, decay speed and threshold together decide how long an indicator stays active, so change them one at a time and test the effect on real exports.

ParameterWhat it controlsWhen to change it and trade-off
LifetimeHow long an attribute is considered relevant before it is fully aged outShorten for fast-moving infrastructure such as short-lived domains. Longer lifetimes keep stale indicators active, which raises false positives downstream.
Decay speedHow quickly the score falls as the attribute agesSlow decay keeps older indicators scoring high for longer. Fast decay removes them sooner but may drop indicators that are still in use by a campaign.
ThresholdThe score below which an attribute is flagged as decayedRaise it to exclude more weak indicators from exports. Lower it if detection teams report missed activity that the model had already aged out.
Default base scoreThe starting score given to attributes that have no taxonomy-based base scoreSets the baseline for untagged data. Set it low if most of your intelligence lacks tags, so untagged attributes do not dominate exports.
Base score configWhich taxonomy tags map to which starting scoresTune it so high-confidence or high-impact tags start higher. Review it after enabling new taxonomies, since new tags change every score that depends on them.
Formula: PolynomialA smooth, general curve from base score to decayed stateGood default for most teams. Easy to reason about, but it does not account for retention beyond the lifetime window.
Formula: Polynomial (Extended)Same curve with a retention cut-off after which scores stop being keptUse when you must bound how long data stays scorable. The cut-off removes older attributes entirely, so confirm it is acceptable for audit and retention needs first.
Formula: SightingsWeights the score using true-positive and false-positive sightingsUse when your sensors and analysts record sightings consistently. Without enough sighting data, scores will not reflect real detection outcomes, so confirm sighting volume before choosing it.

How the polynomial and sightings formulas calculate scores

The polynomial formula is the base calculation for most decaying models. It starts from the base score that the attribute received from its taxonomy tag and lowers that score as the attribute ages. The decay speed controls how quickly the score falls across the model's lifetime, and once the score drops below the threshold, the attribute is marked with a decayed flag. The inputs are the attribute's age, the lifetime, the decay speed, the threshold and the base score. Scores are computed at query time, so the same attribute can look current in one search and decayed in another if the model or its overrides change. Confirm the exact equation for your MISP version in the MISP user guide on decaying models before you set thresholds for production exports.

Polynomial (Extended) adds a retention cut-off to the same curve. The cut-off is a separate setting that defines how long an attribute remains in scope, so indicators past that point can leave exports even if the polynomial curve would still leave them with a small residual score. This suits teams that want stale indicators removed from feeds, not just down-ranked. The extra input is the retention cut-off value, set alongside lifetime and decay speed in the model editor. Changing the model requires the Decaying Model Editor permission, so decide who holds it. Before you enable the cut-off, test the model on a copy of recent events and compare which attributes appear in exports with and without it, so you know exactly what downstream consumers will lose.

Decisions to make before enabling decay

Decay changes which indicators look relevant, so it changes what analysts see and what gets exported. The decisions below fix the scoring inputs, the data you trust to feed them, and who owns the outcome. Settle them before any model is applied to a live export.

Which taxonomy tags drive base scores

The base score is set from taxonomy tags on an event or attribute, so the tag vocabulary you already use determines where every indicator starts. Check which taxonomies your teams apply consistently, such as TLP or admiralty-scale tags, and which are applied only sometimes. Untagged data falls back to the model's default base score, which can quietly rank unrelated indicators the same way. Map each tag you rely on to a base score before the model goes live.

Decaying models docs

Whether sightings data is reliable

The Sightings formula weights decay by true-positive and false-positive sightings, so it only helps if those sightings are recorded accurately. Ask whether analysts and sensors actually report sightings, and whether false positives are reported as consistently as hits. If sighting data is sparse or noisy, a Sightings formula will reward the few indicators that happened to be reported. Start with the Polynomial formula until sighting quality is proven.

How decay meets sharing communities

Partners often expect older indicators to remain present, and a decayed flag does not remove an attribute from the event. Decide whether decayed data is still synchronized, and whether your exports to partners use excludeDecayed. Agree the rule with each community before filtering, because a partner that consumes only fresh data will see a different set of indicators than one that reads the full event. Document the answer so partners can reproduce it.

Which models apply to which feeds

A single model rarely fits every source. Feed indicators, analyst-curated IOCs and incident-driven attributes age at different speeds, so lifetime and decay speed should follow the source type. Decide which feeds or event types each model covers, and which should skip decay entirely. Record the mapping so an analyst can see why a given indicator is scored the way it is.

Retaining scores in exports

The restSearch parameters includeDecayScore, decayingModel and modelOverrides change what downstream consumers receive. Decide whether detection tools need the score itself or only a pass or fail result from excludeDecayed. Confirm that each consumer can handle the extra fields, and test that an override does not silently change a shared export. Keep a written list of which parameters each export job uses.

Who approves model changes

Creating or editing models requires the Decaying Model Editor permission, so the people who hold it effectively set scoring policy. Assign that permission to a small named group and require a review step for changes to lifetime, threshold or formula. Record each change with its reason, because a threshold change alters which indicators disappear from exports. Confirm the approval path with your change management owner before granting the permission.

Filtering exports with excludeDecayed in restSearch

Use restSearch parameters to decide which indicators leave MISP as detection content. The decay-related parameters are includeDecayScore, decayingModel, excludeDecayed, modelOverrides and score. Together they let an export ask MISP to apply a decaying model at query time, drop attributes whose decayed flag is set, and optionally return each attribute's computed score alongside its value. Decay is evaluated when the request runs, so an export made today and one made next week can return different sets from the same stored data. Before you build the export, confirm on your instance which decaying models are enabled and which ones your team has permission to use, since creating or editing models requires the Decaying Model Editor permission. The official MISP user guide on decaying models describes the parameter behavior and should be checked against the MISP version you run.

A detection export that drops decayed indicators typically follows this flow (illustrative): the consuming tool or scheduled job calls restSearch with the chosen decayingModel and excludeDecayed set, optionally with modelOverrides to tune lifetime or threshold for that consumer, and requests the output format the sensor expects. MISP removes decayed attributes before the response is built, so the sensor never receives them. Decide who owns the model: if a firewall team and a SIEM team need different decay speeds, give each its own named model and export job rather than sharing one global setting. Keep a record of the parameters in the job definition so an analyst can explain later why an indicator was present or absent.

The consumer must know whether the score is included in the output. Setting includeDecayScore adds score data to the response, but the field a downstream tool reads depends on the output format, and some formats used for blocklists or rule generation carry only the indicator value. Test each export format with a known decayed and non-decayed attribute, confirm what appears in the file, and document that contract for the receiving team. If a consumer expects a score and receives none, it may treat every indicator as equally fresh. Ask your DeployOpen or internal reviewer to include this check in acceptance testing, and confirm the exact field names and format behavior against your MISP version before rollout.

How a decay-aware export is produced

The flow starts with an attribute carrying its timestamp and tags. MISP selects a base score from the taxonomy tag, then applies the chosen model's formula, lifetime, decay speed and threshold at query time. Attributes that fall below the threshold receive the decayed flag, and the restSearch call with excludeDecayed decides whether a downstream consumer receives them. Check the model assignment and the base score configuration first, because both change the result.

Query-time scoring path from attribute to filtered export.

Security and access controls for scoring

Decay settings change what leaves your MISP instance, so who can edit models, how those edits are recorded, and which keys pull scored data all belong in one review. The cards below cover the permission boundary, the audit trail, the effect on sync and detection outputs, and API key handling for exports.

Limit the Decaying Model Editor permission

Creating or editing a decaying model requires the Decaying Model Editor permission, so this is the first control to review. Decide which roles hold it, usually a small group of threat intelligence leads rather than every analyst. Check that the permission is not granted through a broad default role, and confirm which users can change base score configuration, since that setting determines how tags map to starting scores for everyone downstream.

Decaying models docs

Audit every model change

Model edits change scores for every consumer of the instance, so treat them like configuration changes. Confirm that your MISP audit logging captures who created, edited or deleted a model and when, and forward those records to your central log store. Compare the stored model parameters against an approved baseline during reviews, and record the reason for each change in your change ticket so a sudden drop in exported indicators can be traced.

Map decay settings to sync partners

Decayed attributes are scored and filtered at query time, so what a partner receives depends on the model they request and the threshold it applies. Before enabling sync or feeds for a partner, decide whether that partner should see decayed indicators at all. Review sharing distribution alongside decay settings, and test a sample export to confirm that decayed indicators are excluded where your policy requires it.

Control detection tool exports

Blocklists and detection rules built from MISP exports inherit whatever scoring the export applied. If a firewall or sensor pulls indicators without excluding decayed items, stale values can remain in production blocking rules. Document which export jobs use excludeDecayed, which model they reference, and who owns the rule that consumes the output, so a change to the model is tested against the downstream tool before it reaches production.

Scope export API keys

Scheduled exports usually run under an API key tied to a user account. Create a dedicated user for each export job with the lowest role that can run the search, and avoid using an administrator key for routine pulls. Confirm the key cannot edit models or events, store it in a secrets manager, and check that the account's sharing groups do not expose more attributes than the consuming tool should receive.

Rotate keys and retire unused ones

Export keys should have a defined rotation schedule and an owner. When a detection tool is replaced, a partner leaves a community, or a job is removed, revoke its key in the same change. Review keys that have not been used recently, and confirm that rotating a key updates every scheduled job, script and integration that depends on it, so exports do not fail silently during a rotation window.

Questions teams ask before enabling decaying models

How much does it cost to set up MISP decaying models?

Cost depends on how many models you define, how many feeds and taxonomies feed them, and how many tuning cycles you run before scores match analyst judgment. Decaying models themselves are configured inside MISP, so the main spend is internal analyst time plus any partner effort you buy. No supplied figure sets a price for this work, so ask any provider for a fixed-scope quote that lists the models, the feeds in scope, the test cycles and the handover. Software licensing is not a cost driver, since MISP is licensed under the GNU AGPL version 3 and taxonomies are separately licensed under CC0 1.0 or BSD 2-clause.

How long does it take to configure decaying models?

Duration depends on how much tuning your data needs, not on the clicks needed to create a model. A basic model needs a few parameters set: lifetime, decay speed, threshold, default base score, base score config and formula. The longer work is deciding base scores for each taxonomy tag and checking whether decayed attributes disappear from the exports your consumers rely on. Ask any partner to split the timeline into model design, test exports and production rollout, and to state which of those steps depend on your analysts being available.

What does our internal team need to provide?

Your team needs someone who knows which indicators matter for detection and blocking, someone who administers MISP and holds the Decaying Model Editor permission, and a consumer owner who can confirm how exports are used. Without these people, models tend to reflect default settings instead of your threat picture. Plan for the analyst who reviews sample scores, the administrator who makes changes, and the owner of each downstream tool that consumes filtered exports.

Can our own team run decaying models without a partner?

Yes, if you have MISP administration skills and analysts who can judge scores. MISP provides the model editor, the decayed flag and the restSearch parameters, and the user guide documents them. A partner helps most when you need consistent base scores across many taxonomy tags, integration with detection pipelines, or a documented change process. Decide early which parts you will own and which you will buy, and write that split into the scope.

How should we test decaying models before production?

Test on a non-production instance that holds a copy of representative events, then compare scores with what your analysts expect for a sample of known indicators. Check the formula you chose, confirm that decayed attributes are excluded only when you intend, and run the exports your consumers use with excludeDecayed and includeDecayScore set. Keep a record of each change so you can explain why a score moved. Repeat the cycle after each change to base scores or thresholds.

Which parameters can cause the biggest problems if set wrongly?

The threshold and the base score config have the largest effect on what disappears from exports. A threshold set too high can hide indicators that still matter, while a low base score for a tag can let important indicators decay early. The formula choice also matters: Polynomial (Extended) adds a retention cut-off, and Sightings weights by true-positive versus false-positive sightings, so it depends on your sighting practice. Confirm these values with the people who consume the output.

When does a partner review help with decaying models?

A partner review helps when several teams depend on the scores, when you are unsure whether the formula fits your sighting data, or when a detection tool will block traffic based on exported indicators. An independent check of the model design, the export filters and the test evidence gives you a documented record before a change goes live. Ask for the review scope in writing, including what the reviewer will test, what they will deliver and whether a retest is included.

How DeployOpen scopes decaying model work

DeployOpen scopes decaying model work in writing before any change is made to the instance, and the scope starts with a review of what the instance already holds. We look at which taxonomies and tags are in use, how consistently analysts apply them, and whether events carry the context needed to choose a base score. A tag strategy review decides which taxonomy tags map to which base scores, and which attributes should never decay, such as those kept for long-term context. Expect the scope to name the models, the tags they depend on, and the permissions needed to create or edit models, including the Decaying Model Editor permission, so the client knows who will make changes after handover.

Configuration follows the agreed design. For each model, the scope records the lifetime, decay speed, threshold, default base score, base score config and formula, and explains the trade-off behind each value. Polynomial, Polynomial (Extended) with a retention cut-off, and Sightings formulas behave differently, so the choice is tied to how the client's detection tools use scores. Export testing is the step most often skipped. We run restSearch queries with includeDecayScore, decayingModel, excludeDecayed and modelOverrides against the consumers the client names, such as sensor, firewall or SIEM owners, and confirm that the output matches what those teams expect. Testing results and any open questions are recorded before sign-off.

The engagement closes with handover documentation covering the model settings, the tag mappings, the export parameters each consumer uses and the steps to review scores later. Engagements are fixed-scope, so the quote follows from the written scope, and the cost drivers are the number of instances, the number of models, the number of consumers to test with and the state of the existing tagging. Ask for the deliverables, the testing criteria and the acceptance conditions in writing. Ongoing review of scores as feeds and tags change is available as a retainer, which suits teams that expect their taxonomy or model choices to shift over time.

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.