-
Notifications
You must be signed in to change notification settings - Fork 385
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
18 changed files
with
292 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Shodan_DNSResolve", | ||
"version": "1.0", | ||
"author": "Sebastien Larinier @Sebdraven", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers/Shodan", | ||
"license": "AGPL-V3", | ||
"description": "Retrieve domain resolutions on Shodan.", | ||
"dataTypeList": ["domain"], | ||
"command": "Shodan/shodan_analyzer.py", | ||
"baseConfig": "Shodan", | ||
"config": { | ||
"service": "dns_resolve" | ||
}, | ||
"configurationItems": [ | ||
{ | ||
"name": "key", | ||
"description": "Define the API Key", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
] | ||
} |
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,23 @@ | ||
{ | ||
"name": "Shodan_Host_History", | ||
"version": "1.0", | ||
"author": "Sebastien Larinier @Sebdraven", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers/Shodan", | ||
"license": "AGPL-V3", | ||
"description": "Retrieve Shodan history scan results for an IP address.", | ||
"dataTypeList": ["ip"], | ||
"command": "Shodan/shodan_analyzer.py", | ||
"baseConfig": "Shodan", | ||
"config": { | ||
"service": "host_history" | ||
}, | ||
"configurationItems": [ | ||
{ | ||
"name": "key", | ||
"description": "Define the API Key", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
] | ||
} |
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,23 @@ | ||
{ | ||
"name": "Shodan_InfoDomain", | ||
"version": "1.0", | ||
"author": "Sebastien Larinier @Sebdraven", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers/Shodan", | ||
"license": "AGPL-V3", | ||
"description": "Retrieve key Shodan information on a domain.", | ||
"dataTypeList": ["domain"], | ||
"command": "Shodan/shodan_analyzer.py", | ||
"baseConfig": "Shodan", | ||
"config": { | ||
"service": "info_domain" | ||
}, | ||
"configurationItems": [ | ||
{ | ||
"name": "key", | ||
"description": "Define the API Key", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
] | ||
} |
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,23 @@ | ||
{ | ||
"name": "Shodan_ReverseDNS", | ||
"version": "1.0", | ||
"author": "Sebastien Larinier @Sebdraven", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers/Shodan", | ||
"license": "AGPL-V3", | ||
"description": "Retrieve ip reverse DNS resolutions on Shodan.", | ||
"dataTypeList": ["ip"], | ||
"command": "Shodan/shodan_analyzer.py", | ||
"baseConfig": "Shodan", | ||
"config": { | ||
"service": "reverse_dns" | ||
}, | ||
"configurationItems": [ | ||
{ | ||
"name": "key", | ||
"description": "Define the API Key", | ||
"type": "string", | ||
"multi": false, | ||
"required": true | ||
} | ||
] | ||
} |
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,22 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
DNS resolutions of <strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dd ng-repeat="(domain, ip) in content.records"> | ||
{{domain}}: {{ip}} | ||
</dd> | ||
</dl> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> |
File renamed without changes.
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,48 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
Host Information of <strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>ASN</dt> | ||
<dd>{{content.host.asn || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>ISP</dt> | ||
<dd>{{content.host.isp || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Hostnames</dt> | ||
<dd>{{content.host.hostnames.join(', ') || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Country</dt> | ||
<dd>{{content.host.country_name || '-'}} (<strong>{{content.host.country_code || '-'}}</strong>)</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Ports</dt> | ||
<dd>{{content.host.ports.join(', ') || '-'}}</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt>Last update</dt> | ||
<dd>{{content.host.last_update || '-'}}</dd> | ||
</dl> | ||
|
||
<dl class="dl-horizontal"> | ||
<dt>Geolocation</dt> | ||
<dd> | ||
<strong>Latitude:</strong> {{content.host.latitude || '-'}}, <strong>Longitude:</strong> {{content.host.longitude || '-'}} <br> | ||
<a ng-href="http://google.com/maps/place/{{content.host.latitude}},{{content.host.longitude}}" target="_blank">Open in Google Maps</a> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> |
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,3 @@ | ||
<span class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]"> | ||
{{t.namespace}}:{{t.predicate}}="{{t.value}}" | ||
</span> |
File renamed without changes.
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,3 @@ | ||
<span class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]"> | ||
{{t.namespace}}:{{t.predicate}}="{{t.value}}" | ||
</span> |
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,22 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
DNS resolutions of <strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal" ng-repeat="(ip, data) in content.records"> | ||
<dd ng-repeat="domain in data"> | ||
{{ip}}: {{domain}} | ||
</dd> | ||
</dl> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> |
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,3 @@ | ||
<span class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]"> | ||
{{t.namespace}}:{{t.predicate}}="{{t.value}}" | ||
</span> |
Oops, something went wrong.