CIS Oracle Solaris 11.4 Benchmark

Secure configuration guidelines for Oracle Solaris 11.4 operating system

v1.1.0 August 2025

Overview

▶

This CIS Benchmark provides prescriptive guidance for establishing a secure configuration posture for Oracle Solaris 11.4. Recommendations cover IPS package management, ZFS encryption, SMF services, network hardening with ipadm and IP Filter, Solaris auditing, SSH configuration, and password policy enforcement.

~200Recommendations
6Sections
2Profile Levels
SectionAreaFocus
1Initial SetupIPS, ZFS, boot environments
2ServicesSMF service management
3Networkipadm, IP Filter
4LoggingSolaris audit, syslog
5AccessSSH, password policy
6MaintenanceFile perms, accounts

Profile Definitions

▶
ProfileDescriptionIntended Use
L1Level 1 — StandardEssential security for all Oracle Solaris 11.4 deployments; minimal performance impact.
L2Level 2 — HardenedAdvanced hardening for PCI-DSS, HIPAA, or high-security environments.

1 — Initial Setup

▶

1.1 Filesystem & Boot

▶
1.1.1 Ensure Package Integrity Is Verified (Automated)
L1 Auto
Description

This recommendation verifies that Package Integrity Is Verified on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
pkg verify
# Verify package integrity — check for modified files

pkg verify -v 2>&1 | head -30
Remediation
# Reinstall packages with integrity errors:
pkg fix <package_name>

# Full system verification and fix:
pkg verify 2>&1 | awk '/ERROR/ {print $2}' | xargs -I{} pkg fix {}
1.1.2 Ensure Only Trusted Publishers Are Configured (Automated)
L1 Auto
Description

This recommendation verifies that Only Trusted Publishers Are Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
pkg publisher
# Verify configured publishers
# Ensure only trusted publishers are listed

pkg publisher -P
Remediation
# Remove untrusted publishers:
pkg unset-publisher <publisher_name>

# Set approved publisher:
pkg set-publisher -G '*' -g https://pkg.oracle.com/solaris/support/ solaris
1.1.3 Ensure Boot Environments Are Configured (Automated)
L1 Auto
Description

This recommendation verifies that Boot Environments Are Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
beadm list
# Verify boot environments are configured
# Check for recovery boot environment
Remediation
# Create a boot environment before changes:
beadm create pre-hardening-$(date +%Y%m%d)
beadm activate pre-hardening-$(date +%Y%m%d)
1.1.4 Ensure ZFS Encryption Is Used for Sensitive Data (Manual)
L2 Manual
Description

This recommendation verifies that ZFS Encryption Is Used for Sensitive Data on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
zfs get encryption rpool
zfs get encryption rpool/ROOT
# Verify ZFS encryption is enabled on sensitive datasets
Remediation
# Enable encryption on new datasets:
zfs create -o encryption=aes-256-ccm -o keysource=passphrase,prompt rpool/encrypted_data

# Note: Cannot encrypt existing datasets in place — must create new and migrate

1.2 User & Access Defaults

▶
1.2.1 Ensure Console Login Restrictions Are Set (Automated)
L1 Auto
Description

This recommendation verifies that Console Login Restrictions Are Set on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
grep '^CONSOLE=' /etc/default/login
# Should return: CONSOLE=/dev/console

grep 'SUPATH\|PATH' /etc/default/login
Remediation
# Edit /etc/default/login:
gsed -i 's/^#\?CONSOLE=.*/CONSOLE=\/dev\/console/' /etc/default/login
1.2.2 Ensure Login Retry Limits Are Configured (Automated)
L1 Auto
Description

This recommendation verifies that Login Retry Limits Are Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
grep 'RETRIES' /etc/default/login
# Should show RETRIES=3 or less

grep 'SYSLOG_FAILED_LOGINS' /etc/default/login
Remediation
# Edit /etc/default/login:
gsed -i 's/^#\?RETRIES=.*/RETRIES=3/' /etc/default/login
gsed -i 's/^#\?SYSLOG_FAILED_LOGINS=.*/SYSLOG_FAILED_LOGINS=0/' /etc/default/login
1.2.3 Ensure Root Account Is Secured (Automated)
L1 Auto
Description

