FreeBSD
TMA-FREEBSD-1.3.1
Ensure bootloader password is set
高レベル 1自動freebsd
説明
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).
チェック方法
監査方法: ファイルパターン
- ファイル
/boot/loader.conf- パターン
(?m)^\s*password\s*=\s*"?\S
修正方法
修正方法: ガイダンスまたは IaC パッチ
Add password to the /boot/loader.conf file by having an entry like the following: password=Jmklvqqq8MCqg91L
プロパティ
- オペレーティングシステム
- すべて
- タグ
- freebsdpassword-policy
- 参照
- CIS FreeBSD 14 Benchmark v1.0.1 - 1.3.1 Ensure bootloader password is set
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target freebsd