UBTU-18-010441 - The Ubuntu operating system must be configured to use AppArmor.

Information

Control of program execution is a mechanism used to prevent execution of unauthorized programs. Some operating systems may provide a capability that runs counter to the mission or provides users with functionality that exceeds mission requirements. This includes functions and services installed at the operating system level.

Some of the programs, installed by default, may be harmful or may not be necessary to support essential organizational operations (e.g., key missions, functions). Removal of executable programs is not always possible; therefore, establishing a method of preventing program execution is critical to maintaining a secure system baseline.

Methods for complying with this requirement include restricting execution of programs in certain environments, while preventing execution in other environments; or limiting execution of certain program functionality based on organization-defined criteria (e.g., privileges, subnets, sandboxed environments, or roles).

Solution

Install 'Apparmor' (if it is not installed) with the following command:

# sudo apt-get install apparmor

# sudo systemctl enable apparmor.service

Start 'Apparmor' with the following command:

# sudo systemctl start apparmor.service

Note: Apparmor must have properly configured profiles for applications and home directories. All configurations will be based on the actual system setup and organization and normally are on a per role basis. See the 'Apparmor' documentation for more information on configuring profiles.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_18-04_LTS_V2R15_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(2), CAT|II, CCI|CCI-001764, Rule-ID|SV-219323r958804_rule, STIG-ID|UBTU-18-010441, STIG-Legacy|SV-109973, STIG-Legacy|V-100869, Vuln-ID|V-219323

Plugin: Unix

Control ID: 6fe5e345fff69c03b4e2185be0916f6e7ebf557be820ca1f4e7a1b749b7e3983