Skip to content

Commit

Permalink
New analyzers and templates for RiskIQ Illuminate (#1013)
Browse files Browse the repository at this point in the history
* New RiskIQ Illuminate analyzers.

* Analyzer transformations for UI hints. New RiskIQ responders to push indicators to RiskIQ projects.

* New templates for RiskIQ Analyzers (Reputation and Summary)

* Report templates for RiskIQ Illuminate analyzers.

* Handle 404 responses from the API more gracefully.

* Subdomains analyzer and report template.

* Set context headers for metrics and troubleshooting.

* Set responder context headers.
  • Loading branch information
aeetos authored Jun 20, 2022
1 parent 55e5f6e commit 5a9fbe0
Show file tree
Hide file tree
Showing 39 changed files with 2,992 additions and 0 deletions.
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_Articles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "articles"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: OSINT articles that reference an indicator.",
"license": "AGPL-V3",
"name": "RiskIQ_Articles",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_Artifacts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "artifacts"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: Illuminate / PassiveTotal project artifacts that match an indicator.",
"license": "AGPL-V3",
"name": "RiskIQ_Artifacts",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_Certificates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "certificates"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: SSL/TLS certificates associated with an indicator.",
"license": "AGPL-V3",
"name": "RiskIQ_Certificates",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_Components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "components"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: web components observed during crawls on a hostname.",
"license": "AGPL-V3",
"name": "RiskIQ_Components",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_Cookies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "cookies"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: cookies observed during crawls on a hostname.",
"license": "AGPL-V3",
"name": "RiskIQ_Cookies",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_HostpairChildren.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "hostpair_children"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: hosts with a child web component relationship to an IOC.",
"license": "AGPL-V3",
"name": "RiskIQ_HostpairChildren",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_HostpairParents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "hostpair_parents"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: hosts with a parent web component relationship to an IOC.",
"license": "AGPL-V3",
"name": "RiskIQ_HostpairParents",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
43 changes: 43 additions & 0 deletions analyzers/RiskIQ/RiskIQ_Malware.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"author": "RiskIQ",
"baseConfig": "RiskIQ",
"command": "RiskIQ/_analyzer.py",
"config": {
"auto_extract": true,
"property": "malware"
},
"configurationItems": [
{
"description": "API username of the RiskIQ Illuminate or PassiveTotal account (usually an email address)",
"multi": false,
"name": "username",
"required": true,
"type": "string"
},
{
"description": "API key of the RiskIQ Illuminate or PassiveTotal account",
"multi": false,
"name": "api_key",
"required": true,
"type": "string"
},
{
"defaultValue": 180,
"description": "Number of days back to search for date-bounded historical queries",
"multi": false,
"name": "days_back",
"required": false,
"type": "number"
}
],
"dataTypeList": [
"domain",
"fqdn",
"ip"
],
"description": "RiskIQ: malware hashes from various sources associated with an IOC.",
"license": "AGPL-V3",
"name": "RiskIQ_Malware",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"version": "1.0"
}
Loading

0 comments on commit 5a9fbe0

Please sign in to comment.