sudo cscli collections install firewallservices/zimbraInstalls 1 parser and 1 scenario.
View Zimbra - Bruteforce Protection →sudo cscli parsers install firewallservices/zimbra-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.
filter: "evt.Parsed.program startsWith 'zimbra'"onsuccess: next_stage#debug: truename: firewallservices/zimbra-logsdescription: "Parse zimbra authentication failures"nodes:- grok:pattern: '%{TIMESTAMP_ISO8601:time_local}:[0-9]+,.*%{WORD:proto}://%{HOSTNAME:server}:%{INT:port}/service/admin/soap/(AuthRequest)?\] \[.*oip=%{IP:src_ip}.*\] SoapEngine - handler exception: authentication failed for \[%{NGUSER:user}\]'apply_on: messagestatics:- target: evt.StrTimeexpression: evt.Parsed.time_local- grok:pattern: '%{TIMESTAMP_ISO8601:time_local}:[0-9]+,.*%{WORD:proto}://%{HOSTNAME:server}:%{INT:port}/service/admin/soap/(AuthRequest)?\] \[.*name=%{NGUSER:user}.*oip=%{IP:src_ip}.*\] SoapEngine - handler exception'apply_on: messagestatics:- target: evt.StrTimeexpression: evt.Parsed.time_local- grok:pattern: '%{TIMESTAMP_ISO8601:time_local}:[0-9]+,.*\[.*oip=%{IP:src_ip}.*\] imap - authentication failed for \[%{NGUSER:user}\]'apply_on: messagestatics:- target: evt.StrTimeexpression: evt.Parsed.time_localstatics:- meta: servicevalue: zimbra- meta: log_typevalue: zimbra_auth_fail- meta: source_ipexpression: "evt.Parsed.src_ip"- meta: userexpression: "evt.Parsed.user"
Sign in to see the Security Engines that run this log parser, the version they run and whether it was modified locally.
Zimbra failed authentication parser. To use it, you should add an acquisition like
1---2filenames:3 - /opt/zimbra/log/mailbox.log4labels:5 type: zimbra
Note that if you run Zimbra on several servers :
1zmprov mcf +zimbraMailTrustedIP 10.30.1.13