This recommendation verifies that Root Account Is Secured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
passwd -s root
# Verify root password status (PS = password set)

rolemod -K type=role root 2>/dev/null
getent user_attr root
Remediation
# Set root as a role (requires sudo for access):
rolemod -K type=role root

# Or enforce root password aging:
passwd -x 90 -n 7 -w 14 root

2 — Services

▶

2.1 Disable Unnecessary Services

▶
2.1.1 Ensure Telnet Service Is Disabled (Automated)
L1 Auto
Description

This recommendation verifies that Telnet Service Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
svcs -a | grep telnet
# Should show disabled or not found

inetadm -l svc:/network/telnet:default 2>/dev/null
Remediation
svcadm disable svc:/network/telnet:default
inetadm -d svc:/network/telnet:default
2.1.2 Ensure FTP Service Is Disabled (Automated)
L1 Auto
Description

This recommendation verifies that FTP Service Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
svcs -a | grep ftp
# Should show disabled

inetadm -l svc:/network/ftp:default 2>/dev/null
Remediation
svcadm disable svc:/network/ftp:default
inetadm -d svc:/network/ftp:default
2.1.3 Ensure rlogin/rsh/rexec Services Are Disabled (Automated)
L1 Auto
Description

This recommendation verifies that rlogin/rsh/rexec Services Are Disabled on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
svcs -a | grep rlogin
svcs -a | grep rsh
svcs -a | grep rexec
# All should be disabled or not found
Remediation
svcadm disable svc:/network/login:rlogin
svcadm disable svc:/network/shell:default
svcadm disable svc:/network/rexec:default
2.1.4 Ensure Sendmail Is Local-Only or Disabled (Automated)
L1 Auto
Description

This recommendation verifies that Sendmail Is Local-Only or Disabled on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
svcs -a | grep sendmail
# Check if sendmail is running

svcs -p svc:/network/smtp:sendmail
Remediation
# If not a mail server:
svcadm disable svc:/network/smtp:sendmail

# If needed, restrict to local only:
svccfg -s svc:/network/smtp:sendmail setprop config/local_only = true
svcadm refresh svc:/network/smtp:sendmail
svcadm restart svc:/network/smtp:sendmail
2.1.5 Ensure NFS Server Is Disabled Unless Required (Automated)
L1 Auto
Description

This recommendation verifies that NFS Server Is Disabled Unless Required on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
svcs -a | grep nfs/server
svcs -a | grep nfs/client
# Review NFS status
Remediation
# Disable NFS server if not required:
svcadm disable svc:/network/nfs/server:default
svcadm disable svc:/network/nfs/mapid:default
svcadm disable svc:/network/nfs/status:default
2.1.6 Ensure SNMP Is Disabled Unless Required (Automated)
L1 Auto
Description

This recommendation verifies that SNMP Is Disabled Unless Required on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
svcs -a | grep -i snmp
svcs -a | grep sma
# Should be disabled unless SNMP is required
Remediation
svcadm disable svc:/application/management/net-snmp:default
svcadm disable svc:/application/management/sma:default

3 — Network Configuration

▶

3.1 Network Parameters

▶
3.1.1 Ensure IP Forwarding Is Disabled (Automated)
L1 Auto
Description

This recommendation verifies that IP Forwarding Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
ipadm show-prop -p forwarding -o CURRENT ipv4
ipadm show-prop -p forwarding -o CURRENT ipv6
# Both should return: off
Remediation
ipadm set-prop -p forwarding=off ipv4
ipadm set-prop -p forwarding=off ipv6
3.1.2 Ensure Broadcast Echo Responses Are Disabled (Automated)
L1 Auto
Description

This recommendation verifies that Broadcast Echo Responses Are Disabled on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
ipadm show-prop -p _respond_to_echo_broadcast -o CURRENT ipv4
# Should return: 0
Remediation
ipadm set-prop -p _respond_to_echo_broadcast=0 ipv4
3.1.3 Ensure ICMP Redirects Are Ignored (Automated)
L1 Auto
Description

This recommendation verifies that ICMP Redirects Are Ignored on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
ipadm show-prop -p _ignore_redirect -o CURRENT ipv4
ipadm show-prop -p _ignore_redirect -o CURRENT ipv6
# Both should return: 1
Remediation
ipadm set-prop -p _ignore_redirect=1 ipv4
ipadm set-prop -p _ignore_redirect=1 ipv6
3.1.4 Ensure Strict Multihoming Is Enabled (Automated)
L1 Auto
Description

