STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to IBM AIX 7.x Security Technical Implementation Guide

V-245559

CAT II (Medium)

The AIX /etc/hosts file must have a mode of 0640 or less permissive.

Rule ID

SV-245559r991589_rule

STIG

IBM AIX 7.x Security Technical Implementation Guide

Version

V3R2

CCIs

CCI-000366

Discussion

Unauthorized permissions of the /etc/hosts file can lead to the ability for a malicious actor to redirect traffic to servers of their choice. It is also possible to use the /etc/hosts file to block detection by security software by blocking the traffic to all the download or update servers of well-known security vendors.

Check Content

Check the mode of /etc/hosts using command:
# ls -al /etc/hosts

The above command should yield the following output:
-rw-r----- 1 root system 993 Mar 11 07:04 /etc/hosts

If the file has a mode more permissive than "0640", this is a finding.

Fix Text

Change the mode of the file to 0640 using command: 
# chmod 0640 /etc/hosts