1.5.4 Ensure prelink is disabled

Information

prelink is 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

Run the following command to uninstall prelink:

# apt-get remove prelink

See Also

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

Item Details

Category: ACCESS CONTROL, AUDIT AND ACCOUNTABILITY

References: 800-53|AC-6(9), 800-53|AU-2, 800-53|AU-12, CSCv6|3.5, CSCv7|14.9

Plugin: Unix

Control ID: beca15703ca16a4b7b819b62584595136f4c15856b2de1465a9b36b485529850