Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IVRE Analyzer #923

Merged
merged 5 commits into from
Mar 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions analyzers/IVRE/IVRE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"name": "IVRE",
"version": 1.0,
"author": "Pierre Lalet",
"license": "AGPL-V3",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"service_homepage": "https://ivre.rocks/",
"description": "Fetch details from an IVRE instance.",
"dataTypeList": [
"autonomous-system",
"certificate_hash",
"domain",
"fqdn",
"ip",
"network",
"port",
"user-agent"
],
"command": "IVRE/ivre_analyzer.py",
"baseConfig": "IVRE",
"configurationItems": [
{
"name": "use_data",
"description": "Use data from the data purpose (MaxMind)",
"type": "boolean",
"multi": false,
"required": true,
"defaultValue": true
},
{
"name": "use_passive",
"description": "Use data from the passive purpose",
"type": "boolean",
"multi": false,
"required": true,
"defaultValue": true
},
{
"name": "use_scans",
"description": "Use data from the scans (nmap) purpose",
"type": "boolean",
"multi": false,
"required": true,
"defaultValue": true
},
{
"name": "db_url",
"description": "The URL of the IVRE database (e.g., mongodb://host/ivre or http://host/cgi); defaults to using IVRE's configuration",
"type": "string",
"multi": false,
"required": false
},
{
"name": "db_url_data",
"description": "The URL of the IVRE database for the data purpose (e.g., maxmind:///usr/share/ivre/geoip or http://host/cgi); defaults to using IVRE's configuration",
"type": "string",
"multi": false,
"required": false
},
{
"name": "db_url_passive",
"description": "The URL of the IVRE database for the passive purpose (e.g., mongodb://host/ivre or http://host/cgi); defaults to using IVRE's configuration",
"type": "string",
"multi": false,
"required": false
},
{
"name": "db_url_scans",
"description": "The URL of the IVRE database for the scans (nmap) purpose (e.g., mongodb://host/ivre or http://host/cgi); defaults to using IVRE's configuration",
"type": "string",
"multi": false,
"required": false
}
],
"config": {
"check_tlp": false,
"max_tlp": 3,
"check_pap": false,
"max_pap": 3,
"auto_extract": false
},
"service_logo": {
"path": "assets/ivre_logo.png",
"caption": "Logo"
}
}
31 changes: 31 additions & 0 deletions analyzers/IVRE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
### IVRE

Get intelligence from an [IVRE](https://ivre.rocks/) instance.

#### Requirements

You need an access to an IVRE instance. Unlike most analyzers, IVRE
does not exist as a public service but is an open-source tool: you
need to install and run your own instance. The repository is [on
GitHub](https://github.com/cea-sec/ivre).

To learn more about IVRE (and its "purposes"), you can read the
documentation, particularly about [the
principles](https://doc.ivre.rocks/en/latest/overview/principles.html),
and some [use
cases](https://doc.ivre.rocks/en/latest/usage/use-cases.html).

Supply the following parameters to the analyzer in order to use it:

- `db_url` (string): the IVRE instance database URL (format: same as IVRE's
configuration; default: use IVRE's configuration)
- `db_url_data` (string): the IVRE instance database URL for the data purpose
(idem)
- `db_url_passive` (string): the IVRE instance database URL for the passive purpose
(idem)
- `db_url_scans` (string): the IVRE instance database URL for the scans purpose
(idem)
- `use_data` (boolean): should the analyzer use the data purpose?
- `use_passive` (boolean): should the analyzer use the passive purpose?
- `use_scans` (boolean): should the analyzer use the scans purpose?

Binary file added analyzers/IVRE/assets/ivre_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading