STIGQter STIGQter: STIG Summary: Solaris 11 SPARC Security Technical Implementation Guide Version: 2 Release: 3 Benchmark Date: 23 Apr 2021:

The audit system must be configured to audit login, logout, and session initiation.

DISA Rule

SV-216265r603267_rule

Vulnerability Number

V-216265

Group Title

SRG-OS-000032

Rule Version

SOL-11.1-010310

Severity

CAT III

CCI(s)

Weight

10

Fix Recommendation

The Audit Configuration profile is required. All audit flags must be enabled in a single command.

This action applies to the global zone only. Determine the zone that you are currently securing.

# zonename

If the command output is "global", this action applies.

For Solaris 11, 11.1, 11.2, and 11.3:
# pfexec auditconfig -setflags cusa,-ps,fd,-fa,fm
# pfexec auditconfig -setnaflags lo,na

For Solaris 11.4 or newer:
# pfexec auditconfig -setflags cusa,-fa,-ex,-ps,fd,fm
# pfexec auditconfig -setnaflags lo,na

Enable the audit policy to collect command line arguments.

# pfexec auditconfig -setpolicy +argv

These changes will not affect users that are currently logged in.

Check Contents

The Audit Configuration profile is required.

Check that the audit flag for auditing login and logout is enabled.

This check applies to the global zone only. Determine the zone that you are currently securing.

# zonename

If the command output is "global", this check applies.

Determine the OS version you are currently securing.
# uname –v

For Solaris 11, 11.1, 11.2, and 11.3:
# pfexec auditconfig -getflags | grep active | cut -f2 -d=

If "lo" audit flag is not included in output, this is a finding

# pfexec auditconfig -getnaflags | grep active | cut -f2 -d=

If "na" and "lo" audit flags are not included in output, this is a finding

For Solaris 11.4 or newer:
# pfexec auditconfig -t -getflags | cut -f2 -d=

If "cusa" audit flag is not included in output, this is a finding

# pfexec auditconfig -t -getnaflags | cut -f2 -d=

If "na" and "lo" audit flags are not included in output, this is a finding

Determine if auditing policy is set to collect command line arguments.

# pfexec auditconfig -getpolicy | grep active | grep argv

If the active audit policies line does not appear, this is a finding.

Vulnerability Number

V-216265

Documentable

False

Rule Version

SOL-11.1-010310

Severity Override Guidance

The Audit Configuration profile is required.

Check that the audit flag for auditing login and logout is enabled.

This check applies to the global zone only. Determine the zone that you are currently securing.

# zonename

If the command output is "global", this check applies.

Determine the OS version you are currently securing.
# uname –v

For Solaris 11, 11.1, 11.2, and 11.3:
# pfexec auditconfig -getflags | grep active | cut -f2 -d=

If "lo" audit flag is not included in output, this is a finding

# pfexec auditconfig -getnaflags | grep active | cut -f2 -d=

If "na" and "lo" audit flags are not included in output, this is a finding

For Solaris 11.4 or newer:
# pfexec auditconfig -t -getflags | cut -f2 -d=

If "cusa" audit flag is not included in output, this is a finding

# pfexec auditconfig -t -getnaflags | cut -f2 -d=

If "na" and "lo" audit flags are not included in output, this is a finding

Determine if auditing policy is set to collect command line arguments.

# pfexec auditconfig -getpolicy | grep active | grep argv

If the active audit policies line does not appear, this is a finding.

Check Content Reference

M

Target Key

4022

Comments