TMA-BOTTLEROCKET-1.5.2
Ensure Lockdown is configured
FaibleNiveau 2Automatiséebottlerocket
Description
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).
Méthode de vérification
Méthode d'audit: Commande shell
shell
v=$(cat /sys/kernel/security/lockdown 2>/dev/null) || exit 1
printf '%s\n' "$v" | grep -Fwq '[integrity]' && echo compliant || echo "lockdown: $v"- Sortie attendue
compliant
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Run the following command to enable Lockdown in integrity mode: # apiclient set kernel.lockdown=integrity
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- bottlerocketsystem
- Référence
- CIS Bottlerocket Benchmark v1.0.0 - 1.5.2 Ensure Lockdown is configured
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target bottlerocket --level 2