PHTN-67-000071 - The Photon operating system must generate audit records when the sudo command is used.

Information

Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.

Audit records can be generated from various components within the information system (e.g., module or policy filter).

Satisfies: SRG-OS-000458-GPOS-00203, SRG-OS-000463-GPOS-00207, SRG-OS-000466-GPOS-00210, SRG-OS-000468-GPOS-00212

Solution

Open /etc/audit/rules.d/audit.STIG.rules with a text editor and add the following lines:

-a always,exit -F path=/usr/bin/sudo -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged

At the command line, execute the following command:

# /sbin/augenrules --load

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, CCI|CCI-000172, Rule-ID|SV-239142r821356_rule, STIG-ID|PHTN-67-000071, Vuln-ID|V-239142

Plugin: Unix

Control ID: 496051495756cb351a83afdc38cd0c1a68ebe554ee8097ff582923b98cbdfe64