This recommendation verifies that Strict Multihoming Is Enabled on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
ipadm show-prop -p _strict_dst_multihoming -o CURRENT ipv4
# Should return: 1
Remediation
ipadm set-prop -p _strict_dst_multihoming=1 ipv4
ipadm set-prop -p _strict_dst_multihoming=1 ipv6
3.1.5 Ensure Send Redirects Are Disabled (Automated)
L1 Auto
Description

This recommendation verifies that Send Redirects Are Disabled on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
ipadm show-prop -p _send_redirects -o CURRENT ipv4
# Should return: 0
Remediation
ipadm set-prop -p _send_redirects=0 ipv4

3.2 IP Filter Firewall

▶
3.2.1 Ensure IP Filter Is Enabled with Rules (Automated)
L1 Auto
Description

This recommendation verifies that IP Filter Is Enabled with Rules on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
svcs -a | grep ipfilter
pfctl -s rules 2>/dev/null || ipfstat -io 2>/dev/null
# Verify packet filter is running with rules
Remediation
# Enable IP Filter:
svcadm enable svc:/network/ipfilter:default

# Configure rules in /etc/ipf/ipf.conf:
echo 'block in all' >> /etc/ipf/ipf.conf
echo 'pass in on lo0 all' >> /etc/ipf/ipf.conf
echo 'pass in proto tcp from any to any port = 22' >> /etc/ipf/ipf.conf
ipf -Fa -f /etc/ipf/ipf.conf
3.2.2 Ensure Default Deny Policy Is Configured (Automated)
L1 Auto
Description

This recommendation verifies that Default Deny Policy Is Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
cat /etc/ipf/ipf.conf
# Verify default deny rule exists
# Should contain: block in all
Remediation
# Add default deny to /etc/ipf/ipf.conf:
echo 'block in all' > /etc/ipf/ipf.conf
echo 'block out all' >> /etc/ipf/ipf.conf
# Then add specific allow rules
ipf -Fa -f /etc/ipf/ipf.conf

4 — Logging & Auditing

▶

4.1 Solaris Auditing

▶
4.1.1 Ensure Audit Service Is Enabled (Automated)
L1 Auto
Description

This recommendation verifies that Audit Service Is Enabled on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
svcs -a | grep audit
auditconfig -getpolicy
# Verify auditing is enabled with proper policy
Remediation
svcadm enable svc:/system/auditd:default
auditconfig -setpolicy +cnt,+argv,+arge
4.1.2 Ensure Audit Flags Are Configured (Automated)
L1 Auto
Description

This recommendation verifies that Audit Flags Are Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
auditconfig -getflags
# Review audit flags — should include lo,ad,ft,ex,fm

auditconfig -getnaflags
Remediation
auditconfig -setflags lo,ad,ft,ex,fm,fw,fc,fd
auditconfig -setnaflags lo,ad,ft,ex
4.1.3 Ensure Audit Storage Is Configured (Automated)
L1 Auto
Description

This recommendation verifies that Audit Storage Is Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
auditconfig -getplugin audit_binfile
# Verify audit log storage is configured

ls -la /var/audit/
Remediation
# Configure audit binary file plugin:
auditconfig -setplugin audit_binfile active p_dir=/var/audit

# Set audit log size:
auditconfig -setplugin audit_binfile active p_fsize=4M
4.1.4 Ensure Audit Syslog Plugin Is Active (Automated)
L2 Auto
Description

This recommendation verifies that Audit Syslog Plugin Is Active on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
auditconfig -getplugin audit_syslog
# Check if audit events are sent to syslog
Remediation
auditconfig -setplugin audit_syslog active p_flags=lo,ad,ft
svcadm refresh svc:/system/auditd:default

4.2 System Logging

▶
4.2.1 Ensure Remote Log Reception Is Disabled (Automated)
L1 Auto
Description

This recommendation verifies that Remote Log Reception Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
svcs -a | grep system-log
svcprop -p config/log_from_remote svc:/system/system-log:default
# Should return: false (unless log server)
Remediation
svccfg -s svc:/system/system-log:default setprop config/log_from_remote = false
svcadm refresh svc:/system/system-log:default
svcadm restart svc:/system/system-log:default
4.2.2 Ensure Remote Log Forwarding Is Configured (Automated)
L1 Auto
Description

