mirror of https://github.com/MISP/misp-book
87 lines
5.1 KiB
Markdown
87 lines
5.1 KiB
Markdown
<!-- toc -->
|
|
|
|
# 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
|
|
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.
|
|
|
|
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.
|
|
|
|
## Managing feeds
|
|
|
|
>[warning] A site admin role is required to perform these actions.
|
|
|
|
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
|
|
* 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
|
|
* Name: Just a name to identify the feed
|
|
* Provider: Name of the content provider
|
|
* Input Source: Where does the input come from
|
|
![Input Source](./figures/inputsource.png)
|
|
* Network: hosted somewhere outside the platform
|
|
* 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.
|
|
![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)
|
|
|
|
* The Source Format can be:
|
|
![Source Format](./figures/sourceformat.png)
|
|
* MISP Feed: The source points to a list of json formated like MISP events.
|
|
Example: https://www.circl.lu/doc/misp/feed-osint
|
|
|
|
* Freetext Parsed Feed:
|
|
![Freetext Parsed Feed](./figures/freetextparsedfeed.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](./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.
|
|
|
|
* Simple CSV Parsed Feed:
|
|
![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.
|
|
|
|
* 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)
|
|
|
|
* Filter rules: Here you can define which tags or organisations are allowed or blocked.
|
|
![Filter rules](./figures/filterrules.png)
|
|
|
|
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)
|
|
![Add Filter rules](./figures/addfilterrules2.png)
|
|
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)
|
|
![Remove Filter rules](./figures/removefilterrules2.png)
|
|
|
|
## 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.
|