sudo cscli collections install crowdsecurity/apiscpInstalls 9 parsers and 56 scenarios, via vsftpd - Bruteforce Protection.
View ApisCP →sudo cscli parsers install crowdsecurity/vsftpd-logsThen 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.
onsuccess: next_stagename: vsftpd-logsdescription: "Parse VSFTPD logs"filter: "evt.Parsed.program == 'vsftpd'"#debug: truepattern_syntax:# Custom grok for some versions that add an extra space before single digit monthday# Not perfect because extra ,spaces are not trimmed in resulting 'timestamp' captureCUSTOM_HTTPDERROR_DATE: '%{DAY} %{MONTH} (?:\s?)%{MONTHDAY} %{TIME} %{YEAR}'FTP_AUTH_FAIL: '%{CUSTOM_HTTPDERROR_DATE:timestamp} \[pid %{NUMBER}\] \[%{GREEDYDATA:user}\] FAIL LOGIN: Client "(::ffff:)?%{IP:source_ip}"'FTP_DENIED_USER: '%{CUSTOM_HTTPDERROR_DATE:timestamp} \[pid %{NUMBER}\] \[%{GREEDYDATA:user}\] FTP response: Client "(::ffff:)?%{IP:source_ip}", "530 Permission denied."'nodes:- grok:pattern: "%{FTP_AUTH_FAIL}"apply_on: message- grok:pattern: "%{FTP_DENIED_USER}"apply_on: messagestatics:- meta: programvalue: vsftpd- meta: log_typevalue: ftp_failed_auth- meta: source_ipexpression: "evt.Parsed.source_ip"- meta: userexpression: "evt.Parsed.user"- target: evt.StrTimeexpression: evt.Parsed.timestamp- target: evt.StrTimeFormatvalue: "Mon Jan _2 15:04:05 2006"
Sign in to see the Security Engines that run this log parser, the version they run and whether it was modified locally.
FTP (vsftpd) authentication fail parser.