OSSEC+ config
unless specified, all edits in file etc/ossec.conf
Change rules section to this:
etc/decoders.d
etc/rules.d
etc/lists/threat
Add this in the <global> block when using kofe:
yes
Add this in the <global> block for email notification:
yes
receiver@mydomain.here
smtp.mydomain.here
ossec@mydomain.here
Add this block for daily reports by email:
authentication_success
srcip
Daily report: Successful logins
ossec.report@mydomain.here
syscheck
Daily report: File changes
ossec.report@mydomain.here
Receive syslog in OSSEC+ :
syslog
514
tcp
192.168.1.0/24
0.0.0.0
Notification in slack:
edit the active-response/bin/ossec-slack.sh script to match your slack channel and add:
slack-notify
ossec-slack.sh
user
yes
slack-notify
local
1
600