Of course: https://pastebin.com/rDKt5eMR
The netstat is at 15:54:59, I left surrounding events and
anonymized domain and some IP addresses.
Thanks
--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/rfw97DltTLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/443b23e0-cda2-43e1-8a9a-33d35dfc0da8n%40googlegroups.com.
I restarted, the same. I simplified file
/var/ossec/etc/rules/local_rules.xml
restarted, but still receive Alert level 7 netstat notification. Can it be due to 2 email recipients (two lines email_to in ossec.conf)?
Thank you
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/b0002edf-24ec-4a67-8985-3ea202822e85n%40googlegroups.com.
Thanks, it is still sending, but not it looks like this:
Wazuh Notification. 2022 Sep 23 19:52:44 Received From: (mail.akspolek.cz) any->netstat listening ports Rule: 533 fired (level 5) -> "Listened ports status (netstat) changed (new port opened or closed)." Portion of the log(s): Before it looked like this: Wazuh Notification. 2022 Sep 21 06:20:05 Received From: (mail.akspolek.cz) any->netstat listening ports Rule: 533 fired (level 7) -> "Listened ports status (netstat) changed (new port opened or closed)." Portion of the log(s): So it helped to change the level, but not to stop sending of the lower level.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/4211e23a-1c6a-4e1c-922d-ed7fa650dc74n%40googlegroups.com.
I probably fixed the issue.
Wazuh was installed to /var/ossec/, which is mount of separate
disk. It was created by the root user and some files were owned by
the root. I changed ownership to wazuh:wazuh and since then
notifications work correctly.