STIGUI
V-275579CAT II — Medium severitySV-275579r1147787_rule

Ubuntu OS must have directories that contain system commands set to a mode of "755" or less permissive.

Rule version RIIM-OS-232010 · STIG v1 · 2025-10-02

Discussion

Protecting audit information also includes identifying and protecting the tools used to view and manipulate log data. Therefore, protecting audit tools is necessary to prevent unauthorized operation on audit information.

Operating systems providing tools to interface with audit information will leverage user permissions and roles identifying the user accessing the tools and the corresponding rights the user has to make access decisions regarding the deletion of audit tools.

Audit tools include, but are not limited to, vendor-provided and open source audit tools needed to successfully view and manipulate audit information system activity and records. Audit tools include custom queries and report generators.

Check

Verify the system commands directories have mode "755" or less permissive by using the following command:

     $ find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /022 -type d -exec stat -c "%n %a" '{}' \;  

If any directories are found to be group-writable or world-writable, this is a finding.

Fix

Configure Ubuntu OS commands directories to be protected from unauthorized access. Run the following command:

     $ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /022 -type d -exec chmod -R 755 '{}' \;

Identifiers

Group ID
V-275579
Group title
SRG-OS-000258-GPOS-00099
Rule ID
SV-275579r1147787_rule
Check ID
C-79681r1147785_chk
Fix ID
F-79586r1147786_fix