Content
- Log parsers1
- Attack scenarios2
sudo cscli collections install crowdsecurity/sshd-impossible-travelThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
name: crowdsecurity/sshd-impossible-travelparsers:- crowdsecurity/sshd-success-logsscenarios:- crowdsecurity/impossible-travel- crowdsecurity/impossible-travel-userdescription: "sshd success: parser and impossible travel"labels:label: "SSHD - Impossible Travel Detection"author: crowdsecuritytags:- security_engine- linux- ssh- inside-threat
Sign in to see the Security Engines that run this collection, the version they run and whether it was modified locally.
Detect successful login from a country to another country in a short period of time. This is a strong indicator of a compromised account.
The reason why we have set remediation to false by default is we don't want to lock out legitimate users and want you to fully understand how the collection works before you jump in feet first.
You can enable remediation by setting remediation label within crowdsecurity/impossible-travel.yaml to true within the scenarios folder.
You can enable user remediation by setting remediation label within crowdsecurity/impossible-travel-user.yaml to true within the scenarios folder and you must add a profiles to handle this scope example:
1#/etc/crowdsec/profiles.yaml.local2name: username_temp_ban3filters:4 - 'Alert.Remediation == true && Alert.GetScope() == "username"'5decisions:6 - type: tempban7 scope: "username"8 duration: 12h9on_success: break