This recommendation verifies that Remote Log Forwarding Is Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
grep -v '^#' /etc/syslog.conf | grep '@'
# Verify remote log host is configured
Remediation
# Add to /etc/syslog.conf:
echo '*.warning;auth.info\t\t@loghost.example.com' >> /etc/syslog.conf
svcadm restart svc:/system/system-log:default
4.2.3 Ensure Log File Permissions Are Restrictive (Automated)
L1 Auto
Description

This recommendation verifies that Log File Permissions Are Restrictive on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
find /var/log -type f -perm /037 -ls 2>/dev/null
find /var/adm -type f -perm /037 -ls 2>/dev/null
ls -la /var/log/syslog /var/adm/messages
Remediation
chmod 640 /var/log/syslog
chmod 640 /var/adm/messages
find /var/log -type f -perm /037 -exec chmod 640 {} \;

5 — Access & Authentication

▶

5.1 SSH Configuration

▶
5.1.1 Ensure SSH Root Login Is Disabled (Automated)
L1 Auto
Description

This recommendation verifies that SSH Root Login Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
sshd -T | grep permitrootlogin
# Should return: no

grep -i '^PermitRootLogin' /etc/ssh/sshd_config
Remediation
gsed -i 's/^#\?PermitRootLogin.*/PermitRootLogin no/' /etc/ssh/sshd_config
svcadm restart svc:/network/ssh:default
5.1.2 Ensure SSH Protocol 2 Is Enforced (Automated)
L1 Auto
Description

This recommendation ensures that SSH Protocol 2 Is Enforced on the Oracle Solaris 11.4 Unix operating system. Enforcing this requirement establishes a minimum security standard and prevents insecure configurations.

Rationale

Without this enforcement, the Oracle Solaris 11.4 Unix operating system may accept insecure configurations that weaken overall security posture. Mandating this control ensures consistent protection against common attack vectors.

Audit
sshd -T | grep protocol
# SSH on Solaris 11.4 defaults to Protocol 2
Remediation
gsed -i 's/^#\?Protocol.*/Protocol 2/' /etc/ssh/sshd_config
svcadm restart svc:/network/ssh:default
5.1.3 Ensure SSH PermitEmptyPasswords Is Disabled (Automated)
L1 Auto
Description

This recommendation verifies that SSH PermitEmptyPasswords Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
sshd -T | grep permitemptypasswords
# Should return: no
Remediation
gsed -i 's/^#\?PermitEmptyPasswords.*/PermitEmptyPasswords no/' /etc/ssh/sshd_config
svcadm restart svc:/network/ssh:default
5.1.4 Ensure SSH MaxAuthTries Is Set to 4 or Less (Automated)
L1 Auto
Description

This recommendation verifies that SSH MaxAuthTries Is Set to 4 or Less on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
sshd -T | grep maxauthtries
# Should return 4 or less
Remediation
gsed -i 's/^#\?MaxAuthTries.*/MaxAuthTries 4/' /etc/ssh/sshd_config
svcadm restart svc:/network/ssh:default
5.1.5 Ensure SSH X11 Forwarding Is Disabled (Automated)
L2 Auto
Description

This recommendation verifies that SSH X11 Forwarding Is Disabled on the Oracle Solaris 11.4 Unix operating system. Disabling or removing unnecessary components reduces the attack surface and limits potential vectors for exploitation.

Rationale

Running unnecessary components on the Oracle Solaris 11.4 Unix operating system increases the attack surface and the risk of exploitation. Disabling or removing them follows the principle of least functionality and reduces exposure to known vulnerabilities.

Audit
sshd -T | grep x11forwarding
# Should return: no
Remediation
gsed -i 's/^#\?X11Forwarding.*/X11Forwarding no/' /etc/ssh/sshd_config
svcadm restart svc:/network/ssh:default

5.2 Password Policy

▶
5.2.1 Ensure Password Length and Complexity Are Set (Automated)
L1 Auto
Description

