Blame SPECS/README.quickstart

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