Top Nav

AIDE

AIDE or Advanced Intrusion Detection Environment is a great tool for host based system integrity monitoring. AIDE will maintain a database of checksums on the content and attributes of critical system files. If these files change then a notification email will be sent.

Here’s the homepage for the AIDE project: http://aide.sourceforge.net/

Installing AIDE is easy since it’s available via yum:

Edit the configuration file at /etc/aide.conf and make the following changes:

  1. Change “verbose” from 5 to 0.
  2. Change rule for “/var/log/lastlog” from “LSPP” to “LOG”

To setup just do:

Also add a daily cronjob that runs a check operation:

This job will send notification email to “root”. Make sure “root” is aliased to an appropriate address so the notifications will actually be received.

The procedure when you receive a notification should be to:

  1. Review the changed files and confirm that the changes are legitimate.
  2. Update the aide database to reflect the new content/properties.

Here’s the update procedure:

If you don’t update the database then you’ll keep getting the same notifications over and over.