This recommendation verifies that Password Length and Complexity Are Set on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
grep '^PASSLENGTH' /etc/default/passwd
# Should be >= 14
grep '^MINDIGIT\|^MINUPPER\|^MINLOWER\|^MINSPECIAL' /etc/default/passwd
Remediation
gsed -i 's/^#\?PASSLENGTH=.*/PASSLENGTH=14/' /etc/default/passwd
gsed -i 's/^#\?MINDIGIT=.*/MINDIGIT=1/' /etc/default/passwd
gsed -i 's/^#\?MINUPPER=.*/MINUPPER=1/' /etc/default/passwd
gsed -i 's/^#\?MINLOWER=.*/MINLOWER=1/' /etc/default/passwd
gsed -i 's/^#\?MINSPECIAL=.*/MINSPECIAL=1/' /etc/default/passwd
5.2.2 Ensure Password History and Aging Are Configured (Automated)
L1 Auto
Description

This recommendation verifies that Password History and Aging Are Configured on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
grep '^HISTORY' /etc/default/passwd
# Should be >= 10

grep '^MAXWEEKS\|^MINWEEKS\|^WARNWEEKS' /etc/default/passwd
Remediation
gsed -i 's/^#\?HISTORY=.*/HISTORY=10/' /etc/default/passwd
gsed -i 's/^#\?MAXWEEKS=.*/MAXWEEKS=13/' /etc/default/passwd
gsed -i 's/^#\?MINWEEKS=.*/MINWEEKS=1/' /etc/default/passwd
gsed -i 's/^#\?WARNWEEKS=.*/WARNWEEKS=2/' /etc/default/passwd
5.2.3 Ensure Account Lockout After Failed Attempts (Automated)
L1 Auto
Description

This recommendation verifies that Account Lockout After Failed Attempts on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
grep '^LOCK_AFTER_RETRIES' /etc/security/policy.conf
# Should return: LOCK_AFTER_RETRIES=YES

grep '^RETRIES' /etc/default/login
Remediation
gsed -i 's/^#\?LOCK_AFTER_RETRIES=.*/LOCK_AFTER_RETRIES=YES/' /etc/security/policy.conf
gsed -i 's/^#\?RETRIES=.*/RETRIES=3/' /etc/default/login

6 — System Maintenance

▶

6.1 File Permissions

▶
6.1.1 Ensure Core System File Permissions Are Set (Automated)
L1 Auto
Description

This recommendation verifies that Core System File Permissions Are Set on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
ls -l /etc/passwd /etc/shadow /etc/group
# /etc/passwd: 644, /etc/shadow: 400, /etc/group: 644
Remediation
chmod 644 /etc/passwd
chmod 400 /etc/shadow
chmod 644 /etc/group
chown root:root /etc/passwd /etc/group
chown root:sys /etc/shadow
6.1.2 Ensure No World-Writable Files Exist (Automated)
L1 Auto
Description

This recommendation verifies that No World-Writable Files Exist on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
find / -xdev -type f -perm -0002 -ls 2>/dev/null
# Should return empty
Remediation
find / -xdev -type f -perm -0002 -exec chmod o-w {} \;
6.1.3 Ensure No Unowned Files or Directories Exist (Automated)
L1 Auto
Description

This recommendation verifies that No Unowned Files or Directories Exist on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
find / -xdev -nouser -o -nogroup 2>/dev/null | head -20
# Should return empty — no unowned files
Remediation
# For each unowned file, assign proper ownership:
chown root:root <file>
# Or remove if unnecessary:
rm <file>

6.2 User Accounts

▶
6.2.1 Ensure No Accounts Have Empty Passwords (Automated)
L1 Auto
Description

This recommendation verifies that No Accounts Have Empty Passwords on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
logins -p
# Lists accounts without passwords — should return empty
Remediation
# Lock accounts without passwords:
logins -p | awk '{print $1}' | while read user; do
  passwd -l "$user"
done
6.2.2 Ensure Root Is the Only UID 0 Account (Automated)
L1 Auto
Description

This recommendation verifies that Root Is the Only UID 0 Account on the Oracle Solaris 11.4 Unix operating system. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to implement this control may leave the Oracle Solaris 11.4 Unix operating system vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
awk -F: '($3 == 0) {print $1}' /etc/passwd
# Should return only: root
Remediation
usermod -u <new_uid> <non_root_uid0_user>