Release readiness checklist
Check whether a scoped change is ready to ship and what still needs verification.
5,538,209 AI resources indexedWorking toward the world’s largest AI resource index.
Verify that AppArmor is not disabled via GRUB bootloader parameters
--- name: cis-ubuntu-14-04-lts-1-6-2-1-ensure-apparmor-is-not-6916ff8c6d4d description: "Verify that AppArmor is not disabled via GRUB bootloader parameters" category: "cis-os-hardening" version: "2.1.0" author: "cyberstrike-official" tags: - cis - ubuntu - ubuntu-14.04 - level-2 - scored - mac cis_id: "1.6.2.1" cis_benchmark: "CIS Ubuntu Linux 14.04 LTS Benchmark v2.1.0" tech_stack: - ubuntu - linux cwe_ids: [] chains_with: - cis-ubuntu1404-v210-1-6-2-2 prerequisites: [] severity_boost: "high" --- # 1.6.2.1 Ensure AppArmor is not disabled in bootloader configuration (Scored) ## Profile Applicability - Level 2 - Server - Level 2 - Workstation ## Description Configure AppArmor to be enabled at boot time and verify that it has not been overwritten by the bootloader boot parameters. ## Rationale AppArmor must be enabled at boot time in your bootloader configuration to ensure that the controls it provides are not overridden. ## Audit Procedure Run the following command and verify that no linux line the `apparmor=0` parameter set: ```bash grep "^\s*linux" /boot/grub/grub.cfg ``` ## Expected Result No linux lines should contain `apparmor=0`. ## Remediation Edit `/etc/default/grub` and remove all instances of `apparmor=0` from all CMDLINE_LINUX parameters: ``` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" ``` Run the following command to update the grub2 configuration: ```bash update-grub ``` ## Default Value AppArmor is enabled by default on Ubuntu systems. ## Notes This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings. ## References 1. AppArmor Documentation: http://wiki.apparmor.net/index.php/Documentation 2. Ubuntu AppArmor Documentation: https://help.ubuntu.com/community/AppArmor 3. SUSE AppArmor Documentation: https://www.suse.com/documentation/apparmor/ ## Profile - Level 2 - Server - Level 2 - Workstation--- name: cis-ubuntu-14-04-lts-1-6-2-1-ensure-apparmor-is-not-6916ff8c6d4d description: "Verify that AppArmor is not disabled via GRUB bootloader parameters" category: "cis-os-hardening" version: "2.1.0" author: "cyberstrike-official" tags: - cis - ubuntu - ubuntu-14.04 - level-2 - scored - mac cis_id: "1.6.2.1" cis_benchmark: "CIS Ubuntu Linux 14.04 LTS Benchmark v2.1.0" tech_stack: - ubuntu - linux cwe_ids: [] chains_with: - cis-ubuntu1404-v210-1-6-2-2 prerequisites: [] severity_boost: "high" --- # 1.6.2.1 Ensure AppArmor is not disabled in bootloader configuration (Scored) ## Profile Applicability - Level 2 - Server - Level 2 - Workstation ## Description Configure AppArmor to be enabled at boot time and verify that it has not been overwritten by the bootloader boot parameters. ## Rationale AppArmor must be enabled at boot time in your bootloader configuration to ensure that the controls it provides are not overridden. ## Audit Procedure Run the following command and verify that no linux line the `apparmor=0` parameter set: ```bash grep "^\s*linux" /boot/grub/grub.cfg ``` ## Expected Result No linux lines should contain `apparmor=0`. ## Remediation Edit `/etc/default/grub` and remove all instances of `apparmor=0` from all CMDLINE_LINUX parameters: ``` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" ``` Run the following command to update the grub2 configuration: ```bash update-grub ``` ## Default Value AppArmor is enabled by default on Ubuntu systems. ## Notes This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings. ## References 1. AppArmor Documentation: http://wiki.apparmor.net/index.php/Documentation 2. Ubuntu AppArmor Documentation: https://help.ubuntu.com/community/AppArmor 3. SUSE AppArmor Documentation: https://www.suse.com/documentation/apparmor/ ## Profile - Level 2 - Server - Level 2 - Workstation
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.