1.6.3 Ensure prelink is disabled

Information

prelinkis a program that modifies ELF shared libraries and ELF dynamically linked binaries in such a way that the time needed for the dynamic linker to perform relocations at startup significantly decreases.

Rationale:

The prelinking feature can interfere with the operation of AIDE, because it changes binaries. Prelinking can also increase the vulnerability of the system if a malicious user is able to compromise a common library such as libc.

Solution

Run the following command to restore binaries to normal:

# prelink -ua

Uninstall prelink using the appropriate package manager or manual installation:

# apt purge prelink

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(4), CSCv6|3.5

Plugin: Unix

Control ID: c6f9ae9f3f6a0bd2195cb277dc5b16a804138c30b348e6791b1e788709871701