RHEL-06-000191 - The audit system must be configured to audit all discretionary access control permission modifications using fsetxattr - auid=0 32 bit

Information

The changing of file permissions could indicate that a user is attempting to gain access to information that would otherwise be disallowed. Auditing DAC modifications can facilitate the identification of patterns of abuse among both authorized and unauthorized users.

Solution

At a minimum, the audit system should collect file permission changes for all users and root. Add the following to '/etc/audit/audit.rules':

-a always,exit -F arch=b32 -S fsetxattr -F auid>=500 -F auid!=4294967295
-k perm_mod
-a always,exit -F arch=b32 -S fsetxattr -F auid=0 -k perm_mod

If the system is 64-bit, then also add the following:

-a always,exit -F arch=b64 -S fsetxattr -F auid>=500 -F auid!=4294967295
-k perm_mod
-a always,exit -F arch=b64 -S fsetxattr -F auid=0 -k perm_mod

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|III, CCI|CCI-000172, Rule-ID|SV-217969r603264_rule, STIG-ID|RHEL-06-000191, STIG-Legacy|SV-50358, STIG-Legacy|V-38557, Vuln-ID|V-217969

Plugin: Unix

Control ID: 791e9c9abb37f5157ecc31341024e6fdc11caf16cb8ace463d1436bb357c8741