Check: UBTU-24-901270
Canonical Ubuntu 24.04 LTS STIG:
UBTU-24-901270
(in version v1 r1)
Title
Ubuntu 24.04 LTS must have directories that contain system commands owned by root. (Cat II impact)
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 Content
Verify the system commands directories are owned by root with the following command: $ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -user root -type d -exec stat -c "%n %U" '{}' \; If any system commands directories are returned, this is a finding.
Fix Text
Configure the system 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 ! -user root -type d -exec chown root '{}' \;
Additional Identifiers
Rule ID: SV-270825r1066964_rule
Vulnerability ID: V-270825
Group Title: SRG-OS-000258-GPOS-00099
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001495 |
Protect audit tools from unauthorized deletion. |
Controls
Number | Title |
---|---|
AU-9 |
Protection of Audit Information |