You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ComplianceAsCode v0.1.76 does not do a thorough test of auditd rules. By only looking at /etc/audit/* files, false positives are possible for an arm64 architecture system when there are audit rules for syscalls chmod(), chown(), creat(), lchown(), open(), rename(), unlink() and rmdir() which are obsolete.
Description of problem:
An Ubuntu 22 system running on arm64 architecture and hardened to pass the ComplianceAsCode v0.1.76 tests will have audit rules that can't be loaded:
auditd will stop loading rules by default in such a situation and fail to load subsequent rules in /etc/audit/audit.rules leading to an incomplete set of rules.
If the obsolete syscalls are removed, auditd will load all of the rules but ComplianceAsCode tests for the obsolete syscalls fail:
Share the context
ComplianceAsCode v0.1.76 does not do a thorough test of auditd rules. By only looking at
/etc/audit/*files, false positives are possible for an arm64 architecture system when there are audit rules for syscallschmod(),chown(),creat(),lchown(),open(),rename(),unlink()andrmdir()which are obsolete.Description of problem:
An Ubuntu 22 system running on arm64 architecture and hardened to pass the ComplianceAsCode v0.1.76 tests will have audit rules that can't be loaded:
auditd will stop loading rules by default in such a situation and fail to load subsequent rules in
/etc/audit/audit.rulesleading to an incomplete set of rules.If the obsolete syscalls are removed, auditd will load all of the rules but ComplianceAsCode tests for the obsolete syscalls fail:
xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chmodxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chownxccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_creatxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lchownxccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_openxccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_renamexccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_rmdirxccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_unlinkOpenSCAP reports
Proposed changes:
auditctl -larch=b64rules for obsolete syscalls on arm64 architectureReferences: