Hello everyone,
I'm currently working on integrating Barracuda logs into Wazuh, but I'm facing an issue where alerts for inbound/pass|^scan|^outbound/smtp events are not being triggered. Here are some examples of the logs I'm receiving:
Logs in /var/ossec/logs/archives/archives.json
Inbound Log
{"timestamp":"2024-11-18T02:31:02.643+0000","agent":{"id":"000","name":"1-wazuh"},"manager":{"name":"1-wazuh"},"id":"1731897062.1752952","full_log":" inbound/pass1: outbound-ip61b.ess.barracuda.com[192.168.1.10] 1731897060-1717ba5d04124d30001-T8iiHl 1731897061 1731897062 SCAN ENC inv...@domain.com us...@company.com - 2 34 .domain.com SZ:5291 SUBJ:Invoice Notification - (37608342130896595168)","decoder":{},"location":"192.168.1.1"}
{"timestamp":"2024-11-18T02:31:17.410+0000","agent":{"id":"000","name":"1-wazuh"},"manager":{"name":"1-wazuh"},"id":"1731897077.1758527","full_log":" inbound/pass1: outbound-ip122a.ess.barracuda.com[192.168.1.11] 1731897075-1717ba5d04124d40001-Ma5gIz 1731897076 1731897077 SCAN ENC pay...@domain.com us...@company.com - 2 34 .domain.com SZ:5291 SUBJ:Payment Reminder - (23813344959434386870)","decoder":{},"location":"192.168.1.1"}
Scan Log
{"timestamp":"2024-11-18T02:31:20.283+0000","agent":{"id":"000","name":"1-wazuh"},"manager":{"name":"1-wazuh"},"id":"1731897080.1758527","full_log":" scan: outbound-ip99a.ess.barracuda.com[192.0.2.1] 1731896655-1717ba5d03124b80001-fakeID 1731896656 1731896659 SCAN ENC fake...@domain.com fake...@company.com 1.305 0 0 - SZ:373607 SUBJ:Important Update Regarding Your Account - (12345678901234567890)","decoder":{},"location":"192.168.1.1"}
Outbound/SMTP
{"timestamp":"2024-11-18T03:10:01.409+0000","agent":{"id":"000","name":"1-wazuh"},"manager":{"name":"1-wazuh"},"id":"1731899401.2192974","full_log":" outbound/smtp: 127.0.0.1 1731899398-1717ba5d03125830001-TsLtm0 0 0 SEND ENC 1 2D11A12004D 250 2.6.0 <6a3998a6-e2bd-4a5a...@indeedemail.com> [InternalId=72653666779189, Hostname=SPSRVCORREO1.company.com.] 15992 bytes in 0.104, 149.416 KB/sec Queued mail for delivery #to#10.10.10.17[10.10.10.17]:15","decoder":{},"location":" 192.168.1.1"}
Maybe I need to make new decoders and rules, appreciate help
Hi Bony,
Thank you for your help. I’ve added the decoders and rules, and tested them, but the alerts aren’t showing up on my dashboard. I’m not sure what the issue could be. Could you help me check what might be going wrong
# tcpdump -i any port 514 -AA | grep barracuda
tcpdump: data link type LINUX_SLL2Appreciate help
Hi Bony,
Thank you for your help. I’ve added the decoders and rules, and tested them, but the alerts aren’t showing up on my dashboard. I’m not sure what the issue could be. Could you help me check what might be going wrong