Skip to content

Commit

Permalink
#1113 update doc. SVG not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Oct 11, 2022
2 parents 50b04d3 + c93536e commit ae479b3
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 8 deletions.
14 changes: 9 additions & 5 deletions analyzers/Crowdsec/Crowdsec_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"required": true
}
],
"registration_required": "yes",
"subscription_required": "yes",
"free_subscription": "yes",
"service_homepage": "https://www.crowdsec.net",
"registration_required": true,
"subscription_required": true,
"free_subscription": true,
"service_homepage": "https://www.crowdsec.net/product/threat-intelligence",
"service_logo": {
"path": "assets/crowdsec-logo.png",
"caption": "logo"
Expand All @@ -31,6 +31,10 @@
{
"path": "assets/crowdsec-report-long.png",
"caption": ""
},
{
"path": "assets/crowdsec-analyzer-result-example.png",
"caption": ""
}
]
}
}
98 changes: 95 additions & 3 deletions analyzers/Crowdsec/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,96 @@
[CrowdSec](https://www.crowdsec.net) is an open-source and collaborative IPS (Intrusion Prevention System) and a security suite.
CrowdSec leverages local behavior analysis and crowd power to build the largest CTI network in the world.
### CrowdSec

This Analyzer queries CrowdSec database to gather knowledge about observables of type IP addresses.
Check [CrowdSec](https://www.crowdsec.net/) Threat Intelligence about an ip address.

Running the analyzer will expose the result as taxonomies in the short report displayed in the ip observable.

![short result example](./assets/crowdsec-analyzer-result-example.png)

The raw report contains the whole json response from CrowdSec.

e.g.:

```javascript
{
"ip_range_score": 0,
"ip": "223.171.256.256",
"ip_range": "223.171.0.0/16",
"as_name": "LGTELECOM",
"as_num": 17853,
"location": {
"country": "KR",
"city": null,
"latitude": 42,
"longitude": 42
},
"reverse_dns": null,
"behaviors": [
{
"name": "pop3/imap:bruteforce",
"label": "POP3/IMAP Bruteforce",
"description": "IP has been reported for performing a POP3/IMAP brute force attack."
}
],
"history": {
"first_seen": "2022-09-26T03:45:00+00:00",
"last_seen": "2022-10-11T08:15:00+00:00",
"full_age": 16,
"days_age": 15
},
"classifications": {
"false_positives": [],
"classifications": []
},
"attack_details": [
{
"name": "crowdsecurity/postfix-spam",
"label": "Postfix Bruteforce",
"description": "Detect spammers/postfix brute force",
"references": []
}
],
"target_countries": {
"DE": 25,
"FR": 25,
"PL": 25,
"SK": 25
},
"scores": {
"overall": {
"aggressiveness": 0,
"threat": 4,
"trust": 0,
"anomaly": 1,
"total": 1
},
"last_day": {
"aggressiveness": 0,
"threat": 0,
"trust": 0,
"anomaly": 1,
"total": 0
},
"last_week": {
"aggressiveness": 0,
"threat": 4,
"trust": 0,
"anomaly": 1,
"total": 1
},
"last_month": {
"aggressiveness": 0,
"threat": 4,
"trust": 0,
"anomaly": 1,
"total": 1
}
},
"references": []
}
```


#### Requirements

Provide a [CrowdSec CTI Api key](https://www.crowdsec.net/product/threat-intelligence#card-four)
as a value for the `api_key` parameter.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ae479b3

Please sign in to comment.