diff --git a/CHANGELOG.md b/CHANGELOG.md index 26189fd3b..b73bd48ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log All notable changes to this project will be documented in this file. +## [v3.5.1] + +### Fixed + + - Fixed login abortion log mismatch in Dovecot decoder when optional parameter didn't appear. ([#171](https://github.com/wazuh/wazuh-ruleset/pull/171)) + + ## [v3.5.0] ### Added diff --git a/decoders/0085-dovecot_decoders.xml b/decoders/0085-dovecot_decoders.xml index cf8bcb448..14ac713f9 100644 --- a/decoders/0085-dovecot_decoders.xml +++ b/decoders/0085-dovecot_decoders.xml @@ -27,6 +27,9 @@ - Dec 19 17:30:39 ny dovecot: imap-login: Disconnected: Inactivity (auth failed, 7 attempts in 176 secs): user=<32>, method=PLAIN, rip=109.201.200.201, lip=67.205.141.203,session=<7QTLPAZEXrhtycjJ> - Dec 19 17:38:54 ny dovecot: pop3-login: Disconnected: Inactivity during authentication (auth failed, 13 attempts in 179 secs): user=, method=PLAIN, rip=109.201.200.201, lip=67.205.141.203, session= - Dec 19 17:20:08 ny dovecot: imap-login: Aborted login (auth failed, 2 attempts in 18 secs): user=, method=PLAIN, rip=109.201.200.201, lip=67.205.141.203, session= + - Dec 19 17:20:08 ny dovecot: imap-login: Aborted login (auth failed, 2 attempts in 18 secs): user=, method=PLAIN, rip=109.201.200.201, lip=67.205.141.203, session=, secured + - Dec 19 17:20:08 ny dovecot: imap-login: Aborted login (auth failed, 2 attempts in 18 secs): user=, method=PLAIN, rip=109.201.200.201, lip=67.205.141.203, secured + - Dec 19 17:20:08 ny dovecot: imap-login: Aborted login (auth failed, 2 attempts in 18 secs): user=, method=PLAIN, rip=109.201.200.201, lip=67.205.141.203 --> @@ -43,8 +46,38 @@ dovecot ^\w\w\w\w-login: Aborted login - : user=\p(\S+)\p, method=\S+, rip=(\S+), lip=(\S+), (\S*)$ - user, srcip, dstip, protocol + : user=\p(\S+)\p, method=\S+, rip=(\S+), + user, srcip, dstip + + + + dovecot + lip=(\S+), + dstip + + + + dovecot + lip=(\S+) + dstip + + + + dovecot + session=\p(\S+\S)>, + session + + + + dovecot + session=\p(\S+\S)> + session + + + + dovecot + (\S*)$ + protocol