forked from TheHive-Project/Cortex-Analyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
487 changed files
with
19,909 additions
and
3,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### AbuseIPDB | ||
[AbuseIPDB](https://www.abuseipdb.com/) is a project dedicated to helping combat the spread of hackers, spammers, and abusive activity on the internet. | ||
|
||
The analyzer comes in only one flavor. | ||
|
||
#### Requirements | ||
You need a valid AbuseIPDB API integration subscription to use the analyzer: | ||
|
||
- Provide your API key as a value for the `key` parameter. | ||
- Set the `days` parameter to limit temporal range in search |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
{ | ||
"name": "Abuse_Finder", | ||
"version": "3.0", | ||
"author": "CERT-BDF", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers", | ||
"license": "AGPL-V3", | ||
"description": "Find abuse contacts associated with domain names, URLs, IPs and email addresses.", | ||
"dataTypeList": ["ip", "domain", "fqdn", "url", "mail"], | ||
"baseConfig": "Abuse_Finder", | ||
"command": "Abuse_Finder/abusefinder.py" | ||
} | ||
"name": "Abuse_Finder", | ||
"version": "3.0", | ||
"author": "CERT-BDF", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers", | ||
"license": "AGPL-V3", | ||
"description": "Find abuse contacts associated with domain names, URLs, IPs and email addresses.", | ||
"dataTypeList": [ | ||
"ip", | ||
"domain", | ||
"fqdn", | ||
"url", | ||
"mail" | ||
], | ||
"baseConfig": "Abuse_Finder", | ||
"command": "Abuse_Finder/abusefinder.py", | ||
"registration_required": false, | ||
"subscription_required": false, | ||
"free_subscription": false, | ||
"service_homepage": "https://github.com/certsocietegenerale/abuse_finder", | ||
"service_logo": { | ||
"path": "", | ||
"caption": "" | ||
}, | ||
"screenshots": [ | ||
{ | ||
"path": "assets/abuse_finder_longreport.png", | ||
"caption": "Abuse_Finder: Long report template" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Abuse_Finder | ||
Use CERT-SG's [Abuse Finder](https://github.com/certsocietegenerale/abuse_finder) | ||
to find abuse contacts associated with domain names, URLs, IPs and email addresses. | ||
|
||
The analyzer comes in only one flavor. | ||
|
||
No configuration is required. It can be used out of the box. | ||
|
||
This Analyzer can only be run as a docker container or as process with Python <= 3.6. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
### AnyRun | ||
[ANY.RUN](https://any.run/) is a malware sandbox service in the cloud. By using this analyzer, an analyst can submit a suspicious file or URL to the service for analysis and get a report. The report can contain various information such as: | ||
|
||
- Interactive access | ||
- Research threats by filter in public submissions | ||
- File and URL dynamic analysis | ||
- Mitre ATT&CK mapping | ||
- Detailed malware reports | ||
|
||
#### Requirements | ||
You need a valid AnyRun API integration subscription to use the analyzer. Free plan does not provide API access. | ||
|
||
- Provide your API token as a value for the `token` parameter. | ||
- Define the privacy setting in `privacy_type` parameter. | ||
- Set `verify_ssl` parameter as false if you connection requires it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "CIRCLHashlookup", | ||
"author": "Mikael Keri", | ||
"license": "AGPL-V3", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers", | ||
"version": "1.0", | ||
"description": "CIRCL Hashlookup is a public service to lookup hash values against known database of good files", | ||
"dataTypeList": ["hash"], | ||
"baseConfig": "CIRCLHashlookup", | ||
"config": { | ||
"check_tlp": true, | ||
"max_tlp": 2, | ||
"check_pap": true, | ||
"max_pap": 2 | ||
}, | ||
"command": "CIRCLHashlookup/circlhashlookup_analyzer.py", | ||
"registration_required": false, | ||
"subscription_required": false, | ||
"free_subscription": true, | ||
"service_homepage": "https://hashlookup.circl.lu/", | ||
"service_logo": {"path":"assets/circlhashlookup_logo.png", "caption": "logo"}, | ||
"screenshots": [ | ||
{ | ||
"path": "assets/circlhashlookup_long_report.png", | ||
"caption:":"CIRCL Hashlookup analyzer full report" | ||
}, | ||
{ | ||
"path": "assets/circlhashlookup_verdict.png", | ||
"caption:":"CIRCL Hashlookup analyzer verdict" | ||
}] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/env python3 | ||
# encoding: utf-8 | ||
|
||
import requests | ||
from cortexutils.analyzer import Analyzer | ||
|
||
class CIRCLHashlookupAnalyzer(Analyzer): | ||
def __init__(self): | ||
Analyzer.__init__(self) | ||
self.url = 'https://hashlookup.circl.lu' | ||
|
||
def summary(self, raw): | ||
taxonomies = [] | ||
namespace = "CIRCLHashlookup" | ||
|
||
if raw.get('CRC32'): | ||
verdict = "safe" | ||
result = "known" | ||
else: | ||
verdict = "info" | ||
result = "unkown" | ||
|
||
taxonomies.append(self.build_taxonomy( | ||
verdict, | ||
namespace, | ||
'Result', | ||
result, | ||
)) | ||
|
||
return {"taxonomies": taxonomies} | ||
|
||
def run(self): | ||
if self.data_type == 'hash': | ||
data = self.get_param('data', None, 'Data is missing') | ||
|
||
headers = {'Content-type': 'application/json', 'Accept': 'text/plain'} | ||
session = requests.Session() | ||
if len(data) == 32: | ||
s = session.get(self.url + '/lookup/md5/' + data, headers=headers) | ||
elif len(data) == 40: | ||
s = session.get(self.url + '/lookup/sha1/' + data, headers=headers) | ||
else: | ||
self.error('Unsupported hash type') | ||
|
||
s.close() | ||
response = s.json() | ||
try: | ||
self.report(response) | ||
except Exception as e: | ||
self.error('Invalid data type') | ||
else: | ||
self.error('Invalid data type') | ||
|
||
if __name__ == '__main__': | ||
CIRCLHashlookupAnalyzer().run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cortexutils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,49 @@ | ||
{ | ||
"name": "CIRCLPassiveDNS", | ||
"author": "Nils Kuhnert, CERT-Bund", | ||
"license": "AGPL-V3", | ||
"url": "https://github.com/BSI-CERT-Bund/cortex-analyzers", | ||
"version": "2.0", | ||
"description": "Check CIRCL's Passive DNS for a given domain or URL.", | ||
"dataTypeList": ["domain", "url", "ip"], | ||
"baseConfig": "CIRCL", | ||
"command": "CIRCLPassiveDNS/circl_passivedns.py", | ||
"configurationItems": [ | ||
{ | ||
"name": "user", | ||
"description": "Username", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
"name": "CIRCLPassiveDNS", | ||
"author": "Nils Kuhnert, CERT-Bund", | ||
"license": "AGPL-V3", | ||
"url": "https://github.com/BSI-CERT-Bund/cortex-analyzers", | ||
"version": "2.0", | ||
"description": "Check CIRCL's Passive DNS for a given domain or URL.", | ||
"dataTypeList": [ | ||
"domain", | ||
"url", | ||
"ip" | ||
], | ||
"baseConfig": "CIRCL", | ||
"command": "CIRCLPassiveDNS/circl_passivedns.py", | ||
"configurationItems": [ | ||
{ | ||
"name": "user", | ||
"description": "Username", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
}, | ||
{ | ||
"name": "password", | ||
"description": "Password", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
], | ||
"registration_required": true, | ||
"subscription_required": true, | ||
"free_subscription": true, | ||
"service_homepage": "https://www.circl.lu/services/passive-dns/", | ||
"service_logo": { | ||
"path": "assets/passivedns.png", | ||
"caption": "logo" | ||
}, | ||
{ | ||
"name": "password", | ||
"description": "Password", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
] | ||
} | ||
"screenshots": [ | ||
{ | ||
"path": "assets/sc-short-circlpassivedns.png", | ||
"caption": "CIRCLPassiveDNS: short report" | ||
}, | ||
{ | ||
"path": "assets/sc-long-circlpassivedns.png", | ||
"caption": "CIRCLPassiveDNS: long report" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### CIRCLPassiveDNS | ||
|
||
Check [CIRCL's Passive DNS](https://www.circl.lu/services/passive-dns/) for a | ||
given domain. | ||
|
||
This analyzer comes in only one flavor. | ||
|
||
#### Requirements | ||
|
||
Access to CIRCL Passive DNS is only allowed to trusted partners in Luxembourg | ||
and abroad. [Contact CIRCL](https://www.circl.lu/contact/) if you would like | ||
access. Include your affiliation and the foreseen use of the Passive DNS | ||
data. | ||
|
||
If the CIRCL positively answers your access request, you'll obtain a username | ||
and password which are needed to make the analyzer work. | ||
|
||
supply your username as the value for the `user` parameter and your password | ||
as the value for the `password` parameter. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.