1.3.1 Ensure AIDE is installed

Information

AIDE takes a snapshot of filesystem state including modification times, permissions, and file hashes which can then be used to compare against the current state of the filesystem to detect modifications to the system.

Rationale:

By monitoring the filesystem state compromised files can be detected to prevent or limit the exposure of accidental or malicious misconfigurations or modified binaries.

Solution

Run the following command to install AIDE:

# apt-get install aide aide-common

Configure AIDE as appropriate for your environment. Consult the AIDE documentation for options.
Initialize AIDE:

# aideinit

References:

AIDE stable manual: http://aide.sourceforge.net/stable/manual.html

Notes:

The prelinking feature can interfere with AIDE because it alters binaries to speed up their start up times. Run prelink -ua to restore the binaries to their prelinked state, thus avoiding false positives from AIDE.

See Also

https://workbench.cisecurity.org/files/2619

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-3, CSCv6|2.2, CSCv7|14.9

Plugin: Unix

Control ID: 1667a3d37555ac16296848227c0bee3eecab327bb44934a0a80eca299ec4dd9b