3.4.3 Ensure /etc/hosts.deny is configured

Information

The /etc/hosts.deny file serves as a failsafe so that any host not specified in /etc/hosts.allow is denied access to the system.

Solution

Run the following command to create /etc/hosts.deny: # echo 'ALL: ALL' >> /etc/hosts.deny

See Also

https://workbench.cisecurity.org/files/1861

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(5), CSCv6|9.2

Plugin: Unix

Control ID: 2146561a130bf9c14bfb2ddb795e35e149ee8d126d69f7a90cc60555964c9e9e