-
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.
Merge pull request #285 from ninoseki/feature/urlhaus-analyzer
Feature/urlhaus analyzer
- Loading branch information
Showing
5 changed files
with
63 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
beautifulsoup4 | ||
cortexutils | ||
diskcache | ||
requests | ||
requests-html |
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,51 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
URLhaus search resutls for | ||
<strong>{{artifact.data}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<p ng-if="content.results.length == 0"> | ||
No result found. | ||
</p> | ||
<table class="table" ng-if="content.results"> | ||
<thead> | ||
<th>Dateadded (UTC)</th> | ||
<th>Malware URL</th> | ||
<th>Status</th> | ||
<th>Tags</th> | ||
<th>GSB</th> | ||
<th>Reporter</th> | ||
</thead> | ||
<tbody ng-repeat="r in content.results"> | ||
<tr> | ||
<td>{{r.dateadded}}</td> | ||
<td> | ||
<a href="https://urlhaus.abuse.ch{{r.link}}" target=”_blank”> | ||
{{r.malware_url}} | ||
</a> | ||
</td> | ||
<td>{{r.status}}</td> | ||
<td> | ||
<span ng-repeat="tag in r.tags"> {{tag}} </span> | ||
</td> | ||
<td>{{r.gsb}}</td> | ||
<td>{{r.reporter}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
|
||
<!-- General error --> | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal" ng-if="content.errorMessage"> | ||
<dt> | ||
<i class="fa fa-warning"></i> urlscan.io: </dt> | ||
<dd class="wrap">{{content.errorMessage}}</dd> | ||
</dl> | ||
</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> |