RHEL-06-000018 - A file integrity baseline must be created.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

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_RHEL_6_V2R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001774, Rule-ID|SV-217859r505923_rule, STIG-ID|RHEL-06-000018, STIG-Legacy|SV-65601, STIG-Legacy|V-51391, Vuln-ID|V-217859

Plugin: Unix

Control ID: 7dc0652412f90607fb48d414f30eca658609586b5d0071d25c094269dcde2d03