Blame SPECS/README.quickstart

Packit 64ed99
1) Customize /etc/aide.conf to your liking. In particular, add
Packit 64ed99
   important directories and files which you would like to be
Packit 64ed99
   covered by integrity checks. Avoid files which are expected
Packit 64ed99
   to change frequently or which don't affect the safety of your
Packit 64ed99
   system.
Packit 64ed99
Packit 64ed99
2) Run "/usr/sbin/aide --init" to build the initial database.
Packit 64ed99
   With the default setup, that creates /var/lib/aide/aide.db.new.gz
Packit 64ed99
Packit 64ed99
3) Store /etc/aide.conf, /usr/sbin/aide and /var/lib/aide/aide.db.new.gz
Packit 64ed99
   in a secure location, e.g. on separate read-only media (such as
Packit 64ed99
   CD-ROM). Alternatively, keep MD5 fingerprints or GPG signatures
Packit 64ed99
   of those files in a secure location, so you have means to verify
Packit 64ed99
   that nobody modified those files.
Packit 64ed99
Packit 64ed99
4) Copy /var/lib/aide/aide.db.new.gz to /var/lib/aide/aide.db.gz
Packit 64ed99
   which is the location of the input database.
Packit 64ed99
Packit 64ed99
5) Run "/usr/sbin/aide --check" to check your system for inconsistencies
Packit 64ed99
   compared with the AIDE database. Prior to running a check manually,
Packit 64ed99
   ensure that the AIDE binary and database have not been modified
Packit 64ed99
   without your knowledge.
Packit 64ed99
   
Packit 64ed99
   Caution! 
Packit 64ed99
   
Packit 64ed99
   With the default setup, an AIDE check is not run periodically as a
Packit 64ed99
   cron job. It cannot be guaranteed that the AIDE binaries, config
Packit 64ed99
   file and database are intact. It is not recommended that you run
Packit 64ed99
   automated AIDE checks without verifying AIDE yourself frequently.
Packit 64ed99
   In addition to that, AIDE does not implement any password or
Packit 64ed99
   encryption protection for its own files.
Packit 64ed99
   
Packit 64ed99
   It is up to you how to put a file integrity checker to good effect
Packit 64ed99
   and how to set up automated checks if you think it adds a level of
Packit 64ed99
   safety (e.g. detecting failed/incomplete compromises or unauthorized
Packit 64ed99
   modification of special files). On a compromised system, the
Packit 64ed99
   intruder could disable the automated check. Or he could replace the
Packit 64ed99
   AIDE binary, config file and database easily when they are not
Packit 64ed99
   located on read-only media. 
Packit 64ed99