


What email address should OSSEC sendd those alerts to? Enter a valid email address when prompted.Įnter the address that will be displayed in the From field of email alerts. For real time alerting to work, you need to install the inotify-tools package using the following command:ĭuring the installation process, you’ll be prompted to enter some information as shown in the next six images.įor this prompt, chose yes, else OSSEC will not send out email alerts. OSSEC is capable of real time alerting, but that doesn’t work out of the box. If you have all in place, let’s start by installing the lone dependiency OSSEC needs to function on a Linux system. Make a note of the location of the WordPress installation directory, because you’ll need it in step 4. A WordPress-powered blog or website running on the server.The server must be able to send out emails or you should be willing to use a third party email provider to send emails.See the Troubleshooting OSSEC section of step 2 for further instructions. Because OSSEC is chroot-ed, you need to be root to configure it. To complete this article, you’ll need to have the following in place: The same configurations may be used on most other Linux distributions. In this article, we’ll use the former approach, with all the components on the same server that WordPress is installed on.Īnd the WordPress installation used for this article was running on an Ubuntu 16.04 server. OSSEC in a manager-agent HIDS, where the manager and agent can be installed on the same server, or on different servers. In this article, you’ll learn how to use it to monitor directory and file system changes on WordPress installations. OSSEC is an open source host-based intrusion detection system (HIDS) that can be used to monitor file system changes on an operating system.
