Skip to content

MISP

Keep a list in MISP as one event that follows the list: new addresses are added, and addresses that leave are removed. MISP calls this a feed. There are two ways to set it up.

MISP downloads the list aip-sync writes a file for MISP
Setup Only in MISP aip-sync on the MISP server
An address leaves The day it leaves the list 7 or 14 days later, as the list says
Credits A whole download each time Only the changes, for some lists

Written for MISP 2.5, and checked against the source code of MISP 2.5.50 (October 2026). We haven't run these steps on a live MISP yet. If something doesn't work as written, tell us.

MISP downloads the list

Go to Sync Actions > Feeds > Add Feed and fill in:

Field Value
Enabled on
Name AIP persistent
Provider Stratosphere Laboratory
Input Source Network
URL https://api.intelligence.stratosphereips.org/v1/lists/persistent?format=csv
Source Format Simple CSV Parsed Feed
Headers Authorization: Bearer aip_... (your key)
Target Event Fixed Event
Value field(s) in the CSV 1
Delimiter ,
Delta Merge on
Caching enabled off
  • Value field 1 is the address. MISP skips the header row by itself, because ip is not an address.
  • Fixed Event keeps one event for the list. MISP creates it at the first fetch.
  • Delta Merge removes addresses that are no longer on the list. Without it, the event only grows.
  • Caching downloads the list a second time, for lookups. Each download costs credits, so leave it off unless you need it.

Then fetch the feed once a day, after 03:30 UTC. Either add a task under Administration > Scheduled Tasks (type Feed, action fetch, the feed's id), or use cron on the MISP server:

40 3 * * * www-data /var/www/MISP/app/Console/cake Server fetchFeed 1 <feed id>

1 is the id of the MISP user the fetch runs as. The feed id is in the feed list. Cron uses your server's time zone.

aip-sync writes a file for MISP

Install aip-sync on the MISP server and run it daily from cron. Save this as /etc/cron.d/aip-sync, with a time after 03:30 UTC in your server's time zone:

40 3 * * * root /usr/local/bin/aip-sync --list persistent --out /var/lib/aip-sync/persistent.txt --changes --quiet

Then add a feed as above, with these differences:

Field Value
Input Source Local
URL /var/lib/aip-sync/persistent.txt
Source Format Freetext Parsed Feed
Headers empty

Schedule the fetch for a few minutes after aip-sync. The file is readable by every user, so MISP can read it.

If MISP refuses a local feed, an administrator has switched them off with the setting Security.disable_local_feed_access.

What MISP makes of the addresses

MISP stores every address from a feed as ip-dst, a destination address, with the IDS flag on. A feed can't choose ip-src.

This matters if you export rules from MISP for Suricata or Snort. MISP writes ip-dst rules for traffic from your network to the address, not from the address to you. To block traffic from these addresses, export a plain list of addresses instead, and load that into your firewall:

printf 'Authorization: %s\n' "$MISP_KEY" | curl -s -H @- \
  -H "Content-Type: application/json" https://<your misp>/attributes/restSearch \
  -d '{"returnFormat": "text", "eventid": <event id>, "type": "ip-dst", "to_ids": 1}'

MISP_KEY holds your MISP key. curl reads it from its input, so it never shows in the list of running programs.

Or skip MISP for blocking, and use one of our firewall guides directly.