SV-215240r508663_rule
V-215240
SRG-OS-000042-GPOS-00020
AIX7-00-002006
CAT II
10
Reset the audit system with the following command:
# /usr/sbin/audit shutdown
Start the audit system with the following command:
# /usr/sbin/audit start
Verify the audit daemon is configured for full-text recording of privileged commands:
The log file can be set by the "trail" variable in /etc/security/audit/config.
# grep trail /etc/security/audit/config
trail = /audit/trail
Note: The default log file is /audit/trail.
Use the following command to display the audit events:
# /usr/sbin/auditpr -i <audit log file> -v
event login status time command
wpar name
--------------- -------- ----------- ------------------------ ------------------
------------- -------------------------
S_PASSWD_READ root OK Sat Aug 26 19:35:00 2017 cron
Global
audit object read event detected /etc/security/passwd
S_PASSWD_READ root OK Sat Aug 26 19:35:00 2017 cron
Global
audit object read event detected /etc/security/passwd
CRON_Start root OK Sat Aug 26 19:35:00 2017 cron
Global
event = start cron job cmd = /usr/sbin/dumpctrl -k >/dev/null 2>/dev/nul
l time = Sat Aug 26 19:35:00 2017
FS_Chdir root OK Sat Aug 26 19:35:00 2017 cron
Global
change current directory to: /
If the full-text recording of privileged command is not displayed, this is a finding.
More information on the command options used above:
- v detailed information for the event
V-215240
False
AIX7-00-002006
Verify the audit daemon is configured for full-text recording of privileged commands:
The log file can be set by the "trail" variable in /etc/security/audit/config.
# grep trail /etc/security/audit/config
trail = /audit/trail
Note: The default log file is /audit/trail.
Use the following command to display the audit events:
# /usr/sbin/auditpr -i <audit log file> -v
event login status time command
wpar name
--------------- -------- ----------- ------------------------ ------------------
------------- -------------------------
S_PASSWD_READ root OK Sat Aug 26 19:35:00 2017 cron
Global
audit object read event detected /etc/security/passwd
S_PASSWD_READ root OK Sat Aug 26 19:35:00 2017 cron
Global
audit object read event detected /etc/security/passwd
CRON_Start root OK Sat Aug 26 19:35:00 2017 cron
Global
event = start cron job cmd = /usr/sbin/dumpctrl -k >/dev/null 2>/dev/nul
l time = Sat Aug 26 19:35:00 2017
FS_Chdir root OK Sat Aug 26 19:35:00 2017 cron
Global
change current directory to: /
If the full-text recording of privileged command is not displayed, this is a finding.
More information on the command options used above:
- v detailed information for the event
M
4012