{"description": "Ubuntu 22.04 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 enjoys, to make access decisions regarding the access to audit tools.\n\nAudit 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.\n\nAudit tools must have a mode of 0755 or less permissive.", "rationale": "Protecting audit information also includes identifying and protecting the tools used to view and manipulate log data.\nTherefore, protecting audit tools is necessary to prevent unauthorized operations on audit information.", "severity": "medium", "references": {"nist": ["AU-9"], "srg": ["SRG-OS-000256-GPOS-00097", "SRG-OS-000257-GPOS-00098", "SRG-OS-000258-GPOS-00099"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "any of these files have more permissive permissions than 0755", "ocil": "Verify the audit tools are protected from unauthorized access, deletion, or modification by checking the permissive mode.\n\nCheck the octal permission of each audit tool by running the following command:\n\n$ sudo stat -c \"%U %n\" /sbin/auditctl /sbin/aureport /sbin/ausearch /sbin/autrace /sbin/auditd /sbin/rsyslogd /sbin/augenrules", "oval_external_content": null, "fixtext": "Configure the audit tools to be owned by \"root\", by running the following command:\n\n$ sudo chmod 0755 [audit_tool]\n\nReplace \"[audit_tool]\" with each audit tool that has a more permissive mode than 0755.", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 audit tools must have a mode of 0755 or less permissive.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 audit tools must have a mode of 0755 or less permissive.", "vuldiscussion": "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.\n\nUbuntu 22.04 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 enjoys, to make access decisions regarding the access to audit tools.\n\nAudit 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.", "checktext": "Verify the audit tools have a mode of \"0755\" or less with the following command:\n\n$ stat -c \"%a %n\" /sbin/auditctl /sbin/aureport /sbin/ausearch /sbin/autrace /sbin/auditd /sbin/rsyslogd /sbin/augenrules\n\n755 /sbin/auditctl\n755 /sbin/aureport\n755 /sbin/ausearch\n750 /sbin/autrace\n755 /sbin/auditd\n755 /sbin/rsyslogd\n755 /sbin/augenrules\n\nIf any of the audit tool files have a mode more permissive than \"0755\", this is a finding.", "fixtext": "Configure the audit tools to have a mode of \"0755\" by running the following command:\n\n$ sudo chmod 0755 [audit_tool]\n\nReplace \"[audit_tool]\" with each audit tool that has a more permissive mode than 0755."}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Audit Tools Must Have a Mode of 0755 or Less Permissive", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/integrity/software-integrity/aide/file_audit_tools_permissions/rule.yml", "template": {"name": "file_permissions", "vars": {"filepath": ["/sbin/auditctl", "/sbin/aureport", "/sbin/ausearch", "/sbin/autrace", "/sbin/auditd", "/sbin/rsyslogd", "/sbin/augenrules"], "filemode": "0755"}, "backends": {}}}