SLES-12-010600 - The SUSE operating system Apparmor tool must be configured to control whitelisted applications and user home directory access control - pam_apparmor

Information

Using a whitelist provides a configuration management method for allowing the execution of only authorized software. Using only authorized software decreases risk by limiting the number of potential vulnerabilities.

The organization must identify authorized software programs and permit execution of authorized software by adding each authorized program to the 'pam_apparmor' exception policy. The process used to identify software programs that are authorized to execute on organizational information systems is commonly referred to as whitelisting.

Verification of whitelisted software occurs prior to execution or at system startup.

Users' home directories/folders may contain information of a sensitive nature. Nonprivileged users should coordinate any sharing of information with a System Administrator (SA) through shared resources.

Apparmor can confine users to their home directory, not allowing them to make any changes outside of their own home directories. Confining users to their home directory will minimize the risk of sharing information.

Satisfies: SRG-OS-000312-GPOS-00122, SRG-OS-000312-GPOS-00123SRG-OS-000312-GPOS-00124, SRG-OS-000324-GPOS-00125, SRG-OS-000326-GPOS-00126, SRG-OS-000370-GPOS-00155, SRG-OS-000480-GPOS-00230

Solution

Configure the SUSE operating system to blacklist all applications by default and permit by whitelist.

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

> sudo zypper in pam_apparmor

Enable/activate 'Apparmor' (if it is not already active) with the following command:

> sudo systemctl enable apparmor.service

Start 'Apparmor' with the following command:

> sudo systemctl start apparmor.service

Note: 'pam_apparmor' must have properly configured profiles. All configurations will be based on the actual system setup and organization. See the 'pam_apparmor' documentation for more information on configuring profiles.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SLES_12_V2R7_STIG.zip

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-3(4), 800-53|AC-6(8), 800-53|AC-6(10), 800-53|CM-7(5)(b), CAT|II, CCI|CCI-001774, CCI|CCI-002165, CCI|CCI-002233, CCI|CCI-002235, Rule-ID|SV-217158r646719_rule, STIG-ID|SLES-12-010600, STIG-Legacy|SV-91865, STIG-Legacy|V-77169, Vuln-ID|V-217158

Plugin: Unix

Control ID: 8026516d5da99e50dfd12962e9dd7c4145c7147c57dd1d99bef5f3e54c5deee3