Skip to content

0043-libbin-priv-/bin Directory File Permission Modified


Rule ID

  • 0043-libbin-priv

Category

  • system

Level

  • warn

Compatible Versions

  • Linux

Description

  • Monitor whether file permissions under the host /bin directory have been modified.

Scan Frequency

  • disable

Rationale

  • The /bin directory contains executable files for essential system commands. If permissions are changed, commands may become unexecutable, affecting the system.

Risk Items

  • Function unavailable

Audit Method

  • Run the following command on the specified file (using users as an example) and verify that Uid and Gid are both 0/root and permissions are 755:
stat /bin/users
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

Remediation

  • If file permissions under the /bin directory are detected to have been changed, log in to the server as the root user, restore the permissions, and audit the change.

Impact

  • None

Default Value

  • None

References

  • None

CIS Controls

  • None

Feedback

Is this page helpful?