FreeBSD
TMA-FREEBSD-1.3.1
Ensure bootloader password is set
Mô tả
Setting the boot loader password will require that anyone rebooting the system must enter a password before being able to set command line boot parameters. Requiring a boot password upon execution of the boot loader will prevent an unauthorized user from entering boot parameters or changing the boot partition. This prevents users from weakening security (e.g. reducing kernel security level at boot time). Audit: a password= line must be present in /boot/loader.conf (it is stored in plain text).
Cách kiểm tra
Phương pháp kiểm tra: Mẫu tệp
- Tệp
/boot/loader.conf- Mẫu khớp
(?m)^\s*password\s*=\s*"?\S
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Add password to the /boot/loader.conf file by having an entry like the following: password=Jmklvqqq8MCqg91L
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- freebsdpassword-policy
- Tham chiếu
- CIS FreeBSD 14 Benchmark v1.0.1 - 1.3.1 Ensure bootloader password is set
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target freebsd