The AIX /etc/hosts file must be owned by root.
An XCCDF Rule
Description
Unauthorized ownership 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.
- ID
- SV-245557r991589_rule
- Version
- AIX7-00-002140
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Change the ownership of the file to root using command:
# chown root /etc/hosts