misp-book/managing-feeds/README.md

87 lines
5.1 KiB
Markdown
Raw Normal View History

2017-02-17 15:59:51 +01:00
<!-- toc -->
2017-02-20 11:47:20 +01:00
# Feeds
Feeds are remote or local resources containing indicators that can be automatically imported in MISP at regular intervals.
Feeds can be structured in MISP format, CSV format or even free-text format. You can easily import any remote or local URL
2017-02-20 13:49:29 +01:00
to store them in your MISP instance. It's a simple way to gather many external sources of information without any programming skills
into MISP.
2017-02-20 11:47:20 +01:00
Feeds description can be also easily shared among different MISP instances as you can export a feed description as JSON
and import it back in another MISP instance.
2017-02-17 15:59:51 +01:00
## Managing feeds
2017-03-30 11:23:32 +02:00
>[warning] A site admin role is required to perform these actions.
2017-02-17 15:59:51 +01:00
To do so, you first need to access the list of feeds, using the top menu.
![List feeds menu](./figures/listfeeds.png)
### Adding feeds
Then select the add feed option on the side menu.
![List feeds side menu](./figures/addfeed.png)
Here you will have access to a dynamic form. Let's check each field by order.
![Add feed form](./figures/addfeedform.png)
* Enabled: Is the feed active or not
2017-06-20 12:39:42 +02:00
* Lookup Visible: If this is not checked, the correlation will only show up to you, if checked, correlations are visible for other users as well
2017-02-17 15:59:51 +01:00
* Name: Just a name to identify the feed
* Provider: Name of the content provider
2017-02-20 10:23:16 +01:00
* Input Source: Where does the input come from
![Input Source](./figures/inputsource.png)
2017-02-17 15:59:51 +01:00
* Network: hosted somewhere outside the platform
2017-02-20 10:26:22 +01:00
* Local: Hosted on the local server. On this case, a new checkbox "Remove input after ingestion" will appear. If checked, the source is deleted after usage.
2017-02-17 15:59:51 +01:00
![Remove Input](./figures/removeinput.png)
* Url: Url of the feed, where it is located (for Local hosted files, point to the manifest.json e.g. /home/user/feed-generator/output/manifest.json)
2017-02-17 15:59:51 +01:00
2017-02-20 08:44:13 +01:00
* The Source Format can be:
2017-02-17 15:59:51 +01:00
![Source Format](./figures/sourceformat.png)
2017-02-20 10:23:16 +01:00
* MISP Feed: The source points to a list of json formated like MISP events.
2017-02-17 15:59:51 +01:00
Example: https://www.circl.lu/doc/misp/feed-osint
2017-02-20 08:44:13 +01:00
* Freetext Parsed Feed:
2017-02-17 15:59:51 +01:00
![Freetext Parsed Feed](./figures/freetextparsedfeed.png)
2017-02-20 10:41:40 +01:00
* Target Event: Which will be the event getting updated with the data from the feed. Can be either "New Event Each Pull" (A new event will be created each time the feed is pulled) or "Fixed Event" (A unique event will be updated with the new data. This event is determined by the next field)
![Target Event](./figures/targetevent.png)
* Target Event ID: The id of the event where the data will be added (if not set, the field will be set the first time the feed is fetched)
* Exclusion Regex: Add a regex pattern for detecting iocs that should be skipped (this can be useful to exclude any references to the actual report / feed for example)
* Auto Publish: If checked, events created thanks to the feed will be automatically published
* Override IDS Flag: If checked, the IDS flag will be set to false
* Delta Merge: If checked, only data coming from the last fetch are kept, the old ones are deleted.
2017-02-17 15:59:51 +01:00
2017-02-20 08:44:13 +01:00
* Simple CSV Parsed Feed:
2017-02-20 10:41:40 +01:00
![Simple CSV Parsed Feed](./figures/simplecsvparsedfeed.png)
* Target Event: Which will be the event getting updated with the data from the feed. Can be either "New Event Each Pull" (A new event will be created each time the feed is pulled) or "Fixed Event" (A unique event will be updated with the new data. This event is determined by the next field)
* Target Event ID: The id of the event where the data will be added (if not set, the field will be set the first time the feed is fetched)
* Exclusion Regex: Add a regex pattern for detecting iocs that should be skipped (this can be useful to exclude any references to the actual report / feed for example)
* Value field(s) in the CSV: Select one or several fields that should be parsed by the CSV parser and converted into MISP attributes
* Delimiter: Set the default CSV delimiter (default = ",")
* Auto Publish: If checked, events created thanks to the feed will be automatically published
* Override IDS Flag: If checked, the IDS flag will be set to false
* Delta Merge: If checked, only data coming from the last fetch are kept, the old ones are deleted.
2017-02-17 15:59:51 +01:00
* Distribution: Define the distribution option that will be set on the event created by the feed
* Default Tag: A default tag can be added to the created event(s)
2017-02-20 08:44:13 +01:00
* Filter rules: Here you can define which tags or organisations are allowed or blocked.
2017-02-17 15:59:51 +01:00
![Filter rules](./figures/filterrules.png)
2017-02-20 08:44:13 +01:00
To add a tag (resp. organisation), first type it into the top middle (resp. bottom middle) text field . Then use the arrows that point to the outside to add it to the allowed or blocked tags (resp. organisations) list.
![Add Filter rules](./figures/addfilterrules.png)
2017-02-17 15:59:51 +01:00
![Add Filter rules](./figures/addfilterrules2.png)
2017-02-20 08:44:13 +01:00
To remove a tag (resp. organisation), select it in the list and click on the arrow pointing to the inside.
![Remove Filter rules](./figures/removefilterrules.png)
2017-02-17 15:59:51 +01:00
![Remove Filter rules](./figures/removefilterrules2.png)
2017-06-20 12:39:42 +02:00
## Feed correlation
If an indicator from an feed matches an indicator within a MISP event, it will show up as "Feed hits" in the event overview.
The correlation will not show up in the correlation graph of the event.