Check: AZLX-23-002450
Amazon Linux 2023 STIG:
AZLX-23-002450
(in version v1 r1)
Title
Amazon Linux 2023 must use a Linux Security Module configured to enforce limits on system services. (Cat I impact)
Discussion
An isolation boundary provides access control and protects the integrity of the hardware, software, and firmware that perform security functions. Security functions are the hardware, software, and/or firmware of the information system responsible for enforcing the system security policy and supporting the isolation of code and data on which the protection is based. Operating systems implement code separation (i.e., separation of security functions from nonsecurity functions) in a number of ways, including through the provision of security kernels via processor rings or processor modes. For nonkernel code, security function isolation is often achieved through file system protections that serve to protect the code on disk and address space protections that protect executing code. Developers and implementers can increase the assurance in security functions by employing well-defined security policy models; structured, disciplined, and rigorous hardware and software development techniques; and sound system/security engineering principles. Implementation may include isolation of memory space and libraries. Operating systems restrict access to security functions through the use of access control mechanisms and by implementing least privilege capabilities. Satisfies: SRG-OS-000134-GPOS-00068, SRG-OS-000445-GPOS-00199
Check Content
Verify Amazon Linux 2023 verifies the correct operation of security functions through the use of SELinux with the following command: $ getenforce Enforcing If SELINUX is not set to "Enforcing", this is a finding.
Fix Text
Configure Amazon Linux 2023 to verify correct operation of security functions. Edit the file "/etc/selinux/config" and add or modify the following line: SELINUX=enforcing A reboot is required for the changes to take effect.
Additional Identifiers
Rule ID: SV-274153r1120713_rule
Vulnerability ID: V-274153
Group Title: SRG-OS-000134-GPOS-00068
Expert Comments
CCIs
| Number | Definition |
|---|---|
| CCI-001084 |
Isolate security functions from nonsecurity functions. |
| CCI-002696 |
Verify correct operation of organization-defined security functions. |