SV-238360r654255_rule
V-238360
SRG-OS-000368-GPOS-00154
UBTU-20-010439
CAT II
10
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.
Verify the operating system prevents program execution in accordance with local policies.
Check that AppArmor is installed and active by running the following command,
$ dpkg -l | grep apparmor
If the "apparmor" package is not installed, this is a finding.
$ systemctl is-active apparmor.service
active
If "active" is not returned, this is a finding.
$ systemctl is-enabled apparmor.service
enabled
If "enabled" is not returned, this is a finding.
V-238360
False
UBTU-20-010439
Verify the operating system prevents program execution in accordance with local policies.
Check that AppArmor is installed and active by running the following command,
$ dpkg -l | grep apparmor
If the "apparmor" package is not installed, this is a finding.
$ systemctl is-active apparmor.service
active
If "active" is not returned, this is a finding.
$ systemctl is-enabled apparmor.service
enabled
If "enabled" is not returned, this is a finding.
M
5318