Ensure boot loader does not allow removable media

Details

The operating system must not allow removable media to be used as the boot loader unless approved.

Rationale:

Malicious users with removable boot media can gain access to a system configured to use removable media as the boot loader. If removable media is designed to be used as the boot loader, the requirement must be documented with the Information System Security Officer (ISSO).

Solution

Remove alternate methods of booting the system from removable media or document the configuration to boot from removable media with the Authorizing Official.
Example: vim /etc/default/grub
Add this in the first menu entry

set root=(hd0,1)

Any changes made to /etc/default/grub require you to run grub2-mkconfig to re-generate the /boot/grub2/grub.cfg file.
Example:

# grub2-mkconfig -o /boot/grub2/grub.cfg

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles