Ubuntu 24.04 LTS must have directories that contain system commands group-owned by root.
Overview
Finding ID
Version
Rule ID
IA Controls
Severity
V-270826
UBTU-24-901280
SV-270826r1066967_rule
Medium
Description
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.
If any system commands directories are returned that are not Set Group ID up on execution (SGID) files and owned by a privileged account, this is a finding.
Fix Text (F-74760r1066966_fix)
Configure the system commands directories to be protected from unauthorized access. Run the following command: