Bottlerocket
TMA-BOTTLEROCKET-1.5.2
Ensure Lockdown is configured
NiskaNivo 2Automatskabottlerocket
Opis
Lockdown must be enabled in integrity mode. Note that this prevents unsigned kernel modules from being loaded. This could interfere with the operation of hardware or third-party software that depends on these modules. The audit reads /sys/kernel/security/lockdown and requires [integrity] to be selected. Run tmaegis on the host through the admin container root shell (sudo sheltie).
Kako se proverava
Metod provere: Komanda ljuske
shell
v=$(cat /sys/kernel/security/lockdown 2>/dev/null) || exit 1
printf '%s\n' "$v" | grep -Fwq '[integrity]' && echo compliant || echo "lockdown: $v"- Očekivani izlaz
compliant
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
Run the following command to enable Lockdown in integrity mode: # apiclient set kernel.lockdown=integrity
Svojstva
- Operativni sistemi
- Bilo koji
- Oznake
- bottlerocketsystem
- Referenca
- CIS Bottlerocket Benchmark v1.0.0 - 1.5.2 Ensure Lockdown is configured
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target bottlerocket --level 2