Information
To prevent unauthorized connection of devices, unauthorized transfer of information, or unauthorized tunneling (i.e., embedding of data types within data types), organizations must disable or restrict unused or unnecessary physical and logical ports/protocols on information systems.
Operating systems are capable of providing a variety of functions and services. Some of the functions and services provided by default may not be necessary to support essential organizational operations. Additionally, it is sometimes convenient to provide multiple services from a single component (e.g., VPN and IPS); however, doing so increases risk over limiting the services provided by any one component.
To support the requirements and principles of least functionality, Amazon Linux 2023 must support the organizational requirements, providing only essential capabilities and limiting the use of ports, protocols, and/or services to only those required, authorized, and approved to conduct official business or to address authorized quality of life issues.
Satisfies: SRG-OS-000096-GPOS-00050, SRG-OS-000297-GPOS-00115, SRG-OS-000298-GPOS-00116, SRG-OS-000480-GPOS-00232, SRG-OS-000304-GPOS-00121
Solution
Configure Amazon Linux 2023 to enable the firewalld service with the following command:
$ sudo systemctl enable --now firewalld
Item Details
Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT
References: 800-53|AC-2(1), 800-53|AC-17(1), 800-53|AC-17(9), 800-53|CM-6b., 800-53|CM-7b., CAT|II, CCI|CCI-000015, CCI|CCI-000366, CCI|CCI-000382, CCI|CCI-002314, CCI|CCI-002322, Rule-ID|SV-274028r1120072_rule, STIG-ID|AZLX-23-001080, Vuln-ID|V-274028
Control ID: 9681ce4ca247f3a3d3da2effb8fd424cc5df3136a2fa3d8c14fc89c2fa26a9ad