0070-grub-priv-Ensure Bootloader Configuration Permissions Are Set (-rw-------)¶
Rule ID¶
- 0070-grub-priv
Category¶
- system
Level¶
- warn
Supported Platforms¶
- Linux
Description¶
- GRUB is a multi-boot operating system bootloader from the GNU project. GRUB is an implementation of the Multiboot Specification, which allows a user to have multiple operating systems on a computer and choose which one to run when the computer starts. GRUB can be used to select different kernels on the operating system partition, and can also be used to pass boot parameters to these kernels.
Scan Frequency¶
- disable
Rationale¶
- The GRUB configuration file contains information about boot settings and the password used to unlock boot options. The GRUB2 configuration is typically stored in
grub.cfglocated in/boot/grub2/.
Risk¶
- System can be forcefully accessed by attackers.
Audit Method¶
- Run the following command and verify that Uid and Gid are both 0/root, and that Access does not grant group or other permissions:
Remediation¶
- Run the following commands to set ownership and permissions on the GRUB configuration:
Impact¶
- After setting the permissions, only the superuser can read the file.
Default Value¶
- By default, the permissions are root:root -rw-------
References¶
- None
CIS Controls¶
- Version 7
5.1 Establish Secure Configurations
Maintain documented, standard security configuration standards for all authorized operating systems and software.