GEN001367 M6 - The /etc/hosts file must be group-owned by wheel

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The /etc/hosts file (or equivalent) configures local host name to IP address mappings typically taking precedence over DNS resolution. If this file is maliciously modified, it could cause the failure or compromise of security functions requiring name resolution, such as time synchronization, centralized authentication, and remote system logging.

Solution

Open a terminal session and enter the following command to set the group to root.

chgrp wheel /etc/hosts

See Also

http://iase.disa.mil/stigs/os/mac/u_mac_osx_10.6_v1r3_stig_20130426.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CAT|II, CCI|CCI-000225, CSCv6|3.1, Rule-ID|SV-38083r1_rule, STIG-ID|GEN001367-M6, Vuln-ID|V-22324

Plugin: Unix

Control ID: 48373bec6f4baed3e95a877df91f5acfa79bd9d9ad424d1e864883bf030f03f4