OL6-00-000018 - A file integrity baseline must be created.

Information

For AIDE to be effective, an initial database of 'known-good' information about files must be captured and it should be able to be verified against the installed files.

Solution

Run the following command to generate a new database:

# /usr/sbin/aide --init

By default, the database will be written to the file '/var/lib/aide/aide.db.new.gz'. Storing the database, the configuration file '/etc/aide.conf', and the binary '/usr/sbin/aide' (or hashes of these files), in a secure location (such as on read-only media) provides additional assurance about their integrity. The newly-generated database can be installed as follows:

# cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz

To initiate a manual check, run the following command:

# /usr/sbin/aide --check

If this check produces any unexpected output, investigate.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_6_V1R17_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-7(1), CAT|II, CCI|CCI-000366, Group-ID|V-59353, Rule-ID|SV-73783r1_rule, STIG-ID|OL6-00-000018, Vuln-ID|V-59353

Plugin: Unix

Control ID: be1b19e57cb4865a96efdca9948b505090f2b533c47c5105a38cdbe6d645cbf0