0043-libbin-priv-/bin Directory File Permissions Modified
Rule ID
Category
Level
Compatible Versions
Description
- Monitor whether the file permissions in the host's /bin directory have been modified.
Scan Frequency
Theoretical Basis
- The /bin directory contains executable files for critical system commands. If permissions change, it may prevent commands from executing, affecting the system.
Risk Items
Audit Method
- Run the following command on the specified file to verify that the Uid and Gid are both 0/root and the permissions are 755. For example, using the users file:
stat /bin/users
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
- If a permission change is detected in the /bin directory, log in as the root user and restore the permissions. Also, audit this change.
Impact
Default Value
References
CIS Controls