SV-64605r1_rule
V-29253
GEN002820-5
GEN002820-5
CAT II
10
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules.
On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details.
Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately.
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding.
Procedure:
Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications.
-a exit,always -F arch=<ARCH> -S fchown
Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64):
-a exit,always -F arch=<ARCH> -S fchown32
Restart the auditd service.
# service auditd restart
Check the system's audit configuration.
Procedure:
# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchown"
If "-S fchown" is not in the result, this is a finding.
Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64):
# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchown32"
If "-S fchown32" is not in the result, this is a finding.
V-29253
False
GEN002820-5
Check the system's audit configuration.
Procedure:
# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchown"
If "-S fchown" is not in the result, this is a finding.
Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64):
# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchown32"
If "-S fchown32" is not in the result, this is a finding.
M
System Administrator
2207