Solaris 10 X86 Security Technical Implementation Guide
Pick two releases to diff their requirements.
Open a previous version of this STIG.
Supporting documents 3 PDFs
Bundled by DISA alongside this STIG release: overview, revision history, and readme files. Download the full archive or open an individual PDF.
Digest of Updates ✎ 7
Comparison against the immediately-prior release (V2R2). Rule matching uses the Group Vuln ID. Content-change detection compares the rule’s description, check, and fix text after stripping inline markup — cosmetic-only edits aren’t flagged.
Content changes 7
- V-220098 Medium check The aliases file must be group-owned by root, sys, smmsp, or bin.
- V-227556 High check The operating system must be a supported release.
- V-227560 Medium descriptioncheck The system clock must be synchronized to an authoritative DoD time source.
- V-227561 Medium checkfix The system clock must be synchronized continuously.
- V-227837 Medium check The alias file must be owned by root.
- V-227838 Medium check The alias file must have mode 0644 or less permissive.
- V-227839 Medium check The alias file must not have an extended ACL.
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-000032
- Version
- GEN000000-SOL00120
- Vuln IDs
-
- V-220070
- V-4313
- Rule IDs
-
- SV-220070r603266_rule
- SV-36751
Checks: C-36423r602872_chk
Verify ASET is being used. # crontab -l |grep aset If there is an output, then check to make sure the files in question are in the /usr/aset/masters directory. # ls -l /usr/aset/masters The following files should be in the listing: tune.high, tune.low, tune.med, and uid_aliases. If any of the files are not in the directory listing, this is a finding.
Fix: F-36387r602873_fix
Install the default ASET configuration files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00200
- Vuln IDs
-
- V-220071
- V-954
- Rule IDs
-
- SV-220071r603266_rule
- SV-36750
Checks: C-21780r488153_chk
Perform the following to determine if ASET is configured to check NIS+. # grep YPCHECK /usr/aset/asetenv If NIS+ is running and the YPCHECK variable is set to false, then this is a finding.
Fix: F-21779r488154_fix
Edit the ASET configuration and set YPCHECK to true on systems running NIS. (If NIS+ is configured, YPCHECK must only be set to false to avoid going into NIS compatibility mode.) Configure NIS to use YPCHECK.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- GEN000020
- Vuln IDs
-
- V-220072
- V-756
- Rule IDs
-
- SV-220072r603266_rule
- SV-36752
Checks: C-21781r488201_chk
This can be checked in the /etc/default/sulogin file (on Solaris 5.X systems) to check if the system runs sulogin, or an equivalent, when booting into single-user mode.
Fix: F-21780r488202_fix
Edit /etc/default/sulogin and set PASSREQ=YES or remove /etc/default/sulogin entirely. NOTE: This is a default on Solaris 5.5.1 and later.
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN000280
- Vuln IDs
-
- V-220073
- V-760
- Rule IDs
-
- SV-220073r603266_rule
- SV-41504
Checks: C-36424r602875_chk
Use the last command to check for multiple accesses to an account from different workstations/IP addresses. If users log directly onto accounts, rather than using the su command from their own named account to access them, this is a finding (such as logging directly on to Oracle). Also, ask the SA or the IAO if shared accounts are logged into directly or if users log on to an individual account and switch user to the shared account.
Fix: F-36388r602876_fix
Use the switch user (su) command from a named account login to access shared accounts. Maintain audit trails that identify the actual user of the account name. Document requirements and procedures for users/administrators to log into their own accounts first and then switch user (su) to the shared account.
- RMF Control
- AC-7
- Severity
- M
- CCI
- CCI-000044
- Version
- GEN000460
- Vuln IDs
-
- V-220074
- V-766
- Rule IDs
-
- SV-220074r603266_rule
- SV-39815
Checks: C-21783r488276_chk
Verify RETRIES is set in the login file. # grep RETRIES /etc/default/login If RETRIES is not set or is more than 3, this is a finding. Verify the account locks after invalid login attempts. # grep LOCK_AFTER_RETRIES /etc/security/policy.conf If LOCK_AFTER_RETRIES is not set to YES, this is a finding.
Fix: F-21782r488277_fix
Set RETRIES to 3 in the /etc/default/login file. #vi /etc/default/login Set LOCK_AFTER_RETRIES to YES in the /etc/security/policy.conf file. #vi /etc/security/policy.conf
- RMF Control
- AC-7
- Severity
- M
- CCI
- CCI-002238
- Version
- GEN000480
- Vuln IDs
-
- V-220075
- V-768
- Rule IDs
-
- SV-220075r854458_rule
- SV-27094
Checks: C-21784r488279_chk
Check the SLEEPTIME parameter in the /etc/default/login file. # grep SLEEPTIME /etc/default/login If SLEEPTIME is not listed, commented out, or less than 4, this is a finding.
Fix: F-21783r488280_fix
Edit the /etc/default/login file and set SLEEPTIME to 4.
- RMF Control
- AC-11
- Severity
- M
- CCI
- CCI-000057
- Version
- GEN000500
- Vuln IDs
-
- V-220076
- V-4083
- Rule IDs
-
- SV-220076r603266_rule
- SV-39814
Checks: C-36425r602878_chk
Examine the dtsession timeout variable setting: # cat /etc/dt/config/C/sys.resources | grep -i dtsession | grep -i lockTimeout If the dtsession timeout is greater than 15, commented or does not exist, this is a finding. Examine the Open Windows timeout settings, both global and for every user. # cat /usr/openwin/lib/app-defaults/XScreenSaver | egrep -i '\*(lock|timeout):' If the global Open Windows timeout is greater than 15 minutes, commented or does not exist, this is a finding. If the global lock setting is not true, this is a finding. # cut -d: -f6 /etc/passwd | xargs -iX egrep -i '^(lock|timeout):' X/.xscreensaver If the Open Windows timeout is greater than 15 minutes for any user, this is a finding. If the lock setting is not true for any user, this is a finding.
Fix: F-36389r602879_fix
Configure the CDE lock manager to lock your screen after a certain amount of inactive time. To configure the CDE lock manager to lock the screen after 15 minutes of inactive time, enter the following commands (be sure NOT to overwrite an existing file). # cp /usr/dt/config/C/sys.resources /etc/dt/config/C/sys.resources # vi /etc/dt/config/C/sys.resources Locate and add/uncomment/change the line to N=15. dtsession*lockTimeout: <N> dtsession*lockTimeout: 15 Log out of CDE and log back in to verify that the timeout is in effect. The timeout parameter in /usr/openwin/lib/app-defaults/XScreenSaver and all users' .xscreensaver files should also be confirmed to be uncommented and set to 0:15:00.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000017
- Version
- GEN000760
- Vuln IDs
-
- V-220077
- V-918
- Rule IDs
-
- SV-220077r603266_rule
- SV-39824
Checks: C-36426r602881_chk
Indications of inactive accounts are those without entries in the last log. Check the date in the last log to verify it is within the last 35 days. Obtain a listing of user accounts. #cat /etc/passwd | cut -f1 -d ":" Run the last command for each user account. # last < user account > If any user's account has not been accessed in the last 35 days and the account is not disabled via an entry in the password field in the /etc/passwd or /etc/shadow (or equivalent), check the /etc/passwd file to check if the account has a valid shell. If an inactive account is found that is not disabled, this is a finding.
Fix: F-36390r602882_fix
All inactive accounts will have /bin/false, /usr/bin/false, or /dev/null as the default shell in the /etc/passwd file and have the password disabled. Disable the inactive accounts. Examine the inactive accounts using the last command. Note the date of last login for each account. If any (other than system and application accounts) exceed 35 days, then disable them by placing a shell of /bin/false or /dev/null in the shell field of the passwd file entry for that account. An alternative, and preferable method, is to disable the account using smc or the passwd command. # passwd -l < account to lock >
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000880
- Vuln IDs
-
- V-220078
- V-773
- Rule IDs
-
- SV-220078r603266_rule
- SV-39820
Checks: C-21787r488342_chk
Check the system for duplicate UID 0 assignments by listing all accounts assigned UID 0. Procedure: # awk -F: '$3 == 0' /etc/passwd If any accounts other than root are assigned UID 0, this is a finding.
Fix: F-21786r488343_fix
Remove or change the UID of accounts other than root that have UID 0.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000960
- Vuln IDs
-
- V-220079
- V-777
- Rule IDs
-
- SV-220079r603266_rule
- SV-37075
Checks: C-36427r602884_chk
Check for world-writable permissions on all directories in the root user's executable search path. Procedure (on multiple lines): # echo $PATH | sed 's/ /\\ /g; s/:/ /g' | xargs ls -ld If any of the directories in the PATH variable are world-writable, this is a finding.
Fix: F-36391r602885_fix
For each world-writable path in root's executable search path, perform one of the following. 1. Remove the world-writable permission on the directory. Procedure: # chmod o-w <path> 2. Remove the world-writable directory from the executable search path. Procedure: Identify and edit the initialization file referencing the world-writable directory and remove it from the PATH variable.
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001300
- Vuln IDs
-
- V-220081
- V-793
- Rule IDs
-
- SV-220081r603266_rule
- SV-39821
Checks: C-21790r488426_chk
Check the mode of library files. Procedure: # ls -lLR /usr/lib /lib /usr/sfw/lib If any of the library files have a mode more permissive than 0755, this is a finding.
Fix: F-21789r488427_fix
Change the mode of library files to 0755 or less permissive. Procedure (example): # chmod 0755 /path/to/library-file NOTE: Library files should have an extension of .a or .so, possibly followed by a version number.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001500
- Vuln IDs
-
- V-220082
- V-902
- Rule IDs
-
- SV-220082r603266_rule
- SV-39822
Checks: C-21791r488534_chk
Check the ownership of each user's home directory listed in the /etc/passwd file. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld | more If any user's home directory is not owned by the assigned user, this is a finding.
Fix: F-21790r488535_fix
Change the owner of a user's home directory to its assigned user. Procedure: # chown <user> <home directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001520
- Vuln IDs
-
- V-220083
- V-903
- Rule IDs
-
- SV-220083r603266_rule
- SV-39823
Checks: C-21792r488537_chk
Check the group ownership for each user in the /etc/passwd file. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld | more If any user's home directory is not group-owned by the assigned user's primary group, this is a finding. Home directories for application accounts requiring different group ownership must be documented using site-defined procedures.
Fix: F-21791r488538_fix
Change the group owner for user's home directories to the primary group of the assigned user. Procedure: # chgrp groupname directoryname (Replace examples with appropriate group and home directory.) Document all changes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001720
- Vuln IDs
-
- V-220084
- V-11981
- Rule IDs
-
- SV-220084r603266_rule
- SV-39829
Checks: C-21793r488579_chk
Check global initialization files permissions. # ls -l /etc/.login # ls -l /etc/profile # ls -l /etc/bashrc # ls -l /etc/environment # ls -l /etc/security/environ # ls -l /etc/csh.login # ls -l /etc/csh.cshrc If global initialization files exist and are more permissive than 0644, this is a finding.
Fix: F-21792r488580_fix
Change the mode of the global initialization file(s) to 0644. # chmod 0644 <global initialization file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001740
- Vuln IDs
-
- V-220085
- V-11982
- Rule IDs
-
- SV-220085r603266_rule
- SV-39830
Checks: C-21794r488585_chk
Check the ownership of global initialization files. Procedure: # ls -lL /etc/.login /etc/profile /etc/bashrc /etc/environment /etc/security/environ /etc/csh.login /etc/csh.cshrc If any global initialization file exists and is not owned by root, this is a finding.
Fix: F-21793r488586_fix
Change the ownership of global initialization files with incorrect ownership. Procedure: # chown bin <global initialization files>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001760
- Vuln IDs
-
- V-220086
- V-11983
- Rule IDs
-
- SV-220086r603266_rule
- SV-39831
Checks: C-21795r488588_chk
Check the group ownership of global initialization files. Procedure: # ls -lL /etc/.login /etc/profile /etc/bashrc /etc/environment /etc/security/environ /etc/csh.login /etc/csh.cshrc If any global initialization file exists and is not group-owned by root, sys, or bin, this is a finding.
Fix: F-21794r488589_fix
Change the group ownership of the global initialization file(s) with incorrect group ownership. Procedure: # chgrp root <global initialization file>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001780
- Vuln IDs
-
- V-220087
- V-825
- Rule IDs
-
- SV-220087r603266_rule
- SV-39828
Checks: C-21796r488591_chk
Check global initialization files for the presence of "mesg -n" or "mesg n". Procedure: # grep mesg /etc/.login /etc/profile /etc/bashrc /etc/environment /etc/security/environ /etc/csh.login /etc/csh.cshrc If no existing global initialization files contain "mesg -n" or "mesg n", this is a finding.
Fix: F-21795r488592_fix
Edit /etc/profile or another global initialization script and add the mesg -n command.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001870
- Vuln IDs
-
- V-220088
- V-22361
- Rule IDs
-
- SV-220088r603266_rule
- SV-37101
Checks: C-21797r488618_chk
Check user home directories for local initialization files group-owned by a group other than the user's primary group or root. 1. List user accounts and their primary GID. # cut -d : -f 1,4 /etc/passwd 2. Check local initialization files for each user. # ls -al /<usershomedirectory>/.login # ls -al /<usershomedirectory>/.cshrc # ls -al /<usershomedirectory>/.logout # ls -al /<usershomedirectory>/.profile # ls -al /<usershomedirectory>/.bash_profile # ls -al /<usershomedirectory>/.bashrc # ls -al /<usershomedirectory>/.bash_logout # ls -al /<usershomedirectory>/.env # ls -al /<usershomedirectory>/.dtprofile # ls -al /<usershomedirectory>/.dispatch # ls -al /<usershomedirectory>/.emacs # ls -al /<usershomedirectory>/.exrc # find /<usershomedirectory>/.dt ! -fstype nfs ! -group <primary_group> -exec ls -ld {} \; 3. If any file is not group-owned by root or the user's primary GID, this is a finding.
Fix: F-21796r488619_fix
Change the group-owner of the local initialization file to the user's primary group, or root. # chgrp [USER's primary GID] ~USER/[local initialization file]
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-001764
- Version
- GEN002420
- Vuln IDs
-
- V-220089
- V-805
- Rule IDs
-
- SV-220089r854459_rule
- SV-39813
Checks: C-36428r602887_chk
Check /etc/vfstab and verify the "nosuid" mount option is used on any user filesystem (such as /export/home) or filesystems mounted from removable media or network shares. # cat /etc/vfstab Check zfs filesystems for setuid mounts. #zfs get setuid
Fix: F-36392r602888_fix
Use the following procedure for UFS filesystems. Edit /etc/vfstab and add the "nosuid" mount option to any user filesystem (such as /export/home) or filesystems mounted from removable media or network shares. Use the following procedure for ZFS filesystems. # zfs setuid = off < file system >
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003619
- Vuln IDs
-
- V-220090
- V-22421
- Rule IDs
-
- SV-220090r603266_rule
- SV-42308
Checks: C-21799r489769_chk
Ask the system administrator if network bridging software is installed on the system or the system is configured for network bridging. If network bridging software is installed or the system is configured for network bridging, this is a finding.
Fix: F-21798r489770_fix
Remove the network bridging software and configuration from the system.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003810
- Vuln IDs
-
- V-220091
- V-22429
- Rule IDs
-
- SV-220091r603266_rule
- SV-26664
Checks: C-21800r489820_chk
Check the status of the rpcbind service. # svcs network/rpc/bind If the service is online and is not documented as required, this is a finding.
Fix: F-21799r489821_fix
Disable the portmap service. # svcadm disable network/rpc/bind
- RMF Control
- AC-17
- Severity
- H
- CCI
- CCI-000068
- Version
- GEN003820
- Vuln IDs
-
- V-220092
- V-4687
- Rule IDs
-
- SV-220092r603266_rule
- SV-27435
Checks: C-21801r489826_chk
# svcs network/shell If the service is enabled, this is a finding.
Fix: F-21800r489827_fix
Disable the remote shell service and restart inetd. Procedure: # svcadm disable network/shell # svcadm refresh inetd
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN003830
- Vuln IDs
-
- V-220093
- V-22432
- Rule IDs
-
- SV-220093r603266_rule
- SV-39863
Checks: C-21802r489832_chk
Determine if the rlogind service is running. # svcs rlogin If the rlogin service is enabled, this is a finding.
Fix: F-21801r489833_fix
Disable the rlogind service. # svcadm disable rlogin # svcadm refresh inetd
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003865
- Vuln IDs
-
- V-220094
- V-12049
- Rule IDs
-
- SV-220094r603266_rule
- SV-40811
Checks: C-21803r489850_chk
Determine if any network analysis tools are installed. Procedure: # find / -name ethereal # find / -name wireshark # find / -name tshark # find / -name netcat # find / -name tcpdump # find / -name snoop If any network analysis tools are found, this is a finding.
Fix: F-21802r489851_fix
Remove the network analysis tool binary from the system. The snoop binary is part of the SUNWrcmdc package, which may also be removed if none of its components are required. Procedure: # rm <binary> # pkgrm SUNWrcmdc
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003930
- Vuln IDs
-
- V-220096
- V-22435
- Rule IDs
-
- SV-220096r603266_rule
- SV-37456
Checks: C-21805r489859_chk
Check the group ownership of the print service configuration files. Procedure: # ls -lL /etc/printers.conf /etc/apache/httpd-standalone-ipp.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the files are not group-owned by root, bin, or sys, this is a finding.
Fix: F-21804r489860_fix
Change the group owner of the print service configuration files. Procedure: # chgrp bin /etc/apache/httpd-standalone-ipp.conf # chgrp root /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004370
- Vuln IDs
-
- V-220098
- V-22438
- Rule IDs
-
- SV-220098r858553_rule
- SV-37458
Checks: C-21807r858552_chk
Note: If sendmail is not installed, this requirement is not applicable. Find the alias files on the system. Procedure: # egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf If the "alias file" is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases. Check the group ownership of the alias file and the hashed version of it used by sendmail. Procedure: # ls -lL /etc/mail/aliases /etc/mail/aliases.db If the files are not group-owned by root, sys, smmsp, or bin, this is a finding.
Fix: F-21806r489887_fix
Change the group owner of the /etc/mail/aliases files. Procedure: # chgrp bin /etc/mail/aliases # chgrp smmsp /etc/mail/aliases.db
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004540
- Vuln IDs
-
- V-220099
- V-12006
- Rule IDs
-
- SV-220099r603266_rule
- SV-42309
Checks: C-21808r489919_chk
Check if Help is disabled in Sendmail. Procedure: # telnet <host> 25 > help If the help command returns any Sendmail version information, this is a finding. If telnet is unavailable for testing, check the value of the HelpFile parameter in the sendmail.cf file. # grep HelpFile /etc/mail/sendmail.cf If the contents of the file indicated by the HelpFile parameter contains any Sendmail version information, this is a finding.
Fix: F-21807r489920_fix
To disable the SMTP HELP command, clear the Sendmail help file. # echo > /etc/mail/helpfile
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004560
- Vuln IDs
-
- V-220100
- V-4384
- Rule IDs
-
- SV-220100r603266_rule
- SV-42310
Checks: C-36429r602890_chk
Check for the Sendmail version being displayed in the greeting. # telnet localhost 25 If a version number is displayed, this is a finding. If telnet is unavailable for testing, check the value of the SmtpGreetingMessage parameter in the sendmail.cf file. # grep SmtpGreetingMessage /etc/mail/sendmail.cf If the value of the SmtpGreetingMessage parameter contains the $v or $Z macros, this is a finding.
Fix: F-36393r602891_fix
Ensure Sendmail or its equivalent has been configured to mask the version information. If necessary, change the O SmtpGreetingMessage line in the /etc/mail/sendmail.cf file as noted below. O SmtpGreetingMessage=$j Sendmail $v/$Z; $b Change it to: O SmtpGreetingMessage= Mail Server Ready ; $b
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004580
- Vuln IDs
-
- V-220101
- V-4385
- Rule IDs
-
- SV-220101r603266_rule
- SV-39827
Checks: C-21810r489925_chk
Search for any .forward files on the system. # find / -name .forward -print This is considered a finding if any .forward files are found on the system.
Fix: F-21809r489926_fix
Remove .forward files from the system. # rm .forward Update the sendmail.cf file to ignore .forward files by adding ForwardPath="".
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN004600
- Vuln IDs
-
- V-220102
- V-4689
- Rule IDs
-
- SV-220102r603266_rule
- SV-39819
Checks: C-21811r489928_chk
Determine the version of the SMTP service software, using a non-privileged account. $ /usr/lib/sendmail -d0 -bt < /dev/null (Note: While this command will report the sendmail version almost immediately, it will take several moments to return to the shell prompt. Press ctrl-C to terminate the sendmail process.) Version 8.14.4 is the latest required version. Version 8.14.4+Sun is available from Oracle for Solaris. If the sendmail version is not at least 8.14.4 or Oracle's latest version, this is a finding.
Fix: F-21810r489929_fix
Obtain and install the latest version of Sendmail from Oracle through normal software update processes, as implemented locally.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN004620
- Vuln IDs
-
- V-220103
- V-4690
- Rule IDs
-
- SV-220103r603266_rule
- SV-42311
Checks: C-21812r489931_chk
Check for an enabled debug command provided by the SMTP service. Procedure: # telnet localhost 25 debug If the command does not return a 500 error code of command unrecognized, this is a finding. If telnet is unavailable for testing, check the version of sendmail. Run the following as a non-privileged user. $ echo \$Z | /usr/sbin/sendmail -bt -d0 If the version reported is less than 8.6, this is a finding.
Fix: F-21811r489932_fix
Obtain and install a more recent version of Sendmail, which does not implement the DEBUG feature.
- RMF Control
- CM-7
- Severity
- H
- CCI
- CCI-000381
- Version
- GEN004640
- Vuln IDs
-
- V-220104
- V-4691
- Rule IDs
-
- SV-220104r603266_rule
- SV-42312
Checks: C-21813r489934_chk
Check the SMTP service for an active decode command. Procedure: # telnet localhost 25 decode If the command does not return a 500 error code of command unrecognized, this is a finding. If telnet is unavailable for testing, check for the existence of the decode and uudecode aliases in the sendmail aliases file. Find the active sendmail aliases file. # grep AliasFile /etc/mail/sendmail.cf (The aliases file is usually at /etc/mail/aliases) Look for decode aliases in the aliases file. # grep decode /etc/mail/aliases If there is an uncommented decode or uudecode alias in the aliases file, this is a finding.
Fix: F-21812r489935_fix
Comment out active decode and uudecode aliases in the aliases file. # vi /usr/mail/aliases Activate updated aliases file. # newaliases
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005120
- Vuln IDs
-
- V-220105
- V-849
- Rule IDs
-
- SV-220105r603266_rule
- SV-39825
Checks: C-21814r489994_chk
Verify the tftp service is enabled. # svcs tftp If the tftp service is not installed or enabled, this check is not applicable. Check the /etc/passwd file to determine if TFTP is configured properly. Procedure: # grep tftp /etc/passwd If a "tftp" user account does not exist and TFTP is active, this is a finding. Check the user shell for the "tftp" user. If it is not /bin/false or equivalent, this is a finding. Check the home directory assigned to the "tftp" user. If no home directory is set, or the directory specified is not dedicated to the use of the TFTP service, this is a finding.
Fix: F-21813r489995_fix
Create a TFTP user account if none exists. Assign a non-login shell to the TFTP user account, such as /bin/false. Assign a home directory to the TFTP user account.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005440
- Vuln IDs
-
- V-220106
- V-12020
- Rule IDs
-
- SV-220106r603266_rule
- SV-41515
Checks: C-21815r490063_chk
Ask the SA if the log host server is collecting data for hosts outside the local enclave. If it is, this is a finding.
Fix: F-21814r490064_fix
Configure the hosts outside of the local enclave to not log to this system.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005480
- Vuln IDs
-
- V-220107
- V-12021
- Rule IDs
-
- SV-220107r603266_rule
- SV-28431
Checks: C-21816r490072_chk
# svcprop system-log | grep log_from_remote If the config/log_from_remote value is not false, this is a finding.
Fix: F-21815r490073_fix
# svccfg -s system-log setprop config/log_from_remote=false # svcadm refresh system-log
- RMF Control
- IA-2
- Severity
- H
- CCI
- CCI-001941
- Version
- GEN005500
- Vuln IDs
-
- V-220108
- V-4295
- Rule IDs
-
- SV-220108r854460_rule
- SV-39817
Checks: C-21817r490075_chk
Check the SSH daemon configuration for allowed protocol versions. # grep -i protocol /etc/ssh/sshd_config | grep -v '^#' If the variables Protocol 2,1 or Protocol 1 are defined on a line without a leading comment, this is a finding.
Fix: F-21816r490076_fix
Edit the configuration file and modify the Protocol line to look like: Protocol 2 Reload sshd: kill -HUP <PID of sshd>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005600
- Vuln IDs
-
- V-220109
- V-12023
- Rule IDs
-
- SV-220109r603266_rule
- SV-28581
Checks: C-21818r490144_chk
Determine if the system is configured for IPv4 forwarding. # svcs | grep svc:/network/ipv4-forwarding If the service is enabled, this is a finding.
Fix: F-21817r490145_fix
Disable IPv4 forwarding on the system. # svcadm disable svc:/network/ipv4-forwarding
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005610
- Vuln IDs
-
- V-220110
- V-22491
- Rule IDs
-
- SV-220110r603266_rule
- SV-26810
Checks: C-21819r490147_chk
Check if the system is configured for IPv6 forwarding. # ndd /dev/ip6 ip6_forwarding If the value is not 0, this is a finding.
Fix: F-21818r490148_fix
Disable IPv6 forwarding. # ndd -set /dev/ip6 ip6_forwarding 0 Edit startup scripts as necessary; add this command or remove commands setting the value to 1.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005840
- Vuln IDs
-
- V-220111
- V-933
- Rule IDs
-
- SV-220111r603266_rule
- SV-40305
Checks: C-21820r490171_chk
Check the permissions on exported NFS file systems. Procedure: # exportfs -v OR # more /etc/dfs/sharetab If the exported file systems do not contain the rw or ro options specifying a list of hosts or networks, this is a finding.
Fix: F-21819r490172_fix
Edit /etc/dfs/dfstab and add ro and/or rw options (as appropriate) specifying a list of hosts or networks which are permitted access. Re-export the file systems.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006000
- Vuln IDs
-
- V-220112
- V-12024
- Rule IDs
-
- SV-220112r603266_rule
- SV-41525
Checks: C-21821r490183_chk
If an IM client is installed, ask the SA if it has access to any public domain IM servers. If it does have access to public servers, this is a finding.
Fix: F-21820r490184_fix
Uninstall the IM client from the system, or configure the client to only connect to DoD-approved IM services.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN006080
- Vuln IDs
-
- V-220113
- V-1026
- Rule IDs
-
- SV-220113r603266_rule
- SV-42313
Checks: C-36430r602893_chk
Verify the SWAT daemon is running under inetd. # svcs swat If SWAT is disabled or not installed, this is not applicable. Verify that TCP_wrappers is enabled for the SWAT daemon. # inetadm -l swat | grep tcp_wrappers If the tcp_wrappers value is unset or is set to FALSE, this is a finding. Verify access to the SWAT daemon is limited to localhost through the use of TCP_Wrappers. # more /etc/hosts.allow # more /etc/hosts.deny If the hosts.allow and hosts.deny access control files are configured such that remote access to SWAT is enabled, this is a finding. Ask the SA if SSH port forwarding is used to enable remote access to SWAT. If it is, this is not a finding. If all access to SWAT is via localhost using a local web browser, this is not a finding.
Fix: F-36394r602894_fix
Enable tcp_wrappers for the SWAT daemon. # inetadm -m swat tcp_wrappers=true OR # inetadm -M tcp_wrappers=true Relfresh the inetd daemon. # svcadm refresh inetd Configure the hosts.allow and hosts.deny files to limit access to SWAT to localhost. Example: # echo ALL: ALL >> /etc/hosts.deny # echo swat: localhost >> /etc/hosts.allow
- RMF Control
- SI-4
- Severity
- M
- CCI
- CCI-001266
- Version
- GEN006560
- Vuln IDs
-
- V-220115
- V-12028
- Rule IDs
-
- SV-220115r603266_rule
- SV-41530
Checks: C-36431r602896_chk
For each security tool on the system, determine if the tool is configured to notify the IAO and SA of any detected security problem. If such notifications are not configured, this is a finding.
Fix: F-36395r602897_fix
Configure the security tools on the system to notify the IAO and SA when any security issues are detected.
- RMF Control
- SA-10
- Severity
- M
- CCI
- CCI-000698
- Version
- GEN006565
- Vuln IDs
-
- V-220116
- V-22506
- Rule IDs
-
- SV-220116r603266_rule
- SV-26857
Checks: C-21825r490282_chk
Check the root crontab (crontab -l) for the presence of a package check command, such as, pkgchk -n. If no such cron job is found, this is a finding.
Fix: F-21824r490283_fix
Add a cron job to run a package verification command, such as, pkgchk -n.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006580
- Vuln IDs
-
- V-220117
- V-940
- Rule IDs
-
- SV-220117r603266_rule
- SV-28459
Checks: C-21826r490294_chk
# svcprop -p defaults svc:/network/inetd | grep tcp_wrappers This should return a line with the following: defaults/tcp_wrappers boolean true If the above line contains the word false, this is a finding.
Fix: F-21825r490295_fix
Enable tcp_wrappers. # svccfg -s svc:/network/inetd setprop defaults/tcp_wrappers=true # svcadm refresh inetd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006620
- Vuln IDs
-
- V-220118
- V-12030
- Rule IDs
-
- SV-220118r603266_rule
- SV-41532
Checks: C-21827r490300_chk
Check for the existence of the /etc/hosts.allow and /etc/hosts.deny files. Procedure: # ls -la /etc/hosts.allow # ls -la /etc/hosts.deny If either file does not exist, this is a finding. Check for the presence of a default deny entry. Procedure: # grep "ALL: ALL" /etc/hosts.deny If the "ALL: ALL" entry is not present in the /etc/hosts.deny file, any TCP service from a host or network not matching other rules will be allowed access. If the entry is not in /etc/hosts.deny, this is a finding.
Fix: F-21826r490301_fix
Edit the /etc/hosts.allow and /etc/hosts.deny files to configure access restrictions.
- RMF Control
- AC-18
- Severity
- M
- CCI
- CCI-001443
- Version
- GEN007841
- Vuln IDs
-
- V-220119
- V-72771
- Rule IDs
-
- SV-220119r854461_rule
- SV-87413
Checks: C-36432r602899_chk
This is N/A for systems that do not have wireless network adapters. Verify that there are no wireless interfaces configured on the system: # ifconfig -a eth0 Link encap:Ethernet HWaddr b8:ac:6f:65:31:e5 inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::baac:6fff:fe65:31e5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2697529 errors:0 dropped:0 overruns:0 frame:0 TX packets:2630541 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2159382827 (2.0 GiB) TX bytes:1389552776 (1.2 GiB) Interrupt:17 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2849 errors:0 dropped:0 overruns:0 frame:0 TX packets:2849 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2778290 (2.6 MiB) TX bytes:2778290 (2.6 MiB) If a wireless interface is configured, it must be documented and approved by the local Authorizing Official. If a wireless interface is configured and has not been documented and approved, this is a finding.
Fix: F-36396r602900_fix
Configure the system to disable all wireless network interfaces.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008200
- Vuln IDs
-
- V-220121
- V-22566
- Rule IDs
-
- SV-220121r603266_rule
- SV-37427
Checks: C-21830r490363_chk
Check if the system is using NSS LDAP. # grep -v '^#' /etc/nsswitch.conf | grep ldap If no lines are returned, this vulnerability is not applicable. Verify the permissions of the certificate database files. # ls -lL /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db If the permissions of any of the files contain a "+", and extended ACL is present, this is a finding.
Fix: F-21829r490364_fix
Remove the extended ACL from the certificate database files. # chmod A- /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN008640
- Vuln IDs
-
- V-220122
- V-4247
- Rule IDs
-
- SV-220122r603266_rule
- SV-41534
Checks: C-21831r490390_chk
Ask the SA if the system uses removable media for the boot loader. If it does, this is a finding.
Fix: F-21830r490391_fix
Configure the system to use a bootloader installed on fixed media.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN008660
- Vuln IDs
-
- V-220123
- V-4248
- Rule IDs
-
- SV-220123r603266_rule
- SV-4248
Checks: C-21832r490393_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option: # bootadm list-menu Determine if the system uses the GRUB boot loader. Procedure: # more /pool-name/boot/grub/menu.lst or # more /boot/grub/menu.lst If menu.lst does not exist, this is a finding.
Fix: F-21831r490394_fix
Configure the system to use the GRUB bootloader.
- RMF Control
- AC-3
- Severity
- H
- CCI
- CCI-000213
- Version
- GEN008700
- Vuln IDs
-
- V-220124
- V-4249
- Rule IDs
-
- SV-220124r603266_rule
- SV-4249
Checks: C-21833r490399_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option: # bootadm list-menu Check the menu.lst file for the use of passwords. Procedure: # more /pool-name/boot/grub/menu.lst or # more /boot/grub/menu.lst Check for a password configuration line, such as the one below. password --md5 <password-hash> This line should be just below the line beginning with "timeout". Please note <password-hash> will be replaced by the actual MD5 encrypted password. If the password line is not in either of the files, this is a finding.
Fix: F-21832r490400_fix
The GRUB console boot loader can be configured to use an MD5 encrypted password by adding password --md5 password-hash to the /pool-name/boot/grub/menu.lst or /boot/grub/menu.lst file. Use grub-md5-crypt to generate MD5 passwords from the command line.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- GEN008710
- Vuln IDs
-
- V-220125
- V-24624
- Rule IDs
-
- SV-220125r603266_rule
- SV-42317
Checks: C-36433r602902_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option: # bootadm list-menu Check the boot configuration for password settings. List any password configuration from the active menu file (substitute the file determined above in place of the example file provided below, if necessary). # grep password /pool-name/boot/grub/menu.lst or # grep password /boot/grub/menu.lst Check for a password configuration line, such as: password --md5 <password-hash> If the boot loader passwords are not protected using an MD5 hash or stronger, this is a finding.
Fix: F-36397r602903_fix
Configure the GRUB bootloader to require a password. Procedure: Obtain the location of the active GRUB menu file. # bootadm list-menu Create a password hash using GRUB. The location of the GRUB binary may be different based on the specific system. # /boot/grub/bin/grub grub> md5crypt Password: <password> Encrypted: <password hash> grub> quit The encrypted password hash will be returned. Edit the GRUB menu configuration file, and add a line such as the following, substituting the password hash obtained above: password --md5 <password hash>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008740
- Vuln IDs
-
- V-220127
- V-22585
- Rule IDs
-
- SV-220127r603266_rule
- SV-26985
Checks: C-36434r602905_chk
This check applies to the global zone only. Determine the type zone that you are currently securing. # zonename If the command output is "global", this check applies. On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option: # bootadm list-menu Check the permissions of the menu.lst file. Procedure: # ls -lL /pool-name/boot/grub/menu.lst or # ls -lL /boot/grub/menu.lst If the permissions of the menu.lst file contain "+", an extended ACL is present, and this is a finding.
Fix: F-36398r602906_fix
If the file with the extended ACL resides on a UFS filesystem: # getfacl /boot/grub/menu.lst Remove each ACE from the file. # setfacl -r [ACE] /boot/grub/menu.lst If the file with the extended ACL resides on a ZFS filesystem: # chmod A- /pool-name/boot/grub/menu.lst
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008760
- Vuln IDs
-
- V-220128
- V-22586
- Rule IDs
-
- SV-220128r603266_rule
- SV-26987
Checks: C-21837r490411_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option: # bootadm list-menu Check the ownership of the menu.lst file. Procedure: # ls -lL /pool-name/boot/grub/menu.lst or # ls -lL /boot/grub/menu.lst If the owner of the file is not root, this is a finding.
Fix: F-21836r490412_fix
Change the ownership of the file. # chown root /pool-name/boot/grub/menu.lst or # chown root /boot/grub/menu.lst
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008780
- Vuln IDs
-
- V-220129
- V-22587
- Rule IDs
-
- SV-220129r603266_rule
- SV-26989
Checks: C-21838r490414_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option: # bootadm list-menu Check the group ownership of the menu.lst file. Procedure: # ls -lL /pool-name/boot/grub/menu.lst or # ls -lL /boot/grub/menu.lst If the group owner of the file is not root, bin, sys, or system this is a finding.
Fix: F-21837r490415_fix
Change the group ownership of the file. # chgrp root /pool-name/boot/grub/menu.lst or # chgrp root /boot/grub/menu.lst
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00020
- Vuln IDs
-
- V-227532
- V-12031
- Rule IDs
-
- SV-227532r603266_rule
- SV-12532
Checks: C-29694r488123_chk
# grep mount /etc/rmmount.conf Confirm the nosuid option is configured. mount * hsfs udfs ufs -o nosuid If the nosuid option is not configured in the /etc/rmmount.conf file, this is a finding.
Fix: F-29682r488124_fix
Edit /etc/rmmount.conf and add the nosuid mount option to the configuration.
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN000000-SOL00040
- Vuln IDs
-
- V-227533
- V-4353
- Rule IDs
-
- SV-227533r603266_rule
- SV-4353
Checks: C-29695r488126_chk
Perform: # more /etc/security/audit_user If /etc/security/audit_user has entries other than root, ensure the users defined are audited with the same flags as all users as defined in /etc/security/audit_control file.
Fix: F-29683r488127_fix
Edit the audit_user file and remove specific user configurations differing from the global audit settings.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00060
- Vuln IDs
-
- V-227534
- V-4352
- Rule IDs
-
- SV-227534r603266_rule
- SV-4352
Checks: C-29696r488129_chk
Check /etc/security/audit_user ownership. # ls -lL /etc/security/audit_user If /etc/security/audit_user is not owned by root, this is a finding.
Fix: F-29684r488130_fix
Change the owner of the /etc/security/audit_user file to root. # chown root /etc/security/audit_user
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00080
- Vuln IDs
-
- V-227535
- V-4351
- Rule IDs
-
- SV-227535r603266_rule
- SV-4351
Checks: C-29697r488132_chk
Check /etc/security/audit_user group ownership. # ls -lL /etc/security/audit_user If /etc/security/audit_user is not group owned by root, sys, or bin, this is a finding.
Fix: F-29685r488133_fix
Change the group owner of the audit_user file to root, bin, or sys. Example: # chgrp root /etc/security/audit_user
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- GEN000000-SOL00100
- Vuln IDs
-
- V-227536
- V-4245
- Rule IDs
-
- SV-227536r603266_rule
- SV-4245
Checks: C-29698r488135_chk
Check /etc/security/audit_user permissions. # ls -lL /etc/security/audit_user If /etc/security/audit_user is more permissive than 0640, this is a finding.
Fix: F-29686r488136_fix
Change the mode of the audit_user file to 0640. # chmod 0640 /etc/security/audit_user
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00110
- Vuln IDs
-
- V-227537
- V-22599
- Rule IDs
-
- SV-227537r603266_rule
- SV-27004
Checks: C-29699r488138_chk
Check the permissions of the file. # ls -lL /etc/security/audit_user If the permissions of the file contain a "+", an extended ACL is present, this is a finding.
Fix: F-29687r488139_fix
Remove the extended ACL from the file. # chmod A- /etc/security/audit_user
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-000032
- Version
- GEN000000-SOL00140
- Vuln IDs
-
- V-227538
- V-4312
- Rule IDs
-
- SV-227538r603266_rule
- SV-4312
Checks: C-29700r488144_chk
# more /usr/aset/masters/uid_aliases If the /usr/aset/masters/uid_aliases file is not empty or all contents are not commented out, this is a finding.
Fix: F-29688r488145_fix
Empty or comment out the entries in the uid_aliases file.
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-000032
- Version
- GEN000000-SOL00160
- Vuln IDs
-
- V-227539
- V-4309
- Rule IDs
-
- SV-227539r603266_rule
- SV-4309
Checks: C-29701r488147_chk
Perform the following to determine if ASET is being used. # crontab -l |grep aset A returned entry would indicate ASET is being utilized. Determine if ASET is configured to check firewall settings. # grep TASKS /usr/aset/asetenv | grep firewall If an entry is not returned, this is a finding.
Fix: F-29689r488148_fix
If the system is used as a firewall and ASET is used, ensure the firewall parameter is configured in /usr/aset/asetenv.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00180
- Vuln IDs
-
- V-227540
- V-953
- Rule IDs
-
- SV-227540r603266_rule
- SV-953
Checks: C-29702r488150_chk
Determine if ASET is being used. # crontab -l | grep aset Check the configuration of ASET. # more /usr/aset/asetenv OR Check that asetenv has not been modified since installation. # pkgchk SUNWast If there are any changes below the following two lines that are not comments, this is a finding. # Don't change from here on down ... # # there shouldn't be any reason to. # In addition, if any of the following lines do not match, this is a finding. TASKS="firewall env sysconf usrgrp tune cklist eeprom" CKLISTPATH_LOW=${ASETDIR}/tasks:#${ASETDIR} \ /util:${ASETDIR}/masters:/etc CKLISTPATH_MED=${CKLISTPATH_LOW}:/usr/bin:/usr/ucb CKLISTPATH_HIGH=${CKLISTPATH_MED}:/usr/lib:/sbin: \ /usr/sbin:/usr/ucblib YPCHECK=false PERIODIC_SCHEDULE="0 0 * * *" UID_ALIASES=${ASETDIR}/masters/uid_aliases (The default asetenv file can be found on the Solaris installation media.)
Fix: F-29690r488151_fix
Restore the ASET configuration to vendor default and only modify the portions of the configuration designated as customizable.
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-000032
- Version
- GEN000000-SOL00220
- Vuln IDs
-
- V-227541
- V-955
- Rule IDs
-
- SV-227541r603266_rule
- SV-955
Checks: C-29703r488156_chk
Determine if ASET is being used. # crontab -l | grep aset If ASET is not used on the system, this is not applicable. If ASET is being used, but is not invoked with the "-u /usr/aset/userlist" option, this is a finding. Check the /usr/aset/userlist file. # ls -lL /usr/aset/userlist If /usr/aset/userlist file does not exist, this is a finding. An empty /usr/aset/userlist file, while not optimal, is not a finding.
Fix: F-29691r488157_fix
Create the /usr/aset/userlist file and populate it with a list of authorized users.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00240
- Vuln IDs
-
- V-227542
- V-956
- Rule IDs
-
- SV-227542r603266_rule
- SV-956
Checks: C-29704r488159_chk
If ASET is not used on the system, this is not applicable. Check the ownership of the /usr/aset/userlist file. # ls -lL /usr/aset/userlist If the owner of the file is not root, this is a finding.
Fix: F-29692r488160_fix
Use the chmod command to change the owner of the /usr/aset/userlist file. # chown root /usr/aset/userlist
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00250
- Vuln IDs
-
- V-227543
- V-22600
- Rule IDs
-
- SV-227543r603266_rule
- SV-27013
Checks: C-29705r488162_chk
Check the group ownership of the file. # ls -lLd /usr/aset/userlist If the group owner of the file is not root, this is a finding.
Fix: F-29693r488163_fix
Change the group ownership of the file. # chgrp root /usr/aset/userlist
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00260
- Vuln IDs
-
- V-227544
- V-957
- Rule IDs
-
- SV-227544r603266_rule
- SV-957
Checks: C-29706r488165_chk
# ls -lL /usr/aset/userlist If /usr/aset/userlist has a mode more permissive than 0600, this is a finding.
Fix: F-29694r488166_fix
Change the mode of the /usr/aset/userlist file to 0600. # chmod 0600 /usr/aset/userlist
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00270
- Vuln IDs
-
- V-227545
- V-22601
- Rule IDs
-
- SV-227545r603266_rule
- SV-27015
Checks: C-29707r488168_chk
Check the permissions of the file. # ls -lLd /usr/aset/userlist If the permissions of the file or directory contains a "+", an extended ACL is present, this is a finding.
Fix: F-29695r488169_fix
Remove the extended ACL from the file. # chmod A- /usr/aset/userlist
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN000000-SOL00400
- Vuln IDs
-
- V-227546
- V-4300
- Rule IDs
-
- SV-227546r603266_rule
- SV-40041
Checks: C-36435r602908_chk
To enable NFS server logging the log option must be applied to all exported file systems in the /etc/dfs/dfstab. Perform the following to verify NFS is enabled. # share The preceding command will display all exported filesystems. Each line should contain a log entry to indicate logging is enabled. If the log entry is not present, this is a finding. If the share command does not return anything, then this is not an NFS server and this is considered not applicable. NFS version 4 does not support server logging. Verify NFS_SERVER_VERSMAX in /etc/default/nfs. # grep NFS_SERVER_VERSMAX /etc/default/nfs If NFS_SERVER_VERSMAX is commented out or set to any value but 2 or 3, this is a finding.
Fix: F-36399r602909_fix
Edit /etc/dfs/dfstab and add the log option to all exported filesystems. Run the shareall command for the changes to take effect. NFS version 2 or 3 must be forced by updating the NFS_SERVER_VERSMAX variable appropriately in /etc/default/nfs and restarting the NFS daemon.
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-000032
- Version
- GEN000000-SOL00420
- Vuln IDs
-
- V-227547
- V-12032
- Rule IDs
-
- SV-227547r603266_rule
- SV-12533
Checks: C-29709r488174_chk
Search for all files with hidden extended attributes. # find / -xattr -print -exec runat {} ls -al \; If hidden extended file attributes exist, this is a finding.
Fix: F-29697r488175_fix
Remove the hidden extended file attributes. # runat <file name> rm <attribute name>
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN000000-SOL00440
- Vuln IDs
-
- V-227548
- V-12033
- Rule IDs
-
- SV-227548r603266_rule
- SV-12534
Checks: C-29710r488177_chk
Check passwd and group files for non-root user ids and group ids with a GID of 0. # more /etc/passwd # more /etc/group OR # awk -F: '$4 == 0' /etc/passwd # awk -F: '$3 == 0' /etc/group Confirm the only account with a group id of 0 is root. If the root account is not the only account with GID of 0, this is a finding.
Fix: F-29698r488178_fix
Change the default GID of non-root accounts to a valid GID other than 0.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00540
- Vuln IDs
-
- V-227549
- V-22603
- Rule IDs
-
- SV-227549r603266_rule
- SV-27016
Checks: C-29711r488180_chk
Check the ownership of the files and directories. # ls -lLdR /etc/zones If the owner of the file is not root, this is a finding. If zones are not installed on the system, this is not a finding.
Fix: F-29699r488181_fix
Change the ownership of the files and directories. # chown -R root /etc/zones
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00560
- Vuln IDs
-
- V-227550
- V-22604
- Rule IDs
-
- SV-227550r603266_rule
- SV-27018
Checks: C-29712r488183_chk
Check the group ownership of the files and directories. # ls -lLRa /etc/zones If the group owner of the directory and all files is not root, sys, or bin, this is a finding. If zones are not installed on the system, this is not a finding.
Fix: F-29700r488184_fix
Change the group ownership of the files and directories. # chgrp -R sys /etc/zones # chgrp root /etc/zones/*.xml # chgrp bin /etc/zones/SUN*.xml
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00580
- Vuln IDs
-
- V-227551
- V-22605
- Rule IDs
-
- SV-227551r603266_rule
- SV-27019
Checks: C-29713r488186_chk
Check the permissions of the files and directories. # ls -lLdR /etc/zones If the mode of a directory is more permissive than 0755, or the mode of a file more permissive than 0644, this is a finding. If zones are not installed on the system, this is not a finding.
Fix: F-29701r488187_fix
Change the mode of the file or directory. # chmod 0644 <file> For directories: # chmod 0755 <directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00600
- Vuln IDs
-
- V-227552
- V-22606
- Rule IDs
-
- SV-227552r603266_rule
- SV-27020
Checks: C-29714r488189_chk
Check the permissions of the file. # ls -lLd /etc/zones # ls -lLR /etc/zones If the permissions of the file or directory contains a "+", an extended ACL is present, this is a finding. If zones are not installed on the system, this is not a finding.
Fix: F-29702r488190_fix
Remove the extended ACL from the file. # chmod A- <file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00620
- Vuln IDs
-
- V-227553
- V-22607
- Rule IDs
-
- SV-227553r603266_rule
- SV-27022
Checks: C-29715r488192_chk
If the system is not a global zone, this vulnerability is not applicable. List the non-global zones on the system. # zoneadm list -vi List the configuration for each zone. # zonecfg -z <zone> info Check the inherit-pkg-dir lines. If no such lines exist, this is not a finding. If the lines contain only those defined for sparse root zones (/lib, /platform, /sbin, /usr), this is not a finding. Otherwise, this is a finding.
Fix: F-29703r488193_fix
Remove the inherit-pkg-dir lines or the directories not defined for sparse root zones. # zonecfg -z <zone> remove inherit-pkg-dir=<somedir>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00640
- Vuln IDs
-
- V-227554
- V-22608
- Rule IDs
-
- SV-227554r603266_rule
- SV-27023
Checks: C-29716r488195_chk
If the system is not a global zone, this vulnerability is not applicable. List the non-global zones on the system. # zoneadm list -vi List the configuration for each zone. # zonecfg -z <zone> info Check the limitpriv lines. If a line set other than default, this is a finding. If limitpriv is not set, this is not a finding.
Fix: F-29704r488196_fix
Change the limitpriv setting to default. # zonecfg -z <zone> set limitpriv=default
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-SOL00660
- Vuln IDs
-
- V-227555
- V-22609
- Rule IDs
-
- SV-227555r603266_rule
- SV-27024
Checks: C-29717r488198_chk
If the system is not a global zone, this vulnerability is not applicable. List the non-global zones on the system. # zoneadm list -vi List the configuration for each zone. # zonecfg -z <zone> info Check for device lines. If such a line exists, this is a finding.
Fix: F-29705r488199_fix
Remove all device assignments from the non-global zone. # zonecfg -z <zone> remove device <device>
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN000100
- Vuln IDs
-
- V-227556
- V-11940
- Rule IDs
-
- SV-227556r877415_rule
- SV-27051
Checks: C-36436r877414_chk
Note: This STIG has been moved to sunset and will no longer be maintained. # uname -a Oracle has committed to indefinite "sustaining support" for recent Solaris operating system releases. Verify proof of purchase of support from Oracle. If the release is not supported, this is a finding.
Fix: F-36400r602912_fix
Upgrade to a supported version of the operating system.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000120
- Vuln IDs
-
- V-227557
- V-783
- Rule IDs
-
- SV-227557r603266_rule
- SV-40813
Checks: C-29719r488207_chk
Use the smpatch(1m) utility to check for available security updates from Oracle. # smpatch analyze If there are security updates available, this is a finding.
Fix: F-29707r488208_fix
Apply available security updates from Oracle. # smpatch update
- RMF Control
- CM-3
- Severity
- M
- CCI
- CCI-001744
- Version
- GEN000140
- Vuln IDs
-
- V-227558
- V-11941
- Rule IDs
-
- SV-227558r854462_rule
- SV-12442
Checks: C-36437r602914_chk
Determine if a file integrity baseline, which includes cryptographic hashes, has been created and maintained for the system. If no file integrity baseline exists for the system, this is a finding. If the file integrity baseline contains no cryptographic hashes, this is a finding. If the file integrity baseline is not maintained (has not been updated to be consistent with the latest approved system configuration changes), this is a finding.
Fix: F-36401r602915_fix
Create a file integrity baseline, including cryptographic hashes, for the system.
- RMF Control
- CM-3
- Severity
- M
- CCI
- CCI-001744
- Version
- GEN000220
- Vuln IDs
-
- V-227559
- V-11945
- Rule IDs
-
- SV-227559r854463_rule
- SV-28610
Checks: C-36438r602917_chk
Determine if there is a cron job, scheduled to run weekly or more frequently, to run the file integrity tool to check for unauthorized system libraries or binaries, or unauthorized modification to authorized system libraries or binaries. Procedure: # crontab -l If there is no cron job meeting these requirements, this is a finding. NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
Fix: F-36402r602918_fix
Create a cron job, scheduled to run weekly or more frequently, to run the file integrity tool to check for unauthorized system libraries or binaries, or unauthorized modification to authorized system libraries or binaries. NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
- RMF Control
- AU-8
- Severity
- M
- CCI
- CCI-001891
- Version
- GEN000240
- Vuln IDs
-
- V-227560
- V-4301
- Rule IDs
-
- SV-227560r877410_rule
- SV-40040
Checks: C-29722r877408_chk
NTP must be used and used only in the global zone. Determine the zone currently being secured. # zonename If the command output is not "global", NTP must be disabled. Check the system for a running NTP daemon. # svcs \*ntp\* | grep online If NTP or NTP4 is online, this is a finding. If the output from "zonename" is "global", NTP must be enabled. Check the system for a running NTP daemon. # svcs \*ntp\* | grep online If NTP or NTP4 is not online, this is a finding. If NTP is running, confirm the servers and peers or multicast client (as applicable) are local or an authoritative U.S. DoD source. # more /etc/inet/ntp.conf If a nonlocal/nonauthoritative (U.S. DoD source) time-server is used, this is a finding.
Fix: F-29710r877409_fix
Use a local authoritative time server synchronizing to an authorized DoD time source. Ensure all systems in the facility feed from one or more local time servers that feed from the authoritative time server.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000241
- Vuln IDs
-
- V-227561
- V-22290
- Rule IDs
-
- SV-227561r877413_rule
- SV-26291
Checks: C-29723r877411_chk
NTP must be used and used only in the global zone. Determine the type of zone currently being secured. # zonename If the command output is not "global", then NTP must be disabled. Check the system for a running NTP daemon. # svcs \*ntp\* | grep online If NTP or NTP4 is online, this is a finding. If the output from "zonename" is "global", then NTP must be enabled. Check the system for a running NTP daemon. # svcs \*ntp\* | grep online If NTP or NTP 4 is not online, this is a finding.
Fix: F-29711r877412_fix
Determine the type of zone currently being secured. # zonename If the command output is not "global", then NTP and NTP4 must be disabled. # svcadm disable ntp # svcadm disable ntp4 If the output from "zonename" is "global", then NTP or NTP4 must be enabled. # svcadm enable ntp or # svcadm enable ntp4
- RMF Control
- AU-8
- Severity
- M
- CCI
- CCI-001891
- Version
- GEN000242
- Vuln IDs
-
- V-227562
- V-22291
- Rule IDs
-
- SV-227562r877038_rule
- SV-26303
Checks: C-29724r488222_chk
Determine the zone that you are currently securing. # zonename If the command output is not "global", this is not applicable. Check the NTP daemon configuration for at least two external servers. # grep '^server' /etc/inet/ntp.conf | egrep -v '(127.127.1.1|127.127.1.0)' If less than two servers or external reference clocks (127.127.x.x other than 127.127.1.0 or 127.127.1.1) are listed, this is a finding.
Fix: F-29712r488223_fix
Add an additional server line to /etc/inet/ntp.conf for each additional NTP server.
- RMF Control
- AU-8
- Severity
- L
- CCI
- CCI-001891
- Version
- GEN000244
- Vuln IDs
-
- V-227563
- V-22292
- Rule IDs
-
- SV-227563r877038_rule
- SV-26305
Checks: C-29725r488225_chk
Determine the zone that you are currently securing. # zonename If the command output is not "global", this is not applicable. Check the NTP daemon configuration. # grep '^server' /etc/inet/ntp.conf If an NTP server is listed outside of the enclave, this is a finding.
Fix: F-29713r488226_fix
Remove the server line from /etc/inet/ntp.conf for each NTP server that is external to the enclave.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000250
- Vuln IDs
-
- V-227564
- V-22294
- Rule IDs
-
- SV-227564r603266_rule
- SV-26293
Checks: C-29726r488228_chk
Run ls -l /etc/inet/ntp.conf to display the owner of the NTP configuration file. If the owner is not root, this is a finding.
Fix: F-29714r488229_fix
Change the owner of the NTP configuration file to root. # chown root /etc/inet/ntp.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000251
- Vuln IDs
-
- V-227565
- V-22295
- Rule IDs
-
- SV-227565r603266_rule
- SV-26296
Checks: C-29727r488231_chk
Check the group ownership of the NTP configuration file. Procedure: # ls -l /etc/inet/ntp.conf If the group owner is not root, bin, or sys, this is a finding.
Fix: F-29715r488232_fix
Change the group owner of the NTP configuration file. Procedure: # chgrp root /etc/inet/ntp.conf
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN000252
- Vuln IDs
-
- V-227566
- V-22296
- Rule IDs
-
- SV-227566r854467_rule
- SV-26298
Checks: C-29728r488234_chk
Verify the mode for the NTP configuration file is not more permissive than 0640. # ls -l /etc/inet/ntp.conf If the mode is more permissive than 0640, this is a finding.
Fix: F-29716r488235_fix
Change the mode of the NTP configuration file to 0640 or less permissive. # chmod 0640 /etc/inet/ntp.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000253
- Vuln IDs
-
- V-227567
- V-22297
- Rule IDs
-
- SV-227567r603266_rule
- SV-26301
Checks: C-29729r488237_chk
Check for an extended ACL on the NTP configuration file. # ls -l /etc/inet/ntp.conf If the permissions contain a "+", the file has an extended ACL and this is a finding.
Fix: F-29717r488238_fix
Remove the extended ACL from the file. # chmod A- /etc/inet/ntp.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000290
- Vuln IDs
-
- V-227568
- V-4269
- Rule IDs
-
- SV-227568r603266_rule
- SV-4269
Checks: C-36439r602920_chk
Check the system for unnecessary user accounts. Procedure: # more /etc/passwd Some examples of unnecessary accounts include games, news, gopher, ftp, and lp. If an unnecessary account is found and its use is not justified and documented with the ISSO, this is a finding.
Fix: F-36403r602921_fix
Remove all unnecessary accounts, such as games, from the /etc/passwd file before connecting a system to the network. Other accounts, such as news and gopher, associated with a service not in use should also be removed.
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000764
- Version
- GEN000300
- Vuln IDs
-
- V-227569
- V-761
- Rule IDs
-
- SV-227569r603266_rule
- SV-27061
Checks: C-29731r488246_chk
Check the system for duplicate account names. Example: # passwd -sa | sort | uniq -c | awk '$1 > 1 {print $2}' If any duplicate account names are found, this is a finding.
Fix: F-29719r488247_fix
Change user account names, or delete accounts, so each account has a unique name.
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000764
- Version
- GEN000320
- Vuln IDs
-
- V-227570
- V-762
- Rule IDs
-
- SV-227570r603266_rule
- SV-27065
Checks: C-29732r488249_chk
Perform the following to ensure there are no duplicate UIDs. # logins -d If any duplicate UIDs are found, this is a finding.
Fix: F-29720r488250_fix
Edit user accounts to provide unique UIDs for each account.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000340
- Vuln IDs
-
- V-227571
- V-11946
- Rule IDs
-
- SV-227571r603266_rule
- SV-12447
Checks: C-29733r488252_chk
Check the UID assignments of all accounts. # more /etc/passwd Confirm all accounts with a UID of 99 and below are used by a system account. If a UID reserved for system accounts (0 - 99) is used by a non-system account, this is a finding.
Fix: F-29721r488253_fix
Change the UID numbers for non-system accounts with reserved UIDs (those less or equal to 99).
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000360
- Vuln IDs
-
- V-227572
- V-780
- Rule IDs
-
- SV-227572r603266_rule
- SV-28658
Checks: C-29734r488255_chk
# more /etc/passwd Confirm all accounts with a GID of 99 and below are used by a system account. If a GID reserved for system accounts (0 - 99) is used by a non-system account, this is a finding.
Fix: F-29722r488256_fix
Change the primary group GID numbers for non-system accounts with reserved primary group GIDs (those less or equal to 99). # usermod -g <new_group> <user>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN000380
- Vuln IDs
-
- V-227573
- V-781
- Rule IDs
-
- SV-227573r603266_rule
- SV-27069
Checks: C-29735r488258_chk
Perform the following to ensure there are no GIDs referenced in /etc/passwd not defined in /etc/group. # logins -o | awk -F: '$3 == ""' If any lines are returned, there are GIDs referenced in /etc/passwd that are not defined in /etc/group, this is a finding.
Fix: F-29723r488259_fix
Add a group to the system for each GID referenced that does not have a corresponding group. #/usr/sbin/groupadd < group >
- RMF Control
- AC-8
- Severity
- M
- CCI
- CCI-000048
- Version
- GEN000400
- Vuln IDs
-
- V-227574
- V-763
- Rule IDs
-
- SV-227574r603266_rule
- SV-28596
Checks: C-36440r602923_chk
Access the system console and make a logon attempt. Check for either of the following login banners based on the character limitations imposed by the system. An exact match is required. If one of these banners is not displayed, this is a finding. "You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests--not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details. " OR "I've read & consent to terms in IS user agreem't."
Fix: F-36404r602924_fix
Edit /etc/issue and add one of the DoD login banners (based on the character limitations imposed by the system). DoD Login Banners: "You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests--not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details." OR "I've read & consent to terms in IS user agreem't."
- RMF Control
- AC-8
- Severity
- M
- CCI
- CCI-000048
- Version
- GEN000402
- Vuln IDs
-
- V-227575
- V-24331
- Rule IDs
-
- SV-227575r603266_rule
- SV-39880
Checks: C-36441r602926_chk
If the system does not use XWindows, this is not applicable. Check the "Dtlogin*greeting.labelString" parameter in /etc/dt/config/C/Xresources for either of the following login banners based on the character limitations imposed by the system. An exact match is required. If one of these banners is not displayed, this is a finding. If the file does not exist, this is a finding. "You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests--not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details. " OR "I've read & consent to terms in IS user agreem't."
Fix: F-36405r602927_fix
Create/update /etc/dt/config/C/Xresources with Dtlogin*greeting.labelString: [DoD login banner text]. DoD Login Banners: "You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests--not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details." OR "I've read & consent to terms in IS user agreem't."
- RMF Control
- AC-8
- Severity
- M
- CCI
- CCI-000048
- Version
- GEN000410
- Vuln IDs
-
- V-227576
- V-23732
- Rule IDs
-
- SV-227576r603266_rule
- SV-39879
Checks: C-29738r488267_chk
FTP to the system. # ftp localhost Check for either of the following login banners based on the character limitations imposed by the system. An exact match is required. If one of these banners is not displayed, this is a finding. If the system does not run the FTP service, this is not applicable. DoD Login Banners: "You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests--not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details." OR "I've read & consent to terms in IS user agreem't."
Fix: F-29726r488268_fix
Edit /etc/ftpd/ftpaccess and add or edit the BANNER parameter ("banner /etc/ftpd/banner.msg"). # vi /etc/ftpd/ftpaccess Add one of the DoD Login Banners (based on the character limitations imposed by the system) to the /etc/ftpd/banner.msg file. # vi /et
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN000440
- Vuln IDs
-
- V-227577
- V-765
- Rule IDs
-
- SV-227577r603266_rule
- SV-27080
Checks: C-36442r602929_chk
Determine if successful logons are being logged. # last | more Determine if unsuccessful logons are being logged. # more /var/adm/loginlog If the commands do not return successful and unsuccessful logins, this is a finding. Check the syslog daemon configuration for authentication logging. # egrep "auth\.(info|debug)" /etc/syslog.conf If there are no entries in syslog for the auth service, this is a finding.
Fix: F-36406r602930_fix
Verify that login logs are handled correctly in the /etc/syslog.conf file. Edit the /etc/syslog.conf file and add one of the entries below. auth.debug /var/log/authlog OR auth.* /var/log/authlog Verify that service startup scripts for syslog and utmp (if present) are enabled.
- RMF Control
- AC-9
- Severity
- L
- CCI
- CCI-000052
- Version
- GEN000452
- Vuln IDs
-
- V-227578
- V-22299
- Rule IDs
-
- SV-227578r603266_rule
- SV-26310
Checks: C-29740r488273_chk
Determine if the system displays the date and time of the last successful login upon logging in. This can be accomplished by logging into the system and verifying whether or not the necessary information is displayed. If the system does not provide this information upon login, this is a finding. Last login information is provided automatically by the login(1) program for telnet and console login sessions. Verify the SSH daemon is configured to display last login information. # grep -i PrintLastLog /etc/ssh/sshd_config If PrintLastLog is present in the configuration and not disabled, this is not a finding. Otherwise, this is a finding.
Fix: F-29728r488274_fix
Configure the system to display the date and time of the last successful login upon logging in. Enable PrintLastLog in the SSH daemon. To enable PrintLastLog in the SSH daemon, remove any lines disabling this option from /etc/ssh/sshd_config.
- RMF Control
- AC-11
- Severity
- L
- CCI
- CCI-000057
- Version
- GEN000510
- Vuln IDs
-
- V-227579
- V-22301
- Rule IDs
-
- SV-227579r603266_rule
- SV-39865
Checks: C-29741r488285_chk
Determine if a publicly-viewable pattern is displayed during a session lock. If the session lock pattern is not publicly-viewable, this is a finding. Acceptable checks for settings. # grep -i dtsession /etc/dt/config/C/sys.resources | egrep -i "saverList|saverTimeout" The saverTimeout value should be 15 (see GEN000500). The saverList value of StartDtscreenBlank is an acceptable screensaver.
Fix: F-29729r488286_fix
Edit the /etc/dt/config/C/sys.resources file and add/edit the following lines, using 15 for the saverTimeout, and using StartDtscreenBlank for the saverList. dtsession*saverTimeout: 15 dtsession*saverList: StartDtscreenBlank
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-002233
- Version
- GEN000520
- Vuln IDs
-
- V-227580
- V-769
- Rule IDs
-
- SV-227580r854468_rule
- SV-769
Checks: C-36443r602932_chk
If there is an application running on the system continuously in use (such as a network monitoring application), ask the SA what the name of the application is. Execute the following to determine which user owns the process(es) associated with the application. If the owner is root, this is a finding. # ps -ef | more
Fix: F-36407r602933_fix
Configure the system so the owner of a session requiring a continuous screen display, such as a network management display, is not root. Ensure the display is also located in a secure, controlled access area. Document and justify this requirement. Ensure the terminal and keyboard for the display (or workstation) are secure from all but authorized personnel by maintaining them in a secure area, in a locked cabinet where a swipe card, or other positive forms of identification, must be used to gain entry.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000198
- Version
- GEN000540
- Vuln IDs
-
- V-227581
- V-1032
- Rule IDs
-
- SV-227581r603266_rule
- SV-39809
Checks: C-29743r488291_chk
Check the minimum time period between password changes for each user account is 1 day or greater. # awk -F: '$4 < 1 {print $1}' /etc/shadow If any results are returned that are not associated with a system account, this is a finding.
Fix: F-29731r488292_fix
Edit the /etc/default/passwd file and set the variable "MINWEEKS" to 1 or greater. Set the per-user minimum password change times by using the following command on each user account. # passwd -n <number of days> <accountname>
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN000560
- Vuln IDs
-
- V-227582
- V-770
- Rule IDs
-
- SV-227582r603266_rule
- SV-27105
Checks: C-29744r488294_chk
Verify no accounts have blank passwords. # logins -p If any account with a blank password is found, this is a finding.
Fix: F-29732r488295_fix
Remove, lock, or configure a password for any account with a blank password.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000205
- Version
- GEN000580
- Vuln IDs
-
- V-227583
- V-11947
- Rule IDs
-
- SV-227583r603266_rule
- SV-27110
Checks: C-29745r488297_chk
Check the system password length setting. # grep PASSLENGTH /etc/default/passwd If PASSLENGTH is not set to 15 or more, this is a finding.
Fix: F-29733r488298_fix
Edit /etc/default/passwd and set the PASSLENGTH variable to 15 or greater.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000205
- Version
- GEN000585
- Vuln IDs
-
- V-227584
- V-22302
- Rule IDs
-
- SV-227584r603266_rule
- SV-26318
Checks: C-36444r602935_chk
Verify no password hash in /etc/passwd or /etc/shadow begins with a character other than an underscore (_) or dollar sign ($). # cut -d ':' -f2 /etc/passwd | egrep -v '^[*!$_]' # cut -d ':' -f2 /etc/shadow | egrep -v '^[*!$_]' If any unlocked password hash is present without an initial underscore (_) or dollar sign ($) character, this is a finding.
Fix: F-36408r602936_fix
Edit /etc/security/policy.conf and add or change the CRYPT_DEFAULT setting to something other than __unix__, such as 6. Allowable values for CRYPT_DEFAULT may be found in the /etc/security/crypt.conf file. Change any passwords using non-compliant hashes.
- RMF Control
- IA-7
- Severity
- M
- CCI
- CCI-000803
- Version
- GEN000590
- Vuln IDs
-
- V-227585
- V-22303
- Rule IDs
-
- SV-227585r603266_rule
- SV-40776
Checks: C-36445r602938_chk
Verify the traditional UNIX crypt algorithm is deprecated. # egrep CRYPT_ALGORITHMS_ALLOW /etc/security/policy.conf If CRYPT_ALGORITHMS_ALLOW is not set, is not set to "6", or is not set to "5,6", this is a finding. Verify new password hashes are generated using either the SHA-256 or SHA-512 cryptographic hashing algorithm. # egrep CRYPT_DEFAULT /etc/security/policy.conf If CRYPT_DEFAULT is not set or is not equal to 5 or 6, this is a finding.
Fix: F-36409r602939_fix
Edit the /etc/security/policy.conf file. # vi /etc/security/policy.conf Uncomment or add the CRYPT_ALGORITHMS_ALLOW line and set it to "5,6". Update the CRYPT_DEFAULT default line to be equal to 5 or 6. The following lines are acceptable. CRYPT_ALGORITHMS_ALLOW=5,6 CRYPT_DEFAULT=6
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000196
- Version
- GEN000595
- Vuln IDs
-
- V-227586
- V-22304
- Rule IDs
-
- SV-227586r603266_rule
- SV-40790
Checks: C-36446r602941_chk
Determine if any password hashes stored on the system were not generated using a FIPS 140-2 approved cryptographic hashing algorithm. Procedure: # cut -d ':' -f2 /etc/passwd # cut -d ':' -f2 /etc/shadow If any password hashes are present not beginning with $5$ or $6$, this is a finding. Verify that FIPS 140-2 approved cryptographic hashing algorithms are available. # egrep '^[56]' /etc/security/crypt.conf If no lines are returned, this is a finding.
Fix: F-36410r602942_fix
If the /etc/security/crypt.conf file does not support FIPS 140-2 approved cryptographic hashing algorithms, upgrade to at least the Solaris 10 8/07 release. Edit the /etc/security/policy.conf file. # vi /etc/security/policy.conf Uncomment or add the CRYPT_ALGORITHMS_ALLOW line and set it to "5,6". Update the CRYPT_DEFAULT default line to be equal to 5 or 6. The following lines are acceptable. CRYPT_ALGORITHMS_ALLOW=5,6 CRYPT_DEFAULT=6 Update passwords for all accounts with non-compliant password hashes.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000192
- Version
- GEN000600
- Vuln IDs
-
- V-227587
- V-11948
- Rule IDs
-
- SV-227587r603266_rule
- SV-27115
Checks: C-29749r488309_chk
Check the MINUPPER setting. # egrep MINUPPER /etc/default/passwd If MINUPPER is not set to 1 or more, this is a finding.
Fix: F-29737r488310_fix
Edit /etc/default/passwd and set the MINUPPER setting to at least 1.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000194
- Version
- GEN000620
- Vuln IDs
-
- V-227588
- V-11972
- Rule IDs
-
- SV-227588r603266_rule
- SV-27119
Checks: C-29750r488312_chk
Check the MINDIGIT setting. # grep MINDIGIT /etc/default/passwd If the MINDIGIT setting is less than 1, this is a finding.
Fix: F-29738r488313_fix
Edit /etc/default/passwd and set the MINDIGIT setting to 1.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-001619
- Version
- GEN000640
- Vuln IDs
-
- V-227589
- V-11973
- Rule IDs
-
- SV-227589r603266_rule
- SV-27123
Checks: C-29751r488315_chk
Check the MINSPECIAL setting. # grep MINSPECIAL /etc/default/passwd If the MINSPECIAL setting is less than 1, this is a finding.
Fix: F-29739r488316_fix
Edit /etc/default/passwd and set MINSPECIAL to 1.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000680
- Vuln IDs
-
- V-227590
- V-11975
- Rule IDs
-
- SV-227590r603266_rule
- SV-27126
Checks: C-29752r488318_chk
Check the MAXREPEATS setting. # grep MAXREPEATS /etc/default/passwd If the MAXREPEATS setting is greater than 3, this is a finding.
Fix: F-29740r488319_fix
Edit /etc/default/passwd and set MAXREPEATS to 3.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000199
- Version
- GEN000700
- Vuln IDs
-
- V-227591
- V-11976
- Rule IDs
-
- SV-227591r603266_rule
- SV-39845
Checks: C-29753r488321_chk
Check the max days field (the 5th field) of /etc/shadow. # awk -F: '{print $1 ":" $5;}' /etc/shadow If the max days field is equal to 0 or greater than 60 for any account that is not password-locked, this is a finding.
Fix: F-29741r488322_fix
Set the max days field to 60 for all user accounts. # passwd -x 60 <user> Set the MAXWEEKS parameter in /etc/default/passwd to a positive, non-zero value of 8 or less.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000199
- Version
- GEN000740
- Vuln IDs
-
- V-227592
- V-11977
- Rule IDs
-
- SV-227592r603266_rule
- SV-12478
Checks: C-29754r488324_chk
Ask the SA if there are any automated processing accounts on the system. If there are automated processing accounts on the system, ask the SA if the passwords for those automated accounts are changed at least once a year. If SA indicates passwords for automated processing accounts are not changed once per year, this is a finding.
Fix: F-29742r488325_fix
Implement or establish procedures to change the passwords of automated processing accounts at least once per year.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000195
- Version
- GEN000750
- Vuln IDs
-
- V-227593
- V-22306
- Rule IDs
-
- SV-227593r603266_rule
- SV-26324
Checks: C-29755r488327_chk
Check /etc/default/passwd to verify the MINDIFF setting. # grep MINDIFF /etc/default/passwd If the setting is not present, or is less than 8, this is a finding.
Fix: F-29743r488328_fix
Edit /etc/default/passwd and set or add a MINDIFF setting equal to or greater than 8.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000790
- Vuln IDs
-
- V-227594
- V-22307
- Rule IDs
-
- SV-227594r603266_rule
- SV-26345
Checks: C-29756r488333_chk
Check /etc/default/passwd for dictionary check configuration. # grep DICTION /etc/default/passwd If the DICTIONLIST or DICTIONDBDIR settings are not present, or are set to non-existent files or directories, this is a finding.
Fix: F-29744r488334_fix
Edit /etc/default/passwd; add or set DICTIONLIST to the dictionary file and DICTIONDBDIR to a database directory such as /var/passwd. Generate the password dictionary by running the mkpwdict command.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000200
- Version
- GEN000800
- Vuln IDs
-
- V-227595
- V-4084
- Rule IDs
-
- SV-227595r603266_rule
- SV-27132
Checks: C-29757r488336_chk
Check the HISTORY setting. # grep HISTORY /etc/default/passwd If HISTORY is not set to 5 or more, this is a finding.
Fix: F-29745r488337_fix
Edit /etc/default/passwd and set HISTORY to 5.
- RMF Control
- IA-2
- Severity
- L
- CCI
- CCI-000770
- Version
- GEN000850
- Vuln IDs
-
- V-227596
- V-22308
- Rule IDs
-
- SV-227596r603266_rule
- SV-39876
Checks: C-29758r488339_chk
Verify the root user is configured as a role, rather than a normal user. # egrep '^root:' /etc/user_attr If the returned line does not include "type=role", this is a finding. Verify at least one local user has been assigned the root role. # egrep '[:;]roles=[^;]*,?root([,;]|$)' /etc/user_attr If no lines are returned, no users are permitted to assume the root role, this is a finding.
Fix: F-29746r488340_fix
Convert the root user into a role. # usermod -K type=role root Add the root role to authorized users' logins. # usermod -R root <userid>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN000900
- Vuln IDs
-
- V-227597
- V-774
- Rule IDs
-
- SV-227597r603266_rule
- SV-774
Checks: C-36447r602944_chk
Determine if root is assigned a home directory other than / by listing its home directory. Procedure: # grep "^root" /etc/passwd | awk -F":" '{print $6}' If the root user home directory is /, this is a finding.
Fix: F-36411r602945_fix
The root home directory should be something other than / (such as /rootdir). Procedure: # mkdir /rootdir # chown root /rootdir # chgrp root /rootdir # chmod 700 /rootdir # cp -r /.??* /rootdir Edit the passwd file and change the root home directory to /rootdir. The cp -r /.??* command copies all files and subdirectories of file names beginning with "." into the new root directory, which preserves the previous root environment. The cp command must be executed from the / directory.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-002233
- Version
- GEN000920
- Vuln IDs
-
- V-227598
- V-775
- Rule IDs
-
- SV-227598r854469_rule
- SV-775
Checks: C-29760r488348_chk
Check the mode of the root home directory. Procedure: # grep "^root" /etc/passwd | awk -F":" '{print $6}' # ls -ld <root home directory> If the mode of the directory is not equal to 0700, this is a finding. If the home directory is /, this is not applicable.
Fix: F-29748r488349_fix
The root home directory will have permissions of 0700. Do not change the protections of the / directory. Use the following command to change protections for the root home directory. # chmod 0700 /rootdir.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000930
- Vuln IDs
-
- V-227599
- V-22309
- Rule IDs
-
- SV-227599r603266_rule
- SV-26353
Checks: C-29761r488351_chk
Verify the root account's home directory has no extended ACL. # ls -ld ~root If the permissions include a "+", the directory has an extended ACL and this is a finding.
Fix: F-29749r488352_fix
Remove the extended ACL from the directory. # chmod A- ~root
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000940
- Vuln IDs
-
- V-227600
- V-776
- Rule IDs
-
- SV-227600r603266_rule
- SV-776
Checks: C-36448r602947_chk
To view the root user's PATH, log in as the root user, and execute the following. # env | grep PATH This variable is formatted as a colon-separated list of directories. If there is an empty entry, such as a leading or trailing colon or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-36412r602948_fix
Edit the root user's local initialization files. Remove any empty path entries. Remove any relative path entries that have not been documented with the ISSO. Edit the root user's local initialization files and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000945
- Vuln IDs
-
- V-227601
- V-22310
- Rule IDs
-
- SV-227601r603266_rule
- SV-26355
Checks: C-29763r488357_chk
Verify the LD_LIBRARY_PATH environment variable is empty or not defined for the root user. # echo $LD_LIBRARY_PATH If a path list is returned, this is a finding.
Fix: F-29751r488358_fix
Edit the root user initialization files and remove any definition of LD_LIBRARY_PATH.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000950
- Vuln IDs
-
- V-227602
- V-22311
- Rule IDs
-
- SV-227602r603266_rule
- SV-26357
Checks: C-29764r488360_chk
Verify the LD_PRELOAD environment variable is empty or not defined for the root user. # echo $LD_PRELOAD If a path list is returned, this is a finding.
Fix: F-29752r488361_fix
Edit the root user initialization files and remove any definition of LD_PRELOAD.
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN000980
- Vuln IDs
-
- V-227603
- V-778
- Rule IDs
-
- SV-227603r603266_rule
- SV-27143
Checks: C-29765r488366_chk
Check the CONSOLE setting in /etc/default/login # grep CONSOLE /etc/default/login If CONSOLE is set to a value other than /dev/console, this is a finding.
Fix: F-29753r488367_fix
Edit the /etc/default/login file and uncomment the line containing /dev/console if it is commented out.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-002314
- Version
- GEN001000
- Vuln IDs
-
- V-227604
- V-4298
- Rule IDs
-
- SV-227604r854470_rule
- SV-27147
Checks: C-29766r488369_chk
Verify no auxiliary consoles are defined. # consadm -p If any output is generated, this is a finding.
Fix: F-29754r488370_fix
Remove each auxiliary console. # consadm -d <console device>
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN001020
- Vuln IDs
-
- V-227605
- V-11979
- Rule IDs
-
- SV-227605r603266_rule
- SV-39848
Checks: C-29767r488372_chk
Check if the root is used for direct logins. Procedure: # last root | grep -v reboot If any direct login records for root exist, this is a finding. Verify the root user is configured as a role, rather than a normal user. Procedure: # egrep '^root:' /etc/user_attr If the returned line does not include "type=role", this is a finding.
Fix: F-29755r488373_fix
Convert the root user into a role. # usermod -K type=role root Add the root role to authorized users' logins. # usermod -R root <userid>
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN001060
- Vuln IDs
-
- V-227606
- V-11980
- Rule IDs
-
- SV-227606r603266_rule
- SV-39850
Checks: C-29768r488375_chk
Check the following log files to determine if access to the root account is being logged. Try to su - and enter an incorrect password. # more /var/adm/sulog If root login accounts are not being logged, this is a finding.
Fix: F-29756r488376_fix
Update /etc/default/su and set SYSLOG=YES. Ensure /etc/syslog.conf is configured to log auth.crit messages to capture all failed su attempts.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001080
- Vuln IDs
-
- V-227607
- V-1062
- Rule IDs
-
- SV-227607r603266_rule
- SV-27157
Checks: C-29769r488378_chk
Perform the following to determine if /usr is partitioned. # grep /usr /etc/vfstab If /usr is partitioned, check the location of root's default shell. # awk -F: '$1 == "root" {print $7}' /etc/passwd If the root shell is found to be on a partitioned /usr filesystem or is in a directory symlinked to a partitioned /usr filesystem, even if the actual root shell is a symlink back to the root filesystem, this is a finding.
Fix: F-29757r488379_fix
Change the root account's shell to one present on the / filesystem. Example: # usermod -s /sbin/sh root
- RMF Control
- IA-5
- Severity
- H
- CCI
- CCI-000197
- Version
- GEN001100
- Vuln IDs
-
- V-227608
- V-1046
- Rule IDs
-
- SV-227608r603266_rule
- SV-1046
Checks: C-29770r488381_chk
Determine if root has logged in over an unencrypted network connection. First, determine if root has logged in over a network. Procedure: # last | grep "^root " | egrep -v "reboot|console" | more Next, determine if the SSH daemon is running. Procedure: # ps -ef |grep sshd If root has logged in over the network and SSHD is not running, this is a finding.
Fix: F-29758r488382_fix
Enable SSH on the system and use it for all remote connections used to attain root access.
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN001120
- Vuln IDs
-
- V-227609
- V-1047
- Rule IDs
-
- SV-227609r603266_rule
- SV-39811
Checks: C-29771r488384_chk
Determine if the SSH daemon is configured to permit root logins. Procedure: # grep -v "^#" /etc/ssh/sshd_config | grep -i permitrootlogin If the PermitRootLogin entry is not found or is not set to "no", this is a finding.
Fix: F-29759r488385_fix
Edit the configuration file and set the PermitRootLogin option to no.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001140
- Vuln IDs
-
- V-227610
- V-784
- Rule IDs
-
- SV-227610r854471_rule
- SV-39833
Checks: C-29772r488387_chk
Check system directories for uneven file permissions. Procedure: # ls -lL /etc /bin /usr/bin /usr/ucb /sbin /usr/sbin Uneven file permissions exist if the file owner has less permissions than the group or other user classes. If any of the files in the above listed directories contain uneven file permissions, this is a finding.
Fix: F-29760r488388_fix
Change the mode of files with uneven permissions so owners do not have less permission than group or world users.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001160
- Vuln IDs
-
- V-227611
- V-785
- Rule IDs
-
- SV-227611r603266_rule
- SV-785
Checks: C-36449r602950_chk
Check the system for files with no assigned owner. Procedure: # find / -nouser -print If any files have no assigned owner, this is a finding.
Fix: F-36413r602951_fix
All directories and files (executable and data) will have an identifiable owner and group name. Either trace files to an authorized user, change the file's owner to root, or delete them. Determine the legitimate owner of the files and use the chown command to set the owner and group to the correct value. If the legitimate owner cannot be determined, change the owner to root (but make sure none of the changed files remain executable because they could be Trojan horses or other malicious code). Examine the files to determine their origin and the reason for their lack of an owner/group.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001170
- Vuln IDs
-
- V-227612
- V-22312
- Rule IDs
-
- SV-227612r603266_rule
- SV-26358
Checks: C-29774r488393_chk
Search the system for files without a valid group-owner. # find / -nogroup -print If any files are found, this is a finding.
Fix: F-29762r488394_fix
Change the group owner for each file without a valid group owner. # chgrp <a-valid-group> /tmp/a-file-without-a-valid-group-owner
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001180
- Vuln IDs
-
- V-227613
- V-786
- Rule IDs
-
- SV-227613r854472_rule
- SV-27161
Checks: C-29775r488396_chk
Check the mode of network services daemons. # ls -la /usr/bin /usr/sbin If the mode of a network services daemon is more permissive than 0755, this is a finding. NOTE: Network daemons not residing in these directories (such as httpd or sshd) must also be checked for the correct permissions. A way to locate network daemons, such as httpd and sshd, is with the ps command. # ps -ef | egrep '(sshd|httpd)'
Fix: F-29763r488397_fix
Change the mode of the network services daemon. # chmod 0755 <path>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001190
- Vuln IDs
-
- V-227614
- V-22313
- Rule IDs
-
- SV-227614r603266_rule
- SV-26361
Checks: C-29776r488399_chk
Verify network services daemon files have no extended ACLs. # ls -la /usr/sbin # ls -la /usr/bin If the permissions include a "+", the file has an extended ACL and this is a finding. NOTE: Network daemons not residing in these directories (such as httpd or sshd) must also be checked for the correct permissions. A way to locate network daemons, such as httpd and sshd, is with the ps command. # ps -ef | egrep '(sshd|httpd)'
Fix: F-29764r488400_fix
Remove the extended ACL from the file. # chmod A- [file with extended ACL]
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001200
- Vuln IDs
-
- V-227615
- V-794
- Rule IDs
-
- SV-227615r603266_rule
- SV-794
Checks: C-29777r488402_chk
Check the permissions for files in /etc, /bin, /usr/bin, /usr/lbin, /usr/ucb, /sbin, and /usr/sbin. Procedure: # ls -lL /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin If any command file is listed and has a mode more permissive than 755, this is a finding. Note: Elevate to Severity Code I if any command file listed is world-writable.
Fix: F-29765r488403_fix
Change the mode for system command files to 755 or less permissive. Procedure: # chmod 755 <filename>
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001210
- Vuln IDs
-
- V-227616
- V-22314
- Rule IDs
-
- SV-227616r603266_rule
- SV-26365
Checks: C-29778r488405_chk
Verify all system command files have no extended ACLs. # ls -lL /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29766r488406_fix
Remove the extended ACL from the file. # chmod A- [file with extended ACL]
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001220
- Vuln IDs
-
- V-227617
- V-795
- Rule IDs
-
- SV-227617r603266_rule
- SV-795
Checks: C-29779r488408_chk
Check the ownership of system files, programs, and directories. Procedure: # ls -lLa /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin If any of the system files, programs, or directories are not owned by a system account, this is a finding.
Fix: F-29767r488409_fix
Change the owner of system files, programs, and directories to a system account. Procedure: # chown root /some/system/file (A different system user may be used in place of root.)
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001240
- Vuln IDs
-
- V-227618
- V-796
- Rule IDs
-
- SV-227618r603266_rule
- SV-796
Checks: C-29780r488411_chk
Check the group ownership of system files, programs, and directories. Procedure: # ls -lLa /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin If any system file, program, or directory is not group-owned by a system group, this is a finding.
Fix: F-29768r488412_fix
Change the group owner of system files to a system group. Procedure: # chgrp root /path/to/system/file (System groups other than root may be used.)
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001314
- Version
- GEN001260
- Vuln IDs
-
- V-227619
- V-787
- Rule IDs
-
- SV-227619r603266_rule
- SV-39832
Checks: C-29781r488414_chk
Check the mode of log file hierarchies. Procedure: # ls -lLRa /var/log /var/adm If any of the log files or their directories have modes more permissive than "0640", and these are not documented, this is a finding.
Fix: F-29769r488415_fix
Change the mode of the system log file(s) to 0640 or less permissive. Procedure: # chmod "0640" /path/to/system-log-file NOTE: Do not confuse system log files with audit logs. Any subsystems that require less stringent permissions must be documented.
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001314
- Version
- GEN001270
- Vuln IDs
-
- V-227620
- V-22315
- Rule IDs
-
- SV-227620r603266_rule
- SV-26369
Checks: C-29782r488417_chk
Verify all system log files have no extended ACLs. Procedure: # ls -lL /var/adm If the permissions include a "+", the file has an extended ACL. If an extended ACL exists, verify with the SA if the ACL is required to support authorized software and provides the minimum necessary permissions. If an extended ACL exists that provides access beyond the needs of authorized software, this is a finding.
Fix: F-29770r488418_fix
Remove the extended ACL from the file. # chmod A- [file with extended ACL]
- RMF Control
- AC-3
- Severity
- L
- CCI
- CCI-002165
- Version
- GEN001280
- Vuln IDs
-
- V-227621
- V-792
- Rule IDs
-
- SV-227621r854473_rule
- SV-39835
Checks: C-29783r488420_chk
Check the mode of the manual page files. Procedure: # ls -lLR /usr/share/man /usr/sfw/share/man /usr/sfw/man If any of the manual page files have a mode more permissive than 0655, this is a finding.
Fix: F-29771r488421_fix
Change the mode of manual page files to 0655 or less permissive. Procedure (example): # chmod 0655 <path>/<manpage>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001290
- Vuln IDs
-
- V-227622
- V-22316
- Rule IDs
-
- SV-227622r603266_rule
- SV-26373
Checks: C-29784r488423_chk
Verify all manual page files have no extended ACLs. Check environment variable $MANPATH for full list of manpage locations. # echo $MANPATH Check for ACLs, note only a partial list is presented below. # ls -lLR /usr/share/man /usr/sfw/man /usr/sfw/share/man If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29772r488424_fix
Remove the extended ACL from the file. # chmod A- [file with extended ACL]
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001310
- Vuln IDs
-
- V-227623
- V-22317
- Rule IDs
-
- SV-227623r603266_rule
- SV-26377
Checks: C-29785r488429_chk
Verify system libraries have no extended ACLs. # ls -lL /usr/lib/* /lib/* /usr/sfw/lib If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29773r488430_fix
Remove the extended ACL from the file. # chmod A- [file with extended ACL]
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001320
- Vuln IDs
-
- V-227624
- V-789
- Rule IDs
-
- SV-227624r854474_rule
- SV-27166
Checks: C-29786r488432_chk
Perform the following to check NIS file ownership. # ls -lRa /usr/lib/netsvc/yp /var/yp If the file ownership is not root, sys, or bin, this is a finding.
Fix: F-29774r488433_fix
Change the ownership of NIS/NIS+/yp files to root, bin, or sys. Procedure: # chown -R root /usr/lib/netsvc/yp /var/yp
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001340
- Vuln IDs
-
- V-227625
- V-790
- Rule IDs
-
- SV-227625r854475_rule
- SV-27171
Checks: C-29787r488435_chk
Perform the following to check NIS file ownership. # ls -lRa /usr/lib/netsvc/yp /var/yp If the file group owner is not root, sys, or bin, this is a finding.
Fix: F-29775r488436_fix
Change the group owner of the NIS files to root, bin, or sys. Procedure: # chgrp -R root /usr/lib/netsvc/yp /var/yp
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001360
- Vuln IDs
-
- V-227626
- V-791
- Rule IDs
-
- SV-227626r854476_rule
- SV-27175
Checks: C-29788r488438_chk
Perform the following to check NIS file mode. # ls -lRa /usr/lib/netsvc/yp /var/yp If the file's mode is more permissive than 0755, this is a finding.
Fix: F-29776r488439_fix
Change the mode of NIS/NIS+/yp command files to 0755 or less permissive. Procedure: # chmod -R 0755 /usr/lib/netsvc/yp /var/yp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001361
- Vuln IDs
-
- V-227627
- V-22318
- Rule IDs
-
- SV-227627r603266_rule
- SV-26388
Checks: C-29789r488441_chk
Verify NIS/NIS+/yp files have no extended ACLs. # ls -lLRa /usr/lib/netsvc/yp /var/yp If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29777r488442_fix
Remove the extended ACL from the directory and files. # chmod -R A- /usr/lib/netsvc/yp /var/yp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001362
- Vuln IDs
-
- V-227628
- V-22319
- Rule IDs
-
- SV-227628r603266_rule
- SV-26395
Checks: C-29790r488444_chk
Verify the /etc/resolv.conf file is owned by root. Procedure: # ls -l /etc/resolv.conf If the file is not owned by root, this is a finding.
Fix: F-29778r488445_fix
Change the owner of the /etc/resolv.conf file to root. # chown root /etc/resolv.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001363
- Vuln IDs
-
- V-227629
- V-22320
- Rule IDs
-
- SV-227629r603266_rule
- SV-39894
Checks: C-29791r488447_chk
Check the group ownership of the resolv.conf file. Procedure: # ls -lL /etc/resolv.conf If the file is not group owned by root, bin, or sys, this is a finding.
Fix: F-29779r488448_fix
Change the group owner of the /etc/resolv.conf file to root, bin, or sys. Procedure: # chgrp root /etc/resolv.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001364
- Vuln IDs
-
- V-227630
- V-22321
- Rule IDs
-
- SV-227630r603266_rule
- SV-26397
Checks: C-29792r488450_chk
Check the mode of the /etc/resolv.conf file. Procedure: # ls -l /etc/resolv.conf If the file mode is more permissive than 0644, this is a finding.
Fix: F-29780r488451_fix
Change the mode of the /etc/resolv.conf file to 0644 or less permissive. # chmod 0644 /etc/resolv.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001365
- Vuln IDs
-
- V-227631
- V-22322
- Rule IDs
-
- SV-227631r603266_rule
- SV-26402
Checks: C-29793r488453_chk
Verify /etc/resolv.conf has no extended ACL. # ls -l /etc/resolv.conf If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29781r488454_fix
Remove the extended ACL from the file. # chmod A- /etc/resolv.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001366
- Vuln IDs
-
- V-227632
- V-22323
- Rule IDs
-
- SV-227632r603266_rule
- SV-26410
Checks: C-29794r488456_chk
Verify the /etc/hosts file is owned by root. Procedure: # ls -lL /etc/hosts If the file is not owned by root, this is a finding.
Fix: F-29782r488457_fix
Change the owner of the /etc/hosts file to root. # chown root /etc/hosts
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001367
- Vuln IDs
-
- V-227633
- V-22324
- Rule IDs
-
- SV-227633r603266_rule
- SV-39896
Checks: C-29795r488459_chk
Check the /etc/hosts file's group ownership. Procedure: # ls -lL /etc/hosts If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29783r488460_fix
Change the group owner of the /etc/hosts file to root, sys, or bin. Procedure: # chgrp root /etc/hosts
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001368
- Vuln IDs
-
- V-227634
- V-22325
- Rule IDs
-
- SV-227634r603266_rule
- SV-26412
Checks: C-29796r488462_chk
Check the mode of the /etc/hosts file. Procedure: # ls -l /etc/hosts If the file mode is more permissive than 0644, this is a finding.
Fix: F-29784r488463_fix
Change the mode of the /etc/hosts file to 0644 or less permissive. # chmod 0644 /etc/hosts
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001369
- Vuln IDs
-
- V-227635
- V-22326
- Rule IDs
-
- SV-227635r603266_rule
- SV-26415
Checks: C-29797r488465_chk
Verify /etc/hosts has no extended ACL. # ls -lL /etc/hosts If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29785r488466_fix
Remove the extended ACL from the file. # chmod A- /etc/hosts
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001371
- Vuln IDs
-
- V-227636
- V-22327
- Rule IDs
-
- SV-227636r603266_rule
- SV-26417
Checks: C-29798r488468_chk
Verify the /etc/nsswitch.conf file is owned by root. Procedure: # ls -l /etc/nsswitch.conf If the file is not owned by root, this is a finding.
Fix: F-29786r488469_fix
Change the owner of the /etc/nsswitch.conf file to root. # chown root /etc/nsswitch.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001372
- Vuln IDs
-
- V-227637
- V-22328
- Rule IDs
-
- SV-227637r603266_rule
- SV-39897
Checks: C-29799r488471_chk
Check the group ownership of the nsswitch.conf file. Procedure: # ls -lL /etc/nsswitch.conf If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29787r488472_fix
Change the group owner of the /etc/nsswitch.conf file to root, bin, or sys. Procedure: # chgrp root /etc/nsswitch.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001373
- Vuln IDs
-
- V-227638
- V-22329
- Rule IDs
-
- SV-227638r603266_rule
- SV-26419
Checks: C-29800r488474_chk
Check the mode of the /etc/nsswitch.conf file. Procedure: # ls -l /etc/nsswitch.conf If the file mode is more permissive than 0644, this is a finding.
Fix: F-29788r488475_fix
Change the mode of the /etc/nsswitch.conf file to 0644 or less permissive. Procedure: # chmod 0644 /etc/nsswitch.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001374
- Vuln IDs
-
- V-227639
- V-22330
- Rule IDs
-
- SV-227639r603266_rule
- SV-26422
Checks: C-29801r488477_chk
Verify /etc/nsswitch.conf has no extended ACL. Procedure: # ls -l /etc/nsswitch.conf If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29789r488478_fix
Remove the extended ACL from the file. # chmod A- /etc/nsswitch.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001378
- Vuln IDs
-
- V-227640
- V-22332
- Rule IDs
-
- SV-227640r603266_rule
- SV-26425
Checks: C-29802r488480_chk
Verify the /etc/passwd file is owned by root. Procedure: # ls -l /etc/passwd If the file is not owned by root, this is a finding.
Fix: F-29790r488481_fix
Change the owner of the /etc/passwd file to root. # chown root /etc/passwd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001379
- Vuln IDs
-
- V-227641
- V-22333
- Rule IDs
-
- SV-227641r603266_rule
- SV-39898
Checks: C-29803r488483_chk
Check the group ownership of the passwd file. Procedure: # ls -lL /etc/passwd If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29791r488484_fix
Change the group owner of the /etc/passwd file to root, bin, or sys. Procedure: # chgrp root /etc/passwd
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001380
- Vuln IDs
-
- V-227642
- V-798
- Rule IDs
-
- SV-227642r854477_rule
- SV-798
Checks: C-29804r488486_chk
Check the mode of the /etc/passwd file. Procedure: # ls -lL /etc/passwd If /etc/passwd has a mode more permissive than 0644, this is a finding.
Fix: F-29792r488487_fix
Change the mode of the passwd file to 0644. Procedure: # chmod 0644 /etc/passwd Document all changes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001390
- Vuln IDs
-
- V-227643
- V-22334
- Rule IDs
-
- SV-227643r603266_rule
- SV-26429
Checks: C-29805r488489_chk
Verify /etc/passwd has no extended ACL. # ls -l /etc/passwd If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29793r488490_fix
Remove the extended ACL from the file. # chmod A- /etc/passwd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001391
- Vuln IDs
-
- V-227644
- V-22335
- Rule IDs
-
- SV-227644r603266_rule
- SV-26431
Checks: C-29806r488492_chk
Verify the /etc/group file is owned by root. Procedure: # ls -l /etc/group If the file is not owned by root, this is a finding.
Fix: F-29794r488493_fix
Change the owner of the /etc/group file to root. # chown root /etc/group
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001392
- Vuln IDs
-
- V-227645
- V-22336
- Rule IDs
-
- SV-227645r603266_rule
- SV-39899
Checks: C-29807r488495_chk
Check the group ownership of the /etc/group file. Procedure: # ls -lL /etc/group If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29795r488496_fix
Change the group owner of the /etc/group file. Procedure: # chgrp root /etc/group
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001393
- Vuln IDs
-
- V-227646
- V-22337
- Rule IDs
-
- SV-227646r603266_rule
- SV-26433
Checks: C-29808r488498_chk
Check the mode of the /etc/group file. Procedure: # ls -l /etc/group If the file mode is more permissive than 0644, this is a finding.
Fix: F-29796r488499_fix
Change the mode of the /etc/group file to 0644 or less permissive. # chmod 0644 /etc/group
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001394
- Vuln IDs
-
- V-227647
- V-22338
- Rule IDs
-
- SV-227647r603266_rule
- SV-26436
Checks: C-29809r488501_chk
Verify /etc/group has no extended ACL. # ls -l /etc/group If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29797r488502_fix
Remove the extended ACL from the file. # chmod A- /etc/group
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001400
- Vuln IDs
-
- V-227648
- V-797
- Rule IDs
-
- SV-227648r854478_rule
- SV-39826
Checks: C-29810r488504_chk
Check the ownership of the /etc/shadow file. # ls -lL /etc/shadow If the /etc/shadow file is not owned by root, this is a finding.
Fix: F-29798r488505_fix
Change the ownership of the /etc/shadow file. # chown root /etc/shadow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001410
- Vuln IDs
-
- V-227649
- V-22339
- Rule IDs
-
- SV-227649r603266_rule
- SV-39900
Checks: C-29811r488507_chk
Check the ownership of the /etc/shadow file. Procedure: # ls -lL /etc/shadow If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29799r488508_fix
Change the group owner of the /etc/shadow file. Procedure: # chgrp root /etc/shadow
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001420
- Vuln IDs
-
- V-227650
- V-800
- Rule IDs
-
- SV-227650r854479_rule
- SV-800
Checks: C-29812r488510_chk
Check the mode of the /etc/shadow file. # ls -lL /etc/shadow If the /etc/shadow file has a mode more permissive than 0400, this is a finding.
Fix: F-29800r488511_fix
Change the mode of the /etc/shadow (or equivalent) file. # chmod <mode> <file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001430
- Vuln IDs
-
- V-227651
- V-22340
- Rule IDs
-
- SV-227651r603266_rule
- SV-26440
Checks: C-29813r488513_chk
Verify /etc/shadow has no extended ACL. # ls -lL /etc/shadow If the permissions include a '+', the file has an extended ACL and this is a finding.
Fix: F-29801r488514_fix
Remove the extended ACL from the file. # chmod A- /etc/shadow
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001440
- Vuln IDs
-
- V-227652
- V-899
- Rule IDs
-
- SV-227652r603266_rule
- SV-27184
Checks: C-29814r488516_chk
Use pwck to verify home directory assignments are present. # pwck If any user is not assigned a home directory, this is a finding.
Fix: F-29802r488517_fix
Assign a home directory to any user without one.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001460
- Vuln IDs
-
- V-227653
- V-900
- Rule IDs
-
- SV-227653r603266_rule
- SV-27192
Checks: C-36450r602953_chk
Use pwck to verify assigned home directories exist. # pwck If any user's assigned home directory does not exist, this is a finding.
Fix: F-36414r602954_fix
If a user has no home directory, determine why. If possible, delete accounts that have no home directory. If the account is valid, then create the home directory using the appropriate system administration utility or manually. For instance: mkdir directoryname; copy the skeleton files into the directory; chown accountname for the new directory and the skeleton files. Document all changes. Update the sixth field in the /etc/passwd file to reflect the user's home directory. # usermod -d OR # vi /etc/passwd
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000196
- Version
- GEN001470
- Vuln IDs
-
- V-227654
- V-22347
- Rule IDs
-
- SV-227654r603266_rule
- SV-26467
Checks: C-29816r488522_chk
Verify no password hashes are present in /etc/passwd. # cut -d : -f 2 /etc/passwd | grep -v '^x$' If any password hashes are returned, this is a finding.
Fix: F-29804r488523_fix
Migrate /etc/passwd password hashes to /etc/shadow. # pwconv
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001475
- Vuln IDs
-
- V-227655
- V-22348
- Rule IDs
-
- SV-227655r603266_rule
- SV-26447
Checks: C-29817r488525_chk
Check the /etc/group file for password hashes. Procedure: # cut -d : -f 2 /etc/group | egrep -v '^(x|!)$' If any password hashes are returned, this is a finding. If no password hashes are returned, there is no finding.
Fix: F-29805r488526_fix
Edit /etc/group and change the password field to an exclamation point (!) to lock the group password.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001480
- Vuln IDs
-
- V-227656
- V-901
- Rule IDs
-
- SV-227656r854480_rule
- SV-901
Checks: C-29818r488528_chk
Check the home directory mode of each user in /etc/passwd. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld | more If a user's home directory's mode is more permissive than 0750, this is a finding. NOTE: Application directories are allowed and may need 0755 permissions (or greater) for correct operation.
Fix: F-29806r488529_fix
Change the mode of users' home directories to 0750 or less permissive. Procedure (example): # chmod 0750 <home directory>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001490
- Vuln IDs
-
- V-227657
- V-22350
- Rule IDs
-
- SV-227657r603266_rule
- SV-26451
Checks: C-29819r488531_chk
Verify user's home directories have no extended ACLs. # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29807r488532_fix
Remove the extended ACL from the file. # chmod A- [user home directory with extended ACL]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001540
- Vuln IDs
-
- V-227658
- V-914
- Rule IDs
-
- SV-227658r603266_rule
- SV-39836
Checks: C-36451r602956_chk
For each user in the /etc/passwd file, check for the presence of files and directories within the user's home directory not owned by the home directory owner or root. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 -IDIR ls -alLR DIR | more OR # find /<usershomedirectory> ! -fstype nfs ! -user <username> -exec ls -ld {} \; | more If user's home directories contain files or directories not owned by the home directory owner or root, this is a finding.
Fix: F-36415r602957_fix
Change the ownership of files and directories in user's home directories to the owner of the home directory. Procedure: # chown accountowner filename OR # find /<usershomedirectory> ! -fstype nfs ! -user <username> ! /( -name .login -o -name .cshrc -o -name .logout -o -name .profile -o -name .bash_profile -o -name .bashrc -o -name .env -o -name .dtprofile -o -name .dispatch -o -name .emacs -o -name .exrc \) -exec chown <username> {} \;
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001550
- Vuln IDs
-
- V-227659
- V-22351
- Rule IDs
-
- SV-227659r603266_rule
- SV-39877
Checks: C-29821r488543_chk
Check the contents of user home directories for files group-owned by a group of which the home directory's owner is not a member. 1. List the user accounts. # cut -d : -f 1/etc/passwd 2. For each user account, get a list of GIDs for files in the user's home directory. # find < users home directory > -exec ls -lLd \; 3. Obtain the list of GIDs associated with the user's account. # id < user name > 4. Check the GID lists. If there are GIDs in the file list not present in the user list, this is a finding.
Fix: F-29809r488544_fix
Change the group of a file not group-owned by a group where the home directory's owner is a member. # chgrp < user's primary group > <file with bad group ownership >
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001560
- Vuln IDs
-
- V-227660
- V-915
- Rule IDs
-
- SV-227660r603266_rule
- SV-39840
Checks: C-29822r488546_chk
For each user in the /etc/passwd file, check for files and directories with a mode more permissive than 0750. Procedure: # find /<usershomedirectory> ! -fstype nfs \( -perm -0001 -o -perm -0002 -o -perm -0004 -o -perm -0020 -o -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; If user's home directories contain files or directories more permissive than 0750, this is a finding.
Fix: F-29810r488547_fix
Change the mode of files and directories within user's home directories to 0750. Procedure: # chmod 0750 filename Document all changes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001570
- Vuln IDs
-
- V-227661
- V-22352
- Rule IDs
-
- SV-227661r603266_rule
- SV-26456
Checks: C-29823r488549_chk
Check the contents of interactive user's home directories (99 < UID < 60000) for files with extended ACLs. # ls -alLR < users home dir > If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29811r488550_fix
Remove the extended ACL from the file. # chmod A- [user file with extended ACL]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001580
- Vuln IDs
-
- V-227662
- V-906
- Rule IDs
-
- SV-227662r603266_rule
- SV-27199
Checks: C-36452r602959_chk
Check run control script modes. # ls -lL /etc/rc* /etc/init.d /lib/svc/method If any run control script has a mode more permissive than 0755, this is a finding.
Fix: F-36416r602960_fix
Ensure all system startup files have mode 0755 or less permissive. Examine the rc files, and all files in the rc1.d (rc2.d, and so on) directories, and in the /etc/init.d and /lib/svc/method directories to ensure they are not world-writable. If they are world-writable, use the chmod command to correct the vulnerability and to research why. Procedure: # chmod go-w <startupfile>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001590
- Vuln IDs
-
- V-227663
- V-22353
- Rule IDs
-
- SV-227663r603266_rule
- SV-26460
Checks: C-29825r488555_chk
Verify run control scripts have no extended ACLs. # ls -lL /etc/rc* /etc/init.d If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29813r488556_fix
Remove the extended ACL from the file. # chmod A- [run control script with extended ACL]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001600
- Vuln IDs
-
- V-227664
- V-907
- Rule IDs
-
- SV-227664r603266_rule
- SV-39837
Checks: C-29826r488558_chk
Verify run control scripts' executable search paths. Procedure: # find /etc/rc* /etc/init.d /lib/svc/method -type f -print | xargs grep -w PATH This variable is formatted as a colon-separated list of directories. Relative path entries must be document with the ISSO. If there is an empty entry, such as a leading or trailing colon or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29814r488559_fix
Edit the run control script and remove the relative path entries from the executable search path variable that are not documented with the ISSO. Edit the run control script and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001605
- Vuln IDs
-
- V-227665
- V-22354
- Rule IDs
-
- SV-227665r603266_rule
- SV-26462
Checks: C-29827r488561_chk
Verify run control scripts' library preload list. Procedure: # find /etc/rc* /etc/init.d -type f -print | xargs grep LD_PRELOAD This variable is formatted as a colon-separated list of paths. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29815r488562_fix
Edit the run control script and remove the relative path entry from the library preload variables that are not documented with the ISSO. Edit the run control script and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001610
- Vuln IDs
-
- V-227666
- V-22355
- Rule IDs
-
- SV-227666r603266_rule
- SV-26464
Checks: C-29828r488564_chk
Verify run control scripts' library preload list. Procedure: # find /etc/rc* /etc/init.d -type f -print | xargs grep LD_PRELOAD This variable is formatted as a colon-separated list of paths. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29816r488565_fix
Edit the run control script and remove the relative path entry from the library preload variables that are not documented with the ISSO. Edit the run control script and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN001640
- Vuln IDs
-
- V-227667
- V-910
- Rule IDs
-
- SV-227667r603266_rule
- SV-39810
Checks: C-29829r488567_chk
Check the permissions on the files or scripts executed from system startup scripts to see if they are world-writable. Create a list of all potential run command level scripts. # ls -l /etc/init.d/* | tr '\011' ' ' | tr -s ' ' | cut -f 9,9 -d " " OR # ls -l /sbin/init.d/* | tr '\011' ' ' | tr -s ' ' | cut -f 9,9 -d " " Create a list of world writeable files. # find / -perm -002 -type f >> worldWriteableFileList Determine if any of the world writeable files in worldWriteableFileList are called from the run command level scripts. Note: Depending upon the number of scripts vs world writeable files, it may be easier to inspect the scripts manually. # more `ls -l /etc/init.d/* | tr '\011' ' ' | tr -s ' ' | cut -f 9,9 -d " "` OR # more `ls -l /sbin/init.d/* | tr '\011' ' ' | tr -s ' ' | cut -f 9,9 -d " "` If any system startup script executes any file or script that is world-writable, this is a finding.
Fix: F-29817r488568_fix
Remove the world-writable permission from programs or scripts executed by run control scripts. Procedure: # chmod o-w <program or script executed from run control script>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001660
- Vuln IDs
-
- V-227668
- V-4089
- Rule IDs
-
- SV-227668r603266_rule
- SV-27207
Checks: C-29830r488570_chk
Check run control scripts' ownership. # ls -lL /etc/rc* /etc/init.d If any run control script is not owned by root, this is a finding.
Fix: F-29818r488571_fix
Change the ownership of the run control script(s) with incorrect ownership. # chown root <run control script>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001680
- Vuln IDs
-
- V-227669
- V-4090
- Rule IDs
-
- SV-227669r603266_rule
- SV-27213
Checks: C-29831r488573_chk
Check run control scripts' group ownership. Procedure: # ls -lL /etc/rc* /etc/init.d If any run control script is not group-owned by root, sys, or bin, this is a finding.
Fix: F-29819r488574_fix
Change the group ownership of the run control script(s) with incorrect group ownership. Procedure: # chgrp root <run control script>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001700
- Vuln IDs
-
- V-227670
- V-4091
- Rule IDs
-
- SV-227670r603266_rule
- SV-27219
Checks: C-29832r488576_chk
Determine the programs executed by system start-up files. Determine the ownership of the executed programs. # cat /etc/rc* /etc/init.d/* | more Check the ownership of every program executed by the system start-up files. # ls -l <executed program> If any executed program is not owned by root, sys, bin, or in rare cases, an application account, this is a finding.
Fix: F-29820r488577_fix
Change the ownership of the file executed from system startup scripts to root, bin, or sys. # chown root <executed file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001730
- Vuln IDs
-
- V-227671
- V-22356
- Rule IDs
-
- SV-227671r603266_rule
- SV-26471
Checks: C-29833r488582_chk
Check global initialization files for extended ACLs. # ls -lL /etc/profile /etc/bashrc /etc/csh.login /etc/csh.cshrc /etc/environment /etc/.login /etc/security/environ If the permissions on an existing file include a "+", the file has an extended ACL, this is a finding.
Fix: F-29821r488583_fix
Remove the extended ACL from the file. # chmod A- [global initialization file with extended ACL]
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN001800
- Vuln IDs
-
- V-227672
- V-788
- Rule IDs
-
- SV-227672r854481_rule
- SV-788
Checks: C-29834r488594_chk
Check skeleton files permissions. # ls -alL /etc/skel If a skeleton file has a mode more permissive than 0644, this is a finding.
Fix: F-29822r488595_fix
Change the mode of skeleton files with incorrect mode. # chmod 0644 <skeleton file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001810
- Vuln IDs
-
- V-227673
- V-22357
- Rule IDs
-
- SV-227673r603266_rule
- SV-26475
Checks: C-29835r488597_chk
Check skeleton files for extended ACLs. # ls -alL /etc/skel If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29823r488598_fix
Remove the extended ACL from the file. # chmod A- [skeleton file with extended ACL]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001820
- Vuln IDs
-
- V-227674
- V-11984
- Rule IDs
-
- SV-227674r603266_rule
- SV-12485
Checks: C-29836r488600_chk
Check skeleton files ownership. # ls -alL /etc/skel If a skeleton file is not owned by root, this is a finding.
Fix: F-29824r488601_fix
Change the ownership of skeleton files with incorrect mode. # chown root <skeleton file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001830
- Vuln IDs
-
- V-227675
- V-22358
- Rule IDs
-
- SV-227675r603266_rule
- SV-39901
Checks: C-29837r488603_chk
Verify the skeleton files are group-owned by root, bin, or sys. Procedure: # ls -alL /etc/skel If a skeleton file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29825r488604_fix
Change the group owner of the skeleton file to root. Procedure: # chgrp <group> /etc/skel/[skeleton file]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001840
- Vuln IDs
-
- V-227676
- V-11985
- Rule IDs
-
- SV-227676r603266_rule
- SV-12486
Checks: C-36453r602962_chk
Check the global initialization files' executable search paths. Procedure: # grep -i PATH /etc/profile /etc/bashrc /etc/csh.login /etc/csh.cshrc /etc/environment /etc/.login /etc/security/environ This variable is formatted as a colon-separated list of directories. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-36417r602963_fix
Edit the global initialization file(s) with PATH variables containing relative paths and remove any relative path form the PATH variables that have not been documented with the ISSO. Edit the global initialization file(s) and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001845
- Vuln IDs
-
- V-227677
- V-22359
- Rule IDs
-
- SV-227677r603266_rule
- SV-26478
Checks: C-29839r488609_chk
Check the global initialization files' library search paths. # grep LD_LIBRARY_PATH /etc/profile /etc/bashrc /etc/csh.login /etc/csh.cshrc /etc/environment /etc/.login /etc/security/environ This variable is formatted as a colon-separated list of directories. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29827r488610_fix
Edit the global initialization file and remove the relative path entries from the library search path variables that have not been documented with the ISSO. Edit the global initialization file(s) and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001850
- Vuln IDs
-
- V-227678
- V-22360
- Rule IDs
-
- SV-227678r603266_rule
- SV-39839
Checks: C-29840r488612_chk
Check the global initialization files' library preload list. Procedure: # grep LD_PRELOAD /etc/profile /etc/bashrc /etc/csh.login /etc/csh.cshrc /etc/environment /etc/.login /etc/security/environ This variable is formatted as a colon-separated list of paths. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29828r488613_fix
Edit the global initialization file(s) and remove the relative path entry from the library preload list variables that have not been documented with the ISSO. Edit the global initialization file(s) and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001860
- Vuln IDs
-
- V-227679
- V-904
- Rule IDs
-
- SV-227679r603266_rule
- SV-904
Checks: C-36454r602965_chk
NOTE: The following commands must be run in the BASH shell. Check the ownership of local initialization files. Procedure (using a shell that supports ~USER as USER's home directory): # cut -d : -f 1 /etc/passwd | xargs -n1 -IUSER sh -c "ls -l ~USER/.[a-z]*" # cut -d : -f 1 /etc/passwd | xargs -n1 -IUSER find ~USER/.dt ! -fstype nfs ! -user USER -exec ls -ld {} \; If local initialization files are not owned by the home directory's user, this is a finding.
Fix: F-36418r602966_fix
Change the ownership of the startup and login files in the user's directory to the user or root, as appropriate. Examine each user's home directory and verify all file names beginning with "." are owned by the owner of the directory or root. If they are not, use the chown command to change the owner to the user and research the reasons why the owners were not assigned as required. Procedure: # chown username .filename Document all changes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001880
- Vuln IDs
-
- V-227680
- V-905
- Rule IDs
-
- SV-227680r603266_rule
- SV-905
Checks: C-36455r602968_chk
Check the modes of local initialization files. Procedure: # ls -al /<usershomedirectory>/.login # ls -al /<usershomedirectory>/.cshrc # ls -al /<usershomedirectory>/.logout # ls -al /<usershomedirectory>/.profile # ls -al /<usershomedirectory>/.bash_profile # ls -al /<usershomedirectory>/.bashrc # ls -al /<usershomedirectory>/.bash_logout # ls -al /<usershomedirectory>/.env # ls -al /<usershomedirectory>/.dtprofile (permissions should be 0755) # ls -al /<usershomedirectory>/.dispatch # ls -al /<usershomedirectory>/.emacs # ls -al /<usershomedirectory>/.exrc # find /<usershomedirectory>/.dt ! -fstype nfs \( -perm -0002 -o -perm -0020 \) -exec ls -ld {} \; (permissions not to be more permissive than 0755) If local initialization files are more permissive than 0740, the .dt directory or the .dtprofile file is more permissive than 0755, this is a finding.
Fix: F-36419r602969_fix
Ensure user startup files have permissions of 0740 or more restrictive. Examine each user's home directory and verify all file names beginning with "." have access permissions of 0740 or more restrictive. If they do not, use the chmod command to correct the vulnerability. Procedure: # chmod 0740 .filename NOTE: The period is part of the file name and is required.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001890
- Vuln IDs
-
- V-227681
- V-22362
- Rule IDs
-
- SV-227681r603266_rule
- SV-26484
Checks: C-29843r488624_chk
Check user home directories for local initialization files with extended ACLs. # cut -d : -f 6 /etc/passwd | xargs -n1 -IDIR ls -alL DIR/.login DIR/.cshrc DIR/.logout DIR/.profile DIR/.bash_profile DIR/.bashrc DIR/.bash_logout DIR/.env DIR/.dtprofile DIR/.dispatch DIR/.emacs DIR/.exrc If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29831r488625_fix
Remove the extended ACL from the file. # chmod A- [local initialization file with extended ACL]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001900
- Vuln IDs
-
- V-227682
- V-11986
- Rule IDs
-
- SV-227682r603266_rule
- SV-12487
Checks: C-29844r488627_chk
NOTE: The following must be done in the BASH shell. Examine the PATH variable contained in any user's local initialization files using a command shell that supports the use of ~USER as USER's home directory. # cat /etc/passwd | cut -f 1,1 -d ":" | xargs -n1 -IUSER sh -c 'grep -i PATH ~USER/.*' The PATH variable is a colon-delimited directory list. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29832r488628_fix
Edit the local initialization file(s) and remove the relative path entries from the PATH variable that have not been documented with the ISSO. Edit the local initialization file(s) and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001901
- Vuln IDs
-
- V-227683
- V-22363
- Rule IDs
-
- SV-227683r603266_rule
- SV-26486
Checks: C-29845r488630_chk
NOTE: This command should be used in the BASH shell. Verify local initialization files have library search path containing only authorized paths. # cut -d : -f 1 /etc/passwd | xargs -n1 -IUSER sh -c 'grep -l LD_LIBRARY_PATH ~USER/.*' This variable is formatted as a colon-separated list of directories. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29833r488631_fix
Edit the local initialization file and remove the relative path entries from the library search path variables that have not been documented with the ISSO. Edit the local initialization file and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001902
- Vuln IDs
-
- V-227684
- V-22364
- Rule IDs
-
- SV-227684r603266_rule
- SV-26488
Checks: C-29846r488633_chk
NOTE: The following must be done in the BASH shell Verify local initialization files have library preload list containing only authorized paths. # cut -d : -f 1 /etc/passwd | xargs -n1 -IUSER sh -c 'grep -l LD_PRELOAD ~USER/.*' This variable is formatted as a colon-separated list of paths. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding. If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
Fix: F-29834r488634_fix
Edit the local initialization file and remove the relative path entries from the library preload variables that have not been documented with the ISSO. Edit the local initialization file(s) and remove any empty entry that is defined.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001940
- Vuln IDs
-
- V-227685
- V-4087
- Rule IDs
-
- SV-227685r603266_rule
- SV-39812
Checks: C-29847r488636_chk
Check local initialization files for any executed world-writable programs or scripts. Procedure: # find / -perm -002 -type f | egrep -v '^(/proc|/system/contract)' > wwlist # fgrep -f wwlist /<usershomedirectory>/.* If any local initialization file executes a world-writable program or script, this is a finding.
Fix: F-29835r488637_fix
Remove the world-writable permission of files referenced by local initialization scripts, or remove the references to these files in the local initialization scripts.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001980
- Vuln IDs
-
- V-227686
- V-11987
- Rule IDs
-
- SV-227686r603266_rule
- SV-12488
Checks: C-29848r488639_chk
Check system configuration files for plus (+) entries. Procedure: # find / -name .rhosts -exec grep + {} \; # find / -name .shosts -exec grep + {} \; # find / -name hosts.equiv -exec grep + {} \; # find / -name shosts.equiv -exec grep + {} \; # grep + /etc/passwd # grep + /etc/shadow # grep + /etc/group If the .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files contain a plus (+) and do not define entries for NIS+ netgroups, this is a finding.
Fix: F-29836r488640_fix
Edit the .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files and remove entries containing a plus (+).
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000196
- Version
- GEN002000
- Vuln IDs
-
- V-227687
- V-913
- Rule IDs
-
- SV-227687r603266_rule
- SV-913
Checks: C-29849r488642_chk
Check the system for the existence of any .netrc files. Procedure: # find / -name .netrc If any .netrc file exists, this is a finding.
Fix: F-29837r488643_fix
Remove the .netrc file(s). Procedure: # rm .netrc
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002020
- Vuln IDs
-
- V-227688
- V-4427
- Rule IDs
-
- SV-227688r603266_rule
- SV-40331
Checks: C-29850r488645_chk
Locate and examine all .rhosts, .shosts, hosts.equiv, and shosts.equiv files. The .rhosts and .shosts files are stored in home directories. (If a user does not have a home directory assigned in /etc/passwd, the root directory (/) is assigned as a default home directory.) Procedure: # for i in `cut -d: -f6 /etc/passwd | awk '$1 == "" {$1 = "/"} {print $1}'`; do more $i/.rhosts; more $i/.shosts; done # more /etc/hosts.equiv # more /etc/ssh/shosts.equiv If any .rhosts, .shosts, hosts.equiv, or shosts.equiv file contains other than host-user pairs, this is a finding.
Fix: F-29838r488646_fix
If possible, remove the .rhosts, .shosts, hosts.equiv, and shosts.equiv files. If the files are required, remove any content from the files except for necessary host-user pairs.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN002040
- Vuln IDs
-
- V-227689
- V-11988
- Rule IDs
-
- SV-227689r603266_rule
- SV-40332
Checks: C-29851r488648_chk
Check for the existence of the files. The .rhosts and .shosts files are stored in home directories. (If a user does not have a home directory assigned in /etc/passwd, the root directory (/) is assigned as a default home directory.) Procedure (the first command is five lines long): # for homedir in `cut -d: -f6 /etc/passwd | awk '$1 == "" {$1 = "/"} {print $1}'`; do ls -l $homedir/.rhosts; ls -l $homedir/.shosts; done # ls -l /etc/hosts.equiv # ls -l /etc/ssh/shosts.equiv If .rhosts, .shosts, hosts.equiv, or shosts.equiv are found, this is a finding.
Fix: F-29839r488649_fix
Remove the .rhosts, .shosts, hosts.equiv, and/or shosts.equiv files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002060
- Vuln IDs
-
- V-227690
- V-4428
- Rule IDs
-
- SV-227690r603266_rule
- SV-40341
Checks: C-36456r602971_chk
# for i in `cut -d: -f6 /etc/passwd | awk '$1 == "" {$1 = "/"} {print $1}'`; do ls -l $i/.rhosts $i/.shosts $i/.netrc; done # ls -l /etc/hosts.equiv # ls -l /etc/ssh/shosts.equiv If the .netrc, .rhosts, .shosts, hosts.equiv, or shosts.equiv files have permissions greater than 600, then this is a finding. (If a password entry has no home directory assigned, the root directory (/) is used as a default.)
Fix: F-36420r602972_fix
Ensure the permission for these files is set at 600 or less and the owner is the owner of the home directory that it is in. These files, outside of home directories (other than hosts.equiv in /etc and shosts.equiv in /etc/ssh; both are owned by root), have no meaning.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002100
- Vuln IDs
-
- V-227691
- V-11989
- Rule IDs
-
- SV-227691r603266_rule
- SV-40334
Checks: C-29853r488654_chk
Check the PAM configuration for rhosts_auth. Procedure: # grep rhosts_auth /etc/pam.conf If a rhosts_auth entry is found that is not commented out, this is a finding.
Fix: F-29841r488655_fix
Edit /etc/pam.conf and remove the reference(s) to the rhosts_auth module.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002120
- Vuln IDs
-
- V-227692
- V-916
- Rule IDs
-
- SV-227692r603266_rule
- SV-40806
Checks: C-36457r602974_chk
Verify /etc/shells exists. # ls -l /etc/shells If the file does not exist, this is a finding.
Fix: F-36421r602975_fix
Create a /etc/shells file containing a list of valid system shells. The list below contains the default shells from the shells(4) man page. Procedure (the command is 24 lines long): cat >/etc/shells <<EOF /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh EOF
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002140
- Vuln IDs
-
- V-227693
- V-917
- Rule IDs
-
- SV-227693r603266_rule
- SV-917
Checks: C-29855r488660_chk
Confirm the login shells referenced in the /etc/passwd file are listed in the /etc/shells file. Procedure: # more /etc/passwd # more /etc/shells The /usr/bin/false, /bin/false, /dev/null, /sbin/nologin, (and equivalents), and sdshell will be considered valid shells for use in the /etc/passwd file, but will not be listed in the /etc/shells file. If a shell referenced in /etc/passwd is not listed in the shells file, excluding the above mentioned shells, this is a finding.
Fix: F-29843r488661_fix
Use the chsh utility or edit the /etc/passwd file and correct the error by changing the default shell of the account in error to an acceptable shell name contained in the /etc/shells file.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002200
- Vuln IDs
-
- V-227694
- V-921
- Rule IDs
-
- SV-227694r603266_rule
- SV-921
Checks: C-29856r488663_chk
Check the ownership of the system shells. # cat /etc/shells | xargs -n1 ls -lL If any shell is not owned by root or bin, this is a finding.
Fix: F-29844r488664_fix
Change the ownership of the shell with incorrect ownership. # chown root <shell>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002210
- Vuln IDs
-
- V-227695
- V-22365
- Rule IDs
-
- SV-227695r603266_rule
- SV-39902
Checks: C-29857r488666_chk
If /etc/shells exists, check the group ownership of each shell referenced. Procedure: # cat /etc/shells | xargs -n1 ls -lL Otherwise, check any shells found on the system. Procedure: # find / -name "*sh" | xargs -n1 ls -lL If a shell is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29845r488667_fix
Change the group-owner of the shell to root, bin, or sys. Procedure: # chgrp root <shell>
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN002220
- Vuln IDs
-
- V-227696
- V-922
- Rule IDs
-
- SV-227696r603266_rule
- SV-922
Checks: C-29858r488669_chk
If /etc/shells exists, check the group ownership of each shell referenced. # cat /etc/shells | xargs -n1 ls -lL Otherwise, check any shells found on the system. # find / -name "*sh" | xargs -n1 ls -lL If a shell has a mode more permissive than 0755, this is a finding.
Fix: F-29846r488670_fix
Change the mode of the shell. # chmod 0755 <shell>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002230
- Vuln IDs
-
- V-227697
- V-22366
- Rule IDs
-
- SV-227697r603266_rule
- SV-26492
Checks: C-29859r488672_chk
If /etc/shells exists, check the permissions of each shell referenced. # cat /etc/shells | xargs -n1 ls -lL Otherwise, check any shells found on the system. # find / -name "*sh" | xargs -n1 ls -lL If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29847r488673_fix
Remove the extended ACL from the file. # chmod A- [shell]
- RMF Control
- CM-3
- Severity
- L
- CCI
- CCI-001744
- Version
- GEN002260
- Vuln IDs
-
- V-227698
- V-923
- Rule IDs
-
- SV-227698r854482_rule
- SV-923
Checks: C-36458r602977_chk
Check the system for an automated job, or check with the SA, to determine if the system is checked for extraneous device files on a weekly basis. If no automated or manual process is in place, this is a finding.
Fix: F-36422r602978_fix
Establish a weekly automated or manual process to create a list of device files on the system and determine if any files have been added, moved, or deleted since the last list was generated. Generate a list of device files. # find / -type b -o -type c > device-file-list
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002280
- Vuln IDs
-
- V-227699
- V-924
- Rule IDs
-
- SV-227699r603266_rule
- SV-924
Checks: C-29861r488678_chk
Find all device files existing anywhere on the system. Procedure: # find / -type b -print > devicelist # find / -type c -print >> devicelist Check the permissions on the directories above subdirectories containing device files. The following list of device files are intended to be world-writable and if present are not a finding. /dev/arp /dev/conslog /dev/crypto /dev/dtrace/dtrace /dev/dtrace/helper /dev/dtrace/provider/fasttrap /dev/fd/* /dev/kstat /dev/null /dev/poll /dev/pool /dev/ptmx /dev/sad/user /dev/tcp /dev/tcp6 /dev/ticlts /dev/ticots /dev/ticotsord /dev/tty /dev/udp /dev/udp6 /dev/zero /dev/zfs If any device file or their parent directory is world-writable and it is not intended to be world-writable, this is a finding.
Fix: F-29849r488679_fix
Remove the world-writable permission from the device file(s). Procedure: # chmod o-w <device file> Document all changes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002300
- Vuln IDs
-
- V-227700
- V-925
- Rule IDs
-
- SV-227700r603266_rule
- SV-925
Checks: C-29862r488681_chk
Check the system for world-writable device files. Procedure: # find / -perm -2 -a \( -type b -o -type c \) -exec ls -ld {} \; If any device file(s) used for backup are writable by users other than root, this is a finding.
Fix: F-29850r488682_fix
Use the chmod command to remove the world-writable bit from the backup device files. Procedure: # chmod o-w backdevicefilename Document all changes.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN002320
- Vuln IDs
-
- V-227701
- V-1048
- Rule IDs
-
- SV-227701r854483_rule
- SV-27241
Checks: C-29863r488684_chk
Check the mode of audio devices. # ls -lL /dev/audio If the mode of audio devices are more permissive than 0660, this is a finding.
Fix: F-29851r488685_fix
Change the mode of the audio device. # chmod -R 0660 /dev/audio
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002330
- Vuln IDs
-
- V-227702
- V-22367
- Rule IDs
-
- SV-227702r603266_rule
- SV-26496
Checks: C-29864r488687_chk
Check the permissions of audio devices. # ls -lL /dev/audio If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29852r488688_fix
Remove the extended ACL from the file. # chmod A- /dev/audio
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002340
- Vuln IDs
-
- V-227703
- V-1049
- Rule IDs
-
- SV-227703r603266_rule
- SV-27246
Checks: C-29865r488690_chk
Check the owner of audio devices. # ls -lL /dev/audio If the owner of any audio device file is not root, this is a finding.
Fix: F-29853r488691_fix
Change the owner of the audio device. # chown root <audio device>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002360
- Vuln IDs
-
- V-227704
- V-1061
- Rule IDs
-
- SV-227704r603266_rule
- SV-27251
Checks: C-29866r488693_chk
Check the group-owner of audio devices. Procedure: # ls -lL /dev/audio If the group-owner of an audio device is not root, sys, or bin, this is a finding.
Fix: F-29854r488694_fix
Change the group owner of the audio device. Procedure: # chgrp system <audio device>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002380
- Vuln IDs
-
- V-227705
- V-801
- Rule IDs
-
- SV-227705r603266_rule
- SV-801
Checks: C-29867r488696_chk
Files with the setuid bit set will allow anyone running these files to be temporarily assigned the user or group ID of the file. If an executable with setuid allows shell escapes, the user can operate on the system with the effective permission rights of the user or group owner. List all setuid files on the system. Procedure: # find / -perm -4000 -exec ls -l {} \; | more NOTE: Executing these commands may result in large listings of files; the output may be redirected to a file for easier analysis. Ask the SA or IAO if files with the setuid bit set have been documented. If any undocumented file has its setuid bit set, this is a finding.
Fix: F-29855r488697_fix
Document the files with the setuid bit set or unset the setuid bit on the executable.
- RMF Control
- CM-3
- Severity
- M
- CCI
- CCI-001744
- Version
- GEN002400
- Vuln IDs
-
- V-227706
- V-803
- Rule IDs
-
- SV-227706r854484_rule
- SV-803
Checks: C-29868r488699_chk
Determine if a weekly automated or manual process is used to generate a list of setuid files on the system and compare it with the prior list. If no such process is in place, this is a finding.
Fix: F-29856r488700_fix
Establish a weekly automated or manual process to generate a list of setuid files on the system and compare it with the prior list. To create a list of setuid files use the following command. # find / -perm -4000 > setuid-file-list
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002440
- Vuln IDs
-
- V-227707
- V-802
- Rule IDs
-
- SV-227707r603266_rule
- SV-802
Checks: C-36459r602980_chk
Locate all setgid files on the system. Procedure: # find / -perm -2000 If the ownership, permissions, location, and ACLs of all files with the setgid bit set are not documented, this is a finding.
Fix: F-36423r602981_fix
All files with the setgid bit set will be documented in the system baseline and authorized by the Information Systems Security Officer. Locate all setgid files with the following command. find / -perm -2000 -exec ls -lLd {} \; Ensure setgid files are part of the operating system software, documented application software, documented utility software, or documented locally developed software. Ensure none are text files or shell programs.
- RMF Control
- CM-3
- Severity
- M
- CCI
- CCI-001744
- Version
- GEN002460
- Vuln IDs
-
- V-227708
- V-804
- Rule IDs
-
- SV-227708r854485_rule
- SV-804
Checks: C-29870r488708_chk
Determine if a weekly automated or manual process is used to generate a list of setgid files on the system and compare it with the prior list. If no such process is in place, this is a finding.
Fix: F-29858r488709_fix
Establish a weekly automated or manual process to generate a list of setgid files on the system and compare it with the prior list. To create a list of setgid files use the following command. # find / -perm -2000 > setgid-file-list
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002480
- Vuln IDs
-
- V-227709
- V-1010
- Rule IDs
-
- SV-227709r603266_rule
- SV-1010
Checks: C-29871r488711_chk
Check the system for world-writable files and directories. Procedure: # find / -perm -2 -a \( -type d -o -type f \) -exec ls -ld {} \; If any world-writable files or directories are located, except those required for proper system or application operation, such as /tmp and /dev/null, this is a finding.
Fix: F-29859r488712_fix
Remove or change the mode for any world-writable file or directory on the system that is not required to be world-writable. Procedure: # chmod o-w <file/directory> Document all changes.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN002500
- Vuln IDs
-
- V-227710
- V-806
- Rule IDs
-
- SV-227710r603266_rule
- SV-806
Checks: C-29872r488714_chk
Verify all world-writable directories have the sticky bit set. Procedure: # find / -type d -perm -002 ! -perm -1000 > wwlist If the sticky bit is not set on a world-writable directory, this is a finding.
Fix: F-29860r488715_fix
Set the sticky bit on all public directories. Procedure: # chmod 1777 /tmp (Replace /tmp with the public directory missing the sticky bit, if necessary.)
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN002520
- Vuln IDs
-
- V-227711
- V-807
- Rule IDs
-
- SV-227711r854486_rule
- SV-807
Checks: C-29873r488717_chk
Check the ownership of all public directories. Procedure: # find / -type d -perm -1002 -exec ls -ld {} \; If any public directory is not owned by root or an application user, this is a finding.
Fix: F-29861r488718_fix
Change the owner of public directories to root or an application account. Procedure: # chown root /tmp (Replace root with an application user and/or /tmp with another public directory as necessary.)
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002540
- Vuln IDs
-
- V-227712
- V-11990
- Rule IDs
-
- SV-227712r603266_rule
- SV-12491
Checks: C-29874r488720_chk
Check the group ownership of public directories. Procedure: # find / -type d -perm -1002 -exec ls -ld {} \; If any public directory is not group-owned by root, sys, bin, or an application group (such as mail), this is a finding.
Fix: F-29862r488721_fix
Change the group ownership of the public directory. Procedure: # chgrp root /tmp (Replace root with a different system group and/or /tmp with a different public directory as necessary.)
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002560
- Vuln IDs
-
- V-227713
- V-808
- Rule IDs
-
- SV-227713r603266_rule
- SV-28641
Checks: C-29875r488723_chk
NOTE: The following commands must be run in the BASH shell. Check global configuration: # find /etc -type f | xargs grep -i umask Check local initialization files: # cut -d: -f6 /etc/passwd | xargs -n1 -iHOMEDIR sh -c "grep umask HOMEDIR/.*" If the system and user default umask is not 077, this a finding. Note: If the default umask is 000 or allows for the creation of world writable files this becomes a CAT I finding..
Fix: F-29863r488724_fix
Edit the /etc/default/login file for Solaris. Set the variable UMASK=077. Edit local and global initialization files containing "umask" and change them to use "077".
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN002640
- Vuln IDs
-
- V-227714
- V-810
- Rule IDs
-
- SV-227714r603266_rule
- SV-39834
Checks: C-29876r488726_chk
Determine if default system accounts (such as, those for sys, bin, uucp, nuucp, daemon, smtp, gdm, lp, nobody) have been disabled. # cat /etc/shadow If an account's password field is "*", "*LK*", "NP", or is prefixed with a "!", the account is locked or disabled. If any default system account is not locked and its use is not justified and documented with the ISSO, this is a finding.
Fix: F-29864r488727_fix
Lock the default system account(s). # passwd -l <user>
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002660
- Vuln IDs
-
- V-227715
- V-811
- Rule IDs
-
- SV-227715r603266_rule
- SV-27266
Checks: C-36460r602983_chk
Determine the type of zone that you are currently securing. # zonename If the output of "zonename" is "global", then auditing must be enabled. Determine if auditing is enabled. # ps -ef |grep auditd If the auditd process is not found, this is a finding. If the output of "zonename" is not "global", then the "perzone" policy must be determined. # auditconfig --getpolicy audit policies = cnt,perzone If "perzone" is not listed then this requirement is not applicable. If "perzone" is listed then determine if auditing is enabled. # ps -ef |grep auditd If the auditd process is not found, this is a finding.
Fix: F-36424r602984_fix
Use /etc/security/bsmconv to enable auditing on the system.
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- GEN002680
- Vuln IDs
-
- V-227716
- V-812
- Rule IDs
-
- SV-227716r603266_rule
- SV-27271
Checks: C-29878r488732_chk
Perform the following to determine the location of audit logs and then check the ownership. # more /etc/security/audit_control # ls -lLa <audit log dir> If any audit log file is not owned by root, this is a finding.
Fix: F-29866r488733_fix
Change the ownership of the audit log file(s). Procedure: # chown root <audit log file>
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- GEN002690
- Vuln IDs
-
- V-227717
- V-22702
- Rule IDs
-
- SV-227717r603266_rule
- SV-27277
Checks: C-29879r488735_chk
Determine the location of audit logs and then check the group-ownership. Procedure: # more /etc/security/audit_control # ls -lLd <audit log dir> If any audit log file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29867r488736_fix
Change the group ownership of the audit log file(s). Procedure: # chgrp root <audit log file>
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000163
- Version
- GEN002700
- Vuln IDs
-
- V-227718
- V-813
- Rule IDs
-
- SV-227718r603266_rule
- SV-27282
Checks: C-29880r488738_chk
Perform the following to determine the location of audit logs and then check the mode of the files. # more /etc/security/audit_control # ls -lLa <audit log dir> If the audit log directory has a mode more permissive than 0750 or any audit log file has a mode more permissive than 0640, this is a finding.
Fix: F-29868r488739_fix
Change the mode of the audit log directories/files. # chmod 0750 <audit directory> # chmod 0640 <audit file>
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000163
- Version
- GEN002710
- Vuln IDs
-
- V-227719
- V-22369
- Rule IDs
-
- SV-227719r603266_rule
- SV-26502
Checks: C-29881r488741_chk
Check the audit configuration to determine the location of the system audit log files. # more /etc/security/audit_control Check the system audit log files for extended ACLs. # ls -la [audit log dir] If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29869r488742_fix
Remove the extended ACL from the file. # chmod A- [audit file]
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001493
- Version
- GEN002715
- Vuln IDs
-
- V-227720
- V-22370
- Rule IDs
-
- SV-227720r603266_rule
- SV-26505
Checks: C-29882r488744_chk
Verify the audit tool executables are owned by root. # ls -l /usr/sbin/auditd /usr/sbin/audit /usr/sbin/bsmrecord /usr/sbin/auditreduce /usr/sbin/praudit /usr/sbin/auditconfig If any listed file is not owned by root, this is a finding.
Fix: F-29870r488745_fix
Change the owner of the audit tool executable to root. # chown root [audit tool executable]
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001493
- Version
- GEN002716
- Vuln IDs
-
- V-227721
- V-22371
- Rule IDs
-
- SV-227721r603266_rule
- SV-26508
Checks: C-29883r488747_chk
Verify the audit tool executables are group-owned by root, bin, or sys. Procedure: # ls -lL /usr/sbin/auditd /usr/sbin/audit /usr/sbin/bsmrecord /usr/sbin/auditreduce /usr/sbin/praudit /usr/sbin/auditconfig If any listed file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29871r488748_fix
Change the group-owner of the audit tool executable to root, bin, or sys. Procedure: # chgrp root <audit tool executable>
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001493
- Version
- GEN002717
- Vuln IDs
-
- V-227722
- V-22372
- Rule IDs
-
- SV-227722r603266_rule
- SV-26511
Checks: C-29884r488750_chk
Check the mode of audit tool executables. # ls -l /usr/sbin/auditd /usr/sbin/audit /usr/sbin/bsmrecord /usr/sbin/auditreduce /usr/sbin/praudit /usr/sbin/auditconfig If any listed file has a mode more permissive than 0750, this is a finding.
Fix: F-29872r488751_fix
Change the mode of the audit tool executable to 0750, or less permissive. # chmod 0750 [audit tool executable]
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001493
- Version
- GEN002718
- Vuln IDs
-
- V-227723
- V-22373
- Rule IDs
-
- SV-227723r603266_rule
- SV-26515
Checks: C-29885r488753_chk
Check the permissions of audit tool executables. # ls -l /usr/sbin/auditd /usr/sbin/audit /usr/sbin/bsmrecord /usr/sbin/auditreduce /usr/sbin/praudit /usr/sbin/auditconfig If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29873r488754_fix
Remove the extended ACL from the file. # chmod A- [audit file]
- RMF Control
- AU-5
- Severity
- L
- CCI
- CCI-000139
- Version
- GEN002719
- Vuln IDs
-
- V-227724
- V-22374
- Rule IDs
-
- SV-227724r603266_rule
- SV-40562
Checks: C-36461r602986_chk
Verify the presence of an audit_warn entry in /etc/mail/aliases. # grep audit_warn /etc/mail/aliases If there is no audit_warn entry in /etc/mail/aliases, this is a finding.
Fix: F-36425r602987_fix
Add an audit_warn alias to /etc/mail/aliases that will forward to designated system administrator(s). # vi /etc/mail/aliases Put the updated aliases file into service. # newaliases
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN002720
- Vuln IDs
-
- V-227725
- V-814
- Rule IDs
-
- SV-227725r603266_rule
- SV-27287
Checks: C-29887r488759_chk
Check the system audit configuration to determine if failed attempts to access files and programs are audited. # more /etc/security/audit_control If flags -fr or fr are not configured, this is a finding.
Fix: F-29875r488760_fix
Edit /etc/security/audit_control and add the fr or -fr flags to the flags list. Load the new audit configuration. # auditconfig -conf
- RMF Control
- AU-5
- Severity
- M
- CCI
- CCI-001855
- Version
- GEN002730
- Vuln IDs
-
- V-227726
- V-22375
- Rule IDs
-
- SV-227726r854487_rule
- SV-40564
Checks: C-36462r602989_chk
Verify the presence of an audit_warn entry in /etc/mail/aliases. # grep audit_warn /etc/mail/aliases If there is no audit_warn entry in /etc/mail/aliases, this is a finding. Verify the minfree parameter in /etc/security/audit_control. # egrep '^minfree:' /etc/security/audit_control If the minfree parameter is set to zero or not set at all, this is a finding.
Fix: F-36426r602990_fix
If necessary, add an audit_warn alias to /etc/mail/aliases that will forward to designated system administrator(s). # vi /etc/mail/aliases Put the updated aliases file into service. # newaliases If necessary, add or update the minfree: parameter in /etc/security/audit_control. # vi /etc/security/audit_control Ensure the minfree value is greater than zero and less than 100.
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002740
- Vuln IDs
-
- V-227727
- V-815
- Rule IDs
-
- SV-227727r603266_rule
- SV-27292
Checks: C-29889r488765_chk
# grep flags /etc/security/audit_control Confirm flags fd or +fd and -fd are configured.
Fix: F-29877r488766_fix
Edit /etc/security/audit_control and add the fd to the flags list. Load the new audit configuration. # auditconfig -conf
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-000018
- Version
- GEN002750
- Vuln IDs
-
- V-227728
- V-22376
- Rule IDs
-
- SV-227728r603266_rule
- SV-40605
Checks: C-29890r488768_chk
Check the system's audit configuration. # grep ua /etc/security/audit_control If the ua flag is not set, and both the +ua and -ua flags are not set, this is a finding. If the ua naflag is not set, and both the +ua and -ua naflags are not set, this is a finding.
Fix: F-29878r488769_fix
Edit /etc/security/audit_control and add ua to the flags list and naflags list. Refresh auditd. # svcadm refresh auditd
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-001403
- Version
- GEN002751
- Vuln IDs
-
- V-227729
- V-22377
- Rule IDs
-
- SV-227729r603266_rule
- SV-40607
Checks: C-29891r488771_chk
Check the system's audit configuration. # grep ua /etc/security/audit_control If the ua flag is not set, and both the +ua and -ua flags are not set, this is a finding. If the ua naflag is not set, and both the +ua and -ua naflags are not set, this is a finding.
Fix: F-29879r488772_fix
Edit /etc/security/audit_control and add ua to the flags list and naflags list. Refresh auditd. # svcadm refresh auditd
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-001404
- Version
- GEN002752
- Vuln IDs
-
- V-227730
- V-22378
- Rule IDs
-
- SV-227730r603266_rule
- SV-40610
Checks: C-29892r488774_chk
Check the system's audit configuration. # grep ua /etc/security/audit_control If the ua flag is not set, and both the +ua and -ua flags are not set, this is a finding. If the ua naflag is not set, and both the +ua and -ua naflags are not set, this is a finding.
Fix: F-29880r488775_fix
Edit /etc/security/audit_control and add ua to the flags list and naflags list. Refresh auditd. # svcadm refresh auditd
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-001405
- Version
- GEN002753
- Vuln IDs
-
- V-227731
- V-22382
- Rule IDs
-
- SV-227731r603266_rule
- SV-40611
Checks: C-29893r488777_chk
Check the system's audit configuration. # grep ua /etc/security/audit_control If the ua flag is not set, and both the +ua and -ua flags are not set, this is a finding. If the ua naflag is not set, and both the +ua and -ua naflags are not set, this is a finding.
Fix: F-29881r488778_fix
Edit /etc/security/audit_control and add ua to the flags list and naflags list. Refresh auditd. # svcadm refresh auditd
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002760
- Vuln IDs
-
- V-227732
- V-816
- Rule IDs
-
- SV-227732r603266_rule
- SV-27298
Checks: C-29894r488780_chk
Check the auditing configuration of the system. # grep flags /etc/security/audit_control If the am flag is not present, and either of the -am or +am flags is not present, this is a finding.
Fix: F-29882r488781_fix
Edit /etc/security/audit_control and add am to the flags list. Load the new audit configuration. # auditconfig -conf
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN002800
- Vuln IDs
-
- V-227733
- V-818
- Rule IDs
-
- SV-227733r603266_rule
- SV-27303
Checks: C-29895r488783_chk
Check the system's audit configuration. # grep lo /etc/security/audit_control If the lo flag is not set, and both the +lo and -lo flags are not set, this is a finding. If the lo naflag is not set, and both the +lo and -lo naflags are not set, this is a finding.
Fix: F-29883r488784_fix
Edit /etc/security/audit_control and add lo to the flags list and naflags list. Load the new audit configuration. # auditconfig -conf
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN002820
- Vuln IDs
-
- V-227734
- V-819
- Rule IDs
-
- SV-227734r603266_rule
- SV-27309
Checks: C-29896r488786_chk
Check the system's audit configuration. # grep flags /etc/security/audit_control Confirm flags fm or +fm and -fm are configured.
Fix: F-29884r488787_fix
Edit /etc/security/audit_control and add fm to the flags list. Load the new audit configuration. # auditconfig -conf
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002825
- Vuln IDs
-
- V-227735
- V-22383
- Rule IDs
-
- SV-227735r603266_rule
- SV-26524
Checks: C-29897r488789_chk
Check /etc/security/audit_control file. # grep flags /etc/security/audit_control If the as element is missing from the flags line, this is a finding.
Fix: F-29885r488790_fix
Edit /etc/security/audit_control and add the as flag to the flag parameter.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002860
- Vuln IDs
-
- V-227736
- V-4357
- Rule IDs
-
- SV-227736r603266_rule
- SV-4357
Checks: C-29898r488792_chk
Check for any crontab entries that rotate audit logs. Procedure: # crontab -l If such a cron job is found, this is not a finding. Otherwise, query the SA. If there is a process automatically rotating audit logs, this is not a finding. If the SA manually rotates audit logs, this is still a finding, because if the SA is not there, it will not be accomplished. If the audit output is not archived daily, to tape or disk, this is a finding. This can be ascertained by looking at the audit log directory and, if more than one file is there, or if the file does not have today's date, this is a finding.
Fix: F-29886r488793_fix
Configure a cron job or other automated process to rotate the audit logs on a daily basis.
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001348
- Version
- GEN002870
- Vuln IDs
-
- V-227737
- V-24357
- Rule IDs
-
- SV-227737r603266_rule
- SV-39881
Checks: C-36463r602992_chk
Audit records may be sent to a remote server in two ways, via an NFS mount of the audit directory, or via the audit_syslog plugin (if available). NFS: Check the "dir" parameter in /etc/security/audit_control. If the directory is on an NFS mount to a remote server, there is no finding. SYSLOG: Check the "plugin" parameter in /etc/security/audit_control. Confirm that the audit_syslog.so* plugin is listed with "p_flags=all". # grep audit_syslog.so /etc/security/audit_control Check that syslogd is sending messages to a remote server (GEN005450): # grep '@' /etc/syslog.conf | grep -v '^#' If both auditd is configured to send audit records to syslog, and syslogd is configured to send messages to a remote server, there is no finding. If auditd is saving audit records on a local directory, and audit records are not being sent to a remote server via syslog, this is a finding.
Fix: F-36427r602993_fix
Update the /etc/security/audit_control file to save audit records to a remote NFS mount. dir:<remote NFS directory> OR If the /usr/lib/security/audit_syslog.so* exists, update the /etc/security/audit_control file to send all audit records to syslog and update /etc/syslog.conf to send all audit messages to a remote server. /etc/security/audit_control: plugin:name=audit_syslog.so.1; p_flags=all /etc/syslog.conf: audit.* @<remote syslog server>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002960
- Vuln IDs
-
- V-227738
- V-974
- Rule IDs
-
- SV-227738r603266_rule
- SV-27317
Checks: C-29900r488798_chk
Check for the existence of the cron.allow and cron.deny files. # ls -lL /etc/cron.d/cron.allow # ls -lL /etc/cron.d/cron.deny If neither file exists, this is a finding.
Fix: F-29888r488799_fix
Create /etc/cron.d/cron.allow and/or /etc/cron.d/cron.deny with appropriate content.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002980
- Vuln IDs
-
- V-227739
- V-975
- Rule IDs
-
- SV-227739r603266_rule
- SV-27323
Checks: C-29901r488801_chk
Check mode of the cron.allow file. Procedure: # ls -lL /etc/cron.d/cron.allow If either file has a mode more permissive than 0600, this is a finding.
Fix: F-29889r488802_fix
Change the mode of the cron.allow file to 0600. Procedure: # chmod 0600 /etc/cron.d/cron.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002990
- Vuln IDs
-
- V-227740
- V-22384
- Rule IDs
-
- SV-227740r603266_rule
- SV-26528
Checks: C-29902r488804_chk
Check the permissions of the cron.allow file. # ls -l /etc/cron.allow If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29890r488805_fix
Remove the extended ACL from the file. # chmod A- /etc/cron.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003000
- Vuln IDs
-
- V-227741
- V-976
- Rule IDs
-
- SV-227741r603266_rule
- SV-27329
Checks: C-29903r488807_chk
List all cronjobs on the system. Procedure: # ls /var/spool/cron/crontabs/ If cron jobs exist under any of the above directories search for programs executed by cron. Procedure: # more <cron job file> Determine if the file is group-writable or world-writable. Procedure: # ls -la <cron program file> If cron executes group-writable or world-writable files, this is a finding.
Fix: F-29891r488808_fix
Remove the world-writable and group-writable permissions from the cron program file(s) identified. # chmod go-w <cron program file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003020
- Vuln IDs
-
- V-227742
- V-977
- Rule IDs
-
- SV-227742r603266_rule
- SV-27331
Checks: C-29904r488810_chk
List all cronjobs on the system. Procedure: # ls /var/spool/cron/crontabs/ If cron jobs exist under any of the above directories search for programs executed by cron. Procedure: # more <cron job file> Determine if the directory containing programs executed from cron is world-writable. Procedure: # ls -ld <cron program directory> If cron executes programs in world-writable directories, this is a finding.
Fix: F-29892r488811_fix
Remove the world-writable permission from the cron program directories identified. Procedure: # chmod o-w <cron program directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003040
- Vuln IDs
-
- V-227743
- V-11994
- Rule IDs
-
- SV-227743r603266_rule
- SV-27333
Checks: C-29905r488813_chk
List all crontabs on the system. # ls -lL /var/spool/cron/crontabs/ If any crontab is not owned by root or the creating user, this is a finding.
Fix: F-29893r488814_fix
Change the crontab owner to root or the crontab creator. # chown root <crontab file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003050
- Vuln IDs
-
- V-227744
- V-22385
- Rule IDs
-
- SV-227744r603266_rule
- SV-41044
Checks: C-29906r488816_chk
Check the group ownership of the crontab files. # ls -lL /var/spool/cron/crontabs/ If the group owner is not root, sys, or the crontab owner's primary group, this is a finding.
Fix: F-29894r488817_fix
Change the group owner of the crontab file to root, sys, or the crontab's primary group. Procedure: # chgrp root [crontab file]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003060
- Vuln IDs
-
- V-227745
- V-11995
- Rule IDs
-
- SV-227745r603266_rule
- SV-27335
Checks: C-29907r488819_chk
Check the cron.allow and cron.deny files for the system. # more /etc/cron.d/cron.allow # more /etc/cron.d/cron.deny If a default system account (such as bin, sys, adm, or others) is listed in the cron.allow file, or not listed in the cron.deny file if no cron.allow file exists, this is a finding.
Fix: F-29895r488820_fix
Remove default system accounts (such as bin, sys, adm, or others) from the cron.allow file if it exists, or add those accounts to the cron.deny file.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003080
- Vuln IDs
-
- V-227746
- V-978
- Rule IDs
-
- SV-227746r603266_rule
- SV-27340
Checks: C-29908r488822_chk
Check the mode of the crontab files. # ls -lL /var/spool/cron/crontabs/ If any crontab file has a mode more permissive than 0600, this is a finding.
Fix: F-29896r488823_fix
Change the mode of the crontab files. # chmod 0600 /var/spool/cron/crontabs/*
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003090
- Vuln IDs
-
- V-227747
- V-22386
- Rule IDs
-
- SV-227747r603266_rule
- SV-26534
Checks: C-29909r488825_chk
Check the permissions of the crontab files. # ls -lL /var/spool/cron/crontabs/ If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29897r488826_fix
Remove the extended ACL from the file. # chmod A- [crontab file]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003100
- Vuln IDs
-
- V-227748
- V-979
- Rule IDs
-
- SV-227748r603266_rule
- SV-27342
Checks: C-29910r488828_chk
Check the mode of the crontab directory. # ls -ld /var/spool/cron/crontabs If the mode of the crontab directory is more permissive than 0755, this is a finding.
Fix: F-29898r488829_fix
Change the mode of the crontab directory. # chmod 0755 /var/spool/cron/crontabs
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003110
- Vuln IDs
-
- V-227749
- V-22387
- Rule IDs
-
- SV-227749r603266_rule
- SV-26538
Checks: C-29911r488831_chk
Check the permissions of the crontab directories. # ls -ld /var/spool/cron/crontabs/ If the permissions include a "+", the directory has an extended ACL and this is a finding.
Fix: F-29899r488832_fix
Remove the extended ACL from the directory. # chmod A- /var/spool/cron/crontabs/
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003120
- Vuln IDs
-
- V-227750
- V-980
- Rule IDs
-
- SV-227750r603266_rule
- SV-27345
Checks: C-29912r488834_chk
Check the owner of the crontab directory. # ls -ld /var/spool/cron/crontabs If the owner of the crontab directory is not root or bin, this is a finding.
Fix: F-29900r488835_fix
Change the owner of the crontab directory. # chown root /var/spool/cron/crontabs
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003140
- Vuln IDs
-
- V-227751
- V-981
- Rule IDs
-
- SV-227751r603266_rule
- SV-27347
Checks: C-29913r488837_chk
Check the group owner of the crontab directories. Procedure: # ls -ld /var/spool/cron/crontabs If the directory is not group-owned by root, sys, or bin, this is a finding.
Fix: F-29901r488838_fix
Change the group owner of the crontab directories to root, sys, or bin. Procedure: # chgrp root /var/spool/cron/crontabs
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN003160
- Vuln IDs
-
- V-227752
- V-982
- Rule IDs
-
- SV-227752r603266_rule
- SV-27349
Checks: C-29914r488840_chk
# ls -lL /var/cron/log If this file does not exist, or is older than the last cron job, this is a finding. # more /etc/default/cron If a CRONLOG=YES line does not exist, this is a finding.
Fix: F-29902r488841_fix
Edit /etc/default/cron and set CRONLOG=YES.
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- GEN003180
- Vuln IDs
-
- V-227753
- V-983
- Rule IDs
-
- SV-227753r603266_rule
- SV-27354
Checks: C-29915r488843_chk
Check the mode of the cron log file. # ls -lL /var/cron/log If the mode is more permissive than 0600, this is a finding.
Fix: F-29903r488844_fix
Change the mode of the cron log file. # chmod 0600 /var/cron/log
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003190
- Vuln IDs
-
- V-227754
- V-22388
- Rule IDs
-
- SV-227754r603266_rule
- SV-26542
Checks: C-29916r488846_chk
Check the permissions of the file. # ls -lL /var/cron/log If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29904r488847_fix
Remove the extended ACL from the file. # chmod A- /var/cron/log
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003200
- Vuln IDs
-
- V-227755
- V-4358
- Rule IDs
-
- SV-227755r854488_rule
- SV-27359
Checks: C-29917r488849_chk
Check the mode of the cron.deny file. # ls -lL /etc/cron.d/cron.deny If the cron.deny file is more permissive than 0600, this is a finding.
Fix: F-29905r488850_fix
Change the mode of the cron.deny file. # chmod 0600 /etc/cron.d/cron.deny
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003210
- Vuln IDs
-
- V-227756
- V-22389
- Rule IDs
-
- SV-227756r603266_rule
- SV-26546
Checks: C-29918r488852_chk
Check the permissions of the file. # ls -lL /etc/cron.d/cron.deny If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29906r488853_fix
Remove the extended ACL from the file. # chmod A- /etc/cron.d/cron.deny
- RMF Control
- AC-3
- Severity
- L
- CCI
- CCI-002165
- Version
- GEN003220
- Vuln IDs
-
- V-227757
- V-4360
- Rule IDs
-
- SV-227757r854489_rule
- SV-27364
Checks: C-36464r602995_chk
Determine if there are any crontabs by viewing a long listing of the directory. If there are crontabs, examine them to determine what cron jobs exist. Check for any programs specifying an umask. # ls -lL /var/spool/cron/crontabs # cat <crontab file> # grep umask <cron program> If there are no cron jobs present, this vulnerability is not applicable. If any cron job contains an umask value more permissive than 077, this is a finding. Severity Override Guidance: If a cron program sets the umask to 000 or does not restrict the world-writable permission, this becomes a CAT I finding.
Fix: F-36428r602996_fix
Edit cron script files and modify the umask to 077.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003240
- Vuln IDs
-
- V-227758
- V-4361
- Rule IDs
-
- SV-227758r603266_rule
- SV-27366
Checks: C-29920r488858_chk
# ls -lL /etc/cron.d/cron.allow If the cron.allow file is not owned by root, sys, or bin, this is a finding.
Fix: F-29908r488859_fix
# chown root /etc/cron.d/cron.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003245
- Vuln IDs
-
- V-227759
- V-22390
- Rule IDs
-
- SV-227759r603266_rule
- SV-26550
Checks: C-29921r488861_chk
Check the permissions of the file. # ls -lL /etc/cron.d/at.allow If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29909r488862_fix
Remove the extended ACL from the file. # chmod A- /etc/cron.d/at.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003250
- Vuln IDs
-
- V-227760
- V-22391
- Rule IDs
-
- SV-227760r603266_rule
- SV-26553
Checks: C-29922r488864_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/cron.d/cron.allow If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29910r488865_fix
Change the group ownership of the file. Procedure: # chgrp root /etc/cron.d/cron.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003252
- Vuln IDs
-
- V-227761
- V-22392
- Rule IDs
-
- SV-227761r603266_rule
- SV-26556
Checks: C-29923r488867_chk
Check the permissions of the file. # ls -lL /etc/cron.d/at.deny If the file has a mode more permissive than 0600, this is a finding.
Fix: F-29911r488868_fix
Change the mode of the file. # chmod 0600 /etc/cron.d/at.deny
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003255
- Vuln IDs
-
- V-227762
- V-22393
- Rule IDs
-
- SV-227762r603266_rule
- SV-26560
Checks: C-29924r488870_chk
Check the permissions of the file. # ls -lL /etc/cron.d/at.deny If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29912r488871_fix
Remove the extended ACL from the file. # chmod A- /etc/cron.d/at.deny
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003260
- Vuln IDs
-
- V-227763
- V-4430
- Rule IDs
-
- SV-227763r603266_rule
- SV-27371
Checks: C-29925r488873_chk
Check the ownership of the cron.deny file. # ls -lL /etc/cron.d/cron.deny If the cron.deny file is not owned by root, sys, or bin, this is a finding.
Fix: F-29913r488874_fix
Change the ownership of the cron.deny file to root, sys, or bin. # chown root /etc/cron.d/cron.deny
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003270
- Vuln IDs
-
- V-227764
- V-22394
- Rule IDs
-
- SV-227764r603266_rule
- SV-26563
Checks: C-29926r488876_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/cron.d/cron.deny If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29914r488877_fix
Change the group ownership of the file to root, sys, or bin. Procedure: # chgrp root /etc/cron.d/cron.deny
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003280
- Vuln IDs
-
- V-227765
- V-984
- Rule IDs
-
- SV-227765r854490_rule
- SV-27376
Checks: C-29927r488879_chk
Check for the existence of at.allow and at.deny files. # ls -lL /etc/cron.d/at.allow # ls -lL /etc/cron.d/at.deny If neither file exists, this is a finding.
Fix: F-29915r488880_fix
Create at.allow and/or at.deny files containing appropriate lists of users to be allowed or denied access to the "at" daemon.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003300
- Vuln IDs
-
- V-227766
- V-985
- Rule IDs
-
- SV-227766r603266_rule
- SV-27380
Checks: C-29928r488882_chk
# more /etc/cron.d/at.deny If the at.deny file exists and is empty, this is a finding.
Fix: F-29916r488883_fix
Add appropriate users to the at.deny file, or remove the empty at.deny file if an at.allow file exists.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003320
- Vuln IDs
-
- V-227767
- V-986
- Rule IDs
-
- SV-227767r603266_rule
- SV-27384
Checks: C-29929r488885_chk
# more /etc/cron.d/at.allow If default accounts (such as bin, sys, adm, and others) are listed in the at.allow file, this is a finding.
Fix: F-29917r488886_fix
Remove the default accounts (such as bin, sys, adm, and others) from the at.allow file.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003340
- Vuln IDs
-
- V-227768
- V-987
- Rule IDs
-
- SV-227768r854491_rule
- SV-27388
Checks: C-29930r489658_chk
Check the mode of the at.allow file. # ls -lL /etc/cron.d/at.allow If the at.allow file has a mode more permissive than 0600, this is a finding.
Fix: F-29918r489659_fix
Change the mode of the at.allow file. # chmod 0600 /etc/cron.d/at.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003360
- Vuln IDs
-
- V-227769
- V-988
- Rule IDs
-
- SV-227769r603266_rule
- SV-40411
Checks: C-29931r489661_chk
List the "at" jobs on the system. Procedure: # ls -la /var/spool/cron/atjobs For each "at" job file, determine which programs are executed. Procedure: # more <at job file> Check each program executed by "at" for group- or world-writable permissions. Procedure: # ls -la <at program file> If "at" executes group- or world-writable programs, this is a finding.
Fix: F-29919r489662_fix
Remove group-write and world-write permissions from files executed by "at" jobs. Procedure: # chmod go-w <file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003380
- Vuln IDs
-
- V-227770
- V-989
- Rule IDs
-
- SV-227770r603266_rule
- SV-40412
Checks: C-29932r489664_chk
List any "at" jobs on the system. Procedure: # ls /var/spool/cron/atjobs For each "at" job, determine which programs are executed. Procedure: # more <at job file> Check the directory containing each program executed by "at" for world-writable permissions. Procedure: # ls -la <at program file directory> If "at" executes programs in world-writable directories, this is a finding.
Fix: F-29920r489665_fix
Remove the world-writable permission from directories containing programs executed by "at". Procedure: # chmod o-w <at program directory>
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003400
- Vuln IDs
-
- V-227771
- V-4364
- Rule IDs
-
- SV-227771r854492_rule
- SV-40391
Checks: C-29933r489667_chk
Check the mode of the "at" directory. Procedure: # ls -ld /var/spool/cron/atjobs If the directory mode is more permissive than 0755, this is a finding.
Fix: F-29921r489668_fix
Change the mode of the "at" directory to 0755. Procedure: # chmod 0755 < at directory >
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003410
- Vuln IDs
-
- V-227772
- V-22395
- Rule IDs
-
- SV-227772r603266_rule
- SV-26566
Checks: C-29934r489670_chk
Check the permissions of the directory. # ls -lLd /var/spool/cron/atjobs If the permissions include a "+", the directory has an extended ACL and this is a finding.
Fix: F-29922r489671_fix
Remove the extended ACL from the file. # chmod A- /var/spool/cron/atjobs
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003420
- Vuln IDs
-
- V-227773
- V-4365
- Rule IDs
-
- SV-227773r603266_rule
- SV-39886
Checks: C-29935r489673_chk
Check the ownership of the "at" directory. Procedure: # ls -ld /var/spool/cron/atjobs If the directory is not owned by root, sys, or bin, this is a finding.
Fix: F-29923r489674_fix
Change the owner of the "at" directory to root, bin, or sys. Procedure: # chown root /var/spool/cron/atjobs
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003430
- Vuln IDs
-
- V-227774
- V-22396
- Rule IDs
-
- SV-227774r603266_rule
- SV-40414
Checks: C-29936r489676_chk
Check the group ownership of the "at" directory. Procedure: # ls -lLd /var/spool/cron/atjobs If the "at" directory is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29924r489677_fix
Change the group ownership of the "at" directory to root, bin, or sys. Procedure: # chgrp sys /var/spool/cron/atjobs
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003440
- Vuln IDs
-
- V-227775
- V-4366
- Rule IDs
-
- SV-227775r854493_rule
- SV-40416
Checks: C-29937r489679_chk
Determine what "at" jobs exist on the system. Procedure: # ls /var/spool/cron/atjobs If there are no "at" jobs present, this is not applicable. Determine if any of the "at" jobs or any scripts referenced execute the umask command. Check for any umask setting more permissive than 077. # grep umask <at job or referenced script> If any "at" job or referenced script sets umask to a value more permissive than 077, this is a finding.
Fix: F-29925r489680_fix
Edit "at" jobs or referenced scripts to remove umask commands setting umask to a value less restrictive than 077.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003460
- Vuln IDs
-
- V-227776
- V-4367
- Rule IDs
-
- SV-227776r603266_rule
- SV-27392
Checks: C-29938r489682_chk
# ls -lL /etc/cron.d/at.allow If the at.allow file is not owned by root, sys, or bin, this is a finding.
Fix: F-29926r489683_fix
Change the owner of the at.allow file. # chown root /etc/cron.d/at.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003470
- Vuln IDs
-
- V-227777
- V-22397
- Rule IDs
-
- SV-227777r603266_rule
- SV-26570
Checks: C-29939r489685_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/cron.d/at.allow If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29927r489686_fix
Change the group ownership of the file. Procedure: # chgrp root /etc/cron.d/at.allow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003480
- Vuln IDs
-
- V-227778
- V-4368
- Rule IDs
-
- SV-227778r603266_rule
- SV-27396
Checks: C-29940r489688_chk
# ls -lL /etc/cron.d/at.deny If the at.deny file is not owned by root, sys, or bin, this is a finding.
Fix: F-29928r489689_fix
Change the owner of the at.deny file. # chown root /etc/cron.d/at.deny
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003490
- Vuln IDs
-
- V-227779
- V-22398
- Rule IDs
-
- SV-227779r603266_rule
- SV-26573
Checks: C-29941r489691_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/cron.d/at.deny If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29929r489692_fix
Change the group ownership of the at.deny file to root, bin, or sys. Procedure: # chgrp root /etc/cron.d/at.deny
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003500
- Vuln IDs
-
- V-227780
- V-11996
- Rule IDs
-
- SV-227780r603266_rule
- SV-27400
Checks: C-29942r489694_chk
Check the process core dump configuration. # coreadm |grep enabled OR # egrep "COREADM_.*_ENABLED" /etc/coreadm.conf. If any lines are returned by coreadm or if any lines are not set to no in /etc/coreadm.conf, this is a finding. # grep coredumpsize /etc/system If the value is 1, this is a finding.
Fix: F-29930r489695_fix
Change the process core dump configuration. # coreadm -d global # coreadm -d process # coreadm -d global-setid # coreadm -d proc-setid # coreadm -d log Edit /etc/system and remove the coredumpsize parameter.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003501
- Vuln IDs
-
- V-227781
- V-22399
- Rule IDs
-
- SV-227781r603266_rule
- SV-26576
Checks: C-29943r489697_chk
Verify a directory is defined for process core dumps. # grep COREADM_GLOB_PATTERN /etc/coreadm.conf If the parameter is not an absolute path (does not start with a slash [/]), this is a finding.
Fix: F-29931r489698_fix
Change the core file pattern. # coreadm -g /var/core/core.%f.%p Then: # coreadm -u In order to force a reload of the configuration.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003502
- Vuln IDs
-
- V-227782
- V-22400
- Rule IDs
-
- SV-227782r603266_rule
- SV-26579
Checks: C-29944r489700_chk
Check the defined directory for process core dumps. # coreadm | grep "global core file pattern" OR # grep COREADM_GLOB_PATTERN /etc/coreadm.conf Check the ownership of the directory. # ls -lLd [core file directory] If the directory is not owned by root, this is a finding.
Fix: F-29932r489701_fix
Change the owner of the core file directory. # chown root [core file directory]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003503
- Vuln IDs
-
- V-227783
- V-22401
- Rule IDs
-
- SV-227783r603266_rule
- SV-26582
Checks: C-36465r602998_chk
Check the defined directory for process core dumps. # coreadm | grep "global core file pattern" OR # grep COREADM_GLOB_PATTERN /etc/coreadm.conf Check the group ownership of the directory. # ls -lLd [core file directory] If the directory is not group-owned by root, bin, or sys, this is a finding.
Fix: F-36429r602999_fix
Change the group-owner of the core file directory to root, bin, or sys. Example: # chgrp root [core file directory]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003504
- Vuln IDs
-
- V-227784
- V-22402
- Rule IDs
-
- SV-227784r603266_rule
- SV-26596
Checks: C-29946r489706_chk
Check the defined directory for process core dumps. # coreadm | grep "global core file pattern" OR # grep COREADM_GLOB_PATTERN /etc/coreadm.conf Check the permissions of the directory. # ls -lLd [core file directory] If the directory has a mode more permissive than 0700, this is a finding.
Fix: F-29934r489707_fix
Change the mode of the core file directory. # chmod 0700 [core file directory]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003505
- Vuln IDs
-
- V-227785
- V-22403
- Rule IDs
-
- SV-227785r603266_rule
- SV-26602
Checks: C-29947r489709_chk
Check the defined directory for process core dumps. # coreadm | grep "global core file pattern" OR # grep COREADM_GLOB_PATTERN /etc/coreadm.conf Check the permissions of the directory. # ls -lLd [core file directory] If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29935r489710_fix
Remove the extended ACL from the directory. # chmod A- [core file directory]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003510
- Vuln IDs
-
- V-227786
- V-22404
- Rule IDs
-
- SV-227786r603266_rule
- SV-26605
Checks: C-29948r489712_chk
Verify savecore is not used. # dumpadm | grep 'Savecore enabled' If the value is true, this is a finding. OR # grep DUMPADM_ENABLE /etc/dumpadm.conf If the value is yes, this is a finding.
Fix: F-29936r489713_fix
Disable savecore. # dumpadm -n
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003520
- Vuln IDs
-
- V-227787
- V-11997
- Rule IDs
-
- SV-227787r603266_rule
- SV-27407
Checks: C-29949r489715_chk
Check the ownership of the kernel core dump data directory. # ls -ld /var/crash OR # ls -ld `grep DUMPADM_SAVDIR /etc/dumpadm.conf | cut -d= -f2` If the kernel core dump data directory is not owned by root, this is a finding.
Fix: F-29937r489716_fix
Change the owner of the kernel core dump data directory to root. # chown root /var/crash
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003521
- Vuln IDs
-
- V-227788
- V-22405
- Rule IDs
-
- SV-227788r603266_rule
- SV-26610
Checks: C-29950r489718_chk
Determine the kernel core dump data directory. # dumpadm | grep "Savecore directory" OR # grep DUMPADM_SAVDIR /etc/dumpadm.conf Check ownership of the core dump data directory. # ls -l [savecore directory] If the directory is not group-owned by root, this is a finding.
Fix: F-29938r489719_fix
Change the group-owner of the kernel core dump data directory. # chgrp root [kernel core dump data directory]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003522
- Vuln IDs
-
- V-227789
- V-22406
- Rule IDs
-
- SV-227789r603266_rule
- SV-26614
Checks: C-29951r489721_chk
Determine the kernel core dump data directory. # dumpadm | grep "Savecore directory" OR # grep DUMPADM_SAVDIR /etc/dumpadm.conf Check the permissions of the kernel core dump data directory. # ls -l [savecore directory] If the directory has a mode more permissive than 0700, this is a finding.
Fix: F-29939r489722_fix
Change the group-owner of the kernel core dump data directory. # chmod 0700 [kernel core dump data directory]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003523
- Vuln IDs
-
- V-227790
- V-22407
- Rule IDs
-
- SV-227790r603266_rule
- SV-26618
Checks: C-29952r489724_chk
Determine the kernel core dump data directory. # dumpadm | grep "Savecore directory" OR # grep DUMPADM_SAVDIR /etc/dumpadm.conf Check the kernel core dump data directory permissions. # ls -ld [savecore directory] If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29940r489725_fix
Remove the extended ACL from the file. # chmod A- [kernel core dump directory]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003540
- Vuln IDs
-
- V-227791
- V-11999
- Rule IDs
-
- SV-227791r603266_rule
- SV-27412
Checks: C-36466r603001_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. Determine if the system implements non-executable program stacks. # grep noexec_user_stack /etc/system If the noexec_user_stack is not set to 1, this is a finding.
Fix: F-36430r603002_fix
This action applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this action applies. Edit /etc/system and set the noexec_user_stack parameter to 1. Restart the system for the setting to take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003580
- Vuln IDs
-
- V-227792
- V-12001
- Rule IDs
-
- SV-227792r603266_rule
- SV-27416
Checks: C-29954r489730_chk
# grep "TCP_STRONG_ISS=2" /etc/default/inetinit If this variable is not set, this is a finding.
Fix: F-29942r489731_fix
Edit /etc/default/inetinit and set the TCP_STRONG_ISS parameter to 2.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003600
- Vuln IDs
-
- V-227793
- V-12002
- Rule IDs
-
- SV-227793r603266_rule
- SV-27420
Checks: C-29955r489733_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the network settings: # ndd /dev/ip ip_forward_src_routed If the returned value is not 0, this is a finding.
Fix: F-29943r489734_fix
Configure the system to not forward IPv4 source-routed packets. Procedure: # ndd /dev/ip ip_forward_src_routed 0 This command must also be added to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003601
- Vuln IDs
-
- V-227794
- V-23741
- Rule IDs
-
- SV-227794r603266_rule
- SV-28639
Checks: C-29956r489736_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces determine the network settings. Procedure: # ndd /dev/tcp tcp_conn_req_max_q0 If the returned value is not 1280 or greater, this is a finding. Procedure: # ndd /dev/tcp tcp_conn_req_max_q If the returned value is not 1024, this is a finding.
Fix: F-29944r489737_fix
Procedure: # ndd -set /dev/tcp tcp_conn_req_max_q0 1280 # ndd -set /dev/tcp tcp_conn_req_max_q 1024 Ensure these commands are also present in system startup scripts.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003602
- Vuln IDs
-
- V-227795
- V-22409
- Rule IDs
-
- SV-227795r603266_rule
- SV-26621
Checks: C-29957r489739_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system does not respond to ICMP timestamp requests. # ndd /dev/ip ip_respond_to_timestamp If the result is not 0, this is a finding.
Fix: F-29945r489740_fix
Disable ICMP timestamp responses on the system. # ndd -set /dev/ip ip_respond_to_timestamp 0 Also add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003603
- Vuln IDs
-
- V-227796
- V-22410
- Rule IDs
-
- SV-227796r603266_rule
- SV-26622
Checks: C-29958r489742_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system does not respond to ICMP ECHO_REQUESTs set to broadcast addresses. # ndd /dev/ip ip_respond_to_echo_broadcast If the result is not 0, this is a finding.
Fix: F-29946r489743_fix
Configure the system to not respond to ICMP ECHO_REQUESTs sent to broadcast addresses. # ndd -set /dev/ip ip_respond_to_echo_broadcast 0 Also add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003604
- Vuln IDs
-
- V-227797
- V-22411
- Rule IDs
-
- SV-227797r603266_rule
- SV-26624
Checks: C-29959r489745_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system does not respond to ICMP timestamp requests set to broadcast addresses. # ndd /dev/ip ip_respond_to_echo_broadcast If the result is not 0, this is a finding.
Fix: F-29947r489746_fix
Configure the system to not respond to ICMP timestamp requests sent to broadcast addresses. # ndd -set /dev/ip ip_respond_to_echo_broadcast 0 Also add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003605
- Vuln IDs
-
- V-227798
- V-22412
- Rule IDs
-
- SV-227798r603266_rule
- SV-26626
Checks: C-29960r489748_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system does not apply reversed source routing to TCP responses. # ndd /dev/tcp tcp_rev_src_routes If the result is not 0, this is a finding.
Fix: F-29948r489749_fix
Configure the system to not apply reversed source routing to TCP responses. # ndd -set /dev/tcp tcp_rev_src_routes 0 Also add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003606
- Vuln IDs
-
- V-227799
- V-22413
- Rule IDs
-
- SV-227799r603266_rule
- SV-29709
Checks: C-29961r489751_chk
Check the system for an IPF rule blocking outgoing source-routed packets. Procedure: # ipfstat -o Examine the list for rules such as: block out log quick all with opt lsrr block out log quick all with opt ssrr If the listed rules do not block both lsrr and ssrr options, this is a finding.
Fix: F-29949r489752_fix
Edit /etc/ipf/ipf.conf and add rules to block outgoing source-routed packets, such as: block out log quick all with opt lsrr block out log quick all with opt ssrr Reload the IPF rules. Procedure: # ipf -Fa -A -f /etc/ipf/ipf.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003607
- Vuln IDs
-
- V-227800
- V-22414
- Rule IDs
-
- SV-227800r603266_rule
- SV-29711
Checks: C-29962r489754_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces check the system for an IPF rule blocking incoming source-routed packets. Procedure: # ipfstat -i Examine the list for rules such as: block in log quick all with opt lsrr block in log quick all with opt ssrr If the listed rules do not block incoming traffic with both lsrr and ssrr options, this is a finding.
Fix: F-29950r489755_fix
Edit /etc/ipf/ipf.conf and add rules to block incoming source-routed packets, such as: block in log quick all with opt lsrr block in log quick all with opt ssrr Reload the IPF rules. Procedure: # ipf -Fa -A -f /etc/ipf/ipf.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003608
- Vuln IDs
-
- V-227801
- V-22415
- Rule IDs
-
- SV-227801r603266_rule
- SV-29603
Checks: C-29963r489757_chk
Determine if the system has non-local published ARP entries. Procedure: # arp -a If any entries have the flag P and no flag L, they are non-local published entries, and this is a finding.
Fix: F-29951r489758_fix
Remove non-local published ARP entries from the system. Procedure: # arp -d <host> Check system initialization files for any commands creating published ARP entries (such as "arp -s <host> <ether> pub" or "arp -f") and removing them.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003609
- Vuln IDs
-
- V-227802
- V-22416
- Rule IDs
-
- SV-227802r603266_rule
- SV-26630
Checks: C-29964r489760_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system does not accept IPv4 ICMP redirect messages. Procedure: # ndd -get /dev/ip ip_ignore_redirect If the result is not 1, this is a finding.
Fix: F-29952r489761_fix
Configure the system to not accept IPv4 ICMP redirect messages. Procedure: # ndd -set /dev/ip ip_ignore_redirect 1 This command must also be added to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003610
- Vuln IDs
-
- V-227803
- V-22417
- Rule IDs
-
- SV-227803r603266_rule
- SV-26632
Checks: C-29965r489763_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system does not send IPv4 ICMP redirect messages. Procedure: # ndd /dev/ip ip_send_redirects If the result is not 0, this is a finding.
Fix: F-29953r489764_fix
Configure the system to not send IPv4 ICMP redirect messages. Procedure: # ndd -set /dev/ip ip_send_redirects 0 Also add this command to a system startup script.
- RMF Control
- AU-12
- Severity
- L
- CCI
- CCI-000169
- Version
- GEN003611
- Vuln IDs
-
- V-227804
- V-22418
- Rule IDs
-
- SV-227804r603266_rule
- SV-29773
Checks: C-36467r603004_chk
If the system is not a global zone, this vulnerability is not applicable. Determine if the system is configured to log martian packets. Examine the IPF rules on the system. Procedure: # ipfstat -i There must be rules logging inbound traffic containing invalid source addresses, which minimally include the system's own addresses and broadcast addresses for attached subnets. If such rules do not exist, this is a finding.
Fix: F-36431r603005_fix
Configure the system to log martian packets using IPF. Add rules logging inbound traffic containing invalid source addresses, which minimally include the system's own addresses and broadcast addresses for attached subnets. For example, consider a system with a single network connection having IP address 192.168.1.10 with a local subnet broadcast address of 192.168.1.255. Packets with source addresses of 192.168.1.10 and 192.168.1.255 must be logged if received by the system from the network connection. Edit /etc/ipf/ipf.conf and add the following rules, substituting local addresses and interface names: block in log quick on ce0 from 192.168.1.10 to any block in log quick on ce0 from 192.168.1.255 to any Reload the IPF rules. Procedure: # ipf -Fa -A -f /etc/ipf/ipf.conf
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003620
- Vuln IDs
-
- V-227805
- V-12003
- Rule IDs
-
- SV-227805r603266_rule
- SV-28618
Checks: C-29967r489772_chk
Determine if the /export/home path is a separate file system. # grep /export/home /etc/vfstab If no result is returned, /export/home is not on a separate file system and this is a finding. If ZFS is used for home directories, this is not applicable.
Fix: F-29955r489773_fix
Migrate the /export/home path onto a separate file system.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003623
- Vuln IDs
-
- V-227806
- V-23738
- Rule IDs
-
- SV-227806r603266_rule
- SV-28628
Checks: C-29968r489775_chk
Determine the audit log data path. # grep "^dir:" /etc/security/audit_control Determine if the audit log data path is a separate filesystem. # df -h <audit data path> If the returned mount point is "/" this is a finding.
Fix: F-29956r489776_fix
Migrate the system audit data path onto a separate file system.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003624
- Vuln IDs
-
- V-227807
- V-23739
- Rule IDs
-
- SV-227807r603266_rule
- SV-28632
Checks: C-29969r489778_chk
Determine if the /tmp path is a separate file system. # grep /tmp /etc/vfstab If no result is returned, /tmp is not on a separate file system, this is a finding. If the returned result indicates that /tmp is mounted on a memory or swap based file system, this is not a finding
Fix: F-29957r489779_fix
Migrate the /tmp path onto a separate file system.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003640
- Vuln IDs
-
- V-227808
- V-4304
- Rule IDs
-
- SV-227808r603266_rule
- SV-40021
Checks: C-36468r603007_chk
Logging should be enabled for those types of files systems that do not turn on logging by default. Procedure: # mount -v UFS, JFS, VXFS, HFS, XFS, reiserfs, EXT3 and EXT4 all turn logging on by default and will not be a finding. The ZFS file system uses other mechanisms to provide for file system consistency, and will not be a finding. For other file systems types, if the root file system does not have the 'logging' option, this is a finding. If the 'nolog' option is set on the root file system, this is a finding.
Fix: F-36432r603008_fix
Implement file system journaling for the root file system, or use a file system using other mechanisms to ensure consistency. If the root file system supports journaling, enable it. If the file system does not support journaling or another mechanism to ensure consistency, a migration to a different file system will be necessary.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003650
- Vuln IDs
-
- V-227809
- V-22422
- Rule IDs
-
- SV-227809r603266_rule
- SV-26638
Checks: C-29971r489784_chk
Verify local file systems use journaling or another mechanism ensuring file system consistency. Procedure: # mount -v | grep '^/dev/' | egrep -v '(logging|vxfs|zfs|devfs)' | grep -v /dev/fd If a mount is listed, this is a finding.
Fix: F-29959r489785_fix
Convert local file systems to use journaling or another mechanism ensuring file system consistency.
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN003660
- Vuln IDs
-
- V-227810
- V-12004
- Rule IDs
-
- SV-227810r603266_rule
- SV-12505
Checks: C-29972r489787_chk
Check /etc/syslog.conf and verify the auth facility is logging both the notice and info level messages by using one of the procedures below. # grep "auth.notice" /etc/syslog.conf # grep "auth.info" /etc/syslog.conf OR # grep 'auth.*' /etc/syslog.conf If auth.* is not found, and either auth.notice or auth.info is not found, this is a finding.
Fix: F-29960r489788_fix
Edit /etc/syslog.conf and add local log destinations for auth.* or both auth.notice and auth.info.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003700
- Vuln IDs
-
- V-227811
- V-12005
- Rule IDs
-
- SV-227811r603266_rule
- SV-27426
Checks: C-29973r489790_chk
Determine if inetd is running, # svcs -a | grep inetd If inetd is not running, this check is not a finding. # inetadm | grep -v disabled If no enabled/online services are found, yet the inetd daemon is running, this is a finding.
Fix: F-29961r489791_fix
Disable the inetd service. Procedure: # svcadm disable inetd
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003720
- Vuln IDs
-
- V-227812
- V-821
- Rule IDs
-
- SV-227812r854494_rule
- SV-39883
Checks: C-29974r489793_chk
Check the ownership of inetd.conf file. Procedure: # ls -lL /etc/inet/inetd.conf This is a finding if any of the above files or directories are not owned by root or bin.
Fix: F-29962r489794_fix
Change the ownership of the inetd.conf file to root or bin. Procedure: # chown root /etc/inet/inetd.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003730
- Vuln IDs
-
- V-227813
- V-22423
- Rule IDs
-
- SV-227813r603266_rule
- SV-39884
Checks: C-29975r489796_chk
Check the group ownership of the inetd.conf file. Procedure: # ls -alL /etc/inet/inetd.conf If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29963r489797_fix
Change the group ownership of the inetd.conf file. Procedure: # chgrp sys /etc/inet/inetd.conf
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003740
- Vuln IDs
-
- V-227814
- V-822
- Rule IDs
-
- SV-227814r854495_rule
- SV-39885
Checks: C-29976r489799_chk
Check the mode of inetd.conf file. # ls -lL /etc/inet/inetd.conf If the mode of the file is more permissive than 0440, this is a finding.
Fix: F-29964r489800_fix
Change the mode of the inetd.conf file. # chmod 0440 /etc/inet/inetd.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003745
- Vuln IDs
-
- V-227815
- V-22424
- Rule IDs
-
- SV-227815r603266_rule
- SV-26653
Checks: C-29977r489802_chk
Check the permissions of the inetd configuration file. # ls -lL /etc/inet/inetd.conf If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29965r489803_fix
Remove the extended ACL from the file. # chmod A- /etc/inet/inetd.conf
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003760
- Vuln IDs
-
- V-227816
- V-823
- Rule IDs
-
- SV-227816r854496_rule
- SV-823
Checks: C-29978r489805_chk
Check the ownership of the services file. Procedure: # ls -lL /etc/services If the services file is not owned by root or bin, this is a finding.
Fix: F-29966r489806_fix
Change the ownership of the services file to root or bin. Procedure: # chown root /etc/services
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003770
- Vuln IDs
-
- V-227817
- V-22427
- Rule IDs
-
- SV-227817r603266_rule
- SV-39903
Checks: C-29979r489808_chk
Check the group ownership of the services file. Procedure: # ls -lL /etc/services If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-29967r489809_fix
Change the group-owner of the services file. Procedure: # chgrp root /etc/services
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003780
- Vuln IDs
-
- V-227818
- V-824
- Rule IDs
-
- SV-227818r854497_rule
- SV-824
Checks: C-29980r489811_chk
Check the mode of the services file. Procedure: # ls -lL /etc/services If the services file has a mode more permissive than 0444, this is a finding.
Fix: F-29968r489812_fix
Change the mode of the services file to 0444 or less permissive. Procedure: # chmod 0444 /etc/services
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003790
- Vuln IDs
-
- V-227819
- V-22428
- Rule IDs
-
- SV-227819r603266_rule
- SV-26660
Checks: C-29981r489814_chk
Check the permissions of the /etc/services file. # ls -lL /etc/services If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-29969r489815_fix
Remove the extended ACL from the file. # chmod A- /etc/services
- RMF Control
- AU-3
- Severity
- L
- CCI
- CCI-000134
- Version
- GEN003800
- Vuln IDs
-
- V-227820
- V-1011
- Rule IDs
-
- SV-227820r603266_rule
- SV-27430
Checks: C-36469r603010_chk
Verify the default value of the inet service property tcp_trace. # inetadm -p |grep tcp_trace If the tcp_trace inet service property is not set or is set to FALSE, this is a finding. Verify that all enabled inetd-managed processes have the tcp_trace inet service property set to the default value or TRUE. # inetadm | grep enabled | awk '{print $NF}' | xargs inetadm -l | more If any enabled inetd-managed processes have the tcp_trace inet service property set to FALSE, this is a finding.
Fix: F-36433r603011_fix
Enable logging or tracing for inetd. Procedure: # inetadm -M tcp_trace=TRUE Set the tcp_trace inet service property to the default for all enabled inetd-managed services. # inetadm | grep enabled | awk '{print $NF}' | xargs -I X inetadm -m X tcp_trace= (Note: The trailing '=' instructs inetd to use the default value for tcp_trace.)
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003815
- Vuln IDs
-
- V-227821
- V-22430
- Rule IDs
-
- SV-227821r603266_rule
- SV-40810
Checks: C-29983r489823_chk
If the system needs the portmap service to operate, this is not applicable. The rpcbind program is part of a core Solaris package and cannot be removed. Verify the permissions on the rpcbind file. # ls -lL /usr/sbin/rpcbind If the rpcbind service is not required and the rpcbind file has non-zero permissions, this is a finding.
Fix: F-29971r489824_fix
Remove all permissions from the rpcbind file. Procedure: # chmod 0000 /usr/sbin/rpcbind
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003825
- Vuln IDs
-
- V-227822
- V-22431
- Rule IDs
-
- SV-227822r603266_rule
- SV-26668
Checks: C-29984r489829_chk
Check if the SUNWrcmdr package is installed. Procedure: # pkginfo SUNWrcmdr If the package is installed, this is a finding.
Fix: F-29972r489830_fix
Remove the SUNWrcmdr package. Procedure: # pkgrm SUNWrcmdr
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003835
- Vuln IDs
-
- V-227823
- V-22433
- Rule IDs
-
- SV-227823r603266_rule
- SV-26670
Checks: C-29985r489835_chk
Check if the SUNWrcmdr package is installed. Procedure: # pkginfo SUNWrcmdr If the package is installed, this is a finding.
Fix: F-29973r489836_fix
Remove the SUNWrcmdr package. Procedure: # pkgrm SUNWrcmdr
- RMF Control
- CM-7
- Severity
- H
- CCI
- CCI-000381
- Version
- GEN003840
- Vuln IDs
-
- V-227824
- V-4688
- Rule IDs
-
- SV-227824r603266_rule
- SV-27438
Checks: C-29986r489838_chk
# svcs rexec If the service is enabled, this is a finding.
Fix: F-29974r489839_fix
# svcadm disable rexec # svcadm refresh inetd
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003845
- Vuln IDs
-
- V-227825
- V-22434
- Rule IDs
-
- SV-227825r603266_rule
- SV-26674
Checks: C-29987r489841_chk
Check if the SUNWrcmdr package is installed. Procedure: # pkginfo SUNWrcmdr If the package is installed, this is a finding.
Fix: F-29975r489842_fix
Remove the SUNWrcmdr package. Procedure: # pkgrm SUNWrcmdr
- RMF Control
- IA-5
- Severity
- H
- CCI
- CCI-000197
- Version
- GEN003850
- Vuln IDs
-
- V-227826
- V-24386
- Rule IDs
-
- SV-227826r603266_rule
- SV-39864
Checks: C-29988r489844_chk
Determine if the telnet daemon is running. # svcs telnet If the telnet service is enabled, this is a finding.
Fix: F-29976r489845_fix
Disable the telnet daemon. # svcadm disable telnet # svcadm refresh inetd
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003860
- Vuln IDs
-
- V-227827
- V-4701
- Rule IDs
-
- SV-227827r603266_rule
- SV-27441
Checks: C-29989r489847_chk
If the "SUNWrcmds" package, containing the finger service executable, is not installed, this is not applicable. # svcs finger If the finger service is not disabled, this is a finding.
Fix: F-29977r489848_fix
Disable the finger service and restart inetd. Procedure: # svcadm disable finger # svcadm refresh inetd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003900
- Vuln IDs
-
- V-227828
- V-827
- Rule IDs
-
- SV-227828r603266_rule
- SV-40457
Checks: C-36470r603013_chk
Solaris uses the "IPP" print service and can also use the Samba print service. Verify remote host access is limited. Procedure: # grep -i Listen /etc/apache/httpd-standalone-ipp.conf The /etc/apache/httpd-standalone-ipp.conf file must not contain a Listen *:<port> or equivalent line. If the network address of the "Listen" line is unrestricted, this is a finding. # grep -i "Allow From" /etc/apache/httpd-standalone-ipp.conf The "Allow From" line within the "<Location />" element should limit access to the printers to @LOCAL and specific hosts. If the "Allow From" line contains "All", this is a finding. Verify guest access to printers shared via Samba is restricted according to GEN006235.
Fix: F-36434r603014_fix
Configure IPP to use only the localhost or specified remote hosts. Procedure: Modify the /etc/apache/httpd-standalone-ipp.conf file to "Listen" only to the local machine or a known set of hosts (i.e., Listen localhost:631). Modify the /etc/apache/httpd-standalone-ipp.conf file "<Location />" element to "Deny From All" and "Allow from 127.0.0.1" or allowed host addresses. Restart the IPP service: # svcadm restart ipp-listener
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003920
- Vuln IDs
-
- V-227829
- V-828
- Rule IDs
-
- SV-227829r854498_rule
- SV-37455
Checks: C-29991r489856_chk
Check the owner of the print service configuration files. Procedure: # ls -lL /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the owner of any of the print service configuration files is not root, this is a finding.
Fix: F-29979r489857_fix
Change the owner of the print service configuration files. Procedure: # chown root /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/sfw/smb.conf
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN003940
- Vuln IDs
-
- V-227830
- V-829
- Rule IDs
-
- SV-227830r854499_rule
- SV-37457
Checks: C-29992r489862_chk
Check the mode of the print service configuration files. Procedure: # ls -lL /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the mode of any of the print service configuration file is more permissive than 0644, this is a finding.
Fix: F-29980r489863_fix
Change the mode of the print service configuration files to 0644 or less permissive. Procedure: # chmod 0644 /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003950
- Vuln IDs
-
- V-227831
- V-22436
- Rule IDs
-
- SV-227831r603266_rule
- SV-26678
Checks: C-29993r489865_chk
Check the permissions of the print service configuration files. Procedure: # ls -lL /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the permissions on any file include a '+', the file has an extended ACL and this is a finding.
Fix: F-29981r489866_fix
Remove the extended ACLs from the files. # chmod A- /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003960
- Vuln IDs
-
- V-227832
- V-4369
- Rule IDs
-
- SV-227832r603266_rule
- SV-28392
Checks: C-29994r489868_chk
# ls -lL /usr/sbin/traceroute If the traceroute command is not owned by root, this is a finding.
Fix: F-29982r489869_fix
Change the owner of the traceroute command to root. Example procedure: # chown root /usr/sbin/traceroute
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003980
- Vuln IDs
-
- V-227833
- V-4370
- Rule IDs
-
- SV-227833r603266_rule
- SV-28395
Checks: C-29995r489871_chk
Check the group ownership of the traceroute file. Procedure: # ls -lL /usr/sbin/traceroute If the traceroute command is not group-owned by root, sys, or bin, this is a finding.
Fix: F-29983r489872_fix
Change the group-owner of the traceroute command to root. Procedure: # chgrp root /usr/sbin/traceroute
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004000
- Vuln IDs
-
- V-227834
- V-4371
- Rule IDs
-
- SV-227834r854500_rule
- SV-28399
Checks: C-29996r489874_chk
# ls -lL /usr/sbin/traceroute If the traceroute command has a mode more permissive than 0700, this is a finding.
Fix: F-29984r489875_fix
Change the mode of the traceroute command. # chmod 0700 /usr/sbin/traceroute
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004010
- Vuln IDs
-
- V-227835
- V-22437
- Rule IDs
-
- SV-227835r603266_rule
- SV-26682
Checks: C-29997r489877_chk
Check the permissions of the /usr/sbin/traceroute file. # ls -lL /usr/contrib/bin/traceroute If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29985r489878_fix
Remove the extended ACL from the file. # chmod A- /usr/sbin/traceroute
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN004220
- Vuln IDs
-
- V-227836
- V-4382
- Rule IDs
-
- SV-227836r603266_rule
- SV-4382
Checks: C-36471r603016_chk
Look in the root account home directory for a .netscape or a .mozilla directory. If none exists, this is not a finding. If there is one, verify with the root users and the IAO what the intent of the browsing is. Some evidence may be obtained by using the browser to view cached pages under the .netscape directory.
Fix: F-36435r603017_fix
Enforce policy requiring administrative accounts use web browsers only for local service administration.
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-002195
- Version
- GEN004360
- Vuln IDs
-
- V-227837
- V-831
- Rule IDs
-
- SV-227837r858555_rule
- SV-40493
Checks: C-29999r858554_chk
Note: If sendmail is not installed, this requirement is not applicable. Find the alias file on the system. Procedure: # egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf If the "alias file" is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases. Check the ownership of the alias file. Procedure: # ls -lL /etc/mail/aliases /etc/mail/aliases.db If the alias files are not owned by root, this is a finding.
Fix: F-29987r489884_fix
Change the owner of the /etc/mail/aliases file (or equivalent, such as /usr/lib/aliases) to root. Procedure: # chown root /etc/mail/aliases
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-002195
- Version
- GEN004380
- Vuln IDs
-
- V-227838
- V-832
- Rule IDs
-
- SV-227838r858557_rule
- SV-40651
Checks: C-30000r858556_chk
Note: If sendmail is not installed, this requirement is not applicable. Find the alias files on the system. Procedure: # egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf If the alias file is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases. Check the permissions of the alias file and the hashed version of it used by sendmail. Procedure: # ls -lL /etc/mail/aliases /etc/mail/aliases.db If the alias files have a mode more permissive than 0644, this is a finding.
Fix: F-29988r489890_fix
Change the mode of the /etc/mail/aliases files (or equivalent, such as /usr/lib/aliases) to 0644. Procedure: # chmod 0644 /etc/mail/aliases /etc/mail/aliases.db
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004390
- Vuln IDs
-
- V-227839
- V-22439
- Rule IDs
-
- SV-227839r858559_rule
- SV-26687
Checks: C-30001r858558_chk
Note: If sendmail is not installed, this requirement is not applicable. Find the alias files on the system. Procedure: # egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf If the "alias file" is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases. Check the permissions of the alias file and the hashed version of it used by sendmail. Procedure: # ls -lL /etc/mail/aliases /etc/mail/aliases.db If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29989r489893_fix
Remove the extended ACL from the files. # chmod A- /etc/mail/aliases /etc/mail/aliases.db
- RMF Control
- AC-3
- Severity
- H
- CCI
- CCI-002165
- Version
- GEN004400
- Vuln IDs
-
- V-227840
- V-833
- Rule IDs
-
- SV-227840r854503_rule
- SV-833
Checks: C-36472r603019_chk
Find the aliases file on the system. Procedure: # find / -name aliases -depth -print # more < aliases file location > Examine the aliases file for any directories or paths that may be utilized. Procedure: # ls -lL < path > Check if the file or parent directory is owned by root. If not, this is a finding.
Fix: F-36436r603020_fix
Edit the /etc/mail/aliases file (alternatively, /usr/lib/sendmail.cf). Locate the entries executing a program. They will appear similar to the following line. Aliasname: : /usr/local/bin/ls (or some other program name) Ensure root owns the programs and the directory(ies) they reside in by using the chown command to change owner to root. Procedure: # chown root filename
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004410
- Vuln IDs
-
- V-227841
- V-22440
- Rule IDs
-
- SV-227841r603266_rule
- SV-39904
Checks: C-30003r489898_chk
Examine the contents of the /etc/mail/aliases file. For each file referenced, check the group ownership of the file. Procedure: # ls -lL <file referenced from aliases> If the group owner of any file is not root, bin, or sys, this is a finding.
Fix: F-29991r489899_fix
Change the group ownership of the file referenced from /etc/mail/aliases. Procedure: # chgrp root <file referenced from aliases>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004430
- Vuln IDs
-
- V-227842
- V-22441
- Rule IDs
-
- SV-227842r603266_rule
- SV-26696
Checks: C-30004r489901_chk
Examine the contents of the /etc/mail/aliases file. For each file referenced, check the permissions of the file. # ls -lL [file referenced from aliases] If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29992r489902_fix
Remove the extended ACL from the file. # chmod A- [file referenced from aliases]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004440
- Vuln IDs
-
- V-227843
- V-835
- Rule IDs
-
- SV-227843r603266_rule
- SV-835
Checks: C-30005r489904_chk
Check if Sendmail logging is set to level 9. Procedure: # grep "O L" /etc/mail/sendmail.cf OR # grep LogLevel /etc/mail/sendmail.cf If logging is set to less than 9, this is a finding.
Fix: F-29993r489905_fix
Edit the sendmail.conf file, locate the "O L" or LogLevel entry and change it to 9.
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN004460
- Vuln IDs
-
- V-227844
- V-836
- Rule IDs
-
- SV-227844r603266_rule
- SV-41546
Checks: C-30006r489907_chk
Check the syslog configuration file for mail.crit logging configuration. Procedure: # more /etc/syslog.conf Verify a line similar to one of the following lines is present in syslog.conf is configured so that critical mail log data is logged. (Critical log data may also be captured by a remote log host in accordance with GEN005460.) mail.crit /var/adm/messages *.crit /var/log/messages Less severe syslog levels (err, warning, info, and debug) may be substituted for crit, since they will also capture crit level syslog messages. If syslog is not configured to log critical Sendmail messages, this is a finding.
Fix: F-29994r489908_fix
Edit the syslog.conf file and add a configuration line specifying an appropriate destination for mail.crit syslogs.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004480
- Vuln IDs
-
- V-227845
- V-837
- Rule IDs
-
- SV-227845r854504_rule
- SV-837
Checks: C-30007r489910_chk
Locate any mail log files by checking the syslog configuration file. Procedure: # more /etc/syslog.conf Identify any log files configured for the mail service at any severity level, or those configured for all services. Check the ownership of these log files. Procedure: # ls -lL <file location> If any mail log file is not owned by root, this is a finding.
Fix: F-29995r489911_fix
Change the ownership of the Sendmail log file. # chown root <sendmail log file>
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004500
- Vuln IDs
-
- V-227846
- V-838
- Rule IDs
-
- SV-227846r854505_rule
- SV-838
Checks: C-30008r489913_chk
Check the mode of the SMTP service log file. Procedure: # more /etc/syslog.conf Check the configuration to determine which log files contain logs for mail.crit, mail.debug, or *.crit. Procedure: # ls -lL <file location> If the log file permissions are greater than 0644, this is a finding.
Fix: F-29996r489914_fix
Change the mode of the SMTP service log file. Procedure: # chmod 0644 <sendmail log file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004510
- Vuln IDs
-
- V-227847
- V-22442
- Rule IDs
-
- SV-227847r603266_rule
- SV-26700
Checks: C-30009r489916_chk
Examine /etc/syslog.conf and determine the log file(s) receiving logs for mail.crit, mail.debug, mail.*, or *.crit. Check the permissions on these log files. # ls -lL [log file] If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-29997r489917_fix
Remove the extended ACL from the file. # chmod A- [log file]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004660
- Vuln IDs
-
- V-227848
- V-4692
- Rule IDs
-
- SV-227848r603266_rule
- SV-4692
Checks: C-36473r603022_chk
Determine if EXPN is disabled. Procedure: # telnet localhost 25 expn root If the command does not return a 500 error code of command unrecognized, this is a finding. OR Locate the sendmail.cf configuration file. Procedure: # find / -name sendmail.cf -print # grep -v "^#" <sendmail.cf location> | egrep -i "(goaway|noexpn)" Verify the EXPN command is disabled with an entry in the sendmail.cf file that reads as one of the following: Opnoexpn O PrivacyOptions=noexpn Opgoaway O PrivacyOptions=goaway (Other privacy options, such as novrfy or noetrn, may be included in the same line, separated by commas. The goaway option encompasses a number of privacy options, including noexpn.) If the EXPN command is not disabled, this is a finding.
Fix: F-36437r603023_fix
Edit the sendmail.cf file and add Opnoexpn option. Restart the Sendmail service.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004680
- Vuln IDs
-
- V-227849
- V-4693
- Rule IDs
-
- SV-227849r603266_rule
- SV-4693
Checks: C-36474r603025_chk
Determine if VRFY is disabled. Procedure: # telnet localhost 25 vrfy root If the command does not return a 500 error code of command unrecognized, this is a finding. OR Locate the sendmail.cf configuration file. Procedure: # find / -name sendmail.cf -print # grep -v "^#" <sendmail.cf location> |grep -i "(goaway|vrfy)" Verify the VRFY command is disabled with an entry in the sendmail.cf file that reads as one of the following: Opnovrfy O PrivacyOptions=novrfy Opgoaway O PrivacyOptions=goaway (Other privacy options, such as noexpn or noetrn, may be included in the same line, separated by commas. The goaway option encompasses a number of privacy options, including novrfy.) If the VRFY command is not disabled, this is a finding.
Fix: F-36438r603026_fix
If Sendmail is running, add the line Opnovrfy to the Sendmail configuration file, usually located in /etc/sendmail.cf. For other mail servers, contact the vendor for information on how to disable the verify command. Newer versions of Sendmail are available at http://www.sendmail.org or from ftp://ftp.cs.berkeley.edu/ucb/sendmail.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004700
- Vuln IDs
-
- V-227850
- V-4694
- Rule IDs
-
- SV-227850r603266_rule
- SV-4694
Checks: C-36475r603028_chk
Locate the sendmail.cf configuration file and check for wiz configuration. Procedure: # find / -name sendmail.cf -print # grep -v "^#" <sendmail.cf location> |grep -i wiz If an entry is found for wiz, this is a finding.
Fix: F-36439r603029_fix
If the WIZ command is enabled on Sendmail, it should be disabled by adding this line to the sendmail.cf configuration file (it must be typed in uppercase). OW* For the change to take effect, kill the Sendmail process, refreeze the sendmail.cf file, and restart the Sendmail process.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004710
- Vuln IDs
-
- V-227851
- V-23952
- Rule IDs
-
- SV-227851r603266_rule
- SV-28908
Checks: C-36476r603031_chk
If the system uses Sendmail, locate the sendmail.cf file. Procedure: # find / -name sendmail.cf Determine if Sendmail only binds to loopback addresses by examining the DaemonPortOptions configuration options. Procedure: # grep -i "O DaemonPortOptions" </path/to/sendmail.cf> If there are uncommented DaemonPortOptions lines, and all such lines specify system loopback addresses, this is not a finding. Otherwise, determine if Sendmail is configured to allow open relay operation. Procedure: # find / -name sendmail.mc # grep -i promiscuous_relay </path/to/sendmail.mc> If the promiscuous relay feature is enabled, this is a finding. If the system uses Postfix, locate the main.cf file. Procedure: # find / -name main.cf Determine if Postfix only binds to loopback addresses by examining the inet_interfaces line. Procedure: # grep inet_interfaces </path/to/main.cf> If inet_interfaces is set to loopback-only or contains only loopback addresses, such as 127.0.0.1 and [::1], Postfix is not listening on external network interfaces, this is not a finding. Otherwise, determine if Postfix is configured to restrict clients permitted to relay mail by examining the smtpd_client_restrictions line. Procedure: # grep smtpd_client_restrictions </path/to/main.cf> If the smtpd_client_restrictions line is missing, or does not contain reject, this is a finding. If the line contains permit before reject, this is a finding. If the system is using other SMTP software, consult the software's documentation for procedures to verify mail relaying is restricted.
Fix: F-36440r603032_fix
If the system uses Sendmail, edit the sendmail.mc file and remove the promiscuous_relay configuration. Rebuild the sendmail.cf file from the modified sendmail.mc and restart the service. If the system does not need to receive mail from external hosts, add one or more DaemonPortOptions lines referencing system loopback addresses (such as "O DaemonPortOptions=Addr=127.0.0.1,Port=smtp,Name=MTA") and remove lines containing non-loopback addresses. Restart the service. If the system uses Postfix, edit the main.cf file and add or edit the smtpd_client_restrictions line to have contents permit mynetworks, reject or a similarly restrictive rule. If the system does not need to receive mail from external hosts, add or edit the inet_interfaces line to have contents loopback-only or a set of loopback addresses for the system. Restart the service. If the system is using other SMTP software, consult the software's documentation for procedures to restrict mail relaying.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004800
- Vuln IDs
-
- V-227852
- V-12010
- Rule IDs
-
- SV-227852r603266_rule
- SV-28635
Checks: C-30014r489949_chk
Perform the following to determine if unencrypted FTP is enabled. # svcs ftp If FTP is enabled, ask the SA if it is encrypted. If it is not, this is a finding.
Fix: F-30002r489950_fix
# svcadm disable ftp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004820
- Vuln IDs
-
- V-227853
- V-846
- Rule IDs
-
- SV-227853r603266_rule
- SV-846
Checks: C-30015r489952_chk
Attempt to log into this host with a user name of anonymous and a password of guest (also try the password of guest@mail.com). If the logon is successful, this is a finding. Procedure: # ftp localhost Name: anonymous 530 Guest login not allowed on this machine.
Fix: F-30003r489953_fix
Configure the FTP service to not permit anonymous logins.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004840
- Vuln IDs
-
- V-227854
- V-4702
- Rule IDs
-
- SV-227854r603266_rule
- SV-4702
Checks: C-30016r489955_chk
Use the command ftp to connect the system's FTP service. Attempt to log into this host with a user name of anonymous and a password of guest (also try the password of guest@mail.com). If the logon is not successful, this check is not applicable. Ask the SA if the system is located on a DMZ network. If the system is not located on a DMZ network, this is a finding.
Fix: F-30004r489956_fix
Move the system to a DMZ network.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004880
- Vuln IDs
-
- V-227855
- V-840
- Rule IDs
-
- SV-227855r854506_rule
- SV-28404
Checks: C-30017r489958_chk
Check for the existence of the ftpusers file. # ls -l /etc/ftpd/ftpusers If the ftpusers file does not exist, this is a finding.
Fix: F-30005r489959_fix
Create a /etc/ftpd/ftpusers file containing a list of accounts not authorized for FTP.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004900
- Vuln IDs
-
- V-227856
- V-841
- Rule IDs
-
- SV-227856r854507_rule
- SV-28407
Checks: C-30018r489961_chk
Check the contents of the ftpusers file. Procedure: # more /etc/ftpd/ftpusers If the system has accounts not allowed to use FTP that are not listed in the ftpusers file, this is a finding.
Fix: F-30006r489962_fix
Add accounts not allowed to use FTP to the /etc/ftpd/ftpusers file.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004920
- Vuln IDs
-
- V-227857
- V-842
- Rule IDs
-
- SV-227857r854508_rule
- SV-28410
Checks: C-30019r489964_chk
Check the ownership of the ftpusers file. # ls -l /etc/ftpd/ftpusers If the ftpusers file is not owned by root, this is a finding.
Fix: F-30007r489965_fix
Change the owner of the ftpusers file to root. # chown root /etc/ftpd/ftpusers
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004930
- Vuln IDs
-
- V-227858
- V-22444
- Rule IDs
-
- SV-227858r603266_rule
- SV-39905
Checks: C-30020r489967_chk
Check the group ownership of the ftpusers file. Procedure: # ls -lL /etc/ftpd/ftpusers /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-30008r489968_fix
Change the group owner of the ftpusers file. Procedure: # chgrp root /etc/ftpusers
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN004940
- Vuln IDs
-
- V-227859
- V-843
- Rule IDs
-
- SV-227859r854509_rule
- SV-28413
Checks: C-30021r489970_chk
Check the permissions of the ftpusers file. # ls -l /etc/ftpd/ftpusers If the ftpusers file has a mode more permissive than 0640, this is a finding.
Fix: F-30009r489971_fix
Change the mode of the ftpusers file to 0640. # chmod 0640 /etc/ftpd/ftpusers
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004950
- Vuln IDs
-
- V-227860
- V-22445
- Rule IDs
-
- SV-227860r603266_rule
- SV-26707
Checks: C-30022r489973_chk
Check the permissions of the /etc/ftpd/ftpusers file. # ls -lL /etc/ftpd/ftpusers If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30010r489974_fix
Remove the extended ACL from the file. # chmod A- /etc/ftpd/ftpusers
- RMF Control
- AU-3
- Severity
- L
- CCI
- CCI-000130
- Version
- GEN004980
- Vuln IDs
-
- V-227861
- V-845
- Rule IDs
-
- SV-227861r603266_rule
- SV-40816
Checks: C-30023r489976_chk
Verify the FTP daemon is invoked with the -l option by SMF. # inetadm -l ftp | grep in.ftpd If the exec name-value pair does not include the -l option for in.ftpd, this is a finding.
Fix: F-30011r489977_fix
Add the -l option to the exec name-value pair used by SMF to invoke the FTP daemon. # inetadm -m ftp exec="/usr/sbin/in.ftpd [other options] -l" Refresh inetd. # svcadm refresh inetd
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005000
- Vuln IDs
-
- V-227862
- V-4387
- Rule IDs
-
- SV-227862r603266_rule
- SV-4387
Checks: C-30024r489979_chk
Check the shell for the anonymous FTP account. Procedure: # grep "^ftp" /etc/passwd This is a finding if the seventh field is empty (the entry ends with a ':') or if the seventh field does not contain one of the following. /bin/false /dev/null /usr/bin/false /bin/true /sbin/nologin
Fix: F-30012r489980_fix
Configure anonymous FTP accounts to use a non-functional shell. If necessary, edit the /etc/passwd file to remove any functioning shells associated with the FTP account and replace them with non-functioning shells, such as, /dev/null.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005020
- Vuln IDs
-
- V-227863
- V-4388
- Rule IDs
-
- SV-227863r603266_rule
- SV-39838
Checks: C-30025r489982_chk
The default Solaris FTP daemon, in.ftpd, uses the ftp user's home directory as the chroot base for anonymous FTP. If any files and directories within the ftp user's home directory are owned by any user other than root, or if any subdirectory other than pub has permissions more permissive than 0111, this is a finding.
Fix: F-30013r489983_fix
Run the ftpconfig(1M) command to set up a chroot-ed environment for anonymous FTP with appropriate constraints. # ftpconfig < anonymous FTP home directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005040
- Vuln IDs
-
- V-227864
- V-12011
- Rule IDs
-
- SV-227864r603266_rule
- SV-12512
Checks: C-30026r489985_chk
Check the umask setting for the FTP user. Procedure: # su - ftp $ umask If the umask value does not return 077, this is a finding.
Fix: F-30014r489986_fix
Edit the initialization files for the FTP user and set the umask to 077.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005080
- Vuln IDs
-
- V-227865
- V-847
- Rule IDs
-
- SV-227865r603266_rule
- SV-28419
Checks: C-30027r489988_chk
Determine if TFTPD is running in secure mode. # grep tftp /etc/inet/inetd.conf OR # svccfg -s tftp/udp6 listprop |grep in.tftpd |grep exec If any returned service line does not use the -s parameter to TFTPD, this is a finding. If TFTP is not installed this check is not applicable.
Fix: F-30015r489989_fix
Edit /etc/inet/inetd.conf and add the -s parameter to TFTPD. # inetconv OR Update the SMF entry for the TFTP daemon. # svccfg -s tftp/udp6 setprop inetd_start/exec = "astring:\"/usr/sbin/in.tftpd -s <other TFTPD options>\""
- RMF Control
- AC-3
- Severity
- H
- CCI
- CCI-002165
- Version
- GEN005100
- Vuln IDs
-
- V-227866
- V-848
- Rule IDs
-
- SV-227866r854510_rule
- SV-40392
Checks: C-30028r489991_chk
Check the mode of the TFTP daemon. Procedure: # ls -lL /usr/sbin/in.tftpd If the mode of the file is more permissive than 0755, this is a finding.
Fix: F-30016r489992_fix
Change the mode of the TFTP daemon. Procedure: # chmod 0755 /usr/sbin/in.tftpd
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005140
- Vuln IDs
-
- V-227867
- V-4695
- Rule IDs
-
- SV-227867r603266_rule
- SV-28423
Checks: C-30029r489997_chk
Determine if the TFTP daemon is active. # svcs svc:/network/tftp/* If TFTP is found enabled, it is a finding if it is not documented using site-defined procedures.
Fix: F-30017r489998_fix
Disable the TFTP daemon. # svcadm disable svc:/network/tftp/* # svcadm refresh inetd If TFTP is found enabled, it is a finding if it is not documented.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005160
- Vuln IDs
-
- V-227868
- V-850
- Rule IDs
-
- SV-227868r603266_rule
- SV-850
Checks: C-30030r490000_chk
Check for .Xauthority files being utilized by looking for such files in the home directory of a user that uses X. Procedure: # cd ~someuser # ls -la .Xauthority If the .Xauthority file does not exist, ask the SA if the user is using X Windows. If the user is utilizing X Windows and the .Xauthority file does not exist, this is a finding.
Fix: F-30018r490001_fix
Ensure the X Windows host is configured to write .Xauthority files into user home directories. Edit the Xaccess file. Ensure the line that writes the .Xauthority file is uncommented.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005180
- Vuln IDs
-
- V-227869
- V-12014
- Rule IDs
-
- SV-227869r603266_rule
- SV-12515
Checks: C-30031r490003_chk
Check the file permissions for the .Xauthority files in the home directories of users of X. Procedure: # cd ~<X user> # ls -lL .Xauthority If the file mode is more permissive than 0600, this is finding.
Fix: F-30019r490004_fix
Change the mode of the .Xauthority files. Procedure: # chmod 0600 .Xauthority
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005190
- Vuln IDs
-
- V-227870
- V-22446
- Rule IDs
-
- SV-227870r603266_rule
- SV-26711
Checks: C-30032r490006_chk
Check the file permissions for the .Xauthority files. # ls -lL .Xauthority If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30020r490007_fix
Remove the extended ACL from the file. # chmod A- .Xauthority
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005200
- Vuln IDs
-
- V-227871
- V-4697
- Rule IDs
-
- SV-227871r603266_rule
- SV-4697
Checks: C-36477r603034_chk
If X Windows is not used on the system, this is not applicable. Check the output of the xhost command from an X terminal. Procedure: $ xhost If the output reports access control is enabled (and possibly lists the hosts that can receive X Window logins), this is not a finding. If the xhost command returns a line indicating access control is disabled, this is a finding. NOTE: It may be necessary to define the display if the command reports it cannot open the display. Procedure: $ DISPLAY=MachineName:0.0; export DISPLAY MachineName may be replaced with an Internet Protocol Address. Repeat the check procedure after setting the display.
Fix: F-36441r603035_fix
If using an xhost-type authentication the xhost - command can be used to remove current trusted hosts and then selectively allow only trusted hosts to connect with xhost + commands. A cryptographically secure authentication, such as provided by the xauth program, is always preferred. Refer to your X11 server's documentation for further security information.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005220
- Vuln IDs
-
- V-227872
- V-12016
- Rule IDs
-
- SV-227872r603266_rule
- SV-12517
Checks: C-30034r490012_chk
Determine if the X server is running. Procedure: # ps -ef |grep X Determine if xauth is being used. Procedure: # xauth xauth> list If the above command sequence does not show any host other than the localhost, then xauth is not being used. Search the system for an X*.hosts files, where * is a display number that may be used to limit X window connections. If no files are found, X*.hosts files are not being used. If the X*.hosts files contain any unauthorized hosts, this is a finding. If both xauth and X*.hosts files are not being used, this is a finding.
Fix: F-30022r490013_fix
Create an X*.hosts file, where * is a display number that may be used to limit X window connections. Add the list of authorized X clients to the file.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005240
- Vuln IDs
-
- V-227873
- V-12017
- Rule IDs
-
- SV-227873r603266_rule
- SV-12518
Checks: C-30035r490015_chk
Check the X Window system access is limited to authorized clients. Procedure: # xauth xauth> list Ask the SA if the clients listed are authorized. If any are not, this is a finding.
Fix: F-30023r490016_fix
Remove unauthorized clients from the xauth configuration. # xauth remove <display name>
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN005260
- Vuln IDs
-
- V-227874
- V-12018
- Rule IDs
-
- SV-227874r603266_rule
- SV-12519
Checks: C-30036r490018_chk
Determine if the X Window system is running. Procedure: # ps -ef |grep X Ask the SA if the X Window system is an operational requirement. If it is not, this is a finding.
Fix: F-30024r490019_fix
Disable the X Windows server on the system.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN005280
- Vuln IDs
-
- V-227875
- V-4696
- Rule IDs
-
- SV-227875r603266_rule
- SV-28428
Checks: C-30037r490021_chk
# svcs uucp If UUCP is found enabled and its use is not justified and documented with the ISSO, this is a finding.
Fix: F-30025r490022_fix
# svcadm disable uucp # svcadm refresh inetd
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005300
- Vuln IDs
-
- V-227876
- V-993
- Rule IDs
-
- SV-227876r603266_rule
- SV-40281
Checks: C-36478r603037_chk
Check the SNMP configuration for default passwords. Locate and examine the SNMP configuration. Procedure: # more /etc/sma/snmp/snmpd.conf /var/sma_snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf Identify any community names or user password configuration. If any community name or password is set to a default value, such as public, private, snmp-trap, or password, this is a finding.
Fix: F-36442r603038_fix
Change the default passwords. To change them, locate the snmpd.conf file and edit it. Locate the line system-group-read-community which has a default password of public and make the password something more random (less guessable). Make the same changes for the lines that read system-group-write-community, read-community, write-community, trap, and trap-community. Read the information in the file carefully. The trap is defining who to send traps to, for instance, by default. It is not a password, but the name of a host.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN005305
- Vuln IDs
-
- V-227877
- V-22447
- Rule IDs
-
- SV-227877r603266_rule
- SV-26715
Checks: C-30039r490027_chk
Verify the SNMP daemon is not configured to use the v1 or v2c security models. # egrep '(v1|v2c|community|com2sec)' /etc/sma/snmp/snmpd.conf /var/sma_snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf | grep -v '^#' If any configuration is found, this is a finding.
Fix: F-30027r490028_fix
Edit non-compliant snmpd.conf files and remove references to the v1, v2c, community, or com2sec. Restart the SNMP service. # svcadm restart svc:/application/management/sma:default
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN005320
- Vuln IDs
-
- V-227878
- V-994
- Rule IDs
-
- SV-227878r854511_rule
- SV-40262
Checks: C-30040r490030_chk
Check the mode of the SNMP daemon configuration files. Procedure: # ls -lL /etc/sma/snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /var/sma_snmp/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf If any of the snmpd.conf files have a mode more permissive than 0600, this is a finding.
Fix: F-30028r490031_fix
Change the mode of the SNMP daemon configuration file to 0600. Procedure: # chmod 0600 <snmpd.conf>
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN005340
- Vuln IDs
-
- V-227879
- V-995
- Rule IDs
-
- SV-227879r854512_rule
- SV-40817
Checks: C-30041r490033_chk
Check the modes for all Management Information Base (MIB) files on the system. # find /etc/sma/snmp/ /etc/snmp/conf/ /var/sma_snmp/ /usr/sfw/lib/sma_snmp/ -type f | grep -i mib | egrep -v '\.conf$' | xargs ls -lL If any file is returned that does not have mode 0640 or less permissive, this is a finding.
Fix: F-30029r490034_fix
Change the mode of MIB files to 0640. Procedure: # chmod 0640 <mib file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005350
- Vuln IDs
-
- V-227880
- V-22450
- Rule IDs
-
- SV-227880r603266_rule
- SV-26727
Checks: C-30042r490036_chk
Check the modes for all Management Information Base (MIB) files on the system. # find /etc/sma/snmp/ /etc/snmp/conf/ /var/sma_snmp/ /usr/sfw/lib/sma_snmp/ -type f | grep -i mib | egrep -v '\.conf$' | xargs ls -lL If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-30030r490037_fix
Remove the extended ACL from the file. # chmod A- [mib file]
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005360
- Vuln IDs
-
- V-227881
- V-12019
- Rule IDs
-
- SV-227881r603266_rule
- SV-40274
Checks: C-30043r490039_chk
Determine the owner of the SNMP configuration files. Procedure: # ls -lL /etc/sma/snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /var/sma_snmp/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf If the snmpd.conf files are not owned by root, this is a finding.
Fix: F-30031r490040_fix
Change the owner of the snmpd.conf file to root. Procedure: # chown root <snmpd.conf file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005365
- Vuln IDs
-
- V-227882
- V-22451
- Rule IDs
-
- SV-227882r603266_rule
- SV-26733
Checks: C-30044r490042_chk
Check the group ownership of the SNMP configuration files. Procedure: # ls -lL /etc/sma/snmp/snmpd.conf /var/sma_snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf If the files are not group-owned by root, sys, or bin, this is a finding.
Fix: F-30032r490043_fix
Change the group ownership of the SNMP configuration file. Procedure: # chgrp root /etc/sma/snmp/snmpd.conf /var/sma_snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005375
- Vuln IDs
-
- V-227883
- V-22452
- Rule IDs
-
- SV-227883r603266_rule
- SV-26737
Checks: C-30045r490045_chk
Check the permissions of the SNMP configuration files. # ls -lL/etc/sma/snmp/snmpd.conf /var/sma_snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30033r490046_fix
Remove the extended ACL from the files. # chmod A- /etc/sma/snmp/snmpd.conf /var/sma_snmp/snmpd.conf /etc/snmp/conf/snmpd.conf /usr/sfw/lib/sma_snmp/snmpd.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN005380
- Vuln IDs
-
- V-227884
- V-4392
- Rule IDs
-
- SV-227884r603266_rule
- SV-4392
Checks: C-30046r490048_chk
Ask the SA if this is an NMS server. If it is an NMS server, then ask what other applications run on it. If there is anything other than network management software and DBMS software used only for the storage and inquiry of NMS data, this is a finding.
Fix: F-30034r490049_fix
Ensure only authorized software is loaded on a designated NMS server. Authorized software is limited to the NMS software itself, a database management system for the NMS server if necessary, and network management software.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005390
- Vuln IDs
-
- V-227885
- V-22453
- Rule IDs
-
- SV-227885r603266_rule
- SV-26740
Checks: C-30047r490051_chk
Check the permissions of the syslog configuration file. # ls -lL /etc/syslog.conf If the mode of the file is more permissive than 0640, this is a finding.
Fix: F-30035r490052_fix
Change the permissions of the syslog configuration file. # chmod 0640 /etc/syslog.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005395
- Vuln IDs
-
- V-227886
- V-22454
- Rule IDs
-
- SV-227886r603266_rule
- SV-26743
Checks: C-30048r490054_chk
Check the permissions of the syslog configuration file. # ls -lL /etc/syslog.conf If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30036r490055_fix
Remove the extended ACL from the file. # chmod A- /etc/syslog.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005400
- Vuln IDs
-
- V-227887
- V-4393
- Rule IDs
-
- SV-227887r603266_rule
- SV-4393
Checks: C-30049r490057_chk
Check /etc/syslog.conf ownership. # ls -lL /etc/syslog.conf If /etc/syslog.conf is not owned by root, this is a finding.
Fix: F-30037r490058_fix
Use the chown command to set the owner to root. # chown root /etc/syslog.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005420
- Vuln IDs
-
- V-227888
- V-4394
- Rule IDs
-
- SV-227888r603266_rule
- SV-39892
Checks: C-30050r490060_chk
Check /etc/syslog.conf group ownership. Procedure: # ls -lL /etc/syslog.conf If /etc/syslog.conf is not group-owned by root, sys, or bin, this is a finding.
Fix: F-30038r490061_fix
Change the group owner of the /etc/syslog.conf file to root, bin, or sys. Procedure: # chgrp root /etc/syslog.conf
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-001348
- Version
- GEN005450
- Vuln IDs
-
- V-227889
- V-22455
- Rule IDs
-
- SV-227889r603266_rule
- SV-26745
Checks: C-30051r490066_chk
Check the syslog configuration file for remote syslog servers. # grep '@' /etc/syslog.conf | grep -v '^#' If no line is returned, this is a finding.
Fix: F-30039r490067_fix
Edit the syslog configuration file and add an appropriate remote syslog server.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005460
- Vuln IDs
-
- V-227890
- V-4395
- Rule IDs
-
- SV-227890r603266_rule
- SV-4395
Checks: C-30052r490069_chk
Examine the syslog.conf file for any references to remote log hosts. # grep -v "^#" /etc/syslog.conf | grep '@' Destination locations beginning with an @ represent log hosts. If the log host name is a local alias, such as log host, consult the /etc/hosts or other name databases as necessary to obtain the canonical name or address for the log host. Determine if the host referenced is a log host documented using site-defined procedures. If an undocumented log host is referenced, this is a finding.
Fix: F-30040r490070_fix
Remove, replace, or document the referenced undocumented log host.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000197
- Version
- GEN005501
- Vuln IDs
-
- V-227891
- V-22456
- Rule IDs
-
- SV-227891r603266_rule
- SV-26749
Checks: C-30053r490078_chk
Check the SSH client configuration for allowed protocol versions. # grep -i protocol /etc/ssh/ssh_config | grep -v '^#' If the returned protocol configuration allows versions less than 2, this is a finding.
Fix: F-30041r490079_fix
Edit the /etc/ssh/ssh_config file and add or edit a Protocol configuration line that does not allow versions less than 2.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005504
- Vuln IDs
-
- V-227892
- V-22457
- Rule IDs
-
- SV-227892r603266_rule
- SV-26750
Checks: C-30054r490081_chk
Check the SSH daemon configuration for listening network addresses. # grep -i Listen /etc/ssh/sshd_config | grep -v '^#' If no configuration is returned, or if a returned Listen configuration contains addresses not designated for management traffic, this is a finding.
Fix: F-30042r490082_fix
Edit the SSH daemon configuration to specify listening network addresses designated for management traffic.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN005505
- Vuln IDs
-
- V-227893
- V-22458
- Rule IDs
-
- SV-227893r603855_rule
- SV-41035
Checks: C-30055r622317_chk
Check the SSH daemon configuration for allowed ciphers. # grep -i ciphers /etc/ssh/sshd_config | grep -v '^#' Ciphers aes256-ctr,aes192-ctr,aes128-ctr If any ciphers other than "aes256-ctr", "aes192-ctr", or "aes128-ctr" are listed, the order differs from the example above, the "Ciphers" keyword is missing, or is commented out, this is a finding.
Fix: F-30043r622318_fix
Edit /etc/ssh/sshd_config and change or set the Ciphers line to the following. Ciphers aes256-ctr, aes192-ctr, aes128-ctr
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005506
- Vuln IDs
-
- V-227894
- V-22459
- Rule IDs
-
- SV-227894r603266_rule
- SV-26752
Checks: C-36479r603040_chk
Check the SSH daemon configuration for allowed ciphers. # grep -i ciphers /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, or the returned ciphers list contains any cipher ending with cbc, this is a finding.
Fix: F-36443r603041_fix
Edit /etc/ssh/sshd_config and add or edit the "Ciphers" line. Only include ciphers that start with "3des" or "aes" and do not contain "cbc". For the list of available ciphers for the particular version of your software, consult the sshd_config manpage. Restart the SSH daemon.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001453
- Version
- GEN005507
- Vuln IDs
-
- V-227895
- V-22460
- Rule IDs
-
- SV-227895r603266_rule
- SV-26753
Checks: C-30057r490090_chk
Check the SSH daemon configuration for allowed MACs. Procedure: # grep -i macs /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, or the returned MACs list contains any MAC that is not hmac-sha1 or a better hmac algorithm that is on the FIPS 140-2 approved list, this is a finding.
Fix: F-30045r490091_fix
Edit the SSH daemon configuration and remove any MACs that are not hmac-sha1 or a better hmac algorithm that is on the FIPS 140-2 approved list. If necessary, add a MACs line.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN005510
- Vuln IDs
-
- V-227896
- V-22461
- Rule IDs
-
- SV-227896r603266_rule
- SV-26754
Checks: C-30058r490093_chk
Check the SSH client configuration for allowed ciphers. # grep -i ciphers /etc/ssh/ssh_config | grep -v '^#' If no lines are returned, the returned ciphers list contains any cipher not starting with 3des or aes, this is a finding.
Fix: F-30046r490094_fix
Edit /etc/ssh/ssh_config and add or edit the "Ciphers" line. Only include ciphers that start with "3des" or "aes" and do not contain "cbc". For the list of available ciphers for the particular version of your software, consult the ssh_config manpage.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005511
- Vuln IDs
-
- V-227897
- V-22462
- Rule IDs
-
- SV-227897r603266_rule
- SV-26755
Checks: C-30059r490096_chk
Check the SSH client configuration for allowed ciphers. # grep -i ciphers /etc/ssh/ssh_config | grep -v '^#' If no lines are returned, or the returned ciphers list contains any cipher ending with cbc, this is a finding.
Fix: F-30047r490097_fix
Edit /etc/ssh/ssh_config and add or edit the "Ciphers" line. Only include ciphers that start with "3des" or "aes" and do not contain "cbc". For the list of available ciphers for the particular version of your software, consult the ssh_config manpage.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001453
- Version
- GEN005512
- Vuln IDs
-
- V-227898
- V-22463
- Rule IDs
-
- SV-227898r603266_rule
- SV-26756
Checks: C-30060r490099_chk
Check the SSH client configuration for allowed MACs. Procedure: # grep -i macs /etc/ssh/ssh_config | grep -v '^#' If no lines are returned, or the returned MACs list contains any MAC that is not hmac-sha1 or a better hmac algorithm that is on the FIPS 140-2 approved list, this is a finding.
Fix: F-30048r490100_fix
Edit the SSH client configuration and remove any MACs that are not hmac-sha1 or a better hmac algorithm that is on the FIPS 140-2 approved list. If necessary, add a MACs line.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005521
- Vuln IDs
-
- V-227899
- V-22470
- Rule IDs
-
- SV-227899r603266_rule
- SV-26763
Checks: C-30061r490102_chk
Check the SSH daemon configuration for the AllowGroups setting. # grep -i AllowGroups /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, this is a finding.
Fix: F-30049r490103_fix
Edit the SSH daemon configuration and add an AllowGroups directive.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005522
- Vuln IDs
-
- V-227900
- V-22471
- Rule IDs
-
- SV-227900r603266_rule
- SV-26764
Checks: C-30062r490105_chk
Check the permissions for SSH public host key files. # ls -lL /etc/ssh/*key.pub If any file has a mode more permissive than 0644, this is a finding.
Fix: F-30050r490106_fix
Change the permissions for the SSH public host key files. # chmod 0644 /etc/ssh/*key.pub
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005523
- Vuln IDs
-
- V-227901
- V-22472
- Rule IDs
-
- SV-227901r603266_rule
- SV-26765
Checks: C-30063r490108_chk
Check the permissions for SSH private host key files. # ls -lL /etc/ssh/*key If any file has a mode more permissive than 0600, this is a finding.
Fix: F-30051r490109_fix
Change the permissions for the SSH private host key files. # chmod 0600 /etc/ssh/*key
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN005524
- Vuln IDs
-
- V-227902
- V-22473
- Rule IDs
-
- SV-227902r603266_rule
- SV-26766
Checks: C-30064r490111_chk
Ask the SA if GSSAPI authentication is used for SSH authentication to the system. If so, this is not applicable. Check the SSH daemon configuration for the GSSAPI authentication setting. # grep -i GSSAPIAuthentication /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, or the setting is set to yes, this is a finding.
Fix: F-30052r490112_fix
Edit the SSH daemon configuration and set (add if necessary) a GSSAPIAuthentication directive set to no.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN005525
- Vuln IDs
-
- V-227903
- V-22474
- Rule IDs
-
- SV-227903r603266_rule
- SV-26767
Checks: C-30065r490114_chk
Check the SSH clients configuration for the GSSAPI authentication setting. # grep -i GSSAPIAuthentication /etc/ssh/ssh_config | grep -v '^#' If no lines are returned, or the setting is set to yes, this is a finding.
Fix: F-30053r490115_fix
Edit the SSH client configuration and set (add if necessary) a GSSAPIAuthentication directive set to no.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005536
- Vuln IDs
-
- V-227904
- V-22485
- Rule IDs
-
- SV-227904r603266_rule
- SV-40400
Checks: C-30066r490117_chk
Check the SSH daemon configuration for the StrictModes setting. # grep -i StrictModes /etc/ssh/sshd_config | grep -v '^#' If the setting is present and not set to yes, this is a finding.
Fix: F-30054r490118_fix
Edit the SSH daemon configuration and change the StrictModes setting value to yes or remove it entirely.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005538
- Vuln IDs
-
- V-227905
- V-22487
- Rule IDs
-
- SV-227905r603266_rule
- SV-40396
Checks: C-30067r490120_chk
Check the SSH daemon configuration for the RhostsRSAAuthentication setting. # grep -i RhostsRSAAuthentication /etc/ssh/sshd_config | grep -v '^#' If the setting is set to yes, this is a finding.
Fix: F-30055r490121_fix
Edit the SSH daemon configuration and change the RhostsRSAAuthentication setting value to no or remove it entirely.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005539
- Vuln IDs
-
- V-227906
- V-22488
- Rule IDs
-
- SV-227906r603266_rule
- SV-26787
Checks: C-30068r490123_chk
Check the SSH daemon configuration for the Compression setting. # grep -i Compression /etc/ssh/sshd_config | grep -v '^#' If the setting is not present, or set to yes, this is a finding.
Fix: F-30056r490124_fix
Edit the SSH daemon configuration and add or edit the Compression setting value to no or delayed.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005540
- Vuln IDs
-
- V-227907
- V-12022
- Rule IDs
-
- SV-227907r603266_rule
- SV-40279
Checks: C-30069r490126_chk
Check the TCP wrappers configuration files to determine if SSHD is configured to use TCP wrappers. Procedure: # egrep '^[^#:]*(ALL|sshd)' /etc/hosts.deny # egrep '^[^#:]*(ALL|sshd)' /etc/hosts.allow If neither of the hosts.deny or hosts.allow files exist, this is a finding. If no entries are returned, the TCP wrappers are not configured for SSHD, this is a finding.
Fix: F-30057r490127_fix
Add appropriate IP restrictions for SSH to the /etc/hosts.deny and/or /etc/hosts.allow files.
- RMF Control
- AC-8
- Severity
- M
- CCI
- CCI-000048
- Version
- GEN005550
- Vuln IDs
-
- V-227908
- V-22489
- Rule IDs
-
- SV-227908r603266_rule
- SV-40280
Checks: C-36480r603043_chk
Verify the SSH daemon is configured for logon warning banners. # grep -i banner /etc/ssh/sshd_config | grep -v '^#' # cat [banner file] Verify the Banner configuration line is present and the file it references contains a login warning banner. If the SSH daemon is not configured to display a logon warning banner, this is a finding.
Fix: F-36444r603044_fix
Edit the SSH daemon configuration and add (or edit) a banner setting referencing a file containing a logon warning banner. DoD Login Banners: "You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests--not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details." OR "I've read & consent to terms in IS user agreem't."
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005560
- Vuln IDs
-
- V-227909
- V-4397
- Rule IDs
-
- SV-227909r603266_rule
- SV-30079
Checks: C-30071r490132_chk
Check the system for an IPv4 default route. Procedure: # netstat -r |grep default If a default route is not defined, this is a finding.
Fix: F-30059r490133_fix
Create or edit /etc/defaultrouter to contain the default gateway address. Procedure (for a default gateway of 192.168.3.1): # echo "192.168.3.1" > /etc/defaultrouter Restart the system for the setting to take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005570
- Vuln IDs
-
- V-227910
- V-22490
- Rule IDs
-
- SV-227910r603266_rule
- SV-26804
Checks: C-30072r490135_chk
Check for a default route for IPv6. # netstat -f inet6 -r | grep default If the system uses IPv6, and no results are returned, this is a finding.
Fix: F-30060r490136_fix
Add a default route for IPv6. # route add -inet6 default <gateway> Add this command to an init script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005580
- Vuln IDs
-
- V-227911
- V-4398
- Rule IDs
-
- SV-227911r603266_rule
- SV-4398
Checks: C-30073r490138_chk
Ask the SA if the system is a designated router. If it is not, this is not applicable. Check the system for non-routing network services. Procedure: # netstat -a | grep -i listen # ps -ef If non-routing services, including Web servers, file servers, DNS servers, or applications servers, but excluding management services, such as SSH and SNMP, are running on the system, this is a finding.
Fix: F-30061r490139_fix
Ensure only authorized software is loaded on a designated router. Authorized software will be limited to the most current version of routing protocols and SSH for system administration purposes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005590
- Vuln IDs
-
- V-227912
- V-22665
- Rule IDs
-
- SV-227912r603266_rule
- SV-39878
Checks: C-30074r490141_chk
Check for any running routing protocol daemons. # svcs -a | grep online | egrep '(ospf|route|bgp|zebra|quagga)' OR # ps -ef | egrep '(ospf|route|bgp|zebra|quagga)' If any routing protocol daemons are listed, this is a finding.
Fix: F-30062r490142_fix
Disable any routing protocol daemons. # svcadm disable <routing protocol daemon>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005740
- Vuln IDs
-
- V-227913
- V-928
- Rule IDs
-
- SV-227913r603266_rule
- SV-28444
Checks: C-30075r490150_chk
Check the ownership of the dfstab file. Example: # ls -lL /etc/dfs/dfstab If the export configuration file is not owned by root, this is a finding.
Fix: F-30063r490151_fix
Change the owner of the dfstab file to root. Example: # chown root /etc/dfs/dfstab
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005750
- Vuln IDs
-
- V-227914
- V-22492
- Rule IDs
-
- SV-227914r603266_rule
- SV-26813
Checks: C-30076r490153_chk
Check the group ownership of the NFS export configuration file. Procedure: # ls -lL /etc/dfs/dfstab If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-30064r490154_fix
Change the group ownership of the NFS export configuration file. Procedure: # chgrp root /etc/dfs/dfstab
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN005760
- Vuln IDs
-
- V-227915
- V-929
- Rule IDs
-
- SV-227915r603266_rule
- SV-28446
Checks: C-30077r490156_chk
# ls -lL /etc/dfs/dfstab If the file has a mode more permissive than 0644, this is a finding.
Fix: F-30065r490157_fix
Change the permissions of the dfstab file to 664 or less permissive. # chmod 0644 /etc/dfs/dfstab
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN005770
- Vuln IDs
-
- V-227916
- V-22493
- Rule IDs
-
- SV-227916r603266_rule
- SV-26816
Checks: C-30078r490159_chk
Check the group ownership of the NFS export configuration file. # ls -lL /etc/dfs/dfstab If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30066r490160_fix
Remove the extended ACL from the file. # chmod A- /etc/dfs/dfstab
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005800
- Vuln IDs
-
- V-227917
- V-931
- Rule IDs
-
- SV-227917r603266_rule
- SV-40303
Checks: C-30079r490162_chk
Check for NFS exported file systems. Procedure: # exportfs -v OR # more /etc/dfs/sharetab This will display all of the exported file systems. For each file system displayed, check the ownership. Procedure: # ls -lLa <exported file system path> If the files and directories are not owned by root, this is a finding.
Fix: F-30067r490163_fix
Change the ownership of exported file systems not owned by root. Procedure: # chown root <path>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005810
- Vuln IDs
-
- V-227918
- V-22496
- Rule IDs
-
- SV-227918r603266_rule
- SV-26821
Checks: C-30080r490165_chk
List the exports. # cat /etc/dfs/dfstab OR # more /etc/dfs/sharetab For each export, check the ownership information. # ls -ldL <export> If the directory is not group-owned by root, sys, or bin this is a finding.
Fix: F-30068r490166_fix
Change the group owner of the export directory. # chgrp root <export>
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000764
- Version
- GEN005820
- Vuln IDs
-
- V-227919
- V-932
- Rule IDs
-
- SV-227919r603266_rule
- SV-40304
Checks: C-30081r490168_chk
Check if the anon option is set correctly for exported file systems. List exported file systems. # exportfs -v OR # more /etc/dfs/sharetab Each of the exported file systems should include an entry for the 'anon=' option set to -1 or an equivalent (60001, 60002, 65534, or 65535). If an appropriate 'anon=' setting is not present for an exported file system, this is a finding.
Fix: F-30069r490169_fix
Edit /etc/dfs/dfstab and add the "anon=-1" option for exports lacking it. Re-export the filesystems.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005860
- Vuln IDs
-
- V-227920
- V-934
- Rule IDs
-
- SV-227920r603266_rule
- SV-40306
Checks: C-30082r490174_chk
Perform the following on NFS servers: # grep "^default" /etc/nfssec.conf Check to ensure the second column does not equal 0. This would indicate the default is set to none. Perform the following to check currently exported file systems. # more /etc/dfs/dfstab If the option sec=none is set on any of the exported file systems, this is a finding.
Fix: F-30070r490175_fix
Edit the /etc/dfs/dfstab file and add the sec=XXX option to the share line as an option. XXX must be a valid option for the system other than none.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005880
- Vuln IDs
-
- V-227921
- V-935
- Rule IDs
-
- SV-227921r603266_rule
- SV-40307
Checks: C-30083r490177_chk
Determine if the NFS server is exporting with the root access option. Procedure: # exportfs -v | grep "root=" OR # more /etc/dfs/sharetab If an export with the root option is found and is not properly documented with the IA staff, this is a finding.
Fix: F-30071r490178_fix
Edit the /etc/dfs/dfstab file and remove the root= option from all exports. Re-export the file systems.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005900
- Vuln IDs
-
- V-227922
- V-936
- Rule IDs
-
- SV-227922r603266_rule
- SV-28452
Checks: C-30084r490180_chk
Check the system for NFS mounts not using the nosuid option. Procedure: # mount -v | grep " type nfs " | grep -v nosetuid OR # grep nfs /etc/mnttab | grep -v nosuid | grep -v :vold If the mounted file systems do not have the nosetuid/nosuid option, this is a finding. NOTE: Mount options for the volume management daemon (vold) are controlled by the /etc/rmmount.conf file.
Fix: F-30072r490181_fix
Edit /etc/vfstab and add the nosuid option for all NFS file systems. Remount the NFS file systems to make the change take effect.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN006040
- Vuln IDs
-
- V-227923
- V-12025
- Rule IDs
-
- SV-227923r603266_rule
- SV-12526
Checks: C-36481r603046_chk
Ask the SA if any peer-to-peer file-sharing applications are installed. Some examples of these applications include: - Napster, - Kazaa, - ARES, - Limewire, - IRC Chat Relay, and - BitTorrent. If any of these applications are installed, this is a finding.
Fix: F-36445r603047_fix
Uninstall the peer-to-peer file sharing application(s) from the system.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN006060
- Vuln IDs
-
- V-227924
- V-4321
- Rule IDs
-
- SV-227924r603266_rule
- SV-4321
Checks: C-30086r490189_chk
Check the system for a running Samba server. Procedure: # ps -ef |grep smbd If the Samba server is running, ask the SA if the Samba server is operationally required. If it is not, this is a finding.
Fix: F-30074r490190_fix
If there is no functional need for Samba and the daemon is running, disable the daemon by killing the process ID as noted from the output of ps -ef |grep smbd. The utility should also be removed or not installed if there is no functional requirement.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006100
- Vuln IDs
-
- V-227925
- V-1027
- Rule IDs
-
- SV-227925r603266_rule
- SV-40291
Checks: C-30087r490195_chk
Check the ownership of the smb.conf file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # ls -l /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If a smb.conf file is not owned by root, this is a finding.
Fix: F-30075r490196_fix
Change the ownership of the smb.conf file. Procedure: # chown root /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006120
- Vuln IDs
-
- V-227926
- V-1056
- Rule IDs
-
- SV-227926r603266_rule
- SV-39890
Checks: C-30088r490198_chk
Check the group ownership of the smb.conf file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # ls -l /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If an smb.conf file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-30076r490199_fix
Change the group owner of the smb.conf file. Procedure: # chgrp root /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN006140
- Vuln IDs
-
- V-227927
- V-1028
- Rule IDs
-
- SV-227927r854513_rule
- SV-40294
Checks: C-30089r490201_chk
Check the mode of the smb.conf file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # ls -lL /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the smb.conf has a mode more permissive than 0644, this is a finding.
Fix: F-30077r490202_fix
Change the mode of the smb.conf file to 0644 or less permissive. Procedure: # chmod 0644 /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006150
- Vuln IDs
-
- V-227928
- V-22497
- Rule IDs
-
- SV-227928r603266_rule
- SV-26824
Checks: C-30090r490204_chk
Check the group ownership of the Samba configuration file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # ls -lL /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30078r490205_fix
Remove the extended ACL from the file. # chmod A- /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006160
- Vuln IDs
-
- V-227929
- V-1029
- Rule IDs
-
- SV-227929r603266_rule
- SV-40284
Checks: C-30091r490207_chk
Check the ownership of the smbpasswd file. # ls -lL /etc/sfw/private/smbpasswd If the smbpasswd file is not owned by root, this is a finding.
Fix: F-30079r490208_fix
Use the chown command to configure the smb passwd file. # chown root /etc/sfw/private/smbpasswd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006180
- Vuln IDs
-
- V-227930
- V-1058
- Rule IDs
-
- SV-227930r603266_rule
- SV-40287
Checks: C-30092r490210_chk
Check smbpasswd ownership. # ls -lL /etc/sfw/private/smbpasswd If smbpasswd is not group-owned by root, this is a finding.
Fix: F-30080r490211_fix
Use the chgrp command to ensure the group owner of the smbpasswd file is root. # chgrp root /etc/sfw/private/smbpasswd
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN006200
- Vuln IDs
-
- V-227931
- V-1059
- Rule IDs
-
- SV-227931r854514_rule
- SV-40289
Checks: C-30093r490213_chk
Check smbpasswd mode. Procedure: # ls -lL /etc/sfw/private/smbpasswd If smbpasswd has a mode more permissive than 0600, this is a finding.
Fix: F-30081r490214_fix
Change the mode of the smbpasswd file to 0600. Procedure: # chmod 0600 /etc/sfw/private/smbpasswd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006210
- Vuln IDs
-
- V-227932
- V-22498
- Rule IDs
-
- SV-227932r603266_rule
- SV-26828
Checks: C-30094r490216_chk
Check the group ownership of the Samba configuration file. # ls -lL /etc/sfw/private/smbpasswd If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30082r490217_fix
Remove the extended ACL from the file. # chmod A- /etc/sfw/private/smbpasswd
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006220
- Vuln IDs
-
- V-227933
- V-1030
- Rule IDs
-
- SV-227933r603266_rule
- SV-40298
Checks: C-30095r490219_chk
Examine the smb.conf file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # more /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the hosts option is not present to restrict access to a list of authorized hosts and networks, this is a finding.
Fix: F-30083r490220_fix
Edit the smb.conf file and set the hosts option to permit only authorized hosts to access Samba.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006225
- Vuln IDs
-
- V-227934
- V-22499
- Rule IDs
-
- SV-227934r603266_rule
- SV-40295
Checks: C-30096r490222_chk
Check the security mode of the Samba configuration. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # grep -i security /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the security mode is share, this is a finding.
Fix: F-30084r490223_fix
Edit the smb.conf file and change the security setting to user or another valid setting other than share.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006230
- Vuln IDs
-
- V-227935
- V-22500
- Rule IDs
-
- SV-227935r603266_rule
- SV-40296
Checks: C-30097r490225_chk
Check the encryption setting of the Samba configuration. Procedure: # grep -i 'encrypt passwords' /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the setting is not present, or not set to yes, this is a finding.
Fix: F-30085r490226_fix
Edit the smb.conf file and change the encrypt passwords setting to yes.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006235
- Vuln IDs
-
- V-227936
- V-22501
- Rule IDs
-
- SV-227936r603266_rule
- SV-40297
Checks: C-30098r490228_chk
Check the encryption setting for the Samba configuration. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # grep -i 'guest ok' /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the setting exists and is set to yes, this is a finding.
Fix: F-30086r490229_fix
Edit the smb.conf file and change the guest ok setting to no.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN006240
- Vuln IDs
-
- V-227937
- V-1023
- Rule IDs
-
- SV-227937r603266_rule
- SV-1023
Checks: C-30099r490231_chk
# ps -ef | egrep "innd|nntpd" If an INN server is running, this is a finding.
Fix: F-30087r490232_fix
Disable the INN server.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN006260
- Vuln IDs
-
- V-227938
- V-4273
- Rule IDs
-
- SV-227938r854515_rule
- SV-4273
Checks: C-30100r490234_chk
Check /etc/news/hosts.nntp permissions. # ls -lL /etc/news/hosts.nntp If /etc/news/hosts.nntp has a mode more permissive than 0600, this is a finding.
Fix: F-30088r490235_fix
Change the mode of the /etc/news/hosts.nntp file to 0600. # chmod 0600 /etc/news/hosts.nntp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006270
- Vuln IDs
-
- V-227939
- V-22502
- Rule IDs
-
- SV-227939r603266_rule
- SV-26835
Checks: C-30101r490237_chk
Check the permissions of the file. # ls -lL /etc/news/hosts.nntp If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-30089r490238_fix
Remove the extended ACL from the file. # chmod A- /etc/news/hosts.nntp
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN006280
- Vuln IDs
-
- V-227940
- V-4274
- Rule IDs
-
- SV-227940r854516_rule
- SV-4274
Checks: C-30102r490240_chk
Check /etc/news/hosts.nntp.nolimit permissions. # ls -lL /etc/news/hosts.nntp.nolimit If /etc/news/hosts.nntp.nolimit has a mode more permissive than 0600, this is a finding.
Fix: F-30090r490241_fix
Change the mode of /etc/news/hosts.nntp.nolimit to 0600. # chmod 0600 /etc/news/hosts.nntp.nolimit
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006290
- Vuln IDs
-
- V-227941
- V-22503
- Rule IDs
-
- SV-227941r603266_rule
- SV-26842
Checks: C-30103r490243_chk
Check the permissions of the file. # ls -lL /etc/news/hosts.nntp.nolimit If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30091r490244_fix
Remove the extended ACL from the file. # chmod A- /etc/news/hosts.nntp.nolimit
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN006300
- Vuln IDs
-
- V-227942
- V-4275
- Rule IDs
-
- SV-227942r854517_rule
- SV-4275
Checks: C-30104r490246_chk
Check /etc/news/nnrp.access permissions. # ls -lL /etc/news/nnrp.access If /etc/news/nnrp.access has a mode more permissive than 0600, this is a finding.
Fix: F-30092r490247_fix
Change the mode of the /etc/news/nnrp.access file to 0600. # chmod 0600 /etc/news/nnrp.access
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006310
- Vuln IDs
-
- V-227943
- V-22504
- Rule IDs
-
- SV-227943r603266_rule
- SV-26846
Checks: C-30105r490249_chk
Check the permissions of the file. # ls -lL /etc/news/nnrp.access If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix: F-30093r490250_fix
Remove the extended ACL from the file. # chmod A- /etc/news/nnrp.access
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN006320
- Vuln IDs
-
- V-227944
- V-4276
- Rule IDs
-
- SV-227944r854518_rule
- SV-4276
Checks: C-30106r490252_chk
Check /etc/news/passwd.nntp permissions. # ls -lL /etc/news/passwd.nntp If /etc/news/passwd.nntp has a mode more permissive than 0600, this is a finding.
Fix: F-30094r490253_fix
Change the mode of the /etc/news/passwd.nntp file. # chmod 0600 /etc/news/passwd.nntp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006330
- Vuln IDs
-
- V-227945
- V-22505
- Rule IDs
-
- SV-227945r603266_rule
- SV-26850
Checks: C-30107r490255_chk
Check the permissions of the file. # ls -lL /etc/news/passwd.nntp If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix: F-30095r490256_fix
Remove the extended ACL from the file. # chmod A- /etc/news/passwd.nntp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006340
- Vuln IDs
-
- V-227946
- V-4277
- Rule IDs
-
- SV-227946r603266_rule
- SV-40487
Checks: C-30108r490258_chk
Check the ownership of the files in /etc/news. Procedure: # ls -al /etc/news If the /etc/news directory or any files in it are not owned by root, this is a finding.
Fix: F-30096r490259_fix
Change the ownership of the /etc/news directory and the files in it to root. Procedure: # chown -R root /etc/news
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006360
- Vuln IDs
-
- V-227947
- V-4278
- Rule IDs
-
- SV-227947r603266_rule
- SV-40489
Checks: C-30109r490261_chk
Check /etc/news directory and files group ownership. Procedure: # ls -al /etc/news If the /etc/news directory and the files in it are not group-owned by root, this is a finding.
Fix: F-30097r490262_fix
Change the group owner of the /etc/news directory and the files in it to root. Procedure: # chgrp -R root /etc/news
- RMF Control
- CM-7
- Severity
- H
- CCI
- CCI-000381
- Version
- GEN006380
- Vuln IDs
-
- V-227948
- V-4399
- Rule IDs
-
- SV-227948r603266_rule
- SV-4399
Checks: C-30110r490264_chk
If the system does not use NIS or NIS+, this is not applicable. Check if NIS or NIS+ is implemented using UDP. Procedure: # rpcinfo -p | grep yp | grep udp If NIS or NIS+ is implemented using UDP, this is a finding.
Fix: F-30098r490265_fix
Configure the system to not use UDP for NIS and NIS+. Consult vendor documentation for the required procedure.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN006400
- Vuln IDs
-
- V-227949
- V-867
- Rule IDs
-
- SV-227949r603266_rule
- SV-867
Checks: C-30111r490267_chk
Perform the following to determine if NIS is active on the system. # ps -ef | egrep '(ypbind|ypserv)' If NIS is found active on the system, this is a finding.
Fix: F-30099r490268_fix
Disable the use of NIS. Possible replacements are NIS+ and LDAP.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006420
- Vuln IDs
-
- V-227950
- V-12026
- Rule IDs
-
- SV-227950r603266_rule
- SV-12527
Checks: C-30112r490270_chk
Check the domain name for NIS maps. Procedure: # domainname If the name returned is simple to guess, such as the organization name, building, or room name, etc., this is a finding.
Fix: F-30100r490271_fix
Change the NIS domain name to a value difficult to guess. Consult vendor documentation for the required procedure.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN006460
- Vuln IDs
-
- V-227951
- V-926
- Rule IDs
-
- SV-227951r603266_rule
- SV-28453
Checks: C-36482r603049_chk
If the system is not using NIS+, this is not applicable. Check the system to determine if NIS+ security level 2 is implemented. Procedure: # niscat cred.org_dir If the second column does not contain DES, the system is not using NIS+ security level 2, and this is a finding.
Fix: F-36446r603050_fix
Ensure the NIS+ server is operating at security level 2 by editing /usr/lib/nis/nisserver and ensuring the line containing SEC= is set to the numeral 2, for example: SEC=2 # 2=DES or 3=RSA Security Level 0 is designed for testing and initial setup of the NIS+ namespace. When running at level 0, the daemon does not enforce access control. Any client is allowed to perform any operation, including updates and deletions. Security level 1 accepts AUTH_SYS and AUTH_DES credentials for authenticating clients and authorizing them to perform NIS+ operations. This is not a secure mode of operation since AUTH_SYS credentials are easily forged. It should not be used on networks in which any untrusted user may potentially have access. Security level 2 accepts only AUTH_DES credentials for authentication and authorization. This is the highest level of security currently provided by the NIS+ service and the default security level if the -S option is not used.
- RMF Control
- SI-2
- Severity
- M
- CCI
- CCI-001233
- Version
- GEN006480
- Vuln IDs
-
- V-227952
- V-782
- Rule IDs
-
- SV-227952r603266_rule
- SV-41526
Checks: C-30114r490276_chk
Ask the SA or IAO if a host-based intrusion detection application is loaded on the system. Determine if the application is loaded on the system. Procedure: # find / -name <daemon name> -print Determine if the application is active on the system. Procedure: # ps -ef | grep <daemon name> If no host-based intrusion detection system is installed on the system, this is a finding.
Fix: F-30102r490277_fix
Install a host-based intrusion detection tool.
- RMF Control
- SI-6
- Severity
- L
- CCI
- CCI-002696
- Version
- GEN006570
- Vuln IDs
-
- V-227953
- V-22507
- Rule IDs
-
- SV-227953r854519_rule
- SV-26858
Checks: C-30115r490285_chk
If using AIDE, verify the configuration contains the acl option for all monitored files and directories. Here is an example AIDE configuration fragment. SampleRule = p+i+l+n+u+g+s+m+c+acl+xattrs+sha256 /bin SampleRule If the acl option is not present, this is a finding. If using a different file integrity tool, check the configuration per tool documentation.
Fix: F-30103r490286_fix
If using AIDE, edit the configuration and add the acl option for all monitored files and directories. If using a different file integrity tool, configure ACL checking per the tool's documentation.
- RMF Control
- SI-6
- Severity
- L
- CCI
- CCI-002696
- Version
- GEN006571
- Vuln IDs
-
- V-227954
- V-22508
- Rule IDs
-
- SV-227954r854520_rule
- SV-26860
Checks: C-30116r490288_chk
If using AIDE, verify the configuration contains the xattrs option for all monitored files and directories. Here is an example AIDE configuration fragment. SampleRule = p+i+l+n+u+g+s+m+c+acl+xattrs+sha256 /bin SampleRule If the xattrs option is not present, this is a finding. If using a different file integrity tool, check the configuration per tool documentation.
Fix: F-30104r490289_fix
If using AIDE, edit the configuration and add the xattrs option for all monitored files and directories. If using a different file integrity tool, configure extended attributes checking per the tool's documentation.
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001496
- Version
- GEN006575
- Vuln IDs
-
- V-227955
- V-22509
- Rule IDs
-
- SV-227955r603266_rule
- SV-26861
Checks: C-30117r490291_chk
If using AIDE, verify the configuration contains the sha256 or sha512 options for all monitored files and directories. Here is an example AIDE configuration fragment. SampleRule = p+i+l+n+u+g+s+m+c+acl+xattrs+sha256 /bin SampleRule If either the sha256 or sha512 option is not present, this is a finding. If using a different file integrity tool, check the configuration per tool documentation.
Fix: F-30105r490292_fix
If using AIDE, edit the configuration and add the sha256 or sha512 option for all monitored files and directories. If using a different file integrity tool, configure FIPS 140-2 approved cryptographic hashes per the tool's documentation.
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000172
- Version
- GEN006600
- Vuln IDs
-
- V-227956
- V-941
- Rule IDs
-
- SV-227956r603266_rule
- SV-941
Checks: C-36483r603052_chk
Normally, TCPD logs to the mail facility in /etc/syslog.conf. Determine if syslog is configured to log events by TCPD. Procedure: # more /etc/syslog.conf Look for entries similar to the following: mail.debug /var/adm/maillog mail.none /var/adm/maillog mail.* /var/log/mail auth.info /var/log/messages The above entries would indicate mail alerts are being logged. If no entries for mail exist, then TCPD is not logging and this is a finding.
Fix: F-36447r603053_fix
Configure the access restriction program to log every access attempt. Ensure the implementation instructions for TCP_WRAPPERS are followed, so system access attempts are logged into the system log files. If an alternate application is used, it must support this function.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006640
- Vuln IDs
-
- V-227957
- V-12765
- Rule IDs
-
- SV-227957r603266_rule
- SV-28461
Checks: C-30119r490303_chk
The operator will ensure that anti-virus software is installed and operating. If the operator is unable to provide a documented configuration for an installed anti-virus software system or if not properly used, this is a finding.
Fix: F-30107r490304_fix
The operator will ensure that anti-virus software is installed and operating.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007480
- Vuln IDs
-
- V-227958
- V-22530
- Rule IDs
-
- SV-227958r603266_rule
- SV-26894
Checks: C-30120r490306_chk
Ask the SA if RDS is required by application software running on the system. If so, this is not applicable. Verify the RDS protocol handler is not installed. # pkginfo | grep SUNWrds If no results are returned, this is not a finding. Verify the RDS protocol handler is prevented from dynamic loading. # grep "exclude: rds" /etc/system If no result is returned, this is a finding.
Fix: F-30108r490307_fix
Remove the RDS protocol handler package. # pkgrm SUNWrds OR Prevent the RDS protocol handler from dynamic loading. # echo "exclude: rds" >> /etc/system
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007540
- Vuln IDs
-
- V-227959
- V-22533
- Rule IDs
-
- SV-227959r603266_rule
- SV-26902
Checks: C-30121r490309_chk
Verify the TIPC protocol handler package is not installed. # pkginfo | grep SUNWtipc If the TIPC protocol handler package is not installed, this is not a finding Verify the TIPC protocol handler is prevented from dynamic loading. # grep "exclude: tipc" /etc/system If no result is returned, this is a finding.
Fix: F-30109r490310_fix
Remove the TIPC protocol handler package. # pkgrm SUNWtipc OR Prevent the TIPC protocol handler from dynamic loading. # echo "exclude: tipc" >> /etc/system
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007780
- Vuln IDs
-
- V-227960
- V-22545
- Rule IDs
-
- SV-227960r603266_rule
- SV-26921
Checks: C-30122r490312_chk
# ifconfig -a If a tunnel interface is displayed with an IPv4 tunnel source address, an IPv6 interface address, and no tunnel destination address, this is a finding.
Fix: F-30110r490313_fix
Disable the active 6to4 tunnel. # ifconfig <tunnel> down Check the /etc/hostname* files for startup configuration for the tunnel, and edit or delete as appropriate to prevent the tunnel creation on startup.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007820
- Vuln IDs
-
- V-227961
- V-22547
- Rule IDs
-
- SV-227961r603266_rule
- SV-26927
Checks: C-30123r490315_chk
Check for any IP tunnels. # ifconfig -a | grep 'ip.*tun' If any results are returned, this is a finding.
Fix: F-30111r490316_fix
Disable the tunnels. # ifconfig <tunnel> down Remove the startup configuration for the tunnels. # rm /etc/hostname.<tunnel>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007840
- Vuln IDs
-
- V-227962
- V-22548
- Rule IDs
-
- SV-227962r603266_rule
- SV-26931
Checks: C-30124r490318_chk
Verify no interface is configured to use DHCP. # ls /etc/dhcp.* If any file is found, this is a finding.
Fix: F-30112r490319_fix
Delete the DHCP client configuration. # rm /etc/dhcp.*
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007860
- Vuln IDs
-
- V-227963
- V-22550
- Rule IDs
-
- SV-227963r603266_rule
- SV-26937
Checks: C-30125r490324_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system is configured to ignore IPv6 ICMP redirect messages. # ndd /dev/ip6 ip6_ignore_redirect If the returned value is not 1, this is a finding.
Fix: F-30113r490325_fix
Configure the system to ignore IPv6 ICMP redirect messages. # ndd -set /dev/ip6 ip6_ignore_redirect 1 Also add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007880
- Vuln IDs
-
- V-227964
- V-22551
- Rule IDs
-
- SV-227964r603266_rule
- SV-26938
Checks: C-30126r490327_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system is configured to not send IPv6 ICMP redirect messages. # ndd /dev/ip6 ip6_send_redirects If the returned value is not 0, this is a finding.
Fix: F-30114r490328_fix
Configure the system to not send IPv6 ICMP redirect messages. # ndd -set /dev/ip6 ip6_send_redirects 0 Also, add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007900
- Vuln IDs
-
- V-227965
- V-22552
- Rule IDs
-
- SV-227965r603266_rule
- SV-26227
Checks: C-30127r490330_chk
Determine if the system uses a reverse-path filter for IPv6 network traffic. If it does not, this is a finding.
Fix: F-30115r490331_fix
Configure the system to use a reverse-path filter for IPv6 network traffic.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007920
- Vuln IDs
-
- V-227966
- V-22553
- Rule IDs
-
- SV-227966r603266_rule
- SV-26940
Checks: C-30128r490333_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces verify the system is configured to not forward IPv6 source-routed packets. # ndd /dev/ip6 ip6_forward_src_routed If the returned value is not 0, this is a finding.
Fix: F-30116r490334_fix
Configure the system to not forward IPv6 source-routed packets. # ndd -set /dev/ip6 ip6_forward_src_routed 0 Also, add this command to a system startup script.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007950
- Vuln IDs
-
- V-227967
- V-23972
- Rule IDs
-
- SV-227967r603266_rule
- SV-29785
Checks: C-30129r490336_chk
Determine the type of zone that you are currently securing. # zonename If the zone is not the global zone, determine if any interfaces are exclusive to the zone: # dladm show-link If the output indicates "insufficient privileges" then this requirement is not applicable. If the zone is the global zone or the non-global zone has exclusive interfaces determine if the system is configured to ignore IPv6 multicast ICMP echo-requests. Procedure: # ndd -get /dev/ip ip6_respond_to_echo_multicast If the result is not 0, this is a finding.
Fix: F-30117r490337_fix
Configure the system to not respond to IPv6 multicast ICMP echo-requests. Procedure: # ndd -set /dev/ip ip6_respond_to_echo_multicast 0 This command must also be added to a system startup script.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001453
- Version
- GEN007980
- Vuln IDs
-
- V-227968
- V-22555
- Rule IDs
-
- SV-227968r603266_rule
- SV-41038
Checks: C-30130r490339_chk
Check if the system is using NSS LDAP. # grep -v '^#' /etc/nsswitch.conf | grep ldap If no lines are returned, this vulnerability is not applicable. Verify TLS is used for client authentications to the server # grep "NS_LDAP_AUTH=" /var/ldap/ldap_client_file If any of the authentication methods used do not begin with "tls:", this is a finding. Retrieve the list of LDAP servers. # grep "NS_LDAP_SERVERS=" /var/ldap/client_file Use the certutil to verify the cipher(s) used for every server. # certutil -L -n < host nickname > -d /var/ldap If any of the TLS connections do not use FIPS 140-2 approved cryptographic algorithms, this is a finding.
Fix: F-30118r490340_fix
Configure all LDAP authentications and connections to be encrypted using TLS and FIPS 140-2 approved cryptographic algorithms.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008060
- Vuln IDs
-
- V-227969
- V-22559
- Rule IDs
-
- SV-227969r603266_rule
- SV-40726
Checks: C-30131r490342_chk
Verify the permissions of the files. # ls -lL /var/ldap/ldap_client_file /var/ldap/ldap_client_cred If the mode of either file is more permissive than 0600, this is a finding.
Fix: F-30119r490343_fix
Change the permissions of the files. # chmod 0600 /var/ldap/ldap_client_file /var/ldap/ldap_client_cred
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008080
- Vuln IDs
-
- V-227970
- V-22560
- Rule IDs
-
- SV-227970r603266_rule
- SV-40727
Checks: C-30132r490345_chk
Verify the ownership of the files. # ls -lL /var/ldap/ldap_client_file /var/ldap/ldap_client_cred If the files are not owned by root, this is a finding.
Fix: F-30120r490346_fix
Change the owner of the files. # chown root /var/ldap/ldap_client_file /var/ldap/ldap_client_cred
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008100
- Vuln IDs
-
- V-227971
- V-22561
- Rule IDs
-
- SV-227971r603266_rule
- SV-39906
Checks: C-30133r490348_chk
Check the group ownership of the files. Procedure: # ls -lL /var/ldap/ldap_client_file /var/ldap/ldap_client_cred If the files are not group-owned by root, bin, or sys, this is a finding.
Fix: F-30121r490349_fix
Change the group-owner of the files to root, bin, or sys. Procedure: # chgrp root /var/ldap/ldap_client_file /var/ldap/ldap_client_cred
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008120
- Vuln IDs
-
- V-227972
- V-22562
- Rule IDs
-
- SV-227972r603266_rule
- SV-40728
Checks: C-30134r490351_chk
Verify the permissions of the files. # ls -lL /var/ldap/ldap_client_file /var/ldap/ldap_client_cred If the permissions include a "+", the files have an extended ACL, this is a finding.
Fix: F-30122r490352_fix
Remove the extended ACL from the files. # chmod A- /var/ldap/ldap_client_file /var/ldap/ldap_client_cred
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008140
- Vuln IDs
-
- V-227973
- V-22563
- Rule IDs
-
- SV-227973r603266_rule
- SV-40755
Checks: C-30135r490354_chk
Check if the system is using NSS LDAP. # grep -v '^#' /etc/nsswitch.conf | grep ldap If no lines are returned, this vulnerability is not applicable. Verify the ownership of the certificate database files. # ls -lL /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db If the owner of any of the files is not root, this is a finding.
Fix: F-30123r490355_fix
Change the ownership of the certificate database files. # chown root /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008160
- Vuln IDs
-
- V-227974
- V-22564
- Rule IDs
-
- SV-227974r603266_rule
- SV-39907
Checks: C-30136r490357_chk
Check if the system is using NSS LDAP. # grep -v '^#' /etc/nsswitch.conf | grep ldap If no lines are returned, this vulnerability is not applicable. Verify the group ownership of the certificate database files. # ls -lL /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db If the group owner of any of the files is not root, bin, or sys, this is a finding.
Fix: F-30124r490358_fix
Change the group ownership of the certificate database files. # chgrp root /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008180
- Vuln IDs
-
- V-227975
- V-22565
- Rule IDs
-
- SV-227975r603266_rule
- SV-40760
Checks: C-30137r490360_chk
Check if the system is using NSS LDAP. # grep -v '^#' /etc/nsswitch.conf | grep ldap If no lines are returned, this vulnerability is not applicable. Verify the mode of the certificate database files. # ls -lL /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db If the mode of any of the files is more permissive than 0644, this is a finding.
Fix: F-30125r490361_fix
Change the mode of the certificate database files. # chmod 0644 /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db NOTE: Some SAs may prefer to set the permissions to 0600. This is acceptable.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008440
- Vuln IDs
-
- V-227976
- V-22577
- Rule IDs
-
- SV-227976r603266_rule
- SV-26965
Checks: C-30138r490366_chk
If the autofs service is needed, this vulnerability is not applicable. Check if the autofs service is running. # svcs svc:/system/filesystem/autofs If the autofs service is online this is a finding.
Fix: F-30126r490367_fix
Stop and disable the autofs service. # svcadm disable autofs
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008460
- Vuln IDs
-
- V-227977
- V-22578
- Rule IDs
-
- SV-227977r603266_rule
- SV-26968
Checks: C-30139r490369_chk
If the system needs USB, this vulnerability is not applicable. Verify the SUNWusb package is installed. # pkginfo SUNWusb If the package is installed, this is a finding.
Fix: F-30127r490370_fix
Remove the SUNWusb package. # pkgrm SUNWusb
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008480
- Vuln IDs
-
- V-227978
- V-22579
- Rule IDs
-
- SV-227978r603266_rule
- SV-26970
Checks: C-36484r603055_chk
If the system needs a particular USB driver for storage, this vulnerability is not applicable. Check the current loaded kernel modules: # modinfo | grep usb_ac # modinfo | grep usb_as # modinfo | grep hid # modinfo | grep scsa2usb # modinfo | grep usbprn # modinfo | grep usbser_edge If any command produces output, this is a finding. Check the configuration of the /etc/system file: # grep 'exclude: usb_ac' /etc/system # grep 'exclude: usb_as' /etc/system # grep 'exclude: hid' /etc/system # grep 'exclude: scsa2usb' /etc/system # grep 'exclude: usbprn' /etc/system # grep 'exclude: usbser_edge' /etc/system If no results are returned from any particular command, this is a finding.
Fix: F-36448r603056_fix
Prevent the USB drivers from loading: # echo "exclude: usb_ac" >> /etc/system # echo "exclude: usb_as" >> /etc/system # echo "exclude: hid" >> /etc/system # echo "exclude: scsa2usb" >> /etc/system # echo "exclude: usbprn" >> /etc/system # echo "exclude: usbser_edge" >> /etc/system The system must be restarted for these changes to take effect.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008500
- Vuln IDs
-
- V-227979
- V-22580
- Rule IDs
-
- SV-227979r603266_rule
- SV-26972
Checks: C-30141r490375_chk
If the system needs IEEE 1394 (Firewire), this is not applicable. Check if the firewire module is not disabled. # grep 'exclude: s1394' /etc/system If no results are returned, this is a finding.
Fix: F-30129r490376_fix
Disable the firewire module. # echo "exclude: s1394" >> /etc/system Reboot for the changes to take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008520
- Vuln IDs
-
- V-227980
- V-22582
- Rule IDs
-
- SV-227980r603266_rule
- SV-26974
Checks: C-30142r490378_chk
Determine the zone that you are currently securing. # zonename If the command output is "global", only the "phys" and "SR-IOV" interfaces assigned to the global zone require inspection. If using a non-Global zone, all "phys" and "SR-IOV" interfaces assigned to the zone require inspection. Determine if the system is using a local firewall. # svcs network/ipfilter If the service is not online, this is a finding.
Fix: F-30130r490379_fix
Enable the system's local firewall. # svcadm enable network/ipfilter
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-002314
- Version
- GEN008540
- Vuln IDs
-
- V-227981
- V-22583
- Rule IDs
-
- SV-227981r854521_rule
- SV-26976
Checks: C-30143r490381_chk
If the system is not a global zone, this vulnerability is not applicable. Check the firewall rules for a default deny rule. # ipfstat -i An example of a default deny rule is: block in log quick on ne3 from any to any. If there is no default deny rule, this is a finding.
Fix: F-30131r490382_fix
Edit /etc/ipf/ipf.conf and add a default deny rule. Restart the ipfilter service. # svcadm restart network/ipfilter
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN008600
- Vuln IDs
-
- V-227982
- V-1013
- Rule IDs
-
- SV-227982r603266_rule
- SV-1013
Checks: C-30144r490384_chk
Determine if the system is configured to boot from devices other than the system startup media. If so, this is a finding. In most cases, this will require access to the BIOS or system controller. The exact procedure will be hardware-dependent, and the SA should be consulted to identify the specific configuration. In the event the BIOS or system controller is not accessible without adversely impacting (e.g., restarting) the system, the SA may be interviewed to determine compliance with the requirement.
Fix: F-30132r490385_fix
Configure the system to only boot from system startup media.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- GEN008620
- Vuln IDs
-
- V-227983
- V-4246
- Rule IDs
-
- SV-227983r603266_rule
- SV-4246
Checks: C-30145r490387_chk
On systems with a BIOS or system controller, verify a supervisor or administrator password is set. If a password is not set, this is a finding. If the BIOS or system controller supports user-level access in addition to supervisor/administrator access, determine if this access is enabled. If so, this is a finding. The exact procedure will be hardware-dependent, and the SA should be consulted to identify the specific configuration. In the event the BIOS or system controller is not accessible without adversely impacting (e.g., restarting) the system, the SA may be interviewed to determine compliance with the requirement.
Fix: F-30133r490388_fix
Access the system's BIOS or system controller. Set a supervisor/administrator password if one has not been set. Disable a user-level password if one has been set.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN008680
- Vuln IDs
-
- V-227984
- V-4255
- Rule IDs
-
- SV-227984r603266_rule
- SV-4255
Checks: C-30146r490396_chk
Ask the SA if the system boots from removable media. If so, ask if the boot media is stored in a secure container when not in use. If it is not, this is a finding.
Fix: F-30134r490397_fix
Store the system boot media in a secure container when not in use.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-002165
- Version
- GEN008720
- Vuln IDs
-
- V-227985
- V-4250
- Rule IDs
-
- SV-227985r854522_rule
- SV-4250
Checks: C-30147r490405_chk
This check applies to the global zone only. Determine the type of zone that you are currently securing. # zonename If the command output is "global", this check applies. Check the permission of the menu.lst file. On systems that have a ZFS root, the menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset. On systems that have a UFS root, the menu.lst file is typically located at /boot/grub/menu.lst . Procedure: # ls -lL /pool-name/boot/grub/menu.lst or # ls -lL /boot/grub/menu.lst If menu.lst has a mode more permissive than 0600, this is a finding.
Fix: F-30135r490406_fix
Change the mode of the menu.lst file to 0600. # chmod 0600 /pool-name/boot/grub/menu.lst or # chmod 0600 /boot/grub/menu.lst
- RMF Control
- CM-5
- Severity
- L
- CCI
- CCI-001749
- Version
- GEN008800
- Vuln IDs
-
- V-227986
- V-22588
- Rule IDs
-
- SV-227986r854523_rule
- SV-26991
Checks: C-30148r490417_chk
Verify package signature validation is not disabled. # grep "authentication=quit" /var/sadm/install/admin/default If no configuration is returned, this is a finding.
Fix: F-30136r490418_fix
Edit /var/sadm/install/admin/default and set the authentication setting to quit.
- RMF Control
- SI-2
- Severity
- L
- CCI
- CCI-001233
- Version
- GEN008820
- Vuln IDs
-
- V-227987
- V-22589
- Rule IDs
-
- SV-227987r603266_rule
- SV-40814
Checks: C-30149r490420_chk
Determine if the system package management tool is configured to automatically obtain updated packages using the cron or at utilities. # grep smpatch /var/spool/cron/crontabs/* /var/spool/cron/atjobs/* If smpatch is called with the add, update, or remove subcommands, this is a finding.
Fix: F-30137r490421_fix
Disable any cron or at jobs running smpatch. # crontab -e < user running smpatch > # atrm < id of at job running smpatch >
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000768
- Version
- GEN009120
- Vuln IDs
-
- V-227988
- V-24347
- Rule IDs
-
- SV-227988r603266_rule
- SV-30004
Checks: C-30150r490423_chk
Consult vendor documentation to determine if the system is capable of CAC authentication. If it is not, this is not applicable. Interview the SA to determine if all accounts not exempted by policy are using CAC authentication. If non-exempt accounts are not using CAC authentication, this is a finding.
Fix: F-30138r490424_fix
Consult vendor documentation to determine the procedures necessary for configuring CAC authentication. Configure all accounts required by policy to use CAC authentication.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005201
- Vuln IDs
-
- V-233303
- Rule IDs
-
- SV-233303r603289_rule
Checks: C-36498r622221_chk
Determine if X11 Forwarding is enabled. # grep "^X11Forwarding" /etc/ssh/sshd_config If the output of this command is not “X11Forwarding no”, this is a finding.
Fix: F-36462r622222_fix
The root role is required. Modify the sshd_config file. # vi /etc/ssh/sshd_config Locate the line containing: X11Forwarding Change it to: X11Forwarding no Restart the SSH service. # svcadm restart svc:/network/ssh
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005202
- Vuln IDs
-
- V-233305
- Rule IDs
-
- SV-233305r603295_rule
Checks: C-36500r622227_chk
Determine if the X11 forwarding server is bound to the loopback address. # grep "^X11UseLocalhost" /etc/ssh/sshd_config If the output of this command is not “X11UseLocalhost yes”, this is a finding.
Fix: F-36464r622228_fix
The root role is required. Modify the sshd_config file. # vi /etc/ssh/sshd_config Locate the line containing: X11UseLocalhost Change it to: X11UseLocalhost yes Restart the SSH service. # svcadm restart svc:/network/ssh