Oracle Linux 5 Security Technical Implementation Guide
Pick two releases to diff their requirements.
Open a previous version of this STIG.
Digest of Updates +571 −571
Comparison against the immediately-prior release (V1R14). 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.
Added rules 571
- V-218163 Medium The /etc/gshadow file must be owned by root.
- V-218164 Medium The /etc/gshadow file must be group-owned by root.
- V-218165 Medium The /etc/gshadow file must have mode 0400.
- V-218166 Medium The /etc/gshadow file must not have an extended ACL.
- V-218167 Medium The /etc/gshadow file must not contain any group password hashes.
- V-218168 High The system must not have special privilege accounts, such as shutdown and halt.
- V-218169 Medium The X server must have the correct options enabled.
- V-218170 Medium An X server must have none of the following options enabled: -ac, -core (except for debugging purposes), or -nolock.
- V-218171 Medium The /etc/security/access.conf file must be owned by root.
- V-218172 Medium The /etc/security/access.conf file must have a privileged group owner.
- V-218173 Medium The /etc/security/access.conf file must have mode 0640 or less permissive.
- V-218174 Medium The access.conf file must not have an extended ACL.
- V-218175 Medium The /etc/sysctl.conf file must be owned by root.
- V-218176 Medium The /etc/sysctl.conf file must be group-owned by root.
- V-218177 Medium The /etc/sysctl.conf file must have mode 0600 or less permissive.
- V-218178 Medium The /etc/sysctl.conf file must not have an extended ACL.
- V-218179 High The Linux NFS Server must not have the insecure file locking option.
- V-218180 High The x86 CTRL-ALT-DELETE key sequence must be disabled.
- V-218181 Medium The Linux PAM system must not grant sole access to admin privileges to the first user who logs into the console.
- V-218182 Medium The /etc/securetty file must be group-owned by root, sys, or bin.
- V-218183 Medium The /etc/securetty file must be owned by root.
- V-218184 Medium The /etc/securetty file must have mode 0600 or less permissive.
- V-218185 Low Auditing must be enabled at boot by setting a kernel parameter.
- V-218186 Low The system must use a Linux Security Module configured to limit the privileges of system services.
- V-218187 Medium The system must require authentication upon booting into single-user and maintenance modes.
- V-218188 High The operating system must be a supported release.
- V-218189 Medium System security patches and updates must be installed and up-to-date.
- V-218190 Medium A file integrity baseline including cryptographic hashes must be created.
- V-218191 Medium A file integrity baseline including cryptographic hashes must be maintained.
- V-218192 Medium A file integrity tool must be used at least weekly to check for unauthorized file changes, particularly the addition of unauthorized system libraries or binaries, or for unauthorized modification to authorized system libraries or binaries.
- V-218193 Medium The system clock must be synchronized to an authoritative DoD time source.
- V-218194 Medium The system clock must be synchronized continuously.
- V-218195 Medium The system must use at least two time sources for clock synchronization.
- V-218196 Low The system must use time sources local to the enclave.
- V-218197 Medium The time synchronization configuration file (such as /etc/ntp.conf) must be owned by root.
- V-218198 Medium The time synchronization configuration file (such as /etc/ntp.conf) must be group-owned by root, bin, or sys.
- V-218199 Medium The time synchronization configuration file (such as /etc/ntp.conf) must have mode 0640 or less permissive.
- V-218200 Medium The time synchronization configuration file (such as /etc/ntp.conf) must not have an extended ACL.
- V-218201 Medium Direct logins must not be permitted to shared, default, application, or utility accounts.
- V-218202 Medium The system must not have unnecessary accounts.
- V-218203 Medium The system must not have the unnecessary games account.
- V-218204 Medium The system must not have the unnecessary news account.
- V-218205 Medium The system must not have the unnecessary gopher account.
- V-218206 Medium The system must not have the unnecessary ftp account.
- V-218207 Medium All accounts on the system must have unique user or account names.
- V-218208 Medium All accounts must be assigned unique User Identification Numbers (UIDs).
- V-218209 Medium UIDs reserved for system accounts must not be assigned to non-system accounts.
- V-218210 Medium GIDs reserved for system accounts must not be assigned to non-system groups.
- V-218211 Low All GIDs referenced in the /etc/passwd file must be defined in the /etc/group file.
- V-218212 Medium The Department of Defense (DoD) login banner must be displayed immediately prior to, or as part of, console login prompts.
- V-218213 Medium The Department of Defense (DoD) login banner must be displayed immediately prior to, or as part of, graphical desktop environment login prompts.
- V-218214 Medium The FTPS/FTP service on the system must be configured with the Department of Defense (DoD) login banner.
- V-218215 Medium Successful and unsuccessful logins and logouts must be logged.
- V-218216 Low The system must limit users to 10 simultaneous system logins, or a site-defined number, in accordance with operational requirements.
- V-218217 Low The system must display the date and time of the last successful account login upon login.
- V-218218 Medium The system must disable accounts after three consecutive unsuccessful login attempts.
- V-218219 Medium The delay between login prompts following a failed login attempt must be at least 4 seconds.
- V-218220 Medium Graphical desktop environments provided by the system must automatically lock after 15 minutes of inactivity and the system must require users to re-authenticate to unlock the environment. Applications requiring continuous, real-time screen display (i.e., network management products) require the following and need to be documented with the IAO. -The logon session does not have administrator rights. -The display station (i.e., keyboard, monitor, etc.) is located in a controlled access area.
- V-218221 Medium The graphical desktop environment must set the idle timeout to no more than 15 minutes.
- V-218222 Medium Graphical desktop environments provided by the system must have automatic lock enabled.
- V-218223 Low The system must display a publicly-viewable pattern during a graphical desktop environment session lock.
- V-218224 Medium The root user must not own the logon session for an application requiring a continuous display.
- V-218225 Medium Users must not be able to change passwords more than once every 24 hours.
- V-218226 High The system must not have accounts configured with blank or null passwords.
- V-218227 Medium The system must require passwords contain a minimum of 15 characters.
- V-218228 Medium The system must enforce compliance of the entire password during authentication.
- V-218229 Medium The system must use a FIPS 140-2 approved cryptographic hashing algorithm for generating account password hashes.
- V-218230 Medium The password hashes stored on the system must have been generated using a FIPS 140-2 approved cryptographic hashing algorithm.
- V-218231 Medium The system must require passwords contain at least one uppercase alphabetic character.
- V-218232 Medium Global settings defined in system-auth must be applied in the pam.d definition files.
- V-218233 Medium The system must require passwords contain at least one lowercase alphabetic character.
- V-218234 Medium The system must require passwords contain at least one numeric character.
- V-218235 Medium The system must require passwords contain at least one special character.
- V-218236 Medium The system must require passwords contain no more than three consecutive repeating characters.
- V-218237 Medium User passwords must be changed at least every 60 days.
- V-218238 Medium All non-interactive/automated processing account passwords must be changed at least once per year or be locked.
- V-218239 Medium The system must require at least eight characters be changed between the old and new passwords during a password change.
- V-218240 Medium Accounts must be locked upon 35 days of inactivity.
- V-218241 Medium The system must prevent the use of dictionary words for passwords.
- V-218242 Medium The system must prohibit the reuse of passwords within five iterations.
- V-218243 Low The system must restrict the ability to switch to the root user to members of a defined group.
- V-218244 Medium The root account must be the only account having a UID of 0.
- V-218245 Low The root users home directory must not be the root directory (/).
- V-218246 Medium The root accounts home directory (other than /) must have mode 0700 or less permissive.
- V-218247 Medium The root accounts home directory must not have an extended ACL.
- V-218248 Medium The root accounts executable search path must be the must contain only authorized paths.
- V-218249 Medium The root accounts library search path must be the system default and must contain only absolute paths.
- V-218250 Medium The root accounts list of preloaded libraries must be empty.
- V-218251 Medium The root account must not have world-writable directories in its executable search path.
- V-218252 Medium The system must prevent the root account from directly logging in except from the system console.
- V-218253 Medium Remote consoles must be disabled or protected from unauthorized access.
- V-218254 Medium The root account must not be used for direct log in.
- V-218255 Medium The sudo command must require authentication.
- V-218256 Medium The system must log successful and unsuccessful access to the root account.
- V-218257 Low The root shell must be located in the / file system.
- V-218258 High Root passwords must never be passed over a network in clear text form.
- V-218259 Medium The system must not permit root logins using remote access programs such as ssh.
- V-218260 Medium System files and directories must not have uneven access permissions.
- V-218261 Medium All files and directories must have a valid owner.
- V-218262 Medium All files and directories must have a valid group-owner.
- V-218263 Medium All network services daemon files must have mode 0755 or less permissive.
- V-218264 Medium All network services daemon files must not have extended ACLs.
- V-218265 Medium All system command files must have mode 0755 or less permissive.
- V-218266 Medium All system command files must not have extended ACLs.
- V-218267 Medium All system files, programs, and directories must be owned by a system account.
- V-218268 Medium System files, programs, and directories must be group-owned by a system group.
- V-218269 Medium System log files must have mode 0640 or less permissive.
- V-218270 Medium System log files must not have extended ACLs, except as needed to support authorized software.
- V-218271 Low Manual page files must have mode 0644 or less permissive.
- V-218272 Low All manual page files must not have extended ACLs.
- V-218273 Medium Library files must have mode 0755 or less permissive.
- V-218274 Medium All library files must not have extended ACLs.
- V-218275 Medium NIS/NIS+/yp files must be owned by root, sys, or bin.
- V-218276 Medium NIS/NIS+/yp files must be group-owned by root, sys, or bin.
- V-218277 Medium The NIS/NIS+/yp command files must have mode 0755 or less permissive.
- V-218278 Medium NIS/NIS+/yp command files must not have extended ACLs.
- V-218279 Medium The /etc/resolv.conf file must be owned by root.
- V-218280 Medium The /etc/resolv.conf file must be group-owned by root, bin, or sys.
- V-218281 Medium The /etc/resolv.conf file must have mode 0644 or less permissive.
- V-218282 Medium The /etc/resolv.conf file must not have an extended ACL.
- V-218283 Medium The /etc/hosts file must be owned by root.
- V-218284 Medium The /etc/hosts file must be group-owned by root, bin, or sys.
- V-218285 Medium The /etc/hosts file must have mode 0644 or less permissive.
- V-218286 Medium The /etc/hosts file must not have an extended ACL.
- V-218287 Medium The /etc/nsswitch.conf file must be owned by root.
- V-218288 Medium The /etc/nsswitch.conf file must be group-owned by root, bin, or sys.
- V-218289 Medium The /etc/nsswitch.conf file must have mode 0644 or less permissive.
- V-218290 Medium The /etc/nsswitch.conf file must not have an extended ACL.
- V-218291 Low For systems using DNS resolution, at least two name servers must be configured.
- V-218292 Medium The /etc/passwd file must be owned by root.
- V-218293 Medium The /etc/passwd file must be group-owned by root, bin, or sys.
- V-218294 Medium The /etc/passwd file must have mode 0644 or less permissive.
- V-218295 Medium The /etc/passwd file must not have an extended ACL.
- V-218296 Medium The /etc/group file must be owned by root.
- V-218297 Medium The /etc/group file must be group-owned by root, bin, or sys.
- V-218298 Medium The /etc/group file must have mode 0644 or less permissive.
- V-218299 Medium The /etc/group file must not have an extended ACL.
- V-218300 Medium The /etc/shadow (or equivalent) file must be owned by root.
- V-218301 Medium The /etc/shadow file (or equivalent) must be group-owned by root, bin, or sys.
- V-218302 Medium The /etc/shadow (or equivalent) file must have mode 0400.
- V-218303 Medium The /etc/shadow file must not have an extended ACL.
- V-218304 Low All interactive users must be assigned a home directory in the /etc/passwd file.
- V-218305 Low All interactive user home directories defined in the /etc/passwd file must exist.
- V-218306 Medium The /etc/passwd file must not contain password hashes.
- V-218307 Medium The /etc/group file must not contain any group password hashes.
- V-218308 Medium All user home directories must have mode 0750 or less permissive.
- V-218309 Low User home directories must not have extended ACLs.
- V-218310 Medium All interactive user home directories must be owned by their respective users.
- V-218311 Medium All interactive user home directories must be group-owned by the home directory owners primary group.
- V-218312 Low All files and directories contained in interactive user home directories must be owned by the home directorys owner.
- V-218313 Medium All files and directories contained in user home directories must be group-owned by a group of which the home directorys owner is a member.
- V-218314 Low All files and directories contained in user home directories must have mode 0750 or less permissive.
- V-218315 Medium All files and directories contained in user home directories must not have extended ACLs.
- V-218316 Medium All run control scripts must have mode 0755 or less permissive.
- V-218317 Medium All run control scripts must have no extended ACLs.
- V-218318 Medium Run control scripts executable search paths must contain only authorized paths.
- V-218319 Medium Run control scripts library search paths must contain only authorized paths.
- V-218320 Medium Run control scripts lists of preloaded libraries must contain only authorized paths.
- V-218321 High Run control scripts must not execute world-writable programs or scripts.
- V-218322 Medium All system start-up files must be owned by root.
- V-218323 Medium All system start-up files must be group-owned by root, sys, bin, other, or system.
- V-218324 Medium System start-up files must only execute programs owned by a privileged UID or an application.
- V-218325 Medium All global initialization files must have mode 0644 or less permissive.
- V-218326 Medium All global initialization files must not have extended ACLs.
- V-218327 Medium All global initialization files must be owned by root.
- V-218328 Medium All global initialization files must be group-owned by root, sys, bin, other, system, or the system default.
- V-218329 Low Global initialization files must contain the mesg -n or mesg n commands.
- V-218330 Medium All skeleton files (typically those in /etc/skel) must have mode 0644 or less permissive.
- V-218331 Medium Skeleton files must not have extended ACLs.
- V-218332 Medium All skeleton files and directories (typically in /etc/skel) must be owned by root or bin.
- V-218333 Medium All skeleton files (typically in /etc/skel) must be group-owned by root, bin, sys, system, or other.
- V-218334 Medium All global initialization files executable search paths must contain only authorized paths.
- V-218335 Medium Global initialization files library search paths must contain only authorized paths.
- V-218336 Medium Global initialization files lists of preloaded libraries must contain only authorized paths.
- V-218337 Medium All local initialization files must be owned by the home directorys user or root.
- V-218338 Medium Local initialization files must be group-owned by the users primary group or root.
- V-218339 Medium All local initialization files must have mode 0740 or less permissive.
- V-218340 Medium Local initialization files must not have extended ACLs.
- V-218341 Medium All local initialization files executable search paths must contain only authorized paths.
- V-218342 Medium Local initialization files library search paths must contain only authorized paths.
- V-218343 Medium Local initialization files lists of preloaded libraries must contain only authorized paths.
- V-218344 Medium User start-up files must not execute world-writable programs.
- V-218345 Medium The .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files must not contain a plus (+) without defining entries for NIS+ netgroups.
- V-218346 Medium There must be no .netrc files on the system.
- V-218347 Medium All .rhosts, .shosts, or host.equiv files must only contain trusted host-user pairs.
- V-218348 High There must be no .rhosts, .shosts, hosts.equiv, or shosts.equiv files on the system.
- V-218349 Medium All .rhosts, .shosts, .netrc, or hosts.equiv files must be accessible by only root or the owner.
- V-218350 Medium The .rhosts file must not be supported in PAM.
- V-218351 Medium The /etc/shells (or equivalent) file must exist.
- V-218352 Medium All shells referenced in /etc/passwd must be listed in the /etc/shells file, except any shells specified for the purpose of preventing logins.
- V-218353 Medium All shell files must be owned by root or bin.
- V-218354 Medium All shell files must be group-owned by root, bin, sys, or system.
- V-218355 High All shell files must have mode 0755 or less permissive.
- V-218356 Medium All shell files must not have extended ACLs.
- V-218357 Low The system must be checked for extraneous device files at least weekly.
- V-218358 Medium Device files and directories must only be writable by users with a system account or as configured by the vendor.
- V-218359 Medium Device files used for backup must only be readable and/or writable by root or the backup user.
- V-218360 Medium Audio devices must have mode 0660 or less permissive.
- V-218361 Medium Audio devices must not have extended ACLs.
- V-218362 Medium Audio devices must be owned by root.
- V-218363 Medium Audio devices must be group-owned by root, sys, bin, or system.
- V-218364 Medium The owner, group-owner, mode, ACL, and location of files with the setuid bit set must be documented using site-defined procedures.
- V-218365 Medium The system must be checked weekly for unauthorized setuid files as well as unauthorized modification to authorized setuid files.
- V-218366 Medium Removable media, remote file systems, and any file system not containing approved setuid files must be mounted with the nosuid option.
- V-218367 Medium Removable media, remote file systems, and any file system not containing approved device files must be mounted with the nodev option.
- V-218368 Medium The owner, group-owner, mode, ACL and location of files with the setgid bit set must be documented using site-defined procedures.
- V-218369 Medium The system must be checked weekly for unauthorized setgid files as well as unauthorized modification to authorized setgid files.
- V-218370 Medium Public directories must be the only world-writable directories and world-writable files must be located only in public directories.
- V-218371 Low The sticky bit must be set on all public directories.
- V-218372 Medium All public directories must be owned by root or an application account.
- V-218373 Medium All public directories must be group-owned by root, sys, bin, or an application group.
- V-218374 Medium The system and user default umask must be 077.
- V-218375 Medium Default system accounts must be disabled or removed.
- V-218376 Medium Auditing must be implemented.
- V-218377 Medium System audit logs must be owned by root.
- V-218378 Medium System audit logs must be group-owned by root, bin, sys, or system.
- V-218379 Medium System audit logs must have mode 0640 or less permissive.
- V-218380 Medium All system audit files must not have extended ACLs.
- V-218381 Low System audit tool executables must be owned by root.
- V-218382 Low System audit tool executables must be group-owned by root, bin, sys, or system.
- V-218383 Low System audit tool executables must have mode 0750 or less permissive.
- V-218384 Low System audit tool executables must not have extended ACLs.
- V-218385 Low The audit system must alert the SA in the event of an audit processing failure.
- V-218386 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-218387 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-218388 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-218389 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-218390 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-218391 Medium The audit system must alert the SA when the audit storage volume approaches its capacity.
- V-218392 Medium The audit system must be configured to audit files and programs deleted by the user.
- V-218393 Medium The audit system must be configured to audit file deletions.
- V-218394 Low The audit system must be configured to audit account creation.
- V-218395 Low The audit system must be configured to audit account modification.
- V-218396 Low The audit system must be configured to audit account disabling.
- V-218397 Low The audit system must be configured to audit account termination.
- V-218398 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218399 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218400 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218401 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218402 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218403 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218404 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218405 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218406 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-218407 Medium The audit system must be configured to audit login, logout, and session initiation.
- V-218408 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218409 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218410 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218411 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218412 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218413 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218414 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218415 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218416 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218417 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218418 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218419 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218420 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-218421 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules.
- V-218422 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules - delete_module.
- V-218423 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules - /sbin/insmod.
- V-218424 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules -/sbin/modprobe.
- V-218425 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules - /sbin/rmmod
- V-218426 Medium Audit logs must be rotated daily.
- V-218427 Low The system must be configured to send audit/system records to a remote audit server.
- V-218428 Medium Access to the cron utility must be controlled using the cron.allow and/or cron.deny file(s).
- V-218429 Medium The cron.allow file must have mode 0600 or less permissive.
- V-218430 Medium The cron.allow file must not have an extended ACL.
- V-218431 Medium Cron must not execute group-writable or world-writable programs.
- V-218432 Medium Cron must not execute programs in, or subordinate to, world-writable directories.
- V-218433 Medium Crontabs must be owned by root or the crontab creator.
- V-218434 Medium Crontab files must be group-owned by root, cron, or the crontab creators primary group.
- V-218435 Medium Default system accounts (with the exception of root) must not be listed in the cron.allow file or must be included in the cron.deny file, if cron.allow does not exist.
- V-218436 Medium Crontab files must have mode 0600 or less permissive, and files in cron script directories must have mode 0700 or less permissive.
- V-218437 Medium Files in cron script directories must have mode 0700 or less permissive.
- V-218438 Medium Crontab files must not have extended ACLs.
- V-218439 Medium Cron and crontab directories must have mode 0755 or less permissive.
- V-218440 Medium Cron and crontab directories must not have extended ACLs.
- V-218441 Medium Cron and crontab directories must be owned by root or bin.
- V-218442 Medium Cron and crontab directories must be group-owned by root, sys, bin or cron.
- V-218443 Medium Cron logging must be implemented.
- V-218444 Medium The cronlog file must have mode 0600 or less permissive.
- V-218445 Medium The cron log files must not have extended ACLs.
- V-218446 Medium The cron.deny file must have mode 0600 or less permissive.
- V-218447 Medium The cron.deny file must not have an extended ACL.
- V-218448 Low Cron programs must not set the umask to a value less restrictive than 077.
- V-218449 Medium The cron.allow file must be owned by root, bin, or sys.
- V-218450 Medium The at.allow file must not have an extended ACL.
- V-218451 Medium The cron.allow file must be group-owned by root, bin, sys, or cron.
- V-218452 Medium The at.deny file must have mode 0600 or less permissive.
- V-218453 Medium The at.deny file must not have an extended ACL.
- V-218454 Medium The cron.deny file must be owned by root, bin, or sys.
- V-218455 Medium The cron.deny file must be group-owned by root, bin, or sys.
- V-218456 Medium Access to the at utility must be controlled via the at.allow and/or at.deny file(s).
- V-218457 Medium The at.deny file must not be empty if it exists.
- V-218458 Medium Default system accounts (with the exception of root) must not be listed in the at.allow file or must be included in the at.deny file if the at.allow file does not exist.
- V-218459 Medium The at.allow file must have mode 0600 or less permissive.
- V-218460 Medium The at daemon must not execute group-writable or world-writable programs.
- V-218461 Medium The at daemon must not execute programs in, or subordinate to, world-writable directories.
- V-218462 Medium The at directory must have mode 0755 or less permissive.
- V-218463 Medium The at directory must not have an extended ACL.
- V-218464 Medium The at directory must be owned by root, bin, sys, daemon, or cron.
- V-218465 Medium The at directory must be group-owned by root, bin, sys, or cron.
- V-218466 Medium At jobs must not set the umask to a value less restrictive than 077.
- V-218467 Medium The at.allow file must be owned by root, bin, or sys.
- V-218468 Medium The at.allow file must be group-owned by root, bin, sys, or cron.
- V-218469 Medium The at.deny file must be owned by root, bin, or sys.
- V-218470 Medium The at.deny file must be group-owned by root, bin, sys, or cron.
- V-218471 Low Process core dumps must be disabled unless needed.
- V-218472 Medium Kernel core dumps must be disabled unless needed.
- V-218473 Low The kernel core dump data directory must be owned by root.
- V-218474 Low The kernel core dump data directory must be group-owned by root, bin, sys, or system.
- V-218475 Low The kernel core dump data directory must have mode 0700 or less permissive.
- V-218476 Low The kernel core dump data directory must not have an extended ACL.
- V-218477 Medium The system must implement non-executable program stacks.
- V-218478 Medium Network interfaces must not be configured to allow user control.
- V-218479 Medium The system must not forward IPv4 source-routed packets.
- V-218480 Medium TCP backlog queue sizes must be set appropriately.
- V-218481 Low The system must not process Internet Control Message Protocol (ICMP) timestamp requests.
- V-218482 Medium The system must not respond to Internet Control Message Protocol v4 (ICMPv4) echoes sent to a broadcast address.
- V-218483 Medium The system must not respond to Internet Control Message Protocol (ICMP) timestamp requests sent to a broadcast address.
- V-218484 Medium The system must not accept source-routed IPv4 packets.
- V-218485 Medium Proxy Address Resolution Protocol (Proxy ARP) must not be enabled on the system.
- V-218486 Medium The system must ignore IPv4 Internet Control Message Protocol (ICMP) redirect messages.
- V-218487 Medium The system must not send IPv4 Internet Control Message Protocol (ICMP) redirects.
- V-218488 Low The system must log martian packets.
- V-218489 Medium The system must be configured to use TCP syncookies when experiencing a TCP SYN flood.
- V-218490 Medium The system must not be configured for network bridging.
- V-218491 Low A separate file system must be used for user home directories (such as /home or an equivalent).
- V-218492 Low The system must use a separate file system for /var.
- V-218493 Low The system must use a separate file system for the system audit data path.
- V-218494 Low The system must use a separate file system for /tmp (or equivalent).
- V-218495 Medium The root file system must employ journaling or another mechanism ensuring file system consistency.
- V-218496 Low All local file systems must employ journaling or another mechanism ensuring file system consistency.
- V-218497 Medium The system must log informational authentication data.
- V-218498 Medium Inetd and xinetd must be disabled or removed if no network services utilizing them are enabled.
- V-218499 Medium The inetd.conf file, xinetd.conf file, and the xinetd.d directory must be owned by root or bin.
- V-218500 Medium The inetd.conf file, xinetd.conf file, and the xinetd.d directory must be group-owned by root, bin, sys, or system.
- V-218501 Medium The xinetd configuration files must have mode 0640 or less permissive.
- V-218502 Medium The inetd.conf and xinetd.conf files must not have extended ACLs.
- V-218503 Medium The xinetd.d directory must have mode 0755 or less permissive.
- V-218504 Medium The xinetd.d directory must not have an extended ACL.
- V-218505 Medium The services file must be owned by root or bin.
- V-218506 Medium The services file must be group-owned by root or bin.
- V-218507 Medium The services file must have mode 0644 or less permissive.
- V-218508 Medium The services file must not have an extended ACL.
- V-218509 Low Inetd or xinetd logging/tracing must be enabled.
- V-218510 Medium The portmap or rpcbind service must not be running unless needed.
- V-218511 Medium The portmap or rpcbind service must not be installed unless needed.
- V-218512 High The rsh daemon must not be running.
- V-218513 Medium The rshd service must not be installed.
- V-218514 Medium The rlogind service must not be running.
- V-218515 Medium The rlogind service must not be installed.
- V-218516 High The rexec daemon must not be running.
- V-218517 Medium The rexecd service must not be installed.
- V-218518 High The telnet daemon must not be running.
- V-218519 Low The system must not have the finger service active.
- V-218520 Medium Network analysis tools must not be installed.
- V-218521 Medium The hosts.lpd file (or equivalent) must not contain a + character.
- V-218522 Medium The hosts.lpd (or equivalent) file must be owned by root, bin, sys, or lp.
- V-218523 Medium The hosts.lpd (or equivalent) file must be group-owned by lp.
- V-218524 Medium The hosts.lpd (or equivalent) must have mode 0644 or less permissive.
- V-218525 Medium The hosts.lpd (or equivalent) file must not have an extended ACL.
- V-218526 Medium The traceroute command owner must be root.
- V-218527 Medium The traceroute command must be group-owned by sys, bin, root, or system.
- V-218528 Medium The traceroute file must have mode 0700 or less permissive.
- V-218529 Medium The traceroute file must not have an extended ACL.
- V-218530 High Administrative accounts must not run a web browser, except as needed for local service administration.
- V-218531 Medium The alias file must be owned by root.
- V-218532 Medium The aliases file must be group-owned by root, sys, bin, or system.
- V-218533 Medium The alias file must have mode 0644 or less permissive.
- V-218534 Medium The alias file must not have an extended ACL.
- V-218535 High Files executed through a mail aliases file must be owned by root and must reside within a directory owned and writable only by root.
- V-218536 Medium Files executed through a mail aliases file must be group-owned by root, bin, sys, or system, and must reside within a directory group-owned by root, bin, sys, or system.
- V-218537 Medium Files executed through a mail aliases file must have mode 0755 or less permissive.
- V-218538 Medium Files executed through a mail aliases file must not have extended ACLs.
- V-218539 Low Sendmail logging must not be set to less than nine in the sendmail.cf file.
- V-218540 Medium The system syslog service must log informational and more severe SMTP service messages.
- V-218541 Medium The SMTP service log file must be owned by root.
- V-218542 Medium The SMTP service log file must have mode 0644 or less permissive.
- V-218543 Medium The SMTP service log file must not have an extended ACL.
- V-218544 Medium The SMTP service HELP command must not be enabled.
- V-218545 Low The SMTP services SMTP greeting must not provide version information.
- V-218546 Medium The system must not use .forward files.
- V-218547 High The SMTP service must be an up-to-date version.
- V-218548 High The sendmail server must have the debug feature disabled.
- V-218549 High The SMTP service must not have a uudecode alias active.
- V-218550 Low The SMTP service must not have the EXPN feature active.
- V-218551 Low The SMTP service must not have the Verify (VRFY) feature active.
- V-218552 Low The sendmail service must not have the wizard backdoor active.
- V-218553 Medium Mail relaying must be restricted.
- V-218554 Medium Unencrypted FTP must not be used on the system.
- V-218555 Medium Anonymous FTP must not be active on the system unless authorized.
- V-218556 Medium If the system is an anonymous FTP server, it must be isolated to the DMZ network.
- V-218557 Medium The ftpusers file must exist.
- V-218558 Medium The ftpusers file must contain account names not allowed to use FTP.
- V-218559 Medium The ftpusers file must be owned by root.
- V-218560 Medium The ftpusers file must be group-owned by root, bin, sys, or system.
- V-218561 Medium The ftpusers file must have mode 0640 or less permissive.
- V-218562 Medium The ftpusers file must not have an extended ACL.
- V-218563 Low The FTP daemon must be configured for logging or verbose mode.
- V-218564 High Anonymous FTP accounts must not have a functional shell.
- V-218565 Medium All FTP users must have a default umask of 077.
- V-218566 High The TFTP daemon must operate in secure mode which provides access only to a single directory on the host file system.
- V-218567 High The TFTP daemon must have mode 0755 or less permissive.
- V-218568 Medium The TFTP daemon must be configured to vendor specifications, including a dedicated TFTP user account, a non-login shell such as /bin/false, and a home directory owned by the TFTP user.
- V-218569 High Any active TFTP daemon must be authorized and approved in the system accreditation package.
- V-218570 Medium Any X Windows host must write .Xauthority files.
- V-218571 Medium All .Xauthority files must have mode 0600 or less permissive.
- V-218572 Medium The .Xauthority files must not have extended ACLs.
- V-218573 High X displays must not be exported to the world.
- V-218574 Medium .Xauthority or X*.hosts (or equivalent) file(s) must be used to restrict access to the X server.
- V-218575 Medium The .Xauthority utility must only permit access to authorized hosts.
- V-218576 Medium X Window System connections not required must be disabled.
- V-218577 Medium The system must not have the UUCP service active.
- V-218578 High SNMP communities, users, and passphrases must be changed from the default.
- V-218579 Medium The SNMP service must use only SNMPv3 or its successors.
- V-218580 Medium The SNMP service must require the use of a FIPS 140-2 approved cryptographic hash algorithm as part of its authentication and integrity methods.
- V-218581 Medium The SNMP service must require the use of a FIPS 140-2 approved encryption algorithm for protecting the privacy of SNMP messages.
- V-218582 Medium The snmpd.conf file must have mode 0600 or less permissive.
- V-218583 Medium Management Information Base (MIB) files must have mode 0640 or less permissive.
- V-218584 Medium Management Information Base (MIB) files must not have extended ACLs.
- V-218585 Medium The snmpd.conf file must be owned by root.
- V-218586 Medium The snmpd.conf file must be group-owned by root, bin, sys, or system.
- V-218587 Medium The snmpd.conf file must not have an extended ACL.
- V-218588 Medium If the system is a Network Management System (NMS) server, it must only run the NMS and any software required by the NMS.
- V-218589 Medium The /etc/syslog.conf file must have mode 0640 or less permissive.
- V-218590 Medium The /etc/syslog.conf file must not have an extended ACL.
- V-218591 Medium The /etc/syslog.conf file must be owned by root.
- V-218592 Medium The /etc/syslog.conf file must be group-owned by root, bin, sys, or system.
- V-218593 Medium The system must not be used as a syslog server (loghost) for systems external to the enclave.
- V-218594 Medium The system must use a remote syslog server (loghost).
- V-218595 Medium The system must only use remote syslog servers (log hosts) that is justified and documented using site-defined procedures.
- V-218596 Medium The syslog daemon must not accept remote messages unless it is a syslog server documented using site-defined procedures.
- V-218597 High The SSH daemon must be configured to only use the SSHv2 protocol.
- V-218598 Medium The SSH client must be configured to only use the SSHv2 protocol.
- V-218599 Medium The SSH daemon must only listen on management network addresses unless authorized for uses other than management.
- V-218600 Medium The operating system must implement DoD-approved encryption to protect the confidentiality of SSH connections.
- V-218601 Medium The SSH daemon must be configured to not use Cipher-Block Chaining (CBC) ciphers.
- V-218602 Medium The SSH daemon must be configured to only use Message Authentication Codes (MACs) employing FIPS 140-2 approved cryptographic hash algorithms.
- V-218603 Medium The SSH client must be configured to only use FIPS 140-2 approved ciphers.
- V-218604 Medium The SSH client must be configured to not use Cipher-Block Chaining (CBC)-based ciphers.
- V-218605 Medium The SSH client must be configured to only use Message Authentication Codes (MACs) employing FIPS 140-2 approved cryptographic hash algorithms.
- V-218606 Medium The SSH daemon must restrict login ability to specific users and/or groups.
- V-218607 Medium The SSH public host key files must have mode 0644 or less permissive.
- V-218608 Medium The SSH private host key files must have mode 0600 or less permissive.
- V-218609 Low The SSH daemon must not permit GSSAPI authentication unless needed.
- V-218610 Low The SSH client must not permit GSSAPI authentication unless needed.
- V-218611 Low The SSH daemon must not permit Kerberos authentication unless needed.
- V-218612 Medium The SSH daemon must not allow host-based authentication.
- V-218613 Medium The SSH daemon must perform strict mode checking of home directory configuration files.
- V-218614 Medium The SSH daemon must use privilege separation.
- V-218615 Medium The SSH daemon must not allow rhosts RSA authentication.
- V-218616 Medium The SSH daemon must not allow compression or must only allow compression after successful authentication.
- V-218617 Medium The SSH daemon must be configured for IP filtering.
- V-218618 Medium The SSH daemon must be configured with the Department of Defense (DoD) logon banner.
- V-218619 Medium The system must be configured with a default gateway for IPv4 if the system uses IPv4, unless the system is a router.
- V-218620 Medium The system must be configured with a default gateway for IPv6 if the system uses IPv6, unless the system is a router.
- V-218621 Medium A system used for routing must not run other network services or applications.
- V-218622 Medium The system must not be running any routing protocol daemons, unless the system is a router.
- V-218623 Medium IP forwarding for IPv4 must not be enabled, unless the system is a router.
- V-218624 Medium The system must not have IP forwarding for IPv6 enabled, unless the system is an IPv6 router.
- V-218625 Medium The Network File System (NFS) export configuration file must be owned by root.
- V-218626 Medium The Network File System (NFS) export configuration file must be group-owned by root, bin, sys, or system.
- V-218627 Low The Network File System (NFS) export configuration file must have mode 0644 or less permissive.
- V-218628 Low The Network File System (NFS) exports configuration file must not have an extended ACL.
- V-218629 Medium All Network File System (NFS) exported system files and system directories must be owned by root.
- V-218630 Medium All Network File System (NFS) exported system files and system directories must be group-owned by root, bin, sys, or system.
- V-218631 Medium The Network File System (NFS) anonymous UID and GID must be configured to values without permissions.
- V-218632 Medium The Network File System (NFS) server must be configured to restrict file system access to local hosts.
- V-218633 Medium The Network File System (NFS) server must not allow remote root access.
- V-218634 Medium The nosuid option must be enabled on all Network File System (NFS) client mounts.
- V-218635 Medium The system must not have a public Instant Messaging (IM) client installed.
- V-218636 Medium The system must not have any peer-to-peer file-sharing application installed.
- V-218637 Medium The system must not run Samba unless needed.
- V-218638 Medium The Samba Web Administration Tool (SWAT) must be restricted to the local host or require SSL.
- V-218639 Medium The /etc/smb.conf file must be owned by root.
- V-218640 Medium The /etc/smb.conf file must be group-owned by root, bin, sys, or system.
- V-218641 Medium The /etc/smb.conf file must have mode 0644 or less permissive.
- V-218642 Medium The /etc/smb.conf file must not have an extended ACL.
- V-218643 Medium The /etc/smbpasswd file must be owned by root.
- V-218644 Medium The smbpasswd file must be group-owned by root.
- V-218645 Medium The smbpasswd file must have mode 0600 or less permissive.
- V-218646 Medium The /etc/smbpasswd file must not have an extended ACL.
- V-218647 Medium The smb.conf file must use the hosts option to restrict access to Samba.
- V-218648 Medium Samba must be configured to use an authentication mechanism other than share.
- V-218649 Medium Samba must be configured to use encrypted passwords.
- V-218650 Medium Samba must be configured to not allow guest access to shares.
- V-218651 Medium The system must not run an Internet Network News (INN) server.
- V-218652 Medium The /etc/news/incoming.conf (or equivalent) must have mode 0600 or less permissive.
- V-218653 Medium The /etc/news/incoming.conf file must not have an extended ACL.
- V-218654 Medium The /etc/news/infeed.conf (or equivalent) must have mode 0600 or less permissive.
- V-218655 Medium The /etc/news/hosts.nntp.nolimit file must not have an extended ACL.
- V-218656 Medium The /etc/news/readers.conf (or equivalent) must have mode 0600 or less permissive.
- V-218657 Medium The /etc/news/nnrp.access file must not have an extended ACL.
- V-218658 Medium The /etc/news/passwd.nntp file (or equivalent) must have mode 0600 or less permissive.
- V-218659 Medium The /etc/news/passwd.nntp file must not have an extended ACL.
- V-218660 Medium Files in /etc/news must be owned by root or news.
- V-218661 Medium The files in /etc/news must be group-owned by root or news.
- V-218662 High The system must not use UDP for NIS/NIS+.
- V-218663 Medium The Network Information System (NIS) protocol must not be used.
- V-218664 Medium NIS maps must be protected through hard-to-guess domain names.
- V-218665 Medium The system must have a host-based intrusion detection tool installed.
- V-218666 Medium The system vulnerability assessment tool, host-based intrusion detection tool, and file integrity tool must notify the SA and the IAO of a security breach or a suspected security breach.
- V-218667 Medium The system package management tool must be used to verify system software periodically.
- V-218668 Low The file integrity tool must be configured to verify ACLs.
- V-218669 Low The file integrity tool must be configured to verify extended attributes.
- V-218670 Low The file integrity tool must use FIPS 140-2 approved cryptographic hashes for validating file contents.
- V-218671 Medium The system must use an access control program.
- V-218672 Medium The systems access control program must log each system access attempt.
- V-218673 Medium The systems access control program must be configured to grant or deny system access to specific hosts.
- V-218674 Medium The Oracle Linux 5 operating system must use a virus scan program.
- V-218675 Low Accounts must be locked upon 35 days of inactivity.
- V-218676 Medium The Stream Control Transmission Protocol (SCTP) must be disabled unless required.
- V-218677 Medium The Datagram Congestion Control Protocol (DCCP) must be disabled unless required.
- V-218678 Medium The AppleTalk protocol must be disabled or not installed.
- V-218679 Medium The Reliable Datagram Sockets (RDS) protocol must be disabled or not installed unless required.
- V-218680 Medium The Transparent Inter-Process Communication (TIPC) protocol must be disabled or uninstalled.
- V-218681 Medium The Bluetooth protocol handler must be disabled or not installed.
- V-218682 Medium The system must not have 6to4 enabled.
- V-218683 Medium The system must not have Teredo enabled.
- V-218684 Medium The system must not have IP tunnels configured.
- V-218685 Medium The DHCP client must be disabled if not needed.
- V-218686 Medium The DHCP client must not send dynamic DNS updates.
- V-218687 Medium The system must ignore IPv6 ICMP redirect messages.
- V-218688 Medium The system must not forward IPv6 source-routed packets.
- V-218689 Medium The system must not respond to ICMPv6 echo requests sent to a broadcast address.
- V-218690 Medium The ldd command must be disabled unless it protects against the execution of untrusted files.
- V-218691 Medium If the system is using LDAP for authentication or account information, the system must use a TLS connection using FIPS 140-2 approved cryptographic algorithms.
- V-218692 Medium If the system is using LDAP for authentication or account information, certificates used to authenticate to the LDAP server must be provided from DoD PKI or a DoD-approved external PKI.
- V-218693 Medium If the system is using LDAP for authentication or account information, the LDAP TLS connection must require the server provide a certificate with a valid trust path to a trusted CA.
- V-218694 Medium If the system is using LDAP for authentication or account information, the system must verify the LDAP servers certificate has not been revoked.
- V-218695 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf file (or equivalent) must not contain passwords.
- V-218696 Medium If the system is using LDAP for authentication or account information the /etc/ldap.conf (or equivalent) file must have mode 0644 or less permissive.
- V-218697 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf (or equivalent) file must be owned by root.
- V-218698 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf (or equivalent) file must be group-owned by root, bin, sys, or system.
- V-218699 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf (or equivalent) file must not have an extended ACL.
- V-218700 Medium If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must be owned by root.
- V-218701 Medium If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must be group-owned by root, bin, sys, or system.
- V-218702 Medium If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must have mode 0644 (0755 for directories) or less permissive.
- V-218703 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate authority file and/or directory (as appropriate) must not have an extended ACL.
- V-218704 Medium For systems using NSS LDAP, the TLS certificate file must be owned by root.
- V-218705 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate file must be group-owned by root, bin, sys, or system.
- V-218706 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate file must have mode 0644 or less permissive.
- V-218707 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate file must not have an extended ACL.
- V-218708 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must be owned by root.
- V-218709 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must be group-owned by root, bin, or sys.
- V-218710 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must have mode 0600 or less permissive.
- V-218711 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must not have an extended ACL.
- V-218712 Low The system must use available memory address randomization techniques.
- V-218713 Low Automated file system mounting tools must not be enabled unless needed.
- V-218714 Low The system must have USB disabled unless needed.
- V-218715 Low The system must have USB Mass Storage disabled unless needed.
- V-218716 Low The system must have IEEE 1394 (Firewire) disabled unless needed.
- V-218717 Medium The system must employ a local firewall.
- V-218718 Medium The systems local firewall must implement a deny-all, allow-by-exception policy.
- V-218719 High The system must be configured to only boot from the system boot device.
- V-218720 Medium System BIOS or system controllers supporting password protection must have administrator accounts/passwords configured, and no others.
- V-218721 High The system must not use removable media as the boot loader.
- V-218722 High For systems capable of using GRUB, the system must be configured with GRUB as the default boot loader unless another boot loader has been authorized, justified, and documented using site-defined procedures.
- V-218723 High If the system boots from removable media, it must be stored in a safe or similarly secured container.
- V-218724 High The system boot loader must require authentication.
- V-218725 Medium The system boot loader must protect passwords using an MD5 or stronger cryptographic hash.
- V-218726 Medium The systems boot loader configuration file(s) must have mode 0600 or less permissive.
- V-218727 Medium The systems boot loader configuration file(s) must not have extended ACLs.
- V-218728 Medium The systems boot loader configuration files must be owned by root.
- V-218729 Medium The systems boot loader configuration file(s) must be group-owned by root, bin, sys, or system.
- V-218730 Low The system package management tool must cryptographically verify the authenticity of software packages during installation.
- V-218731 Low The system package management tool must not automatically obtain updates.
- V-218732 Medium The system, if capable, must be configured to require the use of a CAC, PIV compliant hardware token, or Alternate Logon Token (ALT) for authentication.
- V-230182 Medium Wireless network adapters must be disabled.
Removed rules 571
- V-1010 Medium Public directories must be the only world-writable directories and world-writable files must be located only in public directories.
- V-1011 Low Inetd or xinetd logging/tracing must be enabled.
- V-1013 High The system must be configured to only boot from the system boot device.
- V-1021 Medium The X server must have the correct options enabled.
- V-1022 Medium An X server must have none of the following options enabled: -ac, -core (except for debugging purposes), or -nolock.
- V-1023 Medium The system must not run an Internet Network News (INN) server.
- V-1025 Medium The /etc/security/access.conf file must be owned by root.
- V-1026 Medium The Samba Web Administration Tool (SWAT) must be restricted to the local host or require SSL.
- V-1027 Medium The /etc/smb.conf file must be owned by root.
- V-1028 Medium The /etc/smb.conf file must have mode 0644 or less permissive.
- V-1029 Medium The /etc/smbpasswd file must be owned by root.
- V-1030 Medium The smb.conf file must use the hosts option to restrict access to Samba.
- V-1032 Medium Users must not be able to change passwords more than once every 24 hours.
- V-1046 High Root passwords must never be passed over a network in clear text form.
- V-1047 Medium The system must not permit root logins using remote access programs such as ssh.
- V-1048 Medium Audio devices must have mode 0660 or less permissive.
- V-1049 Medium Audio devices must be owned by root.
- V-1054 Medium The /etc/security/access.conf file must have a privileged group owner.
- V-1055 Medium The /etc/security/access.conf file must have mode 0640 or less permissive.
- V-1056 Medium The /etc/smb.conf file must be group-owned by root, bin, sys, or system.
- V-1058 Medium The smbpasswd file must be group-owned by root.
- V-1059 Medium The smbpasswd file must have mode 0600 or less permissive.
- V-1061 Medium Audio devices must be group-owned by root, sys, bin, or system.
- V-1062 Low The root shell must be located in the / file system.
- V-11940 High The operating system must be a supported release.
- V-11945 Medium A file integrity tool must be used at least weekly to check for unauthorized file changes, particularly the addition of unauthorized system libraries or binaries, or for unauthorized modification to authorized system libraries or binaries.
- V-11946 Medium UIDs reserved for system accounts must not be assigned to non-system accounts.
- V-11947 Medium The system must require passwords contain a minimum of 15 characters.
- V-11948 Medium The system must require passwords contain at least one uppercase alphabetic character.
- V-11972 Medium The system must require passwords contain at least one numeric character.
- V-11973 Medium The system must require passwords contain at least one special character.
- V-11975 Medium The system must require passwords contain no more than three consecutive repeating characters.
- V-11976 Medium User passwords must be changed at least every 60 days.
- V-11977 Medium All non-interactive/automated processing account passwords must be changed at least once per year or be locked.
- V-11979 Medium The root account must not be used for direct log in.
- V-11980 Medium The system must log successful and unsuccessful access to the root account.
- V-11981 Medium All global initialization files must have mode 0644 or less permissive.
- V-11982 Medium All global initialization files must be owned by root.
- V-11983 Medium All global initialization files must be group-owned by root, sys, bin, other, system, or the system default.
- V-11984 Medium All skeleton files and directories (typically in /etc/skel) must be owned by root or bin.
- V-11985 Medium All global initialization files executable search paths must contain only authorized paths.
- V-11986 Medium All local initialization files executable search paths must contain only authorized paths.
- V-11987 Medium The .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files must not contain a plus (+) without defining entries for NIS+ netgroups.
- V-11988 High There must be no .rhosts, .shosts, hosts.equiv, or shosts.equiv files on the system.
- V-11989 Medium The .rhosts file must not be supported in PAM.
- V-11990 Medium All public directories must be group-owned by root, sys, bin, or an application group.
- V-11994 Medium Crontabs must be owned by root or the crontab creator.
- V-11995 Medium Default system accounts (with the exception of root) must not be listed in the cron.allow file or must be included in the cron.deny file, if cron.allow does not exist.
- V-11996 Low Process core dumps must be disabled unless needed.
- V-11997 Low The kernel core dump data directory must be owned by root.
- V-11999 Medium The system must implement non-executable program stacks.
- V-12002 Medium The system must not forward IPv4 source-routed packets.
- V-12003 Low A separate file system must be used for user home directories (such as /home or an equivalent).
- V-12004 Medium The system must log informational authentication data.
- V-12005 Medium Inetd and xinetd must be disabled or removed if no network services utilizing them are enabled.
- V-12006 Medium The SMTP service HELP command must not be enabled.
- V-12010 Medium Unencrypted FTP must not be used on the system.
- V-12011 Medium All FTP users must have a default umask of 077.
- V-12014 Medium All .Xauthority files must have mode 0600 or less permissive.
- V-12016 Medium .Xauthority or X*.hosts (or equivalent) file(s) must be used to restrict access to the X server.
- V-12017 Medium The .Xauthority utility must only permit access to authorized hosts.
- V-12018 Medium X Window System connections not required must be disabled.
- V-12019 Medium The snmpd.conf file must be owned by root.
- V-12020 Medium The system must not be used as a syslog server (loghost) for systems external to the enclave.
- V-12021 Medium The syslog daemon must not accept remote messages unless it is a syslog server documented using site-defined procedures.
- V-12022 Medium The SSH daemon must be configured for IP filtering.
- V-12023 Medium IP forwarding for IPv4 must not be enabled, unless the system is a router.
- V-12024 Medium The system must not have a public Instant Messaging (IM) client installed.
- V-12025 Medium The system must not have any peer-to-peer file-sharing application installed.
- V-12026 Medium NIS maps must be protected through hard-to-guess domain names.
- V-12028 Medium The system vulnerability assessment tool, host-based intrusion detection tool, and file integrity tool must notify the SA and the IAO of a security breach or a suspected security breach.
- V-12030 Medium The systems access control program must be configured to grant or deny system access to specific hosts.
- V-12038 Medium The /etc/securetty file must be group-owned by root, sys, or bin.
- V-12039 Medium The /etc/securetty file must be owned by root.
- V-12040 Medium The /etc/securetty file must have mode 0600 or less permissive.
- V-12049 Medium Network analysis tools must not be installed.
- V-22290 Medium The system clock must be synchronized continuously.
- V-22291 Medium The system must use at least two time sources for clock synchronization.
- V-22292 Low The system must use time sources local to the enclave.
- V-22294 Medium The time synchronization configuration file (such as /etc/ntp.conf) must be owned by root.
- V-22295 Medium The time synchronization configuration file (such as /etc/ntp.conf) must be group-owned by root, bin, or sys.
- V-22296 Medium The time synchronization configuration file (such as /etc/ntp.conf) must have mode 0640 or less permissive.
- V-22297 Medium The time synchronization configuration file (such as /etc/ntp.conf) must not have an extended ACL.
- V-22298 Low The system must limit users to 10 simultaneous system logins, or a site-defined number, in accordance with operational requirements.
- V-22299 Low The system must display the date and time of the last successful account login upon login.
- V-22301 Low The system must display a publicly-viewable pattern during a graphical desktop environment session lock.
- V-22302 Medium The system must enforce compliance of the entire password during authentication.
- V-22303 Medium The system must use a FIPS 140-2 approved cryptographic hashing algorithm for generating account password hashes.
- V-22304 Medium The password hashes stored on the system must have been generated using a FIPS 140-2 approved cryptographic hashing algorithm.
- V-22305 Medium The system must require passwords contain at least one lowercase alphabetic character.
- V-22306 Medium The system must require at least eight characters be changed between the old and new passwords during a password change.
- V-22307 Medium The system must prevent the use of dictionary words for passwords.
- V-22308 Low The system must restrict the ability to switch to the root user to members of a defined group.
- V-22309 Medium The root accounts home directory must not have an extended ACL.
- V-22310 Medium The root accounts library search path must be the system default and must contain only absolute paths.
- V-22311 Medium The root accounts list of preloaded libraries must be empty.
- V-22312 Medium All files and directories must have a valid group-owner.
- V-22313 Medium All network services daemon files must not have extended ACLs.
- V-22314 Medium All system command files must not have extended ACLs.
- V-22315 Medium System log files must not have extended ACLs, except as needed to support authorized software.
- V-22316 Low All manual page files must not have extended ACLs.
- V-22317 Medium All library files must not have extended ACLs.
- V-22318 Medium NIS/NIS+/yp command files must not have extended ACLs.
- V-22319 Medium The /etc/resolv.conf file must be owned by root.
- V-22320 Medium The /etc/resolv.conf file must be group-owned by root, bin, or sys.
- V-22321 Medium The /etc/resolv.conf file must have mode 0644 or less permissive.
- V-22322 Medium The /etc/resolv.conf file must not have an extended ACL.
- V-22323 Medium The /etc/hosts file must be owned by root.
- V-22324 Medium The /etc/hosts file must be group-owned by root, bin, or sys.
- V-22325 Medium The /etc/hosts file must have mode 0644 or less permissive.
- V-22326 Medium The /etc/hosts file must not have an extended ACL.
- V-22327 Medium The /etc/nsswitch.conf file must be owned by root.
- V-22328 Medium The /etc/nsswitch.conf file must be group-owned by root, bin, or sys.
- V-22329 Medium The /etc/nsswitch.conf file must have mode 0644 or less permissive.
- V-22330 Medium The /etc/nsswitch.conf file must not have an extended ACL.
- V-22331 Low For systems using DNS resolution, at least two name servers must be configured.
- V-22332 Medium The /etc/passwd file must be owned by root.
- V-22333 Medium The /etc/passwd file must be group-owned by root, bin, or sys.
- V-22334 Medium The /etc/passwd file must not have an extended ACL.
- V-22335 Medium The /etc/group file must be owned by root.
- V-22336 Medium The /etc/group file must be group-owned by root, bin, or sys.
- V-22337 Medium The /etc/group file must have mode 0644 or less permissive.
- V-22338 Medium The /etc/group file must not have an extended ACL.
- V-22339 Medium The /etc/shadow file (or equivalent) must be group-owned by root, bin, or sys.
- V-22340 Medium The /etc/shadow file must not have an extended ACL.
- V-22341 Medium The /etc/gshadow file must be owned by root.
- V-22342 Medium The /etc/gshadow file must be group-owned by root.
- V-22343 Medium The /etc/gshadow file must have mode 0400.
- V-22344 Medium The /etc/gshadow file must not have an extended ACL.
- V-22347 Medium The /etc/passwd file must not contain password hashes.
- V-22348 Medium The /etc/group file must not contain any group password hashes.
- V-22349 Medium The /etc/gshadow file must not contain any group password hashes.
- V-22350 Low User home directories must not have extended ACLs.
- V-22351 Medium All files and directories contained in user home directories must be group-owned by a group of which the home directorys owner is a member.
- V-22352 Medium All files and directories contained in user home directories must not have extended ACLs.
- V-22353 Medium All run control scripts must have no extended ACLs.
- V-22354 Medium Run control scripts library search paths must contain only authorized paths.
- V-22355 Medium Run control scripts lists of preloaded libraries must contain only authorized paths.
- V-22356 Medium All global initialization files must not have extended ACLs.
- V-22357 Medium Skeleton files must not have extended ACLs.
- V-22358 Medium All skeleton files (typically in /etc/skel) must be group-owned by root, bin, sys, system, or other.
- V-22359 Medium Global initialization files library search paths must contain only authorized paths.
- V-22360 Medium Global initialization files lists of preloaded libraries must contain only authorized paths.
- V-22361 Medium Local initialization files must be group-owned by the users primary group or root.
- V-22362 Medium Local initialization files must not have extended ACLs.
- V-22363 Medium Local initialization files library search paths must contain only authorized paths.
- V-22364 Medium Local initialization files lists of preloaded libraries must contain only authorized paths.
- V-22365 Medium All shell files must be group-owned by root, bin, sys, or system.
- V-22366 Medium All shell files must not have extended ACLs.
- V-22367 Medium Audio devices must not have extended ACLs.
- V-22368 Medium Removable media, remote file systems, and any file system not containing approved device files must be mounted with the nodev option.
- V-22369 Medium All system audit files must not have extended ACLs.
- V-22370 Low System audit tool executables must be owned by root.
- V-22371 Low System audit tool executables must be group-owned by root, bin, sys, or system.
- V-22372 Low System audit tool executables must have mode 0750 or less permissive.
- V-22373 Low System audit tool executables must not have extended ACLs.
- V-22374 Low The audit system must alert the SA in the event of an audit processing failure.
- V-22375 Medium The audit system must alert the SA when the audit storage volume approaches its capacity.
- V-22376 Low The audit system must be configured to audit account creation.
- V-22377 Low The audit system must be configured to audit account modification.
- V-22378 Low The audit system must be configured to audit account disabling.
- V-22382 Low The audit system must be configured to audit account termination.
- V-22383 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules.
- V-22384 Medium The cron.allow file must not have an extended ACL.
- V-22385 Medium Crontab files must be group-owned by root, cron, or the crontab creators primary group.
- V-22386 Medium Crontab files must not have extended ACLs.
- V-22387 Medium Cron and crontab directories must not have extended ACLs.
- V-22388 Medium The cron log files must not have extended ACLs.
- V-22389 Medium The cron.deny file must not have an extended ACL.
- V-22390 Medium The at.allow file must not have an extended ACL.
- V-22391 Medium The cron.allow file must be group-owned by root, bin, sys, or cron.
- V-22392 Medium The at.deny file must have mode 0600 or less permissive.
- V-22393 Medium The at.deny file must not have an extended ACL.
- V-22394 Medium The cron.deny file must be group-owned by root, bin, or sys.
- V-22395 Medium The at directory must not have an extended ACL.
- V-22396 Medium The at directory must be group-owned by root, bin, sys, or cron.
- V-22397 Medium The at.allow file must be group-owned by root, bin, sys, or cron.
- V-22398 Medium The at.deny file must be group-owned by root, bin, sys, or cron.
- V-22404 Medium Kernel core dumps must be disabled unless needed.
- V-22405 Low The kernel core dump data directory must be group-owned by root, bin, sys, or system.
- V-22406 Low The kernel core dump data directory must have mode 0700 or less permissive.
- V-22407 Low The kernel core dump data directory must not have an extended ACL.
- V-22408 Medium Network interfaces must not be configured to allow user control.
- V-22409 Low The system must not process Internet Control Message Protocol (ICMP) timestamp requests.
- V-22410 Medium The system must not respond to Internet Control Message Protocol v4 (ICMPv4) echoes sent to a broadcast address.
- V-22411 Medium The system must not respond to Internet Control Message Protocol (ICMP) timestamp requests sent to a broadcast address.
- V-22414 Medium The system must not accept source-routed IPv4 packets.
- V-22415 Medium Proxy Address Resolution Protocol (Proxy ARP) must not be enabled on the system.
- V-22416 Medium The system must ignore IPv4 Internet Control Message Protocol (ICMP) redirect messages.
- V-22417 Medium The system must not send IPv4 Internet Control Message Protocol (ICMP) redirects.
- V-22418 Low The system must log martian packets.
- V-22419 Medium The system must be configured to use TCP syncookies when experiencing a TCP SYN flood.
- V-22421 Medium The system must not be configured for network bridging.
- V-22422 Low All local file systems must employ journaling or another mechanism ensuring file system consistency.
- V-22423 Medium The inetd.conf file, xinetd.conf file, and the xinetd.d directory must be group-owned by root, bin, sys, or system.
- V-22424 Medium The inetd.conf and xinetd.conf files must not have extended ACLs.
- V-22425 Medium The xinetd.d directory must have mode 0755 or less permissive.
- V-22426 Medium The xinetd.d directory must not have an extended ACL.
- V-22427 Medium The services file must be group-owned by root or bin.
- V-22428 Medium The services file must not have an extended ACL.
- V-22429 Medium The portmap or rpcbind service must not be running unless needed.
- V-22430 Medium The portmap or rpcbind service must not be installed unless needed.
- V-22431 Medium The rshd service must not be installed.
- V-22432 Medium The rlogind service must not be running.
- V-22433 Medium The rlogind service must not be installed.
- V-22434 Medium The rexecd service must not be installed.
- V-22435 Medium The hosts.lpd (or equivalent) file must be group-owned by lp.
- V-22436 Medium The hosts.lpd (or equivalent) file must not have an extended ACL.
- V-22437 Medium The traceroute file must not have an extended ACL.
- V-22438 Medium The aliases file must be group-owned by root, sys, bin, or system.
- V-22439 Medium The alias file must not have an extended ACL.
- V-22440 Medium Files executed through a mail aliases file must be group-owned by root, bin, sys, or system, and must reside within a directory group-owned by root, bin, sys, or system.
- V-22441 Medium Files executed through a mail aliases file must not have extended ACLs.
- V-22442 Medium The SMTP service log file must not have an extended ACL.
- V-22444 Medium The ftpusers file must be group-owned by root, bin, sys, or system.
- V-22445 Medium The ftpusers file must not have an extended ACL.
- V-22446 Medium The .Xauthority files must not have extended ACLs.
- V-22447 Medium The SNMP service must use only SNMPv3 or its successors.
- V-22448 Medium The SNMP service must require the use of a FIPS 140-2 approved cryptographic hash algorithm as part of its authentication and integrity methods.
- V-22449 Medium The SNMP service must require the use of a FIPS 140-2 approved encryption algorithm for protecting the privacy of SNMP messages.
- V-22450 Medium Management Information Base (MIB) files must not have extended ACLs.
- V-22451 Medium The snmpd.conf file must be group-owned by root, bin, sys, or system.
- V-22452 Medium The snmpd.conf file must not have an extended ACL.
- V-22453 Medium The /etc/syslog.conf file must have mode 0640 or less permissive.
- V-22454 Medium The /etc/syslog.conf file must not have an extended ACL.
- V-22455 Medium The system must use a remote syslog server (loghost).
- V-22456 Medium The SSH client must be configured to only use the SSHv2 protocol.
- V-22457 Medium The SSH daemon must only listen on management network addresses unless authorized for uses other than management.
- V-22458 Medium The SSH daemon must be configured to only use FIPS 140-2 approved ciphers.
- V-22459 Medium The SSH daemon must be configured to not use Cipher-Block Chaining (CBC) ciphers.
- V-22460 Medium The SSH daemon must be configured to only use Message Authentication Codes (MACs) employing FIPS 140-2 approved cryptographic hash algorithms.
- V-22461 Medium The SSH client must be configured to only use FIPS 140-2 approved ciphers.
- V-22462 Medium The SSH client must be configured to not use Cipher-Block Chaining (CBC)-based ciphers.
- V-22463 Medium The SSH client must be configured to only use Message Authentication Codes (MACs) employing FIPS 140-2 approved cryptographic hash algorithms.
- V-22470 Medium The SSH daemon must restrict login ability to specific users and/or groups.
- V-22471 Medium The SSH public host key files must have mode 0644 or less permissive.
- V-22472 Medium The SSH private host key files must have mode 0600 or less permissive.
- V-22473 Low The SSH daemon must not permit GSSAPI authentication unless needed.
- V-22474 Low The SSH client must not permit GSSAPI authentication unless needed.
- V-22475 Low The SSH daemon must not permit Kerberos authentication unless needed.
- V-22485 Medium The SSH daemon must perform strict mode checking of home directory configuration files.
- V-22486 Medium The SSH daemon must use privilege separation.
- V-22487 Medium The SSH daemon must not allow rhosts RSA authentication.
- V-22488 Medium The SSH daemon must not allow compression or must only allow compression after successful authentication.
- V-22489 Medium The SSH daemon must be configured with the Department of Defense (DoD) logon banner.
- V-22490 Medium The system must be configured with a default gateway for IPv6 if the system uses IPv6, unless the system is a router.
- V-22491 Medium The system must not have IP forwarding for IPv6 enabled, unless the system is an IPv6 router.
- V-22492 Medium The Network File System (NFS) export configuration file must be group-owned by root, bin, sys, or system.
- V-22493 Low The Network File System (NFS) exports configuration file must not have an extended ACL.
- V-22496 Medium All Network File System (NFS) exported system files and system directories must be group-owned by root, bin, sys, or system.
- V-22497 Medium The /etc/smb.conf file must not have an extended ACL.
- V-22498 Medium The /etc/smbpasswd file must not have an extended ACL.
- V-22499 Medium Samba must be configured to use an authentication mechanism other than share.
- V-22500 Medium Samba must be configured to use encrypted passwords.
- V-22501 Medium Samba must be configured to not allow guest access to shares.
- V-22502 Medium The /etc/news/incoming.conf file must not have an extended ACL.
- V-22503 Medium The /etc/news/hosts.nntp.nolimit file must not have an extended ACL.
- V-22504 Medium The /etc/news/nnrp.access file must not have an extended ACL.
- V-22505 Medium The /etc/news/passwd.nntp file must not have an extended ACL.
- V-22506 Medium The system package management tool must be used to verify system software periodically.
- V-22507 Low The file integrity tool must be configured to verify ACLs.
- V-22508 Low The file integrity tool must be configured to verify extended attributes.
- V-22509 Low The file integrity tool must use FIPS 140-2 approved cryptographic hashes for validating file contents.
- V-22511 Medium The Stream Control Transmission Protocol (SCTP) must be disabled unless required.
- V-22514 Medium The Datagram Congestion Control Protocol (DCCP) must be disabled unless required.
- V-22524 Medium The AppleTalk protocol must be disabled or not installed.
- V-22530 Medium The Reliable Datagram Sockets (RDS) protocol must be disabled or not installed unless required.
- V-22533 Medium The Transparent Inter-Process Communication (TIPC) protocol must be disabled or uninstalled.
- V-22539 Medium The Bluetooth protocol handler must be disabled or not installed.
- V-22545 Medium The system must not have 6to4 enabled.
- V-22546 Medium The system must not have Teredo enabled.
- V-22547 Medium The system must not have IP tunnels configured.
- V-22548 Medium The DHCP client must be disabled if not needed.
- V-22549 Medium The DHCP client must not send dynamic DNS updates.
- V-22550 Medium The system must ignore IPv6 ICMP redirect messages.
- V-22553 Medium The system must not forward IPv6 source-routed packets.
- V-22555 Medium If the system is using LDAP for authentication or account information, the system must use a TLS connection using FIPS 140-2 approved cryptographic algorithms.
- V-22556 Medium If the system is using LDAP for authentication or account information, certificates used to authenticate to the LDAP server must be provided from DoD PKI or a DoD-approved external PKI.
- V-22557 Medium If the system is using LDAP for authentication or account information, the LDAP TLS connection must require the server provide a certificate with a valid trust path to a trusted CA.
- V-22558 Medium If the system is using LDAP for authentication or account information, the system must verify the LDAP servers certificate has not been revoked.
- V-22559 Medium If the system is using LDAP for authentication or account information the /etc/ldap.conf (or equivalent) file must have mode 0644 or less permissive.
- V-22560 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf (or equivalent) file must be owned by root.
- V-22561 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf (or equivalent) file must be group-owned by root, bin, sys, or system.
- V-22562 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf (or equivalent) file must not have an extended ACL.
- V-22563 Medium If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must be owned by root.
- V-22564 Medium If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must be group-owned by root, bin, sys, or system.
- V-22565 Medium If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must have mode 0644 (0755 for directories) or less permissive.
- V-22566 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate authority file and/or directory (as appropriate) must not have an extended ACL.
- V-22567 Medium For systems using NSS LDAP, the TLS certificate file must be owned by root.
- V-22568 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate file must be group-owned by root, bin, sys, or system.
- V-22569 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate file must have mode 0644 or less permissive.
- V-22570 Medium If the system is using LDAP for authentication or account information, the LDAP TLS certificate file must not have an extended ACL.
- V-22571 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must be owned by root.
- V-22572 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must be group-owned by root, bin, or sys.
- V-22573 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must have mode 0600 or less permissive.
- V-22574 Medium If the system is using LDAP for authentication or account information, the LDAP TLS key file must not have an extended ACL.
- V-22576 Low The system must use available memory address randomization techniques.
- V-22577 Low Automated file system mounting tools must not be enabled unless needed.
- V-22578 Low The system must have USB disabled unless needed.
- V-22579 Low The system must have USB Mass Storage disabled unless needed.
- V-22580 Low The system must have IEEE 1394 (Firewire) disabled unless needed.
- V-22582 Medium The system must employ a local firewall.
- V-22583 Medium The systems local firewall must implement a deny-all, allow-by-exception policy.
- V-22584 Low The system must use a Linux Security Module configured to limit the privileges of system services.
- V-22585 Medium The systems boot loader configuration file(s) must not have extended ACLs.
- V-22586 Medium The systems boot loader configuration files must be owned by root.
- V-22587 Medium The systems boot loader configuration file(s) must be group-owned by root, bin, sys, or system.
- V-22588 Low The system package management tool must cryptographically verify the authenticity of software packages during installation.
- V-22589 Low The system package management tool must not automatically obtain updates.
- V-22595 Medium The access.conf file must not have an extended ACL.
- V-22596 Medium The /etc/sysctl.conf file must not have an extended ACL.
- V-22598 Low Auditing must be enabled at boot by setting a kernel parameter.
- V-22665 Medium The system must not be running any routing protocol daemons, unless the system is a router.
- V-22702 Medium System audit logs must be group-owned by root, bin, sys, or system.
- V-23732 Medium The FTPS/FTP service on the system must be configured with the Department of Defense (DoD) login banner.
- V-23736 Low The system must use a separate file system for /var.
- V-23738 Low The system must use a separate file system for the system audit data path.
- V-23739 Low The system must use a separate file system for /tmp (or equivalent).
- V-23741 Medium TCP backlog queue sizes must be set appropriately.
- V-23952 Medium Mail relaying must be restricted.
- V-23953 Medium The ldd command must be disabled unless it protects against the execution of untrusted files.
- V-23972 Medium The system must not respond to ICMPv6 echo requests sent to a broadcast address.
- V-24331 Medium The Department of Defense (DoD) login banner must be displayed immediately prior to, or as part of, graphical desktop environment login prompts.
- V-24347 Medium The system, if capable, must be configured to require the use of a CAC, PIV compliant hardware token, or Alternate Logon Token (ALT) for authentication.
- V-24357 Low The system must be configured to send audit/system records to a remote audit server.
- V-24384 Medium If the system is using LDAP for authentication or account information, the /etc/ldap.conf file (or equivalent) must not contain passwords.
- V-24386 High The telnet daemon must not be running.
- V-24624 Medium The system boot loader must protect passwords using an MD5 or stronger cryptographic hash.
- V-27250 Medium A file integrity baseline including cryptographic hashes must be created.
- V-27251 Medium A file integrity baseline including cryptographic hashes must be maintained.
- V-27275 Medium The system must not have the unnecessary news account.
- V-27276 Medium The system must not have the unnecessary gopher account.
- V-27279 Medium The system must not have the unnecessary ftp account.
- V-27283 Medium The graphical desktop environment must set the idle timeout to no more than 15 minutes.
- V-27284 Medium Graphical desktop environments provided by the system must have automatic lock enabled.
- V-27285 Medium Global settings defined in system-auth must be applied in the pam.d definition files.
- V-29236 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-29237 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-29238 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-29239 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-29240 Medium The audit system must be configured to audit file deletions.
- V-29241 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29242 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29243 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29244 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29245 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29246 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29247 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29248 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29249 Medium The audit system must be configured to audit all administrative, privileged, and security actions.
- V-29250 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29251 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29252 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29253 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29255 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29257 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29259 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29261 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29272 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29274 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29275 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29279 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-29281 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules - delete_module.
- V-29284 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules - /sbin/insmod.
- V-29286 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules -/sbin/modprobe.
- V-29288 Medium The audit system must be configured to audit the loading and unloading of dynamic kernel modules - /sbin/rmmod
- V-29289 Medium Files in cron script directories must have mode 0700 or less permissive.
- V-29376 Medium The system must not have the unnecessary games account.
- V-38692 Low Accounts must be locked upon 35 days of inactivity.
- V-4083 Medium Graphical desktop environments provided by the system must automatically lock after 15 minutes of inactivity and the system must require users to re-authenticate to unlock the environment. Applications requiring continuous, real-time screen display (i.e., network management products) require the following and need to be documented with the IAO. -The logon session does not have administrator rights. -The display station (i.e., keyboard, monitor, etc.) is located in a controlled access area.
- V-4084 Medium The system must prohibit the reuse of passwords within five iterations.
- V-4087 Medium User start-up files must not execute world-writable programs.
- V-4089 Medium All system start-up files must be owned by root.
- V-4090 Medium All system start-up files must be group-owned by root, sys, bin, other, or system.
- V-4091 Medium System start-up files must only execute programs owned by a privileged UID or an application.
- V-4246 Medium System BIOS or system controllers supporting password protection must have administrator accounts/passwords configured, and no others.
- V-4247 High The system must not use removable media as the boot loader.
- V-4248 High For systems capable of using GRUB, the system must be configured with GRUB as the default boot loader unless another boot loader has been authorized, justified, and documented using site-defined procedures.
- V-4249 High The system boot loader must require authentication.
- V-4250 Medium The systems boot loader configuration file(s) must have mode 0600 or less permissive.
- V-4255 High If the system boots from removable media, it must be stored in a safe or similarly secured container.
- V-4268 High The system must not have special privilege accounts, such as shutdown and halt.
- V-4269 Medium The system must not have unnecessary accounts.
- V-4273 Medium The /etc/news/incoming.conf (or equivalent) must have mode 0600 or less permissive.
- V-4274 Medium The /etc/news/infeed.conf (or equivalent) must have mode 0600 or less permissive.
- V-4275 Medium The /etc/news/readers.conf (or equivalent) must have mode 0600 or less permissive.
- V-4276 Medium The /etc/news/passwd.nntp file (or equivalent) must have mode 0600 or less permissive.
- V-4277 Medium Files in /etc/news must be owned by root or news.
- V-4278 Medium The files in /etc/news must be group-owned by root or news.
- V-4295 High The SSH daemon must be configured to only use the SSHv2 protocol.
- V-4298 Medium Remote consoles must be disabled or protected from unauthorized access.
- V-4301 Medium The system clock must be synchronized to an authoritative DoD time source.
- V-4304 Medium The root file system must employ journaling or another mechanism ensuring file system consistency.
- V-4321 Medium The system must not run Samba unless needed.
- V-4334 Medium The /etc/sysctl.conf file must be owned by root.
- V-4335 Medium The /etc/sysctl.conf file must be group-owned by root.
- V-4336 Medium The /etc/sysctl.conf file must have mode 0600 or less permissive.
- V-4339 High The Linux NFS Server must not have the insecure file locking option.
- V-4342 High The x86 CTRL-ALT-DELETE key sequence must be disabled.
- V-4346 Medium The Linux PAM system must not grant sole access to admin privileges to the first user who logs into the console.
- V-4357 Medium Audit logs must be rotated daily.
- V-4358 Medium The cron.deny file must have mode 0600 or less permissive.
- V-4360 Low Cron programs must not set the umask to a value less restrictive than 077.
- V-4361 Medium The cron.allow file must be owned by root, bin, or sys.
- V-4364 Medium The at directory must have mode 0755 or less permissive.
- V-4365 Medium The at directory must be owned by root, bin, sys, daemon, or cron.
- V-4366 Medium At jobs must not set the umask to a value less restrictive than 077.
- V-4367 Medium The at.allow file must be owned by root, bin, or sys.
- V-4368 Medium The at.deny file must be owned by root, bin, or sys.
- V-4369 Medium The traceroute command owner must be root.
- V-4370 Medium The traceroute command must be group-owned by sys, bin, root, or system.
- V-4371 Medium The traceroute file must have mode 0700 or less permissive.
- V-4382 High Administrative accounts must not run a web browser, except as needed for local service administration.
- V-4384 Low The SMTP services SMTP greeting must not provide version information.
- V-4385 Medium The system must not use .forward files.
- V-4387 High Anonymous FTP accounts must not have a functional shell.
- V-4392 Medium If the system is a Network Management System (NMS) server, it must only run the NMS and any software required by the NMS.
- V-4393 Medium The /etc/syslog.conf file must be owned by root.
- V-4394 Medium The /etc/syslog.conf file must be group-owned by root, bin, sys, or system.
- V-4395 Medium The system must only use remote syslog servers (log hosts) that is justified and documented using site-defined procedures.
- V-4397 Medium The system must be configured with a default gateway for IPv4 if the system uses IPv4, unless the system is a router.
- V-4398 Medium A system used for routing must not run other network services or applications.
- V-4399 High The system must not use UDP for NIS/NIS+.
- V-4427 Medium All .rhosts, .shosts, or host.equiv files must only contain trusted host-user pairs.
- V-4428 Medium All .rhosts, .shosts, .netrc, or hosts.equiv files must be accessible by only root or the owner.
- V-4430 Medium The cron.deny file must be owned by root, bin, or sys.
- V-4687 High The rsh daemon must not be running.
- V-4688 High The rexec daemon must not be running.
- V-4689 High The SMTP service must be an up-to-date version.
- V-4690 High The sendmail server must have the debug feature disabled.
- V-4691 High The SMTP service must not have a uudecode alias active.
- V-4692 Low The SMTP service must not have the EXPN feature active.
- V-4693 Low The SMTP service must not have the Verify (VRFY) feature active.
- V-4694 Low The sendmail service must not have the wizard backdoor active.
- V-4695 High Any active TFTP daemon must be authorized and approved in the system accreditation package.
- V-4696 Medium The system must not have the UUCP service active.
- V-4697 High X displays must not be exported to the world.
- V-4701 Low The system must not have the finger service active.
- V-4702 Medium If the system is an anonymous FTP server, it must be isolated to the DMZ network.
- V-58537 Medium The SSH daemon must not allow host-based authentication.
- V-58539 Medium The sudo command must require authentication.
- V-72771 Medium Wireless network adapters must be disabled.
- V-756 Medium The system must require authentication upon booting into single-user and maintenance modes.
- V-760 Medium Direct logins must not be permitted to shared, default, application, or utility accounts.
- V-761 Medium All accounts on the system must have unique user or account names.
- V-762 Medium All accounts must be assigned unique User Identification Numbers (UIDs).
- V-763 Medium The Department of Defense (DoD) login banner must be displayed immediately prior to, or as part of, console login prompts.
- V-765 Medium Successful and unsuccessful logins and logouts must be logged.
- V-766 Medium The system must disable accounts after three consecutive unsuccessful login attempts.
- V-768 Medium The delay between login prompts following a failed login attempt must be at least 4 seconds.
- V-769 Medium The root user must not own the logon session for an application requiring a continuous display.
- V-770 High The system must not have accounts configured with blank or null passwords.
- V-773 Medium The root account must be the only account having a UID of 0.
- V-774 Low The root users home directory must not be the root directory (/).
- V-775 Medium The root accounts home directory (other than /) must have mode 0700 or less permissive.
- V-776 Medium The root accounts executable search path must be the must contain only authorized paths.
- V-777 Medium The root account must not have world-writable directories in its executable search path.
- V-778 Medium The system must prevent the root account from directly logging in except from the system console.
- V-780 Medium GIDs reserved for system accounts must not be assigned to non-system groups.
- V-781 Low All GIDs referenced in the /etc/passwd file must be defined in the /etc/group file.
- V-782 Medium The system must have a host-based intrusion detection tool installed.
- V-783 Medium System security patches and updates must be installed and up-to-date.
- V-784 Medium System files and directories must not have uneven access permissions.
- V-785 Medium All files and directories must have a valid owner.
- V-786 Medium All network services daemon files must have mode 0755 or less permissive.
- V-787 Medium System log files must have mode 0640 or less permissive.
- V-788 Medium All skeleton files (typically those in /etc/skel) must have mode 0644 or less permissive.
- V-789 Medium NIS/NIS+/yp files must be owned by root, sys, or bin.
- V-790 Medium NIS/NIS+/yp files must be group-owned by root, sys, or bin.
- V-791 Medium The NIS/NIS+/yp command files must have mode 0755 or less permissive.
- V-792 Low Manual page files must have mode 0644 or less permissive.
- V-793 Medium Library files must have mode 0755 or less permissive.
- V-794 Medium All system command files must have mode 0755 or less permissive.
- V-795 Medium All system files, programs, and directories must be owned by a system account.
- V-796 Medium System files, programs, and directories must be group-owned by a system group.
- V-797 Medium The /etc/shadow (or equivalent) file must be owned by root.
- V-798 Medium The /etc/passwd file must have mode 0644 or less permissive.
- V-800 Medium The /etc/shadow (or equivalent) file must have mode 0400.
- V-801 Medium The owner, group-owner, mode, ACL, and location of files with the setuid bit set must be documented using site-defined procedures.
- V-802 Medium The owner, group-owner, mode, ACL and location of files with the setgid bit set must be documented using site-defined procedures.
- V-803 Medium The system must be checked weekly for unauthorized setuid files as well as unauthorized modification to authorized setuid files.
- V-804 Medium The system must be checked weekly for unauthorized setgid files as well as unauthorized modification to authorized setgid files.
- V-805 Medium Removable media, remote file systems, and any file system not containing approved setuid files must be mounted with the nosuid option.
- V-806 Low The sticky bit must be set on all public directories.
- V-807 Medium All public directories must be owned by root or an application account.
- V-808 Medium The system and user default umask must be 077.
- V-810 Medium Default system accounts must be disabled or removed.
- V-811 Medium Auditing must be implemented.
- V-812 Medium System audit logs must be owned by root.
- V-813 Medium System audit logs must have mode 0640 or less permissive.
- V-814 Medium The audit system must be configured to audit failed attempts to access files and programs.
- V-81455 Medium The Oracle Linux 5 operating system must use a virus scan program.
- V-815 Medium The audit system must be configured to audit files and programs deleted by the user.
- V-818 Medium The audit system must be configured to audit login, logout, and session initiation.
- V-819 Medium The audit system must be configured to audit all discretionary access control permission modifications.
- V-821 Medium The inetd.conf file, xinetd.conf file, and the xinetd.d directory must be owned by root or bin.
- V-822 Medium The xinetd configuration files must have mode 0640 or less permissive.
- V-823 Medium The services file must be owned by root or bin.
- V-824 Medium The services file must have mode 0644 or less permissive.
- V-825 Low Global initialization files must contain the mesg -n or mesg n commands.
- V-827 Medium The hosts.lpd file (or equivalent) must not contain a + character.
- V-828 Medium The hosts.lpd (or equivalent) file must be owned by root, bin, sys, or lp.
- V-829 Medium The hosts.lpd (or equivalent) must have mode 0644 or less permissive.
- V-831 Medium The alias file must be owned by root.
- V-832 Medium The alias file must have mode 0644 or less permissive.
- V-833 High Files executed through a mail aliases file must be owned by root and must reside within a directory owned and writable only by root.
- V-834 Medium Files executed through a mail aliases file must have mode 0755 or less permissive.
- V-835 Low Sendmail logging must not be set to less than nine in the sendmail.cf file.
- V-836 Medium The system syslog service must log informational and more severe SMTP service messages.
- V-837 Medium The SMTP service log file must be owned by root.
- V-838 Medium The SMTP service log file must have mode 0644 or less permissive.
- V-840 Medium The ftpusers file must exist.
- V-841 Medium The ftpusers file must contain account names not allowed to use FTP.
- V-842 Medium The ftpusers file must be owned by root.
- V-843 Medium The ftpusers file must have mode 0640 or less permissive.
- V-845 Low The FTP daemon must be configured for logging or verbose mode.
- V-846 Medium Anonymous FTP must not be active on the system unless authorized.
- V-847 High The TFTP daemon must operate in secure mode which provides access only to a single directory on the host file system.
- V-848 High The TFTP daemon must have mode 0755 or less permissive.
- V-849 Medium The TFTP daemon must be configured to vendor specifications, including a dedicated TFTP user account, a non-login shell such as /bin/false, and a home directory owned by the TFTP user.
- V-850 Medium Any X Windows host must write .Xauthority files.
- V-867 Medium The Network Information System (NIS) protocol must not be used.
- V-899 Low All interactive users must be assigned a home directory in the /etc/passwd file.
- V-900 Low All interactive user home directories defined in the /etc/passwd file must exist.
- V-901 Medium All user home directories must have mode 0750 or less permissive.
- V-902 Medium All interactive user home directories must be owned by their respective users.
- V-903 Medium All interactive user home directories must be group-owned by the home directory owners primary group.
- V-904 Medium All local initialization files must be owned by the home directorys user or root.
- V-905 Medium All local initialization files must have mode 0740 or less permissive.
- V-906 Medium All run control scripts must have mode 0755 or less permissive.
- V-907 Medium Run control scripts executable search paths must contain only authorized paths.
- V-910 High Run control scripts must not execute world-writable programs or scripts.
- V-913 Medium There must be no .netrc files on the system.
- V-914 Low All files and directories contained in interactive user home directories must be owned by the home directorys owner.
- V-915 Low All files and directories contained in user home directories must have mode 0750 or less permissive.
- V-916 Medium The /etc/shells (or equivalent) file must exist.
- V-917 Medium All shells referenced in /etc/passwd must be listed in the /etc/shells file, except any shells specified for the purpose of preventing logins.
- V-918 Medium Accounts must be locked upon 35 days of inactivity.
- V-921 Medium All shell files must be owned by root or bin.
- V-922 High All shell files must have mode 0755 or less permissive.
- V-923 Low The system must be checked for extraneous device files at least weekly.
- V-924 Medium Device files and directories must only be writable by users with a system account or as configured by the vendor.
- V-925 Medium Device files used for backup must only be readable and/or writable by root or the backup user.
- V-928 Medium The Network File System (NFS) export configuration file must be owned by root.
- V-929 Low The Network File System (NFS) export configuration file must have mode 0644 or less permissive.
- V-931 Medium All Network File System (NFS) exported system files and system directories must be owned by root.
- V-932 Medium The Network File System (NFS) anonymous UID and GID must be configured to values without permissions.
- V-933 Medium The Network File System (NFS) server must be configured to restrict file system access to local hosts.
- V-935 Medium The Network File System (NFS) server must not allow remote root access.
- V-936 Medium The nosuid option must be enabled on all Network File System (NFS) client mounts.
- V-940 Medium The system must use an access control program.
- V-941 Medium The systems access control program must log each system access attempt.
- V-974 Medium Access to the cron utility must be controlled using the cron.allow and/or cron.deny file(s).
- V-975 Medium The cron.allow file must have mode 0600 or less permissive.
- V-976 Medium Cron must not execute group-writable or world-writable programs.
- V-977 Medium Cron must not execute programs in, or subordinate to, world-writable directories.
- V-978 Medium Crontab files must have mode 0600 or less permissive, and files in cron script directories must have mode 0700 or less permissive.
- V-979 Medium Cron and crontab directories must have mode 0755 or less permissive.
- V-980 Medium Cron and crontab directories must be owned by root or bin.
- V-981 Medium Cron and crontab directories must be group-owned by root, sys, bin or cron.
- V-982 Medium Cron logging must be implemented.
- V-983 Medium The cronlog file must have mode 0600 or less permissive.
- V-984 Medium Access to the at utility must be controlled via the at.allow and/or at.deny file(s).
- V-985 Medium The at.deny file must not be empty if it exists.
- V-986 Medium Default system accounts (with the exception of root) must not be listed in the at.allow file or must be included in the at.deny file if the at.allow file does not exist.
- V-987 Medium The at.allow file must have mode 0600 or less permissive.
- V-988 Medium The at daemon must not execute group-writable or world-writable programs.
- V-989 Medium The at daemon must not execute programs in, or subordinate to, world-writable directories.
- V-993 High SNMP communities, users, and passphrases must be changed from the default.
- V-994 Medium The snmpd.conf file must have mode 0600 or less permissive.
- V-995 Medium Management Information Base (MIB) files must have mode 0640 or less permissive.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX001431
- Vuln IDs
-
- V-218163
- V-22341
- Rule IDs
-
- SV-218163r603259_rule
- SV-62667
Checks: C-19638r561449_chk
Check the /etc/gshadow file is owned by root. # ls -l /etc/gshadow If the file is not owned by root, this is a finding.
Fix: F-19636r561450_fix
Change the owner of the /etc/gshadow file to root. # chown root /etc/gshadow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX001432
- Vuln IDs
-
- V-218164
- V-22342
- Rule IDs
-
- SV-218164r603259_rule
- SV-62681
Checks: C-19639r561452_chk
Check the /etc/gshadow file is group-owned by root. # ls -l /etc/gshadow If the file is not group-owned by root, this is a finding.
Fix: F-19637r561453_fix
Change the group-owner of the /etc/gshadow file to root. # chgrp root /etc/gshadow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX001433
- Vuln IDs
-
- V-218165
- V-22343
- Rule IDs
-
- SV-218165r603259_rule
- SV-62697
Checks: C-19640r561455_chk
Check the mode of the /etc/gshadow file. # ls -l /etc/gshadow If the file mode is more permissive than 0400, this is a finding.
Fix: F-19638r561456_fix
Change the mode of the /etc/gshadow file to 0400 or less permissive. # chmod 0400 /etc/gshadow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX001434
- Vuln IDs
-
- V-218166
- V-22344
- Rule IDs
-
- SV-218166r603259_rule
- SV-62711
Checks: C-19641r561458_chk
Check /etc/gshadow has no extended ACL. # ls -l /etc/gshadow If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19639r561459_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/gshadow
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX001476
- Vuln IDs
-
- V-218167
- V-22349
- Rule IDs
-
- SV-218167r603259_rule
- SV-62767
Checks: C-19642r553838_chk
Check the /etc/gshadow file for password hashes. # cut -d : -f 2 /etc/gshadow | egrep -v '^(x|!!)$' If any password hashes are returned, this is a finding.
Fix: F-19640r553839_fix
Edit /etc/gshadow and change the password field to an exclamation point (!) to lock the group password.
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN000000-LNX00320
- Vuln IDs
-
- V-218168
- V-4268
- Rule IDs
-
- SV-218168r603259_rule
- SV-62797
Checks: C-19643r553841_chk
Perform the following to check for unnecessary privileged accounts: # grep "^shutdown" /etc/passwd # grep "^halt" /etc/passwd # grep "^reboot" /etc/passwd If any unnecessary privileged accounts exist this is a finding.
Fix: F-19641r553842_fix
Remove any special privilege accounts, such as shutdown and halt, from the /etc/passwd and /etc/shadow files using the "userdel" or "system-config-users" commands.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX00360
- Vuln IDs
-
- V-218169
- V-1021
- Rule IDs
-
- SV-218169r603259_rule
- SV-62805
Checks: C-19644r553844_chk
Verify the options of the running Xwindows server are correct. Procedure: Get the running xserver information # ps -ef |grep X If the response contains /usr/bin/Xorg:0 /usr/bin/Xorg:0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7 this is indicative of Xorg starting through gdm. This is the default on this version of the operating system. Examine the Xorg line: If the "-auth" option is missing this would be a finding. If the "-audit" option is missing or not set to 4, this is a finding. If the "-s" option is missing or greater than 15, this is a finding. If the response to the grep contains X:0 /usr/bin/X:0 this indicates the X server was started with the xinit command with no associated .xserverrc in the home directory of the user. No options are selected by default. This is a finding. Otherwise if there are options on the X:0 line: If the "-auth" option is missing this is a finding If the "-audit" option is missing or not set to 4, this is a finding. If the "-s" option is missing or greater than 15, this is a finding.
Fix: F-19642r553845_fix
Enable the following options: -audit (at level 4), -auth and -s with 15 minutes as the timeout value. Procedure for gdm: Edit /etc/gdm/custom.conf and add the following: [server-Standard] name=Standard server command=/usr/bin/Xorg -br -audit 4 -s 15 chooser=false handled=true flexible=true priority=0 Procedure for xinit: Edit or create a .xserverrc file in the user's home directory containing the startup script for xinit. This script must have an exec line with at least these options: exec /usr/bin/X -audit 4 -s 15 -auth <Xauth file> & The <Xauth file> is created using the "xauth" command and is customarily located in the user's home directory with the name ".Xauthority".
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX00380
- Vuln IDs
-
- V-218170
- V-1022
- Rule IDs
-
- SV-218170r603259_rule
- SV-62815
Checks: C-19645r553847_chk
If the "xorg-x11-server-Xorg" package is not installed, this is not applicable. Verify the options of the running Xwindows server are correct. Procedure: Get the running xserver information # ps -ef |grep X If the response contains /usr/bin/Xorg:0 /usr/bin/Xorg:0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7 this is indicative of Xorg starting through gdm. This is the default window manager on this version of the operating system. If the "-ac" option is found, this is a finding. If the "-core" option is found, this is a finding. If the "-nolock" option is found, this is a finding. If the response to the grep contains X:0 /usr/bin/X:0 Examine the X:0 line: If the "-ac" option is found, this is a finding. If the "-core" option is found, this is a finding. If the "-nolock" option is found, this is a finding.
Fix: F-19643r553848_fix
Disable the unwanted options: Procedure: For gdm: Remove the -ac, -core and -nolock options by creating a "command" entry in the /etc/gdm/custom.conf file with the options removed. For Xwindows started by xinit: Create or modify the .xserverrc script in the user's home directory to remove the -ac, -core and -nolock options from the exec /usr/bin/X command.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX00400
- Vuln IDs
-
- V-218171
- V-1025
- Rule IDs
-
- SV-218171r603259_rule
- SV-62875
Checks: C-19646r553850_chk
Check access configuration ownership: # ls -lL /etc/security/access.conf If this file exists and is not owned by root, this is a finding.
Fix: F-19644r553851_fix
Follow the correct configuration parameters for access configuration file. Use the chown command to configure it properly. (for example: # chown root /etc/security/access.conf ).
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00420
- Vuln IDs
-
- V-218172
- V-1054
- Rule IDs
-
- SV-218172r603259_rule
- SV-62901
Checks: C-19647r553853_chk
Check access configuration group ownership: # ls -lL /etc/security/access.conf If this file exists and has a group-owner that is not a privileged user, this is a finding.
Fix: F-19645r553854_fix
Use the chgrp command to ensure the group owner is root, sys, or bin. (for example: # chgrp root /etc/security/access.conf ).
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX00440
- Vuln IDs
-
- V-218173
- V-1055
- Rule IDs
-
- SV-218173r603259_rule
- SV-62903
Checks: C-19648r553856_chk
Check access configuration mode: # ls -lL /etc/security/access.conf If this file exists and has a mode more permissive than 0640, this is a finding.
Fix: F-19646r553857_fix
Use the chmod command to set the permissions to 0640. (for example: # chmod 0640 /etc/security/access.conf ).
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00450
- Vuln IDs
-
- V-218174
- V-22595
- Rule IDs
-
- SV-218174r603259_rule
- SV-62909
Checks: C-19649r553859_chk
Check the permissions of the file. # ls -lL /etc/security/access.conf If the permissions of the file or directory contain a '+', an extended ACL is present. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19647r553860_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/security/access.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00480
- Vuln IDs
-
- V-218175
- V-4334
- Rule IDs
-
- SV-218175r603259_rule
- SV-62929
Checks: C-19650r561461_chk
Check /etc/sysctl.conf ownership. # ls -lL /etc/sysctl.conf If /etc/sysctl.conf is not owned by root, this is a finding.
Fix: F-19648r561462_fix
Use the chown command to change the owner of /etc/sysctl.conf to root: # chown root /etc/sysctl.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00500
- Vuln IDs
-
- V-218176
- V-4335
- Rule IDs
-
- SV-218176r603259_rule
- SV-62951
Checks: C-19651r561464_chk
Check /etc/sysctl.conf group ownership: # ls -lL /etc/sysctl.conf If /etc/sysctl.conf is not group-owned by root, this is a finding.
Fix: F-19649r561465_fix
Use the chgrp command to change the group owner of /etc/sysctl.conf to root: # chgrp root /etc/sysctl.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00520
- Vuln IDs
-
- V-218177
- V-4336
- Rule IDs
-
- SV-218177r603259_rule
- SV-62963
Checks: C-19652r561467_chk
Check /etc/sysctl.conf permissions: # ls -lL /etc/sysctl.conf If /etc/sysctl.conf has a mode more permissive than 0600, this is a finding.
Fix: F-19650r561468_fix
Use the chmod command to change the mode of the /etc/sysctl.conf file. # chmod 0600 /etc/sysctl.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00530
- Vuln IDs
-
- V-218178
- V-22596
- Rule IDs
-
- SV-218178r603259_rule
- SV-62983
Checks: C-19653r561470_chk
Check the permissions of the file. # ls -lL /etc/sysctl.conf If the permissions of the file or directory contain a '+', an extended ACL is present. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19651r561471_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/sysctl.conf
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN000000-LNX00560
- Vuln IDs
-
- V-218179
- V-4339
- Rule IDs
-
- SV-218179r603259_rule
- SV-62985
Checks: C-19654r553874_chk
Determine if an NFS server is running on the system by: # ps -ef |grep nfsd If an NFS server is running, confirm it is not configured with the insecure_locks option by: # exportfs -v The example below would be a finding: /misc/export speedy.example.com(rw,insecure_locks)
Fix: F-19652r553875_fix
Remove the "insecure_locks" option from all NFS exports on the system. Procedure: Edit /etc/exports and remove all instances of the insecure_locks option. Re-export the file systems to make the setting take effect. # exportfs -a
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN000000-LNX00580
- Vuln IDs
-
- V-218180
- V-4342
- Rule IDs
-
- SV-218180r603259_rule
- SV-62991
Checks: C-19655r553877_chk
Verify that reboot using the CTRL-ALT-DELETE key sequence has been disabled by performing: # grep ctrlaltdel /etc/inittab If the line returned does not specify "/usr/bin/logger", or is not commented out, this is a finding.
Fix: F-19653r553878_fix
Ensure the CTRL-ALT-DELETE key sequence has been disabled and attempts to use the sequence are logged. In the /etc/inittab file replace: ca::ctrlaltdel:/sbin/shutdown -t3 -r now with ca:nil:ctrlaltdel:/usr/bin/logger -p security.info "Ctrl-Alt-Del was pressed" Once this change has been made, execute the following command to force the "init" daemon to re-read /etc/inittab: # telinit q
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX00600
- Vuln IDs
-
- V-218181
- V-4346
- Rule IDs
-
- SV-218181r603259_rule
- SV-63003
Checks: C-19656r553880_chk
Ensure the pam_console.so module is not configured in any files in /etc/pam.d by: # cd /etc/pam.d # grep pam_console.so * Or # ls -la /etc/security/console.perms If either the pam_console.so entry or the file /etc/security/console.perms is found then this is a finding.
Fix: F-19654r553881_fix
Configure PAM to not grant sole access of administrative privileges to the first user logged in at the console. Identify any instances of pam_console. # cd /etc/pam.d # grep pam_console.so * For any files containing an un-commented reference to pam_console.so, edit the file and remove or comment out the reference. Remove the console.perms file if it exists: # rm /etc/security/console.perms
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00620
- Vuln IDs
-
- V-218182
- V-12038
- Rule IDs
-
- SV-218182r603259_rule
- SV-63013
Checks: C-19657r561473_chk
Check /etc/securetty group ownership: # ls -lL /etc/securetty If /etc/securetty is not group owned by root, sys, or bin, then this is a finding.
Fix: F-19655r561474_fix
Change the group-owner of /etc/securetty to root, sys, or bin. Example: # chgrp root /etc/securetty
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000000-LNX00640
- Vuln IDs
-
- V-218183
- V-12039
- Rule IDs
-
- SV-218183r603259_rule
- SV-63061
Checks: C-19658r553886_chk
Check /etc/securetty ownership. Procedure: # ls -lL /etc/securetty If /etc/securetty is not owned by root, this is a finding.
Fix: F-19656r553887_fix
Change the owner of the /etc/securetty file to root. Procedure: # chown root /etc/securetty
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000000-LNX00660
- Vuln IDs
-
- V-218184
- V-12040
- Rule IDs
-
- SV-218184r603259_rule
- SV-63071
Checks: C-19659r553889_chk
Check /etc/securetty permissions. Procedure: # ls -lL /etc/securetty If /etc/securetty has a mode more permissive than 0600, this is a finding.
Fix: F-19657r553890_fix
Change the mode of the /etc/securetty file to 0600. Procedure: # chmod 0600 /etc/securetty
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN000000-LNX00720
- Vuln IDs
-
- V-218185
- V-22598
- Rule IDs
-
- SV-218185r603259_rule
- SV-63081
Checks: C-19660r553892_chk
Check for the audit=1 kernel parameter. # grep 'audit=1' /proc/cmdline If no results are returned, this is a finding.
Fix: F-19658r553893_fix
Edit the grub bootloader file /boot/grub/grub.conf or /boot/grub/menu.lst by appending the "audit=1" parameter to the kernel boot line. Reboot the system for the change to take effect.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN000000-LNX00800
- Vuln IDs
-
- V-218186
- V-22584
- Rule IDs
-
- SV-218186r603259_rule
- SV-63085
Checks: C-19661r553895_chk
Check if SELinux is enabled with at least a "targeted" policy. # grep ^SELINUX /etc/sysconfig/selinux If the SELINUX option is not set to "enforcing", this is a finding. If the SELINUXTYPE option is not set to "targeted" or "strict", this is a finding. If the use of the system is incompatible with the confines of SELinux this rule may be waived.
Fix: F-19659r553896_fix
Enable one of the SELinux policies. Edit /etc/sysconfig/selinux and set the value of the SELINUX option to "enforcing" and SELINUXTYPE to "targeted" or "strict". Restart the system.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- GEN000020
- Vuln IDs
-
- V-218187
- V-756
- Rule IDs
-
- SV-218187r603259_rule
- SV-63087
Checks: C-19662r553898_chk
Check if the system requires a password for entering single-user mode. # grep ':S:' /etc/inittab If /sbin/sulogin is not listed, this is a finding.
Fix: F-19660r553899_fix
Edit /etc/inittab and set sulogin to run in single-user mode. Example line in /etc/inittab: ~:S:wait:/sbin/sulogin Note: The first field in the /etc/inittab line may be any sequence of 1-4 characters.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN000100
- Vuln IDs
-
- V-218188
- V-11940
- Rule IDs
-
- SV-218188r603259_rule
- SV-63095
Checks: C-19663r553901_chk
Check the version of the operating system. Example: # cat /etc/oracle-release Vendor End-of-Support Information: Oracle Linux 5 premier support ends on March 2017, but sustaining support continues indefinitely. For more information, see the Oracle Lifetime Support Policy for Oracle Linux at: http://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf. Check with the vendor for additional information. If the version installed is not supported, this is a finding.
Fix: F-19661r553902_fix
Upgrade to a supported version of the operating system.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000120
- Vuln IDs
-
- V-218189
- V-783
- Rule IDs
-
- SV-218189r603259_rule
- SV-63099
Checks: C-19664r561404_chk
Obtain the list of available package security updates from the operating system vendor. Check the available package security updates have been installed on the system. Use the "rpm" command to list the packages installed on the system. Example: # rpm -qa -last If updated packages are available and applicable to the system and have not been installed, this is a finding. For more information, see: (1) http://linux.oracle.com/errata/ and (2) http://linux.oracle.com/cve/.
Fix: F-19662r561405_fix
Install the patches or updated packages available from the vendor.
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000293
- Version
- GEN000140-2
- Vuln IDs
-
- V-218190
- V-27250
- Rule IDs
-
- SV-218190r603259_rule
- SV-63101
Checks: C-19665r568507_chk
Verify a system integrity baseline exists. The Advanced Intrusion Detection Environment (AIDE) tool is included with the operating system. Other host intrusion detection system (HIDS) software is available but must be checked manually. Procedure: # grep DBDIR /etc/aide.conf If /etc/aide.conf does not exist AIDE has not been installed. Unless another HIDS is used on the system, this is a finding. Examine the response for "database" this indicates the location of the system integrity baseline database used as input to a comparison. # ls -la <DBDIR> If no "database" file as defined in /etc/aide.conf exists a system integrity baseline has not been created, this is a finding. Examine /etc/aide.conf to ensure some form of cryptographic hash (i.e., md5, rmd160, sha256) is used for files. In the default /etc/aide.conf the "NORMAL" or "LSPP" rules which are used for virtually all files DO include some form of cryptographic hash. If the site has defined rules to replace the functionality provided by the default "NORMAL" and "LSPP" rules but DOES NOT include cryptographic hashes, this is a finding. Otherwise, if any element used to define the "NORMAL" and "LSPP" rules has been modified resulting in cryptographic hashes not being used, this is a finding. If any other modification to the default /etc/aide.conf file have been made resulting in rules which do not include cryptographic hashes on appropriate files, this is a finding.
Fix: F-19663r568508_fix
Use AIDE to create a file integrity baseline, including cryptographic hashes, for the system. Configure the /etc/aide.conf file to ensure some form of cryptographic hash (e.g., md5, rmd160, sha256) is used for files. In the default /etc/aide.conf the "NORMAL" or "LSPP" rules which are used for virtually all files DO include some form of cryptographic hash.
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000293
- Version
- GEN000140-3
- Vuln IDs
-
- V-218191
- V-27251
- Rule IDs
-
- SV-218191r603259_rule
- SV-63129
Checks: C-19666r568510_chk
Verify a system integrity baseline is maintained. The baseline has been updated to be consistent with the latest approved system configuration changes. The Advanced Intrusion Detection Environment (AIDE) tool is included with the operating system. Other host intrusion detection system (HIDS) software is available but must be checked manually. Procedure: # grep DBDIR /etc/aide.conf If /etc/aide.conf does not exist AIDE has not been installed. Unless another HIDS is used on the system, this is a finding. Examine the response for "database" indicates the location of the system integrity baseline database used as input to a comparison. # ls -la <DBDIR> If the no "database" file as defined in /etc/aide.conf a system integrity baseline has not been created, this is a finding. Ask the SA when the last approved system configuration changes occurred. If the modification date of the AIDE database is prior to the last approved configuration change, this is a finding.
Fix: F-19664r568511_fix
Regularly rebuild the integrity baseline, including cryptographic hashes, for the system to be consistent with the latest approved system configuration. Procedure: After an approved modification to the system configuration has been made perform: # aide -u This will update the database.
- RMF Control
- RA-5
- Severity
- M
- CCI
- CCI-001069
- Version
- GEN000220
- Vuln IDs
-
- V-218192
- V-11945
- Rule IDs
-
- SV-218192r603259_rule
- SV-63133
Checks: C-19667r568513_chk
Check for the presence of an aide on the system: # rpm -qa | grep aide If aide is not installed, ask the SA what file integrity tool is being used to check the system. Check the global crontabs for the presence of an "aide" job to run at least weekly, if aide is installed. Otherwise, check for the presence of a cron job to run the alternate file integrity checking application. # grep aide /etc/cron*/* If a tool is being run then the configuration file for the appropriate tool needs to be checked for selection lines /bin, /sbin, /lib, and /usr. Procedure: Check the root crontab (crontab -l) and the global crontabs in /etc/crontab, /etc/cron.d/* for the presence of an "aide" job to run at least weekly, which should have asterisks (*) in columns 3, 4, and 5. Check the weekly cron directory (/etc/cron.weekly) for any script running "aide --check" or "aide -C" or simply "aide". If there is not, this is a finding. NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
Fix: F-19665r568514_fix
Establish an automated job, scheduled to run weekly or more frequently, to run "aide --check" which is the file integrity tool to check for unauthorized 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-001492
- Version
- GEN000240
- Vuln IDs
-
- V-218193
- V-4301
- Rule IDs
-
- SV-218193r603259_rule
- SV-63137
Checks: C-19668r568516_chk
Check if NTP running: # ps -ef | egrep "xntpd|ntpd" Check if "ntpd -qg" scheduled to run: # grep "ntpd -qg" /var/spool/cron/* # grep "ntpd -qg" /etc/cron.d/* # grep "ntpd -qg" /etc/cron.daily/* # grep "ntpd -qg" /etc/cron.hourly/* # grep "ntpd -qg" /etc/cron.monthly/* # grep "ntpd -qg" /etc/cron.weekly/* If NTP is running or "ntpd -qg" is found: # more /etc/ntp.conf Confirm the timeservers and peers or multicast client (as applicable) are local or authoritative U.S. DoD sources appropriate for the level of classification which the network operates. If a non-local/non-authoritative time-server is used, this is a finding.
Fix: F-19666r568517_fix
Use an authoritative local time server or a time server operated by the U.S. government. Ensure all systems in the facility feed from one or more local time servers which feed from the authoritative U.S. government time server.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000241
- Vuln IDs
-
- V-218194
- V-22290
- Rule IDs
-
- SV-218194r603259_rule
- SV-63143
Checks: C-19669r568519_chk
Check to see if ntp is running in continuous mode. # ps -ax | grep ntp If the process is found, then check the ntp.conf file for the maxpoll option setting. # grep maxpoll /etc/ntp.conf If the option is set to 17 or is not set, this is a finding.
Fix: F-19667r568520_fix
Enable the NTP daemon for continuous synchronization. # service ntpd start ; chkconfig ntpd on Edit the "/etc/ntp.conf" file and add or update an entry to define "maxpoll" to "10".
- RMF Control
- AU-8
- Severity
- M
- CCI
- CCI-000160
- Version
- GEN000242
- Vuln IDs
-
- V-218195
- V-22291
- Rule IDs
-
- SV-218195r603259_rule
- SV-63147
Checks: C-19670r568522_chk
Check the root crontab (crontab -l) and the global crontabs in /etc/crontab, /etc/cron.d/*, or scripts in the /etc/cron.daily directory for the presence of an "ntpd -qg" job. If the "ntpd -qg" command is not invoked with at least two external NTP servers listed, this is a finding. Check the NTP daemon configuration for at least two external servers. # grep ^server /etc/ntp.conf | egrep -v '(127.127.1.0|127.127.1.1)' 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-19668r568523_fix
If using "ntpd -qg", add additional NTP servers to the cron job running "ntpd -qg". If using the NTP daemon, add an additional "server" line to /etc/ntp.conf for each additional NTP server.
- RMF Control
- AU-8
- Severity
- L
- CCI
- CCI-000160
- Version
- GEN000244
- Vuln IDs
-
- V-218196
- V-22292
- Rule IDs
-
- SV-218196r603259_rule
- SV-63153
Checks: C-19671r568525_chk
Check the root crontab (crontab -l) and the global crontabs in /etc/crontab, /etc/cron.d/*, or scripts in the /etc/cron.daily directory for the presence of an "ntpd -qg" job. If the "ntpd -qg" command is invoked with NTP servers outside of the enclave, this is a finding. Check the NTP daemon configuration for NTP servers. # grep ^server /etc/ntp.conf | grep -v 127.127.1.1 If an NTP server is listed outside of the enclave, this is a finding.
Fix: F-19669r568526_fix
If using "ntpd -qg", remove NTP servers external to the enclave from the cron job running "ntpd -qg". If using the NTP daemon, remove the "server" line from /etc/ntp.conf for each NTP server external to the enclave.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000250
- Vuln IDs
-
- V-218197
- V-22294
- Rule IDs
-
- SV-218197r603259_rule
- SV-63161
Checks: C-19672r568528_chk
Check the ownership of the NTP configuration file. # ls -l /etc/ntp.conf If the owner is not root, this is a finding.
Fix: F-19670r568529_fix
Change the owner of the NTP configuration file. # chown root /etc/ntp.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000251
- Vuln IDs
-
- V-218198
- V-22295
- Rule IDs
-
- SV-218198r603259_rule
- SV-63165
Checks: C-19673r568531_chk
Check the group ownership of the NTP configuration file. Procedure: # ls -lL /etc/ntp.conf If the group owner is not root, bin, or sys, this is a finding.
Fix: F-19671r568532_fix
Change the group-owner of the NTP configuration file. Procedure: # chgrp root /etc/ntp.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000252
- Vuln IDs
-
- V-218199
- V-22296
- Rule IDs
-
- SV-218199r603259_rule
- SV-63171
Checks: C-19674r568534_chk
Check the mode for the NTP configuration file is not more permissive than 0640. # ls -l /etc/ntp.conf If the mode is more permissive than 0640, this is a finding.
Fix: F-19672r568535_fix
Change the mode of the NTP configuration file to 0640 or more restrictive. # chmod 0640 /etc/ntp.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000253
- Vuln IDs
-
- V-218200
- V-22297
- Rule IDs
-
- SV-218200r603259_rule
- SV-63177
Checks: C-19675r568537_chk
Check the NTP configuration file has no extended ACL. # ls -l /etc/ntp.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19673r568538_fix
Remove the extended ACL from the NTP configuration file. # setfacl --remove-all /etc/ntp.conf
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN000280
- Vuln IDs
-
- V-218201
- V-760
- Rule IDs
-
- SV-218201r603259_rule
- SV-63187
Checks: C-19676r553940_chk
Use the last command to check for multiple accesses to an account from different workstations/IP addresses. # last -w If users log directly on to accounts, rather than using the switch user (su) command from their own named account to access them, this is a finding (such as logging directly onto oracle). Verify with the SA or the ISSO on documentation for users/administrators to log on to their own accounts first and then switch user (su) to the account to be shared has been maintained, including requirements and procedures. If no such documentation exists, this is a finding.
Fix: F-19674r553941_fix
Use the switch user (su) command from a named account login to access shared accounts. Document requirements and procedures for users/administrators to log into their own accounts first and then switch user (su) to the account to be shared.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000012
- Version
- GEN000290
- Vuln IDs
-
- V-218202
- V-4269
- Rule IDs
-
- SV-218202r603259_rule
- SV-63195
Checks: C-19677r568540_chk
Check the system for unnecessary user accounts. Procedure: # more /etc/passwd Obtain a list of authorized accounts from the IAO. If any unnecessary accounts are found on the system, this is a finding.
Fix: F-19675r568541_fix
Remove all unnecessary accounts from the /etc/passwd file before connecting a system to the network. Other accounts that are associated with a service not in use should also be removed.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000012
- Version
- GEN000290-1
- Vuln IDs
-
- V-218203
- V-29376
- Rule IDs
-
- SV-218203r603259_rule
- SV-63201
Checks: C-19678r568543_chk
Check the system for the unnecessary "games" accounts. Procedure: # grep ^games /etc/passwd If this account exists, it is a finding.
Fix: F-19676r568544_fix
Remove the "games" account from the /etc/passwd file before connecting a system to the network.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000012
- Version
- GEN000290-2
- Vuln IDs
-
- V-218204
- V-27275
- Rule IDs
-
- SV-218204r603259_rule
- SV-63215
Checks: C-19679r568546_chk
Check the system for the unnecessary "news" accounts. Procedure: # rpm -q inn If the "inn" is installed the "news" user is necessary and this is not a finding. # grep ^news /etc/passwd If this account exists and "inn" is not installed, this is a finding.
Fix: F-19677r568547_fix
Remove the "news" account from the /etc/passwd file before connecting a system to the network.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000012
- Version
- GEN000290-3
- Vuln IDs
-
- V-218205
- V-27276
- Rule IDs
-
- SV-218205r603259_rule
- SV-63227
Checks: C-19680r568549_chk
Check the system for the unnecessary "gopher" accounts. Procedure: # grep ^gopher /etc/passwd If this account exists, it is a finding.
Fix: F-19678r568550_fix
Remove the "gopher" account from the /etc/passwd file before connecting a system to the network.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000012
- Version
- GEN000290-4
- Vuln IDs
-
- V-218206
- V-27279
- Rule IDs
-
- SV-218206r603259_rule
- SV-63231
Checks: C-19681r568552_chk
Check the system for the unnecessary "ftp" accounts. Procedure: # rpm -q krb5-workstation An ftp server is part of "krb5-workstation". If it is installed the "ftp" user is necessary and this is not a finding. # rpm -q vsftp If the "vsftp" ftp server is installed the "ftp" user is necessary and this is not a finding. # grep ^ftp /etc/passwd If this account exists and no ftp server is installed which requires it, this is a finding.
Fix: F-19679r568553_fix
Remove the "ftp" account from the /etc/passwd file before connecting a system to the network.
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000764
- Version
- GEN000300
- Vuln IDs
-
- V-218207
- V-761
- Rule IDs
-
- SV-218207r603259_rule
- SV-63251
Checks: C-19682r561407_chk
Check the system for duplicate account names. Example: # pwck -r If any duplicate account names are found, this is a finding.
Fix: F-19680r561408_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-218208
- V-762
- Rule IDs
-
- SV-218208r603259_rule
- SV-63255
Checks: C-19683r561410_chk
Perform the following to ensure there are no duplicate UIDs: # cut -d: -f3 /etc/passwd | uniq -d If any duplicate UIDs are found, this is a finding.
Fix: F-19681r561411_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-218209
- V-11946
- Rule IDs
-
- SV-218209r603259_rule
- SV-63277
Checks: C-19684r553964_chk
Check the UID assignments for all accounts. # cut -d: -f 1,3 /etc/passwd | egrep ":[1-4][0-9]{2}$|:[0-9]{1,2}$" Confirm all accounts with a UID of 499 and below are used by a system account. If a UID reserved for system accounts (0 - 499) is used by a non-system account, then this is a finding.
Fix: F-19682r553965_fix
Change the UID numbers for non-system accounts with reserved UIDs (those less or equal to 499).
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000360
- Vuln IDs
-
- V-218210
- V-780
- Rule IDs
-
- SV-218210r603259_rule
- SV-63299
Checks: C-19685r553967_chk
Confirm all accounts with a GID of 499 and below are used by a system account. Procedure: List all the users with a GID of 0-499. # cut -d: -f 1,4 /etc/passwd|egrep ":[1-4][0-9]{2}$|:[0-9]{1,2}$" If a GID reserved for system accounts (0 - 499) is used by a non-system account, this is a finding.
Fix: F-19683r553968_fix
Change the primary group GID numbers for non-system accounts with reserved primary group GIDs (those less or equal to 499).
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN000380
- Vuln IDs
-
- V-218211
- V-781
- Rule IDs
-
- SV-218211r603259_rule
- SV-63319
Checks: C-19686r553970_chk
Perform the following to ensure there are no GIDs referenced in /etc/passwd not defined in /etc/group: # pwck -r If GIDs referenced in /etc/passwd are not defined in /etc/group are returned, this is a finding.
Fix: F-19684r553971_fix
Add a group to the system for each GID referenced without a corresponding group.
- RMF Control
- AC-8
- Severity
- M
- CCI
- CCI-000048
- Version
- GEN000400
- Vuln IDs
-
- V-218212
- V-763
- Rule IDs
-
- SV-218212r603259_rule
- SV-63333
Checks: C-19687r553973_chk
Access the system console and make a login 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-19685r553974_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-218213
- V-24331
- Rule IDs
-
- SV-218213r603259_rule
- SV-63351
Checks: C-19688r568555_chk
Access the graphical desktop environment(s) provided by the system and attempt to log in. 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-19686r568556_fix
Configure the system to display one of the DoD login banners prior to, or as part of, the graphical desktop environment login process. Procedure: Modify /usr/share/gdm/themes/RHEL/RHEL.xml by adding the following xml after the first two "pixmap" entries. <item type="rect" id="custom-dod-banner"> <pos anchor="nw" x="20%" y="10" width="80%" height="100%"/> <box> <item type="label"> <normal font="Sans Bold 9" color="#ffffff"/> <text> Insert the "approved text" here based on the character limitations imposed by the system. </text> </item> </box> </item> Approved 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-218214
- V-23732
- Rule IDs
-
- SV-218214r603259_rule
- SV-63359
Checks: C-19689r568558_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-19687r568559_fix
Provide the proper text for the DoD banner to be presented by the FTP server to the user. For vsftp: Examine the /etc/vsftp.conf file for the "banner_file" entry. (i.e., banner_file = /etc/banner/vsftp) For gssftp: Examine the /etc/xinetd.d/gssftp file for the "banner" entry. (i.e., banner = /etc/banner/gssftp) For both: Add the banner entry if one is not found. Modify or create the referenced banner file to contain one of the following 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
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN000440
- Vuln IDs
-
- V-218215
- V-765
- Rule IDs
-
- SV-218215r603259_rule
- SV-63363
Checks: C-19690r553982_chk
Determine if all logon attempts are being logged. Procedure: Verify successful logins are being logged: # last -R | more If the command does not return successful logins, this is a finding. Verify if unsuccessful logons are being logged: # lastb -R | more If the command does not return unsuccessful logins, this is a finding.
Fix: F-19688r553983_fix
Make sure the collection files exist. Procedure: If there are no successful logins being returned from the "last" command, create /var/log/wtmp: # touch /var/log/wtmp If there are no unsuccessful logins being returned from the "lastb" command, create /var/log/btmp: # touch /var/log/btmp
- RMF Control
- AC-10
- Severity
- L
- CCI
- CCI-000054
- Version
- GEN000450
- Vuln IDs
-
- V-218216
- V-22298
- Rule IDs
-
- SV-218216r603259_rule
- SV-63367
Checks: C-19691r568561_chk
Check for a default maxlogins line in the /etc/security/limits.conf and /etc/security/limits.d/* files. Procedure: #grep maxlogins /etc/security/limits.conf /etc/security/limits.d/* The default maxlimits should be set to a max of 10 or a documented site defined number: * - maxlogins 10 If no such line exists, this is a finding.
Fix: F-19689r568562_fix
Add a "maxlogins" line such as "* hard maxlogins 10" to /etc/security/limits.conf or a file in /etc/security/limits.d. The enforced maximum should be defined by site requirements and policy.
- RMF Control
- AC-9
- Severity
- L
- CCI
- CCI-000052
- Version
- GEN000452
- Vuln IDs
-
- V-218217
- V-22299
- Rule IDs
-
- SV-218217r603259_rule
- SV-63373
Checks: C-19692r553988_chk
Check that pam_lastlog is used and not silent, or that the SSH daemon is configured to display last login information. # grep pam_lastlog /etc/pam.d/sshd If pam_lastlog is present, and does not have the "silent" option, this is not a finding. # grep -i PrintLastLog /etc/ssh/sshd_config If PrintLastLog is not present in the configuration, this is not a finding. This is the default setting. If PrintLastLog is present in the configuration and set to "yes" (case insensitive), this is not a finding. Otherwise, this is a finding.
Fix: F-19690r553989_fix
Implement pam_lastlog, or enable PrintLastLog in the SSH daemon. To enable pam_lastlog, add a line such as "session required pam_lastlog.so" to /etc/pam.d/sshd. To enable PrintLastLog in the SSH daemon, remove any lines disabling this option from /etc/ssh/sshd_config.
- RMF Control
- AC-7
- Severity
- M
- CCI
- CCI-000044
- Version
- GEN000460
- Vuln IDs
-
- V-218218
- V-766
- Rule IDs
-
- SV-218218r603259_rule
- SV-63383
Checks: C-19693r553991_chk
Check the pam_tally configuration. # more /etc/pam.d/system-auth Confirm the following line is configured, before any "auth sufficient" lines: auth required pam_tally2.so deny=3 If no such line is found, this is a finding.
Fix: F-19691r553992_fix
By default link /etc/pam.d/system-auth points to /etc/pam.d/system-auth-ac which is the file maintained by the authconfig utility. In order to add pam options other than those available via the utility create /etc/pam.d/system-auth-local with the options and including system-auth-ac. In order to set the account lockout to three failed attempts the content should be similar to: auth required pam_access.so auth required pam_tally2.so deny=3 auth include system-auth-ac account required pam_tally2.so account include system-auth-ac password include system-auth-ac session include system-auth-ac Once system-auth-local is written reset the /etc/pam.d/system-auth to point to system-auth-local. This is necessary because authconfig writes directly to system-auth-ac so any changes made by hand will be lost if authconfig is run.
- RMF Control
- AC-7
- Severity
- M
- CCI
- CCI-002238
- Version
- GEN000480
- Vuln IDs
-
- V-218219
- V-768
- Rule IDs
-
- SV-218219r603259_rule
- SV-63391
Checks: C-19694r553994_chk
Check the value of the FAIL_DELAY variable and the ability to use it. Procedure: # grep FAIL_DELAY /etc/login.defs If the value does not exist, or is less than 4, this is a finding. Check for the use of pam_faildelay. # grep pam_faildelay /etc/pam.d/system-auth* If pam_faildelay.so module is not present, this is a finding. If pam_faildelay is present only in /etc/pam.d/system-auth-ac: ensure that /etc/pam.d/system-auth includes /etc/pam.d/system-auth-ac. #grep system-auth-ac /etc/pam.d/system-auth This should return: auth include system-auth-ac account include system-auth-ac password include system-auth-ac session include system-auth-ac /etc/pam.d/system-auth-ac should only be included by /etc/pam.d/system-auth. All other pam files should include /etc/pam.d/system-auth. If pam_faildelay is not defined in /etc/pam.d/system-auth either directly or through inclusion of system-auth-ac, this is a finding.
Fix: F-19692r553995_fix
Add the pam_faildelay module and set the FAIL_DELAY variable. Procedure: Edit /etc/login.defs and set the value of the FAIL_DELAY variable to 4 or more. The default link /etc/pam.d/system-auth points to /etc/pam.d/system-auth-ac which is the file maintained by the authconfig utility. In order to add pam options other than those available via the utility create or modify /etc/pam.d/system-auth-local with the options and including system-auth-ac. For example: auth required pam_access.so auth optional pam_faildelay.so delay=4000000 auth include system-auth-ac account include system-auth-ac password include system-auth-ac session include system-auth-ac Once system-auth-local is written ensure the /etc/pam.d/system-auth points to system-auth-local. This is necessary because authconfig writes directly to system-auth-ac so any manual changes made will be lost if authconfig is run.
- RMF Control
- AC-11
- Severity
- M
- CCI
- CCI-000057
- Version
- GEN000500
- Vuln IDs
-
- V-218220
- V-4083
- Rule IDs
-
- SV-218220r603259_rule
- SV-63405
Checks: C-19695r568564_chk
If the "xorg-x11-server-Xorg" package is not installed, this is not applicable. For the Gnome screen saver, check the idle_activation_enabled flag. Procedure: # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --get /apps/gnome-screensaver/idle_activation_enabled If this does not return "true" and a documented exception has not been made by the IAO, this is a finding.
Fix: F-19693r568565_fix
For the Gnome screen saver, set the idle_activation_enabled flag. Procedure: # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-screensaver/idle_activation_enabled true
- RMF Control
- AC-11
- Severity
- M
- CCI
- CCI-000057
- Version
- GEN000500-2
- Vuln IDs
-
- V-218221
- V-27283
- Rule IDs
-
- SV-218221r603259_rule
- SV-63609
Checks: C-19696r568567_chk
If the "xorg-x11-server-Xorg" package is not installed, this is not applicable. For the Gnome screen saver, check the idle_delay setting. Procedure: # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --get /apps/gnome-screensaver/idle_delay If this does not return 15 or less, this is a finding.
Fix: F-19694r568568_fix
For the Gnome screen saver, set idle_delay to 15. Procedure: # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int --set /apps/gnome-screensaver/idle_delay 15
- RMF Control
- AC-11
- Severity
- M
- CCI
- CCI-000057
- Version
- GEN000500-3
- Vuln IDs
-
- V-218222
- V-27284
- Rule IDs
-
- SV-218222r603259_rule
- SV-63619
Checks: C-19697r568570_chk
If the "xorg-x11-server-Xorg" package is not installed, this is not applicable. For the Gnome screen saver, check the lock_enabled flag. Procedure: # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --get /apps/gnome-screensaver/lock_enabled If this does not return "true", this is a finding.
Fix: F-19695r568571_fix
For the Gnome screen saver, set the lock_enabled flag. Procedure: # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-screensaver/lock_enabled true
- RMF Control
- AC-14
- Severity
- L
- CCI
- CCI-000061
- Version
- GEN000510
- Vuln IDs
-
- V-218223
- V-22301
- Rule IDs
-
- SV-218223r603259_rule
- SV-63633
Checks: C-19698r568573_chk
Determine if a publicly-viewable pattern is displayed during a session lock. Some screensaver themes available but not included in the operating system distribution use a snapshot of the current screen as a graphic. This theme does not qualify as a publicly-viewable pattern. If the screen lock pattern is not publicly-viewable, this is a finding.
Fix: F-19696r568574_fix
Configure the system to display a publicly-viewable pattern during a session lock. This is done graphically by selecting a screensaver theme using gnome-screensaver-preferences command. Any of the themes distributed with this operating system may be used including "Blank Screen".
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000520
- Vuln IDs
-
- V-218224
- V-769
- Rule IDs
-
- SV-218224r603259_rule
- SV-63649
Checks: C-19699r561413_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. Verify documentation exists for the requirement and justification of the application. If no documentation exists, this is a finding. Execute "ps -ef | more" to determine which user owns the process(es) associated with the application. If the owner is root, this is a finding.
Fix: F-19697r561414_fix
Configure the system so the owner of a session requires 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 and 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-218225
- V-1032
- Rule IDs
-
- SV-218225r603259_rule
- SV-63659
Checks: C-19700r568576_chk
Check the minimum time period between password changes for each user account is 1 day. # cat /etc/shadow | cut -d ':' -f 4 | grep -v 1 If any results are returned, this is a finding.
Fix: F-19698r568577_fix
Change the minimum time period between password changes for each user account to 1 day. # passwd -n 1 <user name>
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN000560
- Vuln IDs
-
- V-218226
- V-770
- Rule IDs
-
- SV-218226r603259_rule
- SV-63787
Checks: C-19701r561416_chk
Verify the system will not log in accounts with blank passwords. # grep nullok /etc/pam.d/system-auth /etc/pam.d/system-auth-ac If an entry for nullok is found, this is a finding on Linux.
Fix: F-19699r561417_fix
Edit /etc/pam.d/system-auth and remove the "nullok" setting.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000205
- Version
- GEN000580
- Vuln IDs
-
- V-218227
- V-11947
- Rule IDs
-
- SV-218227r603259_rule
- SV-63903
Checks: C-19702r554018_chk
Check the system password length setting. Procedure: Check the password minlen option # grep pam_cracklib.so /etc/pam.d/system-auth Confirm the minlen option is set to at least 15 as in the example below: password required pam_cracklib.so minlen=15 There may be other options on the line. If no such line is found, or the minlen is less than 15 this is a finding. # grep PASS_MIN_LEN /etc/login.defs Confirm the PASS_MIN_LEN option is set to at least 15 as in the example below: PASS_MIN_LEN 15 If this line does not exist, or is less than 15, this is a finding.
Fix: F-19700r554019_fix
Edit "/etc/pam.d/system-auth" to include the line: password required pam_cracklib.so minlen=15 prior to the "password include system-auth-ac" line. Edit /etc/login.defs to include the line: PASS_MIN_LEN 15
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000205
- Version
- GEN000585
- Vuln IDs
-
- V-218228
- V-22302
- Rule IDs
-
- SV-218228r603259_rule
- SV-63933
Checks: C-19703r554021_chk
Verify no valid password hash in /etc/passwd or /etc/shadow begins with a character other than an underscore (_) or dollar sign ($). # cut -d ':' -f2 /etc/passwd # cut -d ':' -f2 /etc/shadow If any valid password hash is present that does not have an initial underscore (_) or dollar sign ($) character, this is a finding. Note: Locked accounts are indicated by a leading exclamation point (!). System accounts, other than "root", may have an asterisk (*) in the password field. On systems utilizing shadow passwords, the password field in /etc/passwd will be a single "x".
Fix: F-19701r554022_fix
Change the passwords for all accounts using non-compliant password hashes. (This requires GEN000590 is already met.)
- RMF Control
- IA-7
- Severity
- M
- CCI
- CCI-000803
- Version
- GEN000590
- Vuln IDs
-
- V-218229
- V-22303
- Rule IDs
-
- SV-218229r603259_rule
- SV-63943
Checks: C-19704r554024_chk
Verify the algorithm used for password hashing is of the SHA-2 family. # egrep "password .* pam_unix.so" /etc/pam.d/system-auth-ac # egrep "ENCRYPT_METHOD" /etc/login.defs # egrep "crypt_style" /etc/libuser.conf If any output indicates the hash algorithm is not set to sha256 or sha512, this is a finding.
Fix: F-19702r554025_fix
Change the default password algorithm. # authconfig --passalgo=sha512 --update NOTE: Executing the above command will also update the required parameters in /etc/login.defs and /etc/libuser.conf
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000196
- Version
- GEN000595
- Vuln IDs
-
- V-218230
- V-22304
- Rule IDs
-
- SV-218230r603259_rule
- SV-63949
Checks: C-19705r554027_chk
Check all password hashes in /etc/passwd or /etc/shadow begin with '$5$' or '$6$'. Procedure: # cut -d ':' -f2 /etc/passwd # cut -d ':' -f2 /etc/shadow Any password hashes present not beginning with '$5$' or, '$6$' is a finding. Any entries showing only NP, LK, or x are not findings.
Fix: F-19703r554028_fix
Change the passwords for all accounts using non-compliant password hashes. (This requires GEN000590 is already met.)
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000192
- Version
- GEN000600
- Vuln IDs
-
- V-218231
- V-11948
- Rule IDs
-
- SV-218231r603259_rule
- SV-63973
Checks: C-19706r568579_chk
Check the ucredit setting. # grep ucredit /etc/pam.d/system-auth If ucredit is not set to -1, this is a finding.
Fix: F-19704r568580_fix
Edit "/etc/pam.d/system-auth" to include the line: password required pam_cracklib.so ucredit=-1 prior to the "password include system-auth-ac" line.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000192
- Version
- GEN000600-2
- Vuln IDs
-
- V-218232
- V-27285
- Rule IDs
-
- SV-218232r603259_rule
- SV-63987
Checks: C-19707r568657_chk
Verify the system-auth settings are being applied. Procedure: Verify the additional pam.d requirements are in use. The file "/etc/pam.d/system-auth-ac" is auto generated by "authconfig". Any manual changes made to it will be lost next time "authconfig" is run. Check to see if the systems default of the symlink "/etc/pam.d/system-auth" pointing to "/etc/pam.d/system-auth-ac" has been changed. # ls -l /etc/pam.d/system-auth If the symlink points to "/etc/pam.d/system-auth-ac", manual changes cannot be protected. This is a finding. # grep system-auth-ac /etc/pam.d/system-auth The local system-auth file pointed to by "/etc/pam.d/system-auth" must contain "/etc/pam.d/system-auth-ac" for the auth, account, password, and session lines. If it does not then the parameters maintained by "authconfig" will not be applied, this is a finding.
Fix: F-19705r568658_fix
By default, the operating system delivers /etc/pam.d/system-auth as a symbolic link to /etc/pam.d/system-auth-ac (an automatically generated file). When a site adds password requirements a new system-auth-local file must be created with only the additional requirements and includes for auth, account, passwd and session pointing to "/etc/pam.d/system-auth-ac". Then the symlink "/etc/system-auth" is modified to point to "/etc/pam.d/system-auth-local". This way any changes made do not get lost when "/etc/pam.d/system-auth-ac" is regenerated and each program's pam.d definition file need only have "include system-auth" for auth, account, passwd and session, as needed, in order to assure the password requirements will be applied to it.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000193
- Version
- GEN000610
- Vuln IDs
-
- V-218233
- V-22305
- Rule IDs
-
- SV-218233r603259_rule
- SV-64065
Checks: C-19708r568660_chk
Check /etc/pam.d/system-auth for lcredit setting. Procedure: Check the password lcredit option # grep pam_cracklib.so /etc/pam.d/system-auth Confirm the lcredit option is set to -1 as in the example: password required pam_cracklib.so lcredit=-1 There may be other options on the line. If no such line is found, or the lcredit is not -1 this is a finding.
Fix: F-19706r568661_fix
Edit "/etc/pam.d/system-auth" to include the line: password required pam_cracklib.so lcredit=-1 prior to the "password include system-auth-ac" line.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000194
- Version
- GEN000620
- Vuln IDs
-
- V-218234
- V-11972
- Rule IDs
-
- SV-218234r603259_rule
- SV-64071
Checks: C-19709r568663_chk
Check the dcredit setting. Procedure: Check the password dcredit option # grep pam_cracklib.so /etc/pam.d/system-auth Confirm the dcredit option is set to -1 as in the example: password required pam_cracklib.so dcredit=-1 There may be other options on the line. If no such line is found, or the dcredit option is not -1 this is a finding.
Fix: F-19707r568664_fix
Edit "/etc/pam.d/system-auth" to include the line: password required pam_cracklib.so dcredit=-1 prior to the "password include system-auth-ac" line.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-001619
- Version
- GEN000640
- Vuln IDs
-
- V-218235
- V-11973
- Rule IDs
-
- SV-218235r603259_rule
- SV-64075
Checks: C-19710r568666_chk
Check the ocredit setting. Procedure: Check the password ocredit option # grep pam_cracklib.so /etc/pam.d/system-auth Confirm the ocredit option is set to -1 as in the example: password required pam_cracklib.so ocredit=-1 There may be other options on the line. If no such line is found, or the ocredit is not -1 this is a finding.
Fix: F-19708r568667_fix
Edit "/etc/pam.d/system-auth" to include the line: password required pam_cracklib.so ocredit=-1 prior to the "password include system-auth-ac" line.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000680
- Vuln IDs
-
- V-218236
- V-11975
- Rule IDs
-
- SV-218236r603259_rule
- SV-64079
Checks: C-19711r554045_chk
Check the maxrepeat setting. Procedure: Check the password maxrepeat configuration # grep pam_cracklib.so /etc/pam.d/system-auth If the maxrepeat option is missing, this is a finding. If the maxrepeat option is set to more than 3, this is a finding.
Fix: F-19709r554046_fix
Edit "/etc/pam.d/system-auth" to include the line: password required pam_cracklib.so maxrepeat=3 prior to the "password include system-auth-ac" line.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000180
- Version
- GEN000700
- Vuln IDs
-
- V-218237
- V-11976
- Rule IDs
-
- SV-218237r603259_rule
- SV-64083
Checks: C-19712r554048_chk
Check the max days field (the 5th field) of /etc/shadow. # more /etc/shadow If the max days field is equal to 0 or greater than 60 for any user, this is a finding.
Fix: F-19710r554049_fix
Set the max days field to 60 for all user accounts. # passwd -x 60 <user>
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000199
- Version
- GEN000740
- Vuln IDs
-
- V-218238
- V-11977
- Rule IDs
-
- SV-218238r603259_rule
- SV-64091
Checks: C-19713r568669_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 or are locked. If SA indicates passwords for automated processing accounts are not changed once per year or are not locked, this is a finding.
Fix: F-19711r568670_fix
Implement or establish procedures to change the passwords of automated processing accounts at least once per year or lock them.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000195
- Version
- GEN000750
- Vuln IDs
-
- V-218239
- V-22306
- Rule IDs
-
- SV-218239r603259_rule
- SV-64283
Checks: C-19714r568672_chk
Check /etc/pam.d/system-auth for a pam_cracklib parameter difok. Procedure: # grep difok /etc/pam.d/system-auth If difok is not present, or has a value less than 8, this is a finding. Check for system-auth-ac inclusions. # grep -c system-auth-ac /etc/pam.d/* If the system-auth-ac file is included anywhere # more /etc/pam.d/system-auth-ac | grep difok If system-auth-ac is included anywhere and difok is not present, or has a value less than 8, this is a finding. Ensure the passwd command uses the system-auth settings. # grep system-auth /etc/pam.d/passwd If a line "password include system-auth" is not found then the password checks in system-auth will not be applied to new passwords.
Fix: F-19712r568673_fix
If /etc/pam.d/system-auth references /etc/pam.d/system-auth-ac refer to the man page for system-auth-ac for a description of how to add options not configurable with authconfig. Edit /etc/pam.d/system-auth and add or edit a pam_cracklib entry with a difok parameter set equal to or greater than 8.
- RMF Control
- AC-2
- Severity
- M
- CCI
- CCI-000017
- Version
- GEN000760
- Vuln IDs
-
- V-218240
- V-918
- Rule IDs
-
- SV-218240r603259_rule
- SV-64285
Checks: C-19715r568675_chk
Indications of inactive accounts are those that have no entries in the "last" log. Check the date in the "last" log to verify it is within the last 35 days or the maximum numbers of days set by the site if more restrictive. If an inactive 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. The passwd command can also be used to list a status for an account. For example, the following may be used to provide status information on each local account: NOTE: The following must be done in the BASH shell. # cut -d: -f1 /etc/passwd | xargs -n1 passwd -S If an inactive account is found not disabled, this is a finding.
Fix: F-19713r568676_fix
All inactive accounts will have /sbin/nologin (or an equivalent), as the default shell in the /etc/passwd file and have the password disabled. Examine the user 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 or the maximum number of days set by the site, not to exceed 35 days, then disable the accounts using system-config-users tool. Alternately place a shell field of /sbin/nologin /bin/false or /dev/null in the passwd file entry for the account.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000189
- Version
- GEN000790
- Vuln IDs
-
- V-218241
- V-22307
- Rule IDs
-
- SV-218241r603259_rule
- SV-64303
Checks: C-19716r568678_chk
Check /etc/pam.d/system-auth for pam_cracklib configuration. Procedure: # grep pam_cracklib /etc/pam.d/system-auth* If pam_cracklib is not present. This is a finding. If pam_cracklib is present only in /etc/pam.d/system-auth-ac: ensure that /etc/pam.d/system-auth includes /etc/pam.d/system-auth-ac. #grep system-auth-ac /etc/pam.d/system-auth This should return: auth include system-auth-ac account include system-auth-ac password include system-auth-ac session include system-auth-ac /etc/pam.d/system-auth-ac should only be included by /etc/pam.d/system-auth. All other pam files should include /etc/pam.d/system-auth. If pam_cracklib is not defined in /etc/pam.d/system-auth either directly or through inclusion of system-auth-ac, this is a finding. Ensure the passwd command uses the system-auth settings. # grep system-auth /etc/pam.d/passwd If a line "password include system-auth" is not found then the password checks in system-auth will not be applied to new passwords, this is a finding.
Fix: F-19714r568679_fix
If /etc/pam.d/system-auth references /etc/pam.d/system-auth-ac refer to the man page for system-auth-ac for a description of how to add options not configurable with authconfig. Edit /etc/pam.d/system-auth and configure pam_cracklib by adding a line such as "password required pam_cracklib.so"
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000200
- Version
- GEN000800
- Vuln IDs
-
- V-218242
- V-4084
- Rule IDs
-
- SV-218242r603259_rule
- SV-64321
Checks: C-19717r568681_chk
# ls /etc/security/opasswd If /etc/security/opasswd does not exist, then this is a finding. # grep password /etc/pam.d/system-auth| egrep '(pam_pwhistory.so|pam_unix.so|pam_cracklib.so)' | grep remember If the "remember" option in /etc/pam.d/system-auth is not 5 or greater, this is a finding. Check for system-auth-ac inclusions. # grep -c system-auth-ac /etc/pam.d/* If the system-auth-ac file is included anywhere, this is a finding. # more /etc/pam.d/system-auth-ac | grep password | egrep '(pam_pwhistory.so|pam_unix.so|pam_cracklib.so)' | grep remember If in /etc/pam.d/system-auth-ac is referenced by another file and the "remember" option is not set to 5 or greater, this is a finding.
Fix: F-19715r568682_fix
Create the password history file. # touch /etc/security/opasswd # chown root:root /etc/security/opasswd # chmod 0600 /etc/security/opasswd Enable password history. If /etc/pam.d/system-auth references /etc/pam.d/system-auth-ac refer to the man page for system-auth-ac for a description of how to add options not configurable with authconfig. Edit /etc/pam.d/system-auth to include the remember option on any "password pam_unix" or "password pam_pwhistory" lines set to at least 5.
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-000009
- Version
- GEN000850
- Vuln IDs
-
- V-218243
- V-22308
- Rule IDs
-
- SV-218243r603259_rule
- SV-64327
Checks: C-19718r561578_chk
Check /etc/pam.d/su uses pam_wheel. # grep pam_wheel /etc/pam.d/su If pam_wheel is not present, or is commented out, this is a finding.
Fix: F-19716r561579_fix
Edit /etc/pam.d/su and uncomment or add a line such as "auth required pam_wheel.so". If necessary, create a "wheel" group and add administrative users to the group.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000880
- Vuln IDs
-
- V-218244
- V-773
- Rule IDs
-
- SV-218244r603259_rule
- SV-64341
Checks: C-19719r554069_chk
Check the system for duplicate UID 0 assignments by listing all accounts assigned UID 0. Procedure: # awk -F: '($3 == 0) { print $1 }' /etc/passwd If any accounts other than root are assigned UID 0, this is a finding.
Fix: F-19717r554070_fix
Remove or change the UID of accounts other than root that have UID 0.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN000900
- Vuln IDs
-
- V-218245
- V-774
- Rule IDs
-
- SV-218245r603259_rule
- SV-64353
Checks: C-19720r561419_chk
Determine if root is assigned a home directory other than / by listing its home directory. Procedure: # awk -F: '($1 == "root") { print $6 }' /etc/passwd If the root user home directory is /, this is a finding.
Fix: F-19718r561420_fix
The root home directory should be something other than / (such as /roothome). Procedure: # mkdir /rootdir # chown root /rootdir # chgrp root /rootdir # chmod 700 /rootdir # cp -r /.??* /rootdir/. Then, 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. Ensure you are in the "/" directory when executing the "cp" command.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000920
- Vuln IDs
-
- V-218246
- V-775
- Rule IDs
-
- SV-218246r603259_rule
- SV-64359
Checks: C-19721r561422_chk
Check the mode of the root home directory. Procedure: # find ~root -type d -prune -exec ls -ld {} \; If the home directory is /, this check will be marked "Not Applicable". If the mode of the directory is not set to 0700 or less permissive, this is a finding.
Fix: F-19719r561423_fix
The root home directory will be configured to have permission set of 0700 or less permissive. 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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN000930
- Vuln IDs
-
- V-218247
- V-22309
- Rule IDs
-
- SV-218247r603259_rule
- SV-64363
Checks: C-19722r568684_chk
Check the root account's home directory has no extended ACL. # find ~root -type d -prune -exec ls -ld {} \; If the permissions include a '+' the directory has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19720r568685_fix
Remove the extended ACL from the root account's home directory. # setfacl --remove-all <root home directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000940
- Vuln IDs
-
- V-218248
- V-776
- Rule IDs
-
- SV-218248r603259_rule
- SV-64373
Checks: C-19723r561425_chk
To view the root user's PATH, log in as the root user, and execute: # env | grep PATH This variable is formatted as a colon-separated list of directories. Relative path entries must be document with the ISSO. Such as a leading or trailing colon, two consecutive colons, or a single period 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-19721r561426_fix
Edit the root user's local initialization files ~/.profile,~/.bashrc (assuming root shell is bash). Remove any relative path entries that have not been documented with the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000945
- Vuln IDs
-
- V-218249
- V-22310
- Rule IDs
-
- SV-218249r603259_rule
- SV-64377
Checks: C-19724r568687_chk
Check 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-19722r568688_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-218250
- V-22311
- Rule IDs
-
- SV-218250r603259_rule
- SV-64383
Checks: C-19725r568690_chk
Check 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-19723r568691_fix
Edit the root user initialization files and remove any definition of LD_PRELOAD.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN000960
- Vuln IDs
-
- V-218251
- V-777
- Rule IDs
-
- SV-218251r603259_rule
- SV-64387
Checks: C-19726r554090_chk
Check for world-writable permissions on all directories in the root user's executable search path. Procedure: # ls -ld `echo $PATH | sed "s/:/ /g"` If any of the directories in the PATH variable are world-writable, this is a finding.
Fix: F-19724r554091_fix
For each world-writable path in root's executable search path, do 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
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN000980
- Vuln IDs
-
- V-218252
- V-778
- Rule IDs
-
- SV-218252r603259_rule
- SV-64389
Checks: C-19727r554093_chk
Check /etc/securetty # more /etc/securetty If the file does not exist, or contains more than "console" or a single "tty" device this is a finding.
Fix: F-19725r554094_fix
Create if needed and set the contents of /etc/securetty to a "console" or "tty" device. # echo console > /etc/securetty or # echo tty1 > /etc/securetty
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001000
- Vuln IDs
-
- V-218253
- V-4298
- Rule IDs
-
- SV-218253r603259_rule
- SV-64393
Checks: C-19728r568693_chk
Check /etc/securetty # more /etc/securetty If the file does not exist, or contains more than "console" or a single "tty" device this is a finding.
Fix: F-19726r568694_fix
Create if needed and set the contents of /etc/securetty to a "console" or "tty" device. # echo console > /etc/securetty or # echo tty1 > /etc/securetty
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000770
- Version
- GEN001020
- Vuln IDs
-
- V-218254
- V-11979
- Rule IDs
-
- SV-218254r603259_rule
- SV-64397
Checks: C-19729r568696_chk
Check if root is used for direct logins. Procedure: # last root | grep -v reboot Direct logins are indicated by the presence of a terminal or pseudo-terminal ID and/or X display name in the output of the last command. If any direct login records for root are listed, this is a finding.
Fix: F-19727r568697_fix
Enforce policy requiring all root account access is attained by first logging into a user account and then becoming root preferably through the use of "sudo" which provides traceability to the command level. If that is not workable then using "su" to access the root account will provide traceability to the login user.
- RMF Control
- IA-11
- Severity
- M
- CCI
- CCI-002038
- Version
- GEN001025
- Vuln IDs
-
- V-218255
- V-58539
- Rule IDs
-
- SV-218255r603259_rule
- SV-75261
Checks: C-19730r568699_chk
Verify neither the "NOPASSWD" option nor the "!authenticate" option is configured for use in "/etc/sudoers" and associated files. Note that the "#include" and "#includedir" directives may be used to include configuration data from locations other than the defaults enumerated here. # egrep '^[^#]*NOPASSWD' /etc/sudoers /etc/sudoers.d/* # egrep '^[^#]*!authenticate' /etc/sudoers /etc/sudoers.d/* If the "NOPASSWD" or "!authenticate" options are configured for use in "/etc/sudoers" or associated files, this is a finding.
Fix: F-19728r568700_fix
Update the "/etc/sudoers" or other sudo configuration files to remove or comment out lines utilizing the "NOPASSWD" and "!authenticate" options. # visudo # visudo -f [other sudo configuration file]
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN001060
- Vuln IDs
-
- V-218256
- V-11980
- Rule IDs
-
- SV-218256r603259_rule
- SV-64435
Checks: C-19731r554105_chk
Check the log files to determine if access to the root account is being logged. Procedure: Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Examine /etc/syslog.conf or /etc/rsyslog.conf to confirm the location to which "authpriv" messages will be directed. The default syslog.conf or rsyslog.conf uses /var/log/messages and /var/log/secure but this needs to be confirmed. # grep @ /etc/syslog.conf Or: # grep @ /etc/rsyslog.conf If a line starting with "*.*" is returned then all syslog messages will be sent to system whose address appears after the "@". In this case syslog may or may not be configured to also log "authpriv" messages locally. # grep authpriv /etc/syslog.conf Or: # grep authpriv /etc/rsyslog.conf If any lines are returned which do not start with "#" the "authpriv" messages will be sent to the indicated files or remote systems. Try to "su -" and enter an incorrect password. If there are no records indicating the authentication failure, this is a finding.
Fix: F-19729r554106_fix
Troubleshoot the system logging configuration to provide for logging of root account login attempts. Procedure: Edit /etc/syslog.conf or /etc/rsyslog.conf to make sure "authpriv.*" messages are directed to a file or remote system. Examine /etc/audit/audit.rules to ensure user authentication messages have not been specifically excluded. Remove any entries that correspond to: -a exclude,never -Fmsgtype=USER_START -a exclude,never -Fmsgtype=USER_LOGIN -a exclude,never -Fmsgtype=USER_AUTH -a exclude,never -Fmsgtype=USER_END -a exclude,never -Fmsgtype=USER_ACCT
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001080
- Vuln IDs
-
- V-218257
- V-1062
- Rule IDs
-
- SV-218257r603259_rule
- SV-64441
Checks: C-19732r554108_chk
Determine if root's shell executable resides on a dedicated file system. Procedure: Find the location of the root user's shell # grep "^root" /etc/passwd|cut -d: -f7|cut -d/ -f2 The result is the top level directory under / where the shell resides (e.g., usr) Check if it is on a dedicated file system. # grep /<top level directory> /etc/fstab If /<top level directory> is on a dedicated file system, this is a finding.
Fix: F-19730r554109_fix
Change the root account's shell to one present on the / file system. Procedure: Edit /etc/passwd and change the shell for the root account to one present on the / file system (such as /bin/sh, assuming /bin is not on a separate file system). If the system does not store shell configuration in the /etc/passwd file, consult vendor documentation for the correct procedure for the system.
- RMF Control
- IA-5
- Severity
- H
- CCI
- CCI-000197
- Version
- GEN001100
- Vuln IDs
-
- V-218258
- V-1046
- Rule IDs
-
- SV-218258r603259_rule
- SV-64449
Checks: C-19733r568702_chk
Determine if root has logged in over an unencrypted network connection. Examine /etc/syslog.conf to confirm the location to which "authpriv" messages are being sent. # grep authpriv.* /etc/syslog.conf Once the file is determined, perform the following command: # grep password <file> | more Look for any lines that do not have sshd as the associated service. If root has logged in over the network and sshd is not running, this is a finding.
Fix: F-19731r568703_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-218259
- V-1047
- Rule IDs
-
- SV-218259r603259_rule
- SV-64455
Checks: C-19734r554114_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-19732r554115_fix
Edit the sshd_config file and set the PermitRootLogin option to "no".
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001140
- Vuln IDs
-
- V-218260
- V-784
- Rule IDs
-
- SV-218260r603259_rule
- SV-64461
Checks: C-19735r561428_chk
Check system directories for uneven file permissions. Procedure: # ls -lL /etc /bin /usr/bin /usr/lbin /usr/usb /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-19733r561429_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-218261
- V-785
- Rule IDs
-
- SV-218261r603259_rule
- SV-64463
Checks: C-19736r554120_chk
Check the system for files with no assigned owner. Procedure: # find / -ignore_readdir_race -nouser If any files have no assigned owner, this is a finding. Caution should be used when centralized authorization is used because valid files may appear as unowned due to communication issues.
Fix: F-19734r554121_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-218262
- V-22312
- Rule IDs
-
- SV-218262r603259_rule
- SV-64465
Checks: C-19737r554123_chk
Search the system for files without a valid group-owner. # find / -ignore_readdir_race -nogroup If any files are found, this is a finding.
Fix: F-19735r554124_fix
Change the group-owner for each file without a valid group-owner. # chgrp avalidgroup /tmp/a-file-without-a-valid-group-owner
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001180
- Vuln IDs
-
- V-218263
- V-786
- Rule IDs
-
- SV-218263r603259_rule
- SV-64467
Checks: C-19738r561431_chk
Check the mode of network services daemons. # find /usr/sbin -type f -perm +022 -exec stat -c %a:%n {} \; This will return the octal permissions and name of all files that are group or world writable. If any network services daemon listed is world or group writable (either or both of the 2 lowest order digits contain a 2, 3 or 6), 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.
Fix: F-19736r561432_fix
Change the mode of the network services daemon. # chmod go-w <path>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001190
- Vuln IDs
-
- V-218264
- V-22313
- Rule IDs
-
- SV-218264r603259_rule
- SV-64473
Checks: C-19739r568705_chk
Check network services daemon files have no extended ACLs. # ls -la /usr/sbin If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding. Note: Network daemons not residing in these directories must also be checked.
Fix: F-19737r568706_fix
Remove the extended ACL from the file. # setfacl --remove-all /usr/sbin/*
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001200
- Vuln IDs
-
- V-218265
- V-794
- Rule IDs
-
- SV-218265r603259_rule
- SV-64477
Checks: C-19740r568708_chk
Check the permissions for files in /etc, /bin, /usr/bin, /usr/lbin, /usr/ucb, /sbin, and /usr/sbin. Procedure: # DIRS="/etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin";for DIR in $DIRS;do find $DIR -type f -perm +022 -exec stat -c %a:%n {} \;;done This will return the octal permissions and name of all group or world writable files. If any command file is listed and is world or group writable (either or both of the 2 lowest order digits contain a 2, 3, or 6), this is a finding. Note: Elevate to Severity Code I if any command file listed is world writable.
Fix: F-19738r568709_fix
Change the mode for system command files to 0755 or less permissive taking into account necessary GIUD and SUID bits. Procedure: # chmod go-w <filename>
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001210
- Vuln IDs
-
- V-218266
- V-22314
- Rule IDs
-
- SV-218266r603259_rule
- SV-64479
Checks: C-19741r568711_chk
Check all system command files have no extended ACLs. # ls -lL /etc /bin /usr/bin /usr/lbin /usr/usb /sbin /usr/sbin If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19739r568712_fix
Remove the extended ACL from the file. # setfacl --remove-all [file with extended ACL]
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001220
- Vuln IDs
-
- V-218267
- V-795
- Rule IDs
-
- SV-218267r603259_rule
- SV-64483
Checks: C-19742r554138_chk
Check the ownership of system files, programs, and directories. Procedure: # ls -lLa /etc /bin /usr/bin /usr/lbin /usr/usb /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-19740r554139_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-218268
- V-796
- Rule IDs
-
- SV-218268r603259_rule
- SV-64485
Checks: C-19743r554141_chk
Check the group-ownership of system files, programs, and directories. Procedure: # ls -lLa /etc /bin /usr/bin /usr/lbin /usr/usb /sbin /usr/sbin If any system file, program, or directory is not owned by a system group, this is a finding.
Fix: F-19741r554142_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-218269
- V-787
- Rule IDs
-
- SV-218269r603259_rule
- SV-64487
Checks: C-19744r554144_chk
Check the mode of log files. Procedure: # find /var/log /var/log/syslog /var/adm -type f -perm -640 \! -perm 640 With the exception of /var/log/wtmp, /var/log/Xorg.0.log, and /var/log/gdm/:0.log, if any of the log files have modes more permissive than 0640, this is a finding.
Fix: F-19742r554145_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.
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001314
- Version
- GEN001270
- Vuln IDs
-
- V-218270
- V-22315
- Rule IDs
-
- SV-218270r603259_rule
- SV-64493
Checks: C-19745r568714_chk
Verify system log files have no extended ACLs. Procedure: # ls -lL /var/log 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, providing access beyond the needs of authorized software, this is a finding.
Fix: F-19743r568715_fix
Remove the extended ACL from the file. Procedure: # setfacl --remove-all [file with extended ACL]
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001280
- Vuln IDs
-
- V-218271
- V-792
- Rule IDs
-
- SV-218271r603259_rule
- SV-64517
Checks: C-19746r568717_chk
Check the mode of the manual page files. Procedure: # find /usr/share/man /usr/share/info /usr/share/infopage -type f -perm +022 -exec stat -c %a:%n {} \; |> more Note: This list only displays manual files with offending permissions. If any of the manual page files have a mode more permissive than 0644, this is a finding.
Fix: F-19744r568718_fix
Change the mode of manual page files to 0644 or less permissive. Procedure (example): # chmod 0644 /path/to/manpage
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001290
- Vuln IDs
-
- V-218272
- V-22316
- Rule IDs
-
- SV-218272r603259_rule
- SV-64521
Checks: C-19747r561617_chk
Verify all manual page files have no extended ACLs. # ls -lLR /usr/share/man /usr/share/info /usr/share/infopage If the permissions include a '+', the file has an extended ACL this is a finding.
Fix: F-19745r561618_fix
Remove the extended ACL from the file. # setfacl --remove-all /usr/share/man/* /usr/share/info/* /usr/share/infopage/*
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001300
- Vuln IDs
-
- V-218273
- V-793
- Rule IDs
-
- SV-218273r603259_rule
- SV-64525
Checks: C-19748r554156_chk
Check the mode of library files. Procedure: # DIRS="/usr/lib /lib /usr/lib64 /lib64";for DIR in $DIRS;do find $DIR -type f -perm +022 -exec stat -c %a:%n {} \;;done This will return the octal permissions and name of all group or world writable files. If any file listed is world or group writable (either or both of the 2 lowest order digits contain a 2, 3 or 6), this is a finding.
Fix: F-19746r554157_fix
Change the mode of library files to 0755 or less permissive. Procedure (example): # chmod go-w </path/to/library-file> Note: Library files should have an extension of ".a" or a ".so" extension, possibly followed by a version number.
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- GEN001310
- Vuln IDs
-
- V-218274
- V-22317
- Rule IDs
-
- SV-218274r603259_rule
- SV-64531
Checks: C-19749r554159_chk
Verify system libraries have no extended ACLs. # ls -lLR /usr/lib/ /lib/ /usr/lib64 /lib64 | grep "+ " If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and has not been approved by the IAO, this is a finding.
Fix: F-19747r554160_fix
Remove the extended ACL from the file. # setfacl --remove-all /usr/lib/* /lib/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001320
- Vuln IDs
-
- V-218275
- V-789
- Rule IDs
-
- SV-218275r603259_rule
- SV-64537
Checks: C-19750r561434_chk
Perform the following to check NIS file ownership: # ls -la /var/yp/*; If the file ownership is not root, sys, or bin, this is a finding.
Fix: F-19748r561435_fix
Change the ownership of NIS/NIS+/yp files to root, sys or bin. Procedure (example): # chown root <filename>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001340
- Vuln IDs
-
- V-218276
- V-790
- Rule IDs
-
- SV-218276r603259_rule
- SV-64515
Checks: C-19751r561437_chk
Perform the following to check NIS file group ownership: # ls -la /var/yp/* If the file group ownership is not root, sys, or bin, this is a finding.
Fix: F-19749r561438_fix
Perform the following to change NIS file ownership. # chgrp root /var/yp/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001360
- Vuln IDs
-
- V-218277
- V-791
- Rule IDs
-
- SV-218277r603259_rule
- SV-64509
Checks: C-19752r561620_chk
Perform the following to check NIS file permissions. # ls -la /var/yp/* If the file's mode is more permissive than 0755, this is a finding.
Fix: F-19750r561621_fix
Change the mode of NIS/NIS+/yp command files to 0755 or less permissive. Procedure (example): # chmod 0755 <filename>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001361
- Vuln IDs
-
- V-218278
- V-22318
- Rule IDs
-
- SV-218278r603259_rule
- SV-64503
Checks: C-19753r561623_chk
Verify NIS/NIS+/yp files have no extended ACLs. # ls -lL /var/yp/* If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19751r561624_fix
Remove the extended ACL from the file. # setfacl --remove-all /var/yp/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001362
- Vuln IDs
-
- V-218279
- V-22319
- Rule IDs
-
- SV-218279r603259_rule
- SV-64497
Checks: C-19754r568720_chk
Verify the /etc/resolv.conf file is owned by root. # ls -l /etc/resolv.conf If the file is not owned by root, this is a finding.
Fix: F-19752r568721_fix
Change the owner of the /etc/resolv.conf file to root. # chown root /etc/resolv.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001363
- Vuln IDs
-
- V-218280
- V-22320
- Rule IDs
-
- SV-218280r603259_rule
- SV-64099
Checks: C-19755r568723_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-19753r568724_fix
Change the group-owner of the /etc/resolv.conf file to root, bin, or sys. Procedure: # chgrp root /etc/resolv.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001364
- Vuln IDs
-
- V-218281
- V-22321
- Rule IDs
-
- SV-218281r603259_rule
- SV-64185
Checks: C-19756r568726_chk
Check the mode of the /etc/resolv.conf file. # ls -l /etc/resolv.conf If the file mode is not 0644, this is a finding.
Fix: F-19754r568727_fix
Change the mode of the /etc/resolv.conf file to 0644. # chmod 0644 /etc/resolv.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001365
- Vuln IDs
-
- V-218282
- V-22322
- Rule IDs
-
- SV-218282r603259_rule
- SV-64513
Checks: C-19757r568729_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. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19755r568730_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/resolv.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001366
- Vuln IDs
-
- V-218283
- V-22323
- Rule IDs
-
- SV-218283r603259_rule
- SV-64519
Checks: C-19758r568807_chk
Verify the /etc/hosts file is owned by root. # ls -l /etc/hosts If the file is not owned by root, this is a finding.
Fix: F-19756r568808_fix
Change the owner of the /etc/hosts file to root. # chown root /etc/hosts
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001367
- Vuln IDs
-
- V-218284
- V-22324
- Rule IDs
-
- SV-218284r603259_rule
- SV-64523
Checks: C-19759r568810_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-19757r568811_fix
Change the group-owner of the /etc/hosts file to root, sys, or bin. Procedure: # chgrp root /etc/hosts
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001368
- Vuln IDs
-
- V-218285
- V-22325
- Rule IDs
-
- SV-218285r603259_rule
- SV-64527
Checks: C-19760r568813_chk
Check the mode of the /etc/hosts file. # ls -l /etc/hosts If the file mode is not 0644, this is a finding.
Fix: F-19758r568814_fix
Change the mode of the /etc/hosts file to 0644. # chmod 0644 /etc/hosts
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001369
- Vuln IDs
-
- V-218286
- V-22326
- Rule IDs
-
- SV-218286r603259_rule
- SV-64533
Checks: C-19761r568816_chk
Verify /etc/hosts has no extended ACL. # ls -l /etc/hosts If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19759r568817_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/hosts
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001371
- Vuln IDs
-
- V-218287
- V-22327
- Rule IDs
-
- SV-218287r603259_rule
- SV-64535
Checks: C-19762r561650_chk
Verify the /etc/nsswitch.conf file is owned by root. # ls -l /etc/nsswitch.conf If the file is not owned by root, this is a finding.
Fix: F-19760r561651_fix
Change the owner of the /etc/nsswitch.conf file to root. # chown root /etc/nsswitch.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001372
- Vuln IDs
-
- V-218288
- V-22328
- Rule IDs
-
- SV-218288r603259_rule
- SV-64539
Checks: C-19763r561653_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-19761r561654_fix
Change the group-owner of the /etc/nsswitch.conf file to root, bin or sys. Procedure: # chgrp root /etc/nsswitch.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001373
- Vuln IDs
-
- V-218289
- V-22329
- Rule IDs
-
- SV-218289r603259_rule
- SV-64541
Checks: C-19764r561656_chk
Check the mode of the /etc/nsswitch.conf file. # ls -l /etc/nsswitch.conf If the file mode is not 0644, this is a finding.
Fix: F-19762r561657_fix
Change the mode of the /etc/nsswitch.conf file to 0644 or less permissive. # chmod 0644 /etc/nsswitch.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001374
- Vuln IDs
-
- V-218290
- V-22330
- Rule IDs
-
- SV-218290r603259_rule
- SV-64545
Checks: C-19765r561659_chk
Verify /etc/nsswitch.conf has no extended ACL. # ls -l /etc/nsswitch.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19763r561660_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/nsswitch.conf
- RMF Control
- SC-22
- Severity
- L
- CCI
- CCI-001182
- Version
- GEN001375
- Vuln IDs
-
- V-218291
- V-22331
- Rule IDs
-
- SV-218291r603259_rule
- SV-64547
Checks: C-19766r568819_chk
Determine if DNS is enabled on the system. # grep dns /etc/nsswitch.conf If no line is returned, or any returned line is commented out, the system does not use DNS, and this is not applicable. Determine the name servers used by the system. # grep nameserver /etc/resolv.conf If less than two lines are returned that are not commented out, this is a finding.
Fix: F-19764r568820_fix
Edit /etc/resolv.conf and add additional "nameserver" lines until at least two are present.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001378
- Vuln IDs
-
- V-218292
- V-22332
- Rule IDs
-
- SV-218292r603259_rule
- SV-64549
Checks: C-19767r561665_chk
Verify the /etc/passwd file is owned by root. # ls -l /etc/passwd If the file is not owned by root, this is a finding.
Fix: F-19765r561666_fix
Change the owner of the /etc/passwd file to root. # chown root /etc/passwd
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001379
- Vuln IDs
-
- V-218293
- V-22333
- Rule IDs
-
- SV-218293r603259_rule
- SV-64553
Checks: C-19768r561668_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-19766r561669_fix
Change the group-owner of the /etc/passwd file to root, bin or sys. Procedure: # chgrp root /etc/passwd
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001380
- Vuln IDs
-
- V-218294
- V-798
- Rule IDs
-
- SV-218294r603259_rule
- SV-64557
Checks: C-19769r561671_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-19767r561672_fix
Change the mode of the passwd file to 0644. Procedure: # chmod 0644 /etc/passwd
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001390
- Vuln IDs
-
- V-218295
- V-22334
- Rule IDs
-
- SV-218295r603259_rule
- SV-64559
Checks: C-19770r561674_chk
Verify /etc/passwd has no extended ACL. # ls -l /etc/passwd If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19768r561675_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/passwd
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001391
- Vuln IDs
-
- V-218296
- V-22335
- Rule IDs
-
- SV-218296r603259_rule
- SV-64561
Checks: C-19771r561677_chk
Verify the /etc/group file is owned by root. # ls -l /etc/group If the file is not owned by root, this is a finding.
Fix: F-19769r561678_fix
Change the owner of the /etc/group file to root. # chown root /etc/group
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001392
- Vuln IDs
-
- V-218297
- V-22336
- Rule IDs
-
- SV-218297r603259_rule
- SV-64563
Checks: C-19772r561680_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-19770r561681_fix
Change the group-owner of the /etc/group file. Procedure: # chgrp root /etc/group
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001393
- Vuln IDs
-
- V-218298
- V-22337
- Rule IDs
-
- SV-218298r603259_rule
- SV-64565
Checks: C-19773r561683_chk
Check the mode of the /etc/group file. # ls -l /etc/group If the file mode is more permissive than 0644, this is a finding.
Fix: F-19771r561684_fix
Change the mode of the /etc/group file to 0644 or less permissive. # chmod 0644 /etc/group
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001394
- Vuln IDs
-
- V-218299
- V-22338
- Rule IDs
-
- SV-218299r603259_rule
- SV-64567
Checks: C-19774r561686_chk
Verify /etc/group has no extended ACL. # ls -l /etc/group If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19772r561687_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/group
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001400
- Vuln IDs
-
- V-218300
- V-797
- Rule IDs
-
- SV-218300r603259_rule
- SV-64569
Checks: C-19775r568822_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-19773r568823_fix
Change the ownership of the /etc/shadow (or equivalent) file. # chown root /etc/shadow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001410
- Vuln IDs
-
- V-218301
- V-22339
- Rule IDs
-
- SV-218301r603259_rule
- SV-64571
Checks: C-19776r561692_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-19774r561693_fix
Change the group-owner of the /etc/shadow file. Procedure: # chgrp root /etc/shadow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001420
- Vuln IDs
-
- V-218302
- V-800
- Rule IDs
-
- SV-218302r603259_rule
- SV-64573
Checks: C-19777r561695_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-19775r561696_fix
Change the mode of the /etc/shadow (or equivalent) file. # chmod 0400 /etc/shadow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001430
- Vuln IDs
-
- V-218303
- V-22340
- Rule IDs
-
- SV-218303r603259_rule
- SV-64575
Checks: C-19778r561698_chk
Verify /etc/shadow has no extended ACL. # ls -l /etc/shadow If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19776r561699_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/shadow
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001440
- Vuln IDs
-
- V-218304
- V-899
- Rule IDs
-
- SV-218304r603259_rule
- SV-64577
Checks: C-19779r554249_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-19777r554250_fix
Assign a home directory to any user without one.
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001460
- Vuln IDs
-
- V-218305
- V-900
- Rule IDs
-
- SV-218305r603259_rule
- SV-64579
Checks: C-19780r568825_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-19778r568826_fix
If a user has no home directory, determine why. If possible, delete accounts without a 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.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000201
- Version
- GEN001470
- Vuln IDs
-
- V-218306
- V-22347
- Rule IDs
-
- SV-218306r603259_rule
- SV-64581
Checks: C-19781r554255_chk
Verify no password hashes are present in /etc/passwd. # cut -d : -f 2 /etc/passwd | egrep -v '^(x|\*)$' If any password hashes are returned, this is a finding.
Fix: F-19779r554256_fix
Migrate /etc/passwd password hashes to /etc/shadow. # pwconv
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001475
- Vuln IDs
-
- V-218307
- V-22348
- Rule IDs
-
- SV-218307r603259_rule
- SV-64583
Checks: C-19782r554258_chk
Check the /etc/group file for password hashes. # cut -d : -f 2 /etc/group | egrep -v '^(x|!)$' If any password hashes are returned, this is a finding.
Fix: F-19780r554259_fix
Edit /etc/group and change the password field to an exclamation point (!) to lock the group password.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001480
- Vuln IDs
-
- V-218308
- V-901
- Rule IDs
-
- SV-218308r603259_rule
- SV-64585
Checks: C-19783r554261_chk
Check the home directory mode of each user in /etc/passwd. Procedure: # cut -d: -f6 /etc/passwd|sort|uniq|xargs -n1 ls -ld If a user 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-19781r554262_fix
Change the mode of user home directories to 0750 or less permissive. Procedure (example): # chmod 0750 <home directory> Note: Application directories are allowed and may need 0755 permissions (or greater) for correct operation.
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001490
- Vuln IDs
-
- V-218309
- V-22350
- Rule IDs
-
- SV-218309r603259_rule
- SV-64587
Checks: C-19784r554264_chk
Verify user 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-19782r554265_fix
Remove the extended ACL from the file. # setfacl --remove-all [user home directory with extended ACL]
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001500
- Vuln IDs
-
- V-218310
- V-902
- Rule IDs
-
- SV-218310r603259_rule
- SV-64589
Checks: C-19785r554267_chk
Check the ownership of each user home directory listed in the /etc/passwd file. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld If any user home directory is not owned by the assigned user, this is a finding.
Fix: F-19783r554268_fix
Change the owner of a user's home directory to its assigned user. Procedure: # chown <user> <home directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001520
- Vuln IDs
-
- V-218311
- V-903
- Rule IDs
-
- SV-218311r603259_rule
- SV-63825
Checks: C-19786r554270_chk
Check the group ownership for each user in the /etc/passwd file. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld If any user 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-19784r554271_fix
Change the group-owner for user home directories to the primary group of the assigned user. Procedure: Find the primary group of the user (GID) which is the fourth field of the user entry in /etc/passwd. # chgrp <GID> <user home directory> Document all changes.
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001540
- Vuln IDs
-
- V-218312
- V-914
- Rule IDs
-
- SV-218312r603259_rule
- SV-63831
Checks: C-19787r554273_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. Procedure: # find /<usershomedirectory> ! -fstype nfs ! -user <username> ! \( -name .bashrc -o -name .bash_login -o -name .bash_logout -o -name .bash_profile -o -name .cshrc -o -name .kshrc -o -name .login -o -name .logout -o -name .profile -o -name .tcshrc -o -name .env -o -name .dtprofile -o -name .dispatch -o -name .emacs -o -name .exrc \) -exec ls -ld {} \; If user home directories contain files or directories not owned by the home directory owner, this is a finding.
Fix: F-19785r554274_fix
Change the ownership of files and directories in user home directories to the owner of the home directory. Procedure: # chown accountowner filename
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001550
- Vuln IDs
-
- V-218313
- V-22351
- Rule IDs
-
- SV-218313r603259_rule
- SV-63833
Checks: C-19788r554276_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 ~username -printf %G\\n | sort | uniq 3. Obtain the list of GIDs where the user is a member. # id -G username 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-19786r554277_fix
Change the group of a file not group-owned by a group of which the home directory's owner is a member. # chgrp <group with user as member> <file with bad group ownership> Document all changes.
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN001560
- Vuln IDs
-
- V-218314
- V-915
- Rule IDs
-
- SV-218314r603259_rule
- SV-63837
Checks: C-19789r554279_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 ! \( -name .bashrc -o -name .bash_login -o -name .bash_logout -o -name .bash_profile -o -name .cshrc -o -name .kshrc -o -name .login -o -name .logout -o -name .profile -o -name .tcshrc -o -name .env -o -name .dtprofile -o -name .dispatch -o -name .emacs -o -name .exrc \) \( -perm -0001 -o -perm -0002 -o -perm -0004 -o -perm -0020 -o -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; If user home directories contain files or directories more permissive than 0750, this is a finding.
Fix: F-19787r554280_fix
Change the mode of files and directories within user home directories to 0750. Procedure: # chmod 0750 filename Document all changes.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001570
- Vuln IDs
-
- V-218315
- V-22352
- Rule IDs
-
- SV-218315r603259_rule
- SV-63839
Checks: C-19790r554282_chk
Check the contents of user home directories for files with extended ACLs. # cut -d : -f 6 /etc/passwd | xargs -n1 -IDIR ls -alLR DIR If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19788r554283_fix
Remove the extended ACL from the file. # setfacl --remove-all <user file with extended ACL>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001580
- Vuln IDs
-
- V-218316
- V-906
- Rule IDs
-
- SV-218316r603259_rule
- SV-63843
Checks: C-19791r568828_chk
Check run control script modes. # cd /etc # ls -lL rc* # cd /etc/init.d # ls -l If any run control script has a mode more permissive than 0755, this is a finding.
Fix: F-19789r568829_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 directory to ensure they are not world-writable. If they are world-writable, use the chmod command to correct the vulnerability and research why they are world-writable. Procedure: # chmod 755 <startup file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001590
- Vuln IDs
-
- V-218317
- V-22353
- Rule IDs
-
- SV-218317r603259_rule
- SV-63847
Checks: C-19792r561707_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. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19790r561708_fix
Remove the extended ACL from the file. # setfacl --remove-all <run control script with extended ACL>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001600
- Vuln IDs
-
- V-218318
- V-907
- Rule IDs
-
- SV-218318r603259_rule
- SV-63849
Checks: C-19793r568831_chk
Verify run control scripts' library search paths. # grep -r '\bPATH\b' /etc/rc* /etc/init.d This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period. 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-19791r568832_fix
Edit the run control script and remove any relative path entries from the executable search path variable that are not documented with the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001605
- Vuln IDs
-
- V-218319
- V-22354
- Rule IDs
-
- SV-218319r603259_rule
- SV-63851
Checks: C-19794r568834_chk
Verify run control scripts' library search paths. # grep -r LD_LIBRARY_PATH /etc/rc* /etc/init.d This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period, 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-19792r568835_fix
Edit the run control script and remove the relative path entries from the library search path variables that are not documented with the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001610
- Vuln IDs
-
- V-218320
- V-22355
- Rule IDs
-
- SV-218320r603259_rule
- SV-63853
Checks: C-19795r568837_chk
Verify run control scripts' library preload list. # grep -r LD_PRELOAD /etc/rc* /etc/init.d This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period, 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-19793r568838_fix
Edit the run control script and remove the relative path entries from the library preload variables that are not documented with the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN001640
- Vuln IDs
-
- V-218321
- V-910
- Rule IDs
-
- SV-218321r603259_rule
- SV-63855
Checks: C-19796r568840_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 " " 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 "` If any system startup script executes any file or script that is world-writable, this is a finding.
Fix: F-19794r568841_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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001660
- Vuln IDs
-
- V-218322
- V-4089
- Rule IDs
-
- SV-218322r603259_rule
- SV-63857
Checks: C-19797r561722_chk
Check run control scripts' ownership. # ls -lL /etc/rc* /etc/init.d Alternatively: # find /etc -name "[SK][0-9]*"|xargs stat -L -c %U:%n If any run control script is not owned by root or bin, this is a finding.
Fix: F-19795r561723_fix
Change the ownership of the run control script(s) with incorrect ownership. # find /etc -name "[SK][0-9]*"|xargs stat -L -c %U:%n|egrep -v "^root:"|cut -d: -f2|xargs chown root
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001680
- Vuln IDs
-
- V-218323
- V-4090
- Rule IDs
-
- SV-218323r603259_rule
- SV-63859
Checks: C-19798r568843_chk
Check run control scripts' group ownership. Procedure: # ls -lL /etc/rc* /etc/init.d Alternatively: # find /etc -name "[SK][0-9]*"|xargs stat -L -c %G:%n|egrep -v "^(root|sys|bin|other):" If any run control script is not group-owned by root, sys, bin, or other system groups, this is a finding.
Fix: F-19796r568844_fix
Change the group ownership of the run control script(s) with incorrect group ownership. Procedure: # chgrp root <run control script> # find /etc -name "[SK][0-9]*"|xargs stat -L -c %G:%n|egrep -v "^(root|sys|bin|other):"|cut -d: -f2|xargs chgrp root
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001700
- Vuln IDs
-
- V-218324
- V-4091
- Rule IDs
-
- SV-218324r603259_rule
- SV-63861
Checks: C-19799r568846_chk
Determine the programs executed by system start-up files. Determine the ownership of the executed programs. # cat /etc/rc*/* /etc/init.d/* | more # ls -l <executed program> Alternatively: # for FILE in `egrep -r "/" /etc/rc.* /etc/init.d|awk '/^.*[^\/][0-9A-Za-z_\/]*/{print $2}'|egrep "^/"|sort|uniq`;do if [ -e $FILE ]; then stat -L -c '%U:%n' $FILE;fi;done This provides a list of files referenced by initialization scripts and their associated UIDs. If any file is run by an initialization file and is not owned by root, sys, bin, or in rare cases, an application account, this is a finding.
Fix: F-19797r568847_fix
Change the ownership of the file executed from system startup scripts to root, bin, sys, or other. # chown root <executed file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001720
- Vuln IDs
-
- V-218325
- V-11981
- Rule IDs
-
- SV-218325r603259_rule
- SV-63865
Checks: C-19800r568849_chk
Check global initialization files permissions: # ls -l /etc/bashrc # ls -l /etc/csh.cshrc # ls -l /etc/csh.login # ls -l /etc/csh.logout # ls -l /etc/environment # ls -l /etc/ksh.kshrc # ls -l /etc/profile # ls -l /etc/suid_profile # ls -l /etc/profile.d/* If global initialization files are more permissive than 0644, this is a finding.
Fix: F-19798r568850_fix
Change the mode of the global initialization file(s) to 0644. # chmod 0644 <global initialization file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001730
- Vuln IDs
-
- V-218326
- V-22356
- Rule IDs
-
- SV-218326r603259_rule
- SV-63867
Checks: C-19801r568852_chk
Check global initialization files for extended ACLs: # ls -l /etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|grep "\+ " If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19799r568853_fix
Remove the extended ACL from the file. # ls -l etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|grep "\+ "|sed "s/^.* \///g"|xargs setfacl --remove-all
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001740
- Vuln IDs
-
- V-218327
- V-11982
- Rule IDs
-
- SV-218327r603259_rule
- SV-63869
Checks: C-19802r568855_chk
Check the ownership of global initialization files. Procedure: # ls -lL etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* This should show information for each file. Examine to ensure the owner is always root or: # ls etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|xargs stat -L -c %U:%n|egrep -v "^root" This will show you only the owner and filename of files not owned by root. If any global initialization file is not owned by root, this is a finding.
Fix: F-19800r568856_fix
Change the ownership of global initialization files with incorrect ownership. Procedure: # chown root <global initialization files> or: # ls etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|xargs stat -L -c %U:%n|egrep -v "^root"|cut -d: -f2|xargs chown root will set the owner of all files not currently owned by root to root.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001760
- Vuln IDs
-
- V-218328
- V-11983
- Rule IDs
-
- SV-218328r603259_rule
- SV-63871
Checks: C-19803r568858_chk
Check the group ownership of global initialization files. Procedure: # ls -lL etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* This should show information for each file. Examine to ensure the group is always root or: # ls -lL etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|sed "s/^[^\/]*//"|xargs stat -L -c %G:%n|egrep -v "^(root|sys|bin|other):" will show you only the group and filename of files not owned by one of the approved groups. If any global initialization file is not group-owned by root, sys, bin, other, system, or the system default, this is a finding.
Fix: F-19801r568859_fix
Change the group ownership of the global initialization file(s) with incorrect group ownership. Procedure: # chgrp root <global initialization file> or: # ls -lL /etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|sed "s/^[^\/]*//"|xargs stat -L -c %G:%n|egrep -v "^(root|sys|bin|other):"|cut -d: -f2|xargs chgrp root will set the group of all files not currently owned by an approved group to root.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN001780
- Vuln IDs
-
- V-218329
- V-825
- Rule IDs
-
- SV-218329r603259_rule
- SV-63875
Checks: C-19804r554324_chk
Check global initialization files for the presence of "mesg -n" or "mesg n". Procedure: # grep "mesg" etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* If no global initialization files contain "mesg -n" or "mesg n", this is a finding.
Fix: F-19802r554325_fix
Edit /etc/profile or another global initialization script, and add the "mesg -n" command.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001800
- Vuln IDs
-
- V-218330
- V-788
- Rule IDs
-
- SV-218330r603259_rule
- SV-63879
Checks: C-19805r561440_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-19803r561441_fix
Change the mode of skeleton files with incorrect mode: # chmod 0644 <skeleton file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001810
- Vuln IDs
-
- V-218331
- V-22357
- Rule IDs
-
- SV-218331r603259_rule
- SV-63881
Checks: C-19806r561743_chk
Check skeleton files for extended ACLs: # ls -alL /etc/skel If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19804r561744_fix
Remove the extended ACL from the file. # setfacl --remove-all [skeleton file with extended ACL] or: # ls -lL /etc/skel|grep "\+ "|sed "s/^.* \//|xargs setfacl --remove-all will remove all ACLs from the files.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001820
- Vuln IDs
-
- V-218332
- V-11984
- Rule IDs
-
- SV-218332r603259_rule
- SV-63307
Checks: C-19807r568861_chk
Check skeleton files ownership. # ls -alL /etc/skel If a skeleton file is not owned by root or bin, this is a finding.
Fix: F-19805r568862_fix
Change the ownership of skeleton files with incorrect mode: # chown root <skeleton file> or # ls -L /etc/skel|xargs stat -L -c %U:%n|egrep -v "^(root|bin):"|cut -d: -f2|chown root will change all files not owned by root or bin to root.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001830
- Vuln IDs
-
- V-218333
- V-22358
- Rule IDs
-
- SV-218333r603259_rule
- SV-63323
Checks: C-19808r568864_chk
Verify the skeleton files are group-owned by root. Procedure: # ls -alL /etc/skel If a skeleton file is not group-owned by root, bin, sys, system, or other this is a finding.
Fix: F-19806r568865_fix
Change the group-owner of the skeleton file to root, bin, sys, system, or other. Procedure: # chgrp <group> /etc/skel/[skeleton file] or: # ls -L /etc/skel|xargs stat -L -c %G:%n|egrep -v "^(root|bin|sy|sytem|other):"|cut -d: -f2|chgrp root will change the group of all files not already one of the approved group to root.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001840
- Vuln IDs
-
- V-218334
- V-11985
- Rule IDs
-
- SV-218334r603259_rule
- SV-63327
Checks: C-19809r568867_chk
Check the global initialization files' executable search paths. Procedure: # grep PATH /etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period 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-19807r568868_fix
Edit the global initialization file(s) with PATH variables containing relative paths and remove any relative path from the PATH variables that have not been authorized by the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001845
- Vuln IDs
-
- V-218335
- V-22359
- Rule IDs
-
- SV-218335r603259_rule
- SV-63331
Checks: C-19810r568870_chk
Check the global initialization files' library search paths. Procedure: # grep LD_LIBRARY_PATH /etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period, 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-19808r568871_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. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001850
- Vuln IDs
-
- V-218336
- V-22360
- Rule IDs
-
- SV-218336r603259_rule
- SV-63335
Checks: C-19811r568873_chk
Check the global initialization files' library preload list. # grep -r LD_PRELOAD /etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* This variable is formatted as a colon-separated list of paths. Such as a leading or trailing colon, two consecutive colons, or a single period, 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-19809r568874_fix
Edit the global initialization file and remove the relative path entry from the library preload variable that has not been authorized by the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001860
- Vuln IDs
-
- V-218337
- V-904
- Rule IDs
-
- SV-218337r603259_rule
- SV-63339
Checks: C-19812r568876_chk
NOTE: The following commands must be run in the BASH shell. Check the ownership 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 # ls -al /<usershomedirectory>/.dispatch # ls -al /<usershomedirectory>/.emacs # ls -al /<usershomedirectory>/.exrc # find /<usershomedirectory>/.dt ! -fstype nfs ! -user <username> -exec ls -ld {} \; If local initialization files are not owned by the home directory's user, this is a finding.
Fix: F-19810r568877_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 filenames 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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001870
- Vuln IDs
-
- V-218338
- V-22361
- Rule IDs
-
- SV-218338r603259_rule
- SV-63343
Checks: C-19813r568879_chk
Check user home directories for local initialization files group-owned by a group other than the user's primary group or root. Procedure: # FILES=" .login .cshrc .logout .profile .bash_profile .bashrc .bash_logout .env .dtprofile .dispatch .emacs .exrc"; # for PWLINE in `cut -d: -f4,6 /etc/passwd`; do HOMEDIR=$(echo ${PWLINE}|cut -d: -f2);GROUP=$(echo ${PWLINE} | cut -d: -f1);for INIFILE in $FILES;do stat -c %g/%G:%n ${HOMEDIR}/${INIFILE} 2>null|egrep -v "${GROUP}";done;done If any file is not group-owned by root or the user's primary GID, this is a finding.
Fix: F-19811r568880_fix
Change the group-owner of the local initialization file to the user's primary group, or root. # chgrp <user's primary GID> <user's local initialization file> Procedure: # FILES=".bashrc .bash_login .bash_logout .bash_profile .cshrc .kshrc .login .logout .profile .tcshrc .env .dtprofile .dispatch .emacs .exrc"; # for PWLINE in `cut -d: -f4,6 /etc/passwd`; do HOMEDIR=$(echo ${PWLINE}|cut -d: -f2);GROUP=$(echo ${PWLINE} | cut -d: -f1);for INIFILE in $FILES;do MATCH=$(stat -c %g/%G:%n ${HOMEDIR}/${INIFILE} 2>null|egrep -c -v "${GROUP}");if [ $MATCH != 0 ] ; then chgrp ${GROUP} ${HOMEDIR}/${INIFILE};fi;done;done
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001880
- Vuln IDs
-
- V-218339
- V-905
- Rule IDs
-
- SV-218339r603259_rule
- SV-63345
Checks: C-19814r569008_chk
Check the modes of local initialization files. Procedure: # ls -al /<usershomedirectory>/.bashrc # ls -al /<usershomedirectory>/.bash_login # ls -al /<usershomedirectory>/.bash_logout # ls -al /<usershomedirectory>/.bash_profile # ls -al /<usershomedirectory>/.cshrc # ls -al /<usershomedirectory>/.kshrc # ls -al /<usershomedirectory>/.login # ls -al /<usershomedirectory>/.logout # ls -al /<usershomedirectory>/.profile # ls -al /<usershomedirectory>/.tcshrc # 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 or the .dt directory is more permissive than 0755 or the .dtprofile file is more permissive than 0755, this is a finding.
Fix: F-19812r569009_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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001890
- Vuln IDs
-
- V-218340
- V-22362
- Rule IDs
-
- SV-218340r603259_rule
- SV-63537
Checks: C-19815r569011_chk
Check user home directories for local initialization files with extended ACLs. # cut -d : -f 6 /etc/passwd | xargs -n1 -IDIR ls -alL DIR/.bashrc DIR/.bash_login DIR/.bash_logout DIR/.bash_profile DIR/.cshrc DIR/.kshrc DIR/.login DIR/.logout DIR/.profile DIR/.env DIR/.dtprofile DIR/.dispatch DIR/.emacs DIR/.exrc If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19813r569012_fix
Remove the extended ACL from the file. # setfacl --remove-all <local initialization file with extended ACL>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001900
- Vuln IDs
-
- V-218341
- V-11986
- Rule IDs
-
- SV-218341r603259_rule
- SV-63541
Checks: C-19816r569014_chk
Verify local initialization files have executable search path containing only absolute paths or relative paths are necessary and documented with the ISSO. Procedure: NOTE: This must be done in the BASH shell. # cut -d: -f6 /etc/passwd |xargs -n1 -IDIR find DIR -name ".*" -type f -maxdepth 1 -exec grep -l PATH {} \; This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period 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-19814r569015_fix
Edit the local initialization file and remove the relative path entry from the executable search path variable. If this is not feasible, justify and document the necessity of having the relative path for a specific application with the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001901
- Vuln IDs
-
- V-218342
- V-22363
- Rule IDs
-
- SV-218342r603259_rule
- SV-63549
Checks: C-19817r569017_chk
Verify local initialization files have library search path containing only authorized paths. Procedure: NOTE: This must be done in the BASH shell. # cut -d: -f6 /etc/passwd |xargs -n1 -IDIR find DIR -name ".*" -type f -maxdepth 1 -exec grep -H LD_LIBRARY_PATH {} \; This variable is formatted as a colon-separated list of directories. Such as a leading or trailing colon, two consecutive colons, or a single period, 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-19815r569018_fix
Edit the local initialization file and remove any relative path entries that have not been documented with the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN001902
- Vuln IDs
-
- V-218343
- V-22364
- Rule IDs
-
- SV-218343r603259_rule
- SV-63569
Checks: C-19818r569020_chk
Verify local initialization files have library preload list containing only absolute paths. NOTE: The following must be done in the BASH shell. Procedure: # cut -d: -f6 /etc/passwd |xargs -n1 -IDIR find DIR -name ".*" -type f -maxdepth 1 -exec grep -H LD_PRELOAD {} \; This variable is formatted as a colon-separated list of paths. Such as a leading or trailing colon, two consecutive colons, or a single period, 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-19816r569021_fix
Edit the local initialization file and remove any relative path entry from the library preload variable that has not been authorized by the ISSO. Remove any empty path entries that are defined in these files.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN001940
- Vuln IDs
-
- V-218344
- V-4087
- Rule IDs
-
- SV-218344r603259_rule
- SV-63573
Checks: C-19819r569023_chk
Determine the world writable files on the system (Note: ignore all files under /proc): # find / -perm -002 -a -type f -exec ls -ld {} \; | <more or redirect the output to a file> # find / -perm -002 -a -type d -exec ls -ld {} \; | <more or redirect the output to a file> View the password file to determine where the home directories for users are: # more /etc/passwd Once the directory for the human users is determined, grep for the lists of world writable files and directories within the users’ home directories. An example would be: # grep /opt/app/bin/daemon /home/*/.* where /home is the directory for the human users on the system and /opt/app/bin/daemon is a world writable file.
Fix: F-19817r569024_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-218345
- V-11987
- Rule IDs
-
- SV-218345r603259_rule
- SV-63581
Checks: C-19820r554372_chk
Check system configuration files for plus (+) entries. Procedure: # find / -name .rhosts # grep + /<directorylocation>/.rhosts # find / -name .shosts # grep + /<directorylocation>/.shosts # find / -name hosts.equiv # grep + /<directorylocation>/hosts.equiv # find / -name shosts.equiv # grep + /<directorylocation>/shosts.equiv # 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-19818r554373_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-218346
- V-913
- Rule IDs
-
- SV-218346r603259_rule
- SV-63591
Checks: C-19821r554375_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-19819r554376_fix
Remove the .netrc file(s). Procedure: # find / -name .netrc # rm <.netrc file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002020
- Vuln IDs
-
- V-218347
- V-4427
- Rule IDs
-
- SV-218347r603259_rule
- SV-63611
Checks: C-19822r554378_chk
Locate and examine all r-commands access control files. Procedure: # find / -name .rhosts # more /<directorylocation>/.rhosts # find / -name .shosts # more /<directorylocation>/.shosts # find / -name hosts.equiv # more /<directorylocation>/hosts.equiv # find / -name shosts.equiv # more /<directorylocation>/shosts.equiv If any .rhosts, .shosts, hosts.equiv, or shosts.equiv file contains other than host-user pairs, this is a finding.
Fix: F-19820r554379_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-218348
- V-11988
- Rule IDs
-
- SV-218348r603259_rule
- SV-63621
Checks: C-19823r554381_chk
Check for the existence of the files. # find / -name .rhosts # find / -name .shosts # find / -name hosts.equiv # find / -name shosts.equiv If .rhosts, .shosts, hosts.equiv, or shosts.equiv are found and their use has not been documented and approved by the IAO, this is a finding.
Fix: F-19821r554382_fix
Remove all the r-commands access control files. Procedure: # find / -name .rhosts -exec rm {} \; # find / -name .shosts -exec rm {} \; # find / -name hosts.equiv -exec rm {} \; # find / -name shosts.equiv -exec rm {} \;
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002060
- Vuln IDs
-
- V-218349
- V-4428
- Rule IDs
-
- SV-218349r603259_rule
- SV-63635
Checks: C-19824r569026_chk
Procedure: # ls -l /etc/hosts.equiv # ls -l /etc/ssh/shosts.equiv # find / -name .rhosts # ls -al <home directory>/.rhosts # find / -name .shosts # ls -al <home directory>/.shosts # find / -name .netrc # ls -al <home directory>/.netrc If the .rhosts, .shosts, hosts.equiv, or shosts.equiv files have permissions greater than 600, then this is a finding. If the /etc/hosts.equiv, or /etc/ssh/shosts.equiv files are not owned by root, this is a finding. Any .rhosts, .shosts and .netrc files outside of home directories have no meaning and are not subject to this rule If the ~/.rhosts or ~/.shosts are not owned by the owner of the home directory where they are immediately located or by root, this is a finding.
Fix: F-19822r569027_fix
Ensure the permission for these files is set to 600 or more restrictive and their owner is root or the same as the owner of the home directory in which they reside. Procedure: # chmod 600 /etc/hosts.equiv # chmod 600 /etc/ssh/shosts.equiv # chown root /etc/hosts.equiv # chown root /etc/ssh/shosts.equiv # find / -name .rhosts # chmod 600 /<home directory>/.rhosts # chown <home directory owner> <home directory>/.rhosts # find / -name .shosts # chmod 600 <directory location>/.shosts # chown <home directory owner> <home directory>/.shosts # find / -name .netrc # chmod 600 <directory location>/.netrc # chown <home directory owner> <home directory>/.netrc
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002100
- Vuln IDs
-
- V-218350
- V-11989
- Rule IDs
-
- SV-218350r603259_rule
- SV-63647
Checks: C-19825r554387_chk
Check the PAM configuration for rhosts_auth. Example: # grep rhosts_auth /etc/pam.d/* If a rhosts_auth entry is found, this is a finding.
Fix: F-19823r554388_fix
Edit the file(s) in /etc/pam.d referencing the rhosts_auth module, and remove the references to the rhosts_auth module.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002120
- Vuln IDs
-
- V-218351
- V-916
- Rule IDs
-
- SV-218351r603259_rule
- SV-63651
Checks: C-19826r554390_chk
Verify /etc/shells exists. # ls -l /etc/shells If the file does not exist, this is a finding.
Fix: F-19824r554391_fix
Create a /etc/shells file containing a list of valid system shells. Consult vendor documentation for an appropriate list of system shells. Procedure: # echo "/bin/bash" >> /etc/shells # echo "/bin/csh" >> /etc/shells (Repeat as necessary for other shells.)
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002140
- Vuln IDs
-
- V-218352
- V-917
- Rule IDs
-
- SV-218352r603259_rule
- SV-63671
Checks: C-19827r554393_chk
Confirm the login shells referenced in the /etc/passwd file are listed in the /etc/shells file. Procedure: Determine which shells are permitted for use by users: # more /etc/shells Note: /usr/bin/false, /bin/false, /dev/null, /sbin/nologin, /bin/sync, /sbin/halt, /sbin/shutdown, (and equivalents) cannot be placed in the /etc/shells file. Determine which shells are being used: # more /etc/passwd (optionally shells found in /etc/passwd can be grepped for in /etc/shells) If any shells are found that are not in /etc/shells, or if false shells are found in /etc/shells, then this is a finding.
Fix: F-19825r554394_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. Example: # chsh -s /bin/bash testuser
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002200
- Vuln IDs
-
- V-218353
- V-921
- Rule IDs
-
- SV-218353r603259_rule
- SV-63677
Checks: C-19828r561788_chk
Check the ownership of the system shells. # cat /etc/shells | xargs -n1 ls -l If any shell is not owned by root or bin, this is a finding.
Fix: F-19826r561789_fix
Change the ownership of the shell with incorrect ownership. # chown root <shell>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002210
- Vuln IDs
-
- V-218354
- V-22365
- Rule IDs
-
- SV-218354r603259_rule
- SV-63697
Checks: C-19829r569029_chk
If /etc/shells exists, check the group ownership of each shell referenced. Procedure: # cat /etc/shells | xargs -n1 ls -l Otherwise, check any shells found on the system. Procedure: # find / -name "*sh" | xargs -n1 ls -l If a shell is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-19827r569030_fix
Change the group-owner of the shell to root, bin, sys, or system. Procedure: # chgrp root <shell>
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN002220
- Vuln IDs
-
- V-218355
- V-922
- Rule IDs
-
- SV-218355r603259_rule
- SV-63713
Checks: C-19830r569032_chk
If /etc/shells exists, check the group ownership of each shell referenced. # cat /etc/shells | xargs -n1 ls -l Otherwise, check any shells found on the system. # find / -name "*sh" | xargs -n1 ls -l If a shell has a mode more permissive than 0755, this is a finding.
Fix: F-19828r569033_fix
Change the mode of the shell. # chmod 0755 <shell>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002230
- Vuln IDs
-
- V-218356
- V-22366
- Rule IDs
-
- SV-218356r603259_rule
- SV-63017
Checks: C-19831r569035_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. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19829r569036_fix
Remove the extended ACL from the file. # setfacl --remove-all [shell]
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN002260
- Vuln IDs
-
- V-218357
- V-923
- Rule IDs
-
- SV-218357r603259_rule
- SV-63209
Checks: C-19832r554408_chk
Determine if there are any device files outside of /dev: # find / -type b -o -type c |more Check for the presence of an aide on the system: # rpm -qa | grep aide If aide is not installed, ask the SA what file integrity tool is being used to check the system. Check the global crontabs for the presence of an "aide" job to run at least weekly, if aide is installed. Otherwise, check for the presence of a cron job to run the alternate file integrity checking application. # grep aide /etc/cron*/* If a tool is being run, then the configuration file for the appropriate tool needs to be checked for selection lines for /dev and any other directories/subdirectories that contain device files. Review the process to determine if the system is checked for extraneous device files on a weekly basis. If no weekly automated or manual process is in place, this is a finding. If the process is not identifying extraneous device files, this is a finding.
Fix: F-19830r554409_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. A list of device files can be generated with this command: # find / -type b -o -type c > device-file-list
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002280
- Vuln IDs
-
- V-218358
- V-924
- Rule IDs
-
- SV-218358r603259_rule
- SV-63229
Checks: C-19833r569038_chk
Find all world-writable device files existing anywhere on the system. Procedure: # find / -perm -2 -a \( -type b -o -type c \) > devicelist Check the permissions on the directories above subdirectories containing device files. If any of the device files or their parent directories are world-writable, excepting device files specifically intended to be world-writable such as /dev/null, this is a finding. These world-writable files on installation are intended to be world-writable: /dev/full /dev/null /selinux/null /dev/ptmx /dev/random /dev/tty /dev/vsock /dev/zero /dev/log
Fix: F-19831r569039_fix
Remove the world-writable permission from the device file(s). Procedure: # chmod o-w <device file> Document all changes.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002300
- Vuln IDs
-
- V-218359
- V-925
- Rule IDs
-
- SV-218359r603259_rule
- SV-63241
Checks: C-19834r569041_chk
Check the system for world-writable device files. Procedure: # find / -perm -2 -a \( -type b -o -type c \) -exec ls -ld {} \; Ask the SA to identify any device files used for backup purposes. If any device file(s) used for backup are writable by users other than root or the designated backup user, this is a finding.
Fix: F-19832r569042_fix
Use the chmod command to remove the world-writable bit from the backup device files. Procedure: # chmod o-w <back device filename> Document all changes.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002320
- Vuln IDs
-
- V-218360
- V-1048
- Rule IDs
-
- SV-218360r603259_rule
- SV-63247
Checks: C-19835r569044_chk
Check the mode of audio devices. # ls -lL /dev/audio* /dev/snd/* If the mode of audio devices are more permissive than 660, this is a finding.
Fix: F-19833r569045_fix
Change the mode of audio devices. # chmod 0660 <audio device>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002330
- Vuln IDs
-
- V-218361
- V-22367
- Rule IDs
-
- SV-218361r603259_rule
- SV-63293
Checks: C-19836r561809_chk
Check the permissions of audio devices. # ls -lL /dev/audio* /dev/snd/* If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19834r561810_fix
Remove the extended ACL from the file. # setfacl --remove-all [device file]
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002340
- Vuln IDs
-
- V-218362
- V-1049
- Rule IDs
-
- SV-218362r603259_rule
- SV-63301
Checks: C-19837r569047_chk
Check the owner of audio devices. # ls -lL /dev/audio* /dev/snd/* If the owner of any audio device file is not root, this is a finding.
Fix: F-19835r569048_fix
Edit the /etc/security/console.perms.d/50-default.perms file and comment the following line: <console> 0600 <sound> 0660 root.audio
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002360
- Vuln IDs
-
- V-218363
- V-1061
- Rule IDs
-
- SV-218363r603259_rule
- SV-63341
Checks: C-19838r561815_chk
Check the group-owner of audio devices. Procedure: # ls -lL /dev/audio* /dev/snd/* If the group-owner of an audio device is not root, sys, bin, system, or audio this is a finding.
Fix: F-19836r561816_fix
Change the group-owner of the audio device. Procedure: # chgrp <root, sys, bin, system, audio> <audio device>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002380
- Vuln IDs
-
- V-218364
- V-801
- Rule IDs
-
- SV-218364r603259_rule
- SV-63399
Checks: C-19839r569050_chk
Check for the presence of aide on the system: # rpm -qa | grep aide If aide is not installed, ask the SA what file integrity tool is being used to check the system. Check the global crontabs for the presence of an "aide" job to run at least weekly, if "aide" is installed. Otherwise, check for the presence of a "cron" job to run the alternate file integrity checking application. # grep aide /etc/cron*/* If a tool is being run, then the configuration file for the appropriate tool needs to be checked for selection lines /bin, /sbin, /lib, and /usr. If the file integrity tool is set to check "setuid" and "setgid", this is not a finding. 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 ISSO if files with the setuid bit set have been documented. Documentation must include the owner, group-owner, mode, ACL, and location of the files. If any undocumented file has its setuid bit set, this is a finding.
Fix: F-19837r569051_fix
Document the files with the suid bit set or unset the suid bit on the executable.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002400
- Vuln IDs
-
- V-218365
- V-803
- Rule IDs
-
- SV-218365r603259_rule
- SV-63421
Checks: C-19840r569053_chk
Ask the SA for the weekly automated or manual process 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. If a file integrity tool is configured to monitor setuid files weekly, this is not a finding. Review the process. If the process does not identify and report changes in setuid files, this is a finding. NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
Fix: F-19838r569054_fix
Establish a weekly automated or manual process to generate a list of suid files on the system and compare it with the prior list. To create a list of suid files: # find / -perm -4000 > suid-file-list NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002420
- Vuln IDs
-
- V-218366
- V-805
- Rule IDs
-
- SV-218366r603259_rule
- SV-63441
Checks: C-19841r569056_chk
Check /etc/mtab and verify the "nosuid" mount option is used on file systems mounted from removable media, network shares, or any other file system not containing approved setuid or setgid files. If any of these files systems do not mount with the "nosuid" option, it is a finding.
Fix: F-19839r569057_fix
Edit /etc/fstab and add the "nosuid" mount option to all file systems mounted from removable media or network shares, and any file system not containing approved setuid or setgid files.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002430
- Vuln IDs
-
- V-218367
- V-22368
- Rule IDs
-
- SV-218367r603259_rule
- SV-63455
Checks: C-19842r569059_chk
Check /etc/mtab and verify the "nodev" mount option is used on any filesystems mounted from removable media or network shares. If any filesystem mounted from removable media or network shares does not have this option, this is a finding.
Fix: F-19840r569060_fix
Edit /etc/fstab and add the "nodev" option to any filesystems mounted from removable media or network shares.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002440
- Vuln IDs
-
- V-218368
- V-802
- Rule IDs
-
- SV-218368r603259_rule
- SV-63459
Checks: C-19843r569062_chk
If STIGID GEN000220 is satisfied, this is not a finding. List all setgid files on the system. Procedure: # find / -perm -2000 -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 setgid bit set have been documented. Documentation must include owner, group-owner, mode, ACL, and location. If any undocumented file has its setgid bit set, this is a finding. If a tool is being run then the configuration file for the appropriate tool needs to be checked for selection lines /bin, /sbin, /lib, and /usr. If a file integrity tool is set to check setuid and setgid, this is not a finding.
Fix: F-19841r569063_fix
Document the files with the sgid bit set or unset the sgid bit on the executable.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002460
- Vuln IDs
-
- V-218369
- V-804
- Rule IDs
-
- SV-218369r603259_rule
- SV-63589
Checks: C-19844r569065_chk
Ask the SA 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. If a file integrity tool is configured to monitor setgid files weekly, this is not a finding. NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
Fix: F-19842r569066_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: # find / -perm -2000 > setgid-file-list NOTE: The frequency may be increased to daily, if necessary, in accordance with the contingency plan.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002480
- Vuln IDs
-
- V-218370
- V-1010
- Rule IDs
-
- SV-218370r603259_rule
- SV-63673
Checks: C-19845r569068_chk
Check the system for world-writable files. Procedure: # find / -perm -2 -a \( -type d -o -type f \) -exec ls -ld {} \; If any world-writable files are located, except those required for system operation such as /tmp and /dev/null, this is a finding.
Fix: F-19843r569069_fix
Remove or change the mode for any world-writable file on the system not required to be world-writable. Procedure: # chmod o-w <file> Document all changes
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN002500
- Vuln IDs
-
- V-218371
- V-806
- Rule IDs
-
- SV-218371r603259_rule
- SV-63691
Checks: C-19846r569071_chk
Check 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-19844r569072_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-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002520
- Vuln IDs
-
- V-218372
- V-807
- Rule IDs
-
- SV-218372r603259_rule
- SV-63705
Checks: C-19847r569074_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-19845r569075_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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002540
- Vuln IDs
-
- V-218373
- V-11990
- Rule IDs
-
- SV-218373r603259_rule
- SV-63797
Checks: C-19848r569077_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, this is a finding.
Fix: F-19846r569078_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-218374
- V-808
- Rule IDs
-
- SV-218374r603259_rule
- SV-63801
Checks: C-19849r569080_chk
NOTE: The following commands must be run in the BASH shell. Check global initialization files for the configured umask value. Procedure: # grep umask /etc/* Check local initialization files for the configured umask value. Procedure: # cut -d: -f6 /etc/passwd |xargs -n1 -IDIR find DIR -name ".*" -type f -maxdepth 1 -exec grep umask {} \; 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 Severity Code I finding.
Fix: F-19847r569081_fix
Edit local and global initialization files that contain "umask" and change them to use 077 instead of the current value.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002640
- Vuln IDs
-
- V-218375
- V-810
- Rule IDs
-
- SV-218375r603259_rule
- SV-63809
Checks: C-19850r569083_chk
Determine if default system accounts (such as those for sys, bin, uucp, nuucp, daemon, smtp) have been disabled. # cat /etc/shadow If an account's password field (which is the second field in the /etc/shadow file) is "*", "*LK*", or is prefixed with a '!', the account is locked or disabled. If there are any unlocked default system accounts, this is a finding.
Fix: F-19848r569084_fix
Lock the default system account(s). # passwd -l <user>
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002660
- Vuln IDs
-
- V-218376
- V-811
- Rule IDs
-
- SV-218376r603259_rule
- SV-63819
Checks: C-19851r554465_chk
Determine if auditing is enabled. # ps -ef |grep auditd If the auditd process is not found, this is a finding.
Fix: F-19849r554466_fix
Start the auditd service and set it to start on boot. # service auditd start ; chkconfig auditd on
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- GEN002680
- Vuln IDs
-
- V-218377
- V-812
- Rule IDs
-
- SV-218377r603259_rule
- SV-63845
Checks: C-19852r554468_chk
Perform the following to determine the location of audit logs and then check the ownership. Procedure: # grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %U:%n If any audit log file is not owned by root, this is a finding.
Fix: F-19850r554469_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-218378
- V-22702
- Rule IDs
-
- SV-218378r603259_rule
- SV-63873
Checks: C-19853r554471_chk
Check the group ownership of the audit logs. Procedure: # grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %G:%n If any audit log file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-19851r554472_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-218379
- V-813
- Rule IDs
-
- SV-218379r603259_rule
- SV-63883
Checks: C-19854r569086_chk
Perform the following to determine the location of audit logs and then check the mode of the files. Procedure: # grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %a:%n If any audit log file has a mode more permissive than 0640, this is a finding.
Fix: F-19852r569087_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-218380
- V-22369
- Rule IDs
-
- SV-218380r603259_rule
- SV-63885
Checks: C-19855r554477_chk
Check the system audit log files for extended ACLs. Procedure: # grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs ls -l If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19853r554478_fix
Remove the extended ACL from the system audit file(s).
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001493
- Version
- GEN002715
- Vuln IDs
-
- V-218381
- V-22370
- Rule IDs
-
- SV-218381r603259_rule
- SV-63959
Checks: C-19856r554480_chk
Verify the audit tool executables are owned by root. # ls -l /sbin/auditctl /sbin/auditd /sbin/ausearch /sbin/aureport /sbin/autrace /sbin/audispd If any listed file is not owned by root, this is a finding.
Fix: F-19854r554481_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-218382
- V-22371
- Rule IDs
-
- SV-218382r603259_rule
- SV-63975
Checks: C-19857r554483_chk
Verify the audit tool executables are group-owned by root, bin, sys, or system. Procedure: # ls -lL /sbin/auditctl /sbin/auditd /sbin/ausearch /sbin/aureport /sbin/autrace /sbin/audispd If any listed file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-19855r554484_fix
Change the group-owner of the audit tool executable to root, bin, sys, or system. Procedure: # chgrp root <audit tool executable>
- RMF Control
- AU-9
- Severity
- L
- CCI
- CCI-001493
- Version
- GEN002717
- Vuln IDs
-
- V-218383
- V-22372
- Rule IDs
-
- SV-218383r603259_rule
- SV-64003
Checks: C-19858r554486_chk
Check the mode of audit tool executables. # ls -l /sbin/auditctl /sbin/auditd /sbin/ausearch /sbin/aureport /sbin/autrace /sbin/audispd If any listed file has a mode more permissive than 0750, this is a finding.
Fix: F-19856r554487_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-218384
- V-22373
- Rule IDs
-
- SV-218384r603259_rule
- SV-64097
Checks: C-19859r554489_chk
Check the permissions of audit tool executables. # ls -l /sbin/auditctl /sbin/auditd /sbin/ausearch /sbin/aureport /sbin/autrace /sbin/audispd If the permissions include a '+' the file has an extended ACL, this is a finding.
Fix: F-19857r554490_fix
Remove the extended ACL from the file. # setfacl --remove-all [audit file]
- RMF Control
- AU-5
- Severity
- L
- CCI
- CCI-000139
- Version
- GEN002719
- Vuln IDs
-
- V-218385
- V-22374
- Rule IDs
-
- SV-218385r603259_rule
- SV-64223
Checks: C-19860r569089_chk
Verify the /etc/audit/auditd.conf has the disk_full_action and disk_error_action parameters set. Procedure: # grep disk_full_action /etc/audit/auditd.conf If the disk_full_action parameter is missing or set to "suspend" or "ignore", this is a finding. # grep disk_error_action /etc/audit/auditd.conf If the disk_error_action parameter is missing or set to "suspend" or "ignore", this is a finding.
Fix: F-19858r569090_fix
Edit /etc/audit/auditd.conf and set the disk_full_action and/or disk_error_action parameters to a valid setting of "syslog", "exec", "single" or "halt", adding the parameters if necessary.
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002720
- Vuln IDs
-
- V-218386
- V-814
- Rule IDs
-
- SV-218386r603259_rule
- SV-64247
Checks: C-19861r554495_chk
Verify auditd is configured to audit failed file access attempts. There must be an audit rule for each of the access syscalls logging all failed accesses (-F success=0) or there must both an "-F exit=-EPERM" and "-F exit=-EACCES" for each access syscall. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S creat" | grep -e "-F success=0" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S creat" | grep -e "-F exit=-EPERM" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S creat" | grep -e "-F exit=-EACCES" If an "-S creat" audit rule with "-F success" does not exist and no separate rules containing "-F exit=-EPERM" and "-F exit=-EACCES" for "creat" exist, then this is a finding.
Fix: F-19859r554496_fix
Edit the audit.rules file and add the following line(s) to enable auditing of failed attempts to access files and programs: either: -a exit,always -F arch=<ARCH> -S creat -F success=0 or both: -a exit,always -F arch=<ARCH> -S creat -F exit=-EPERM -a exit,always -F arch=<ARCH> -S creat -F exit=-EACCES Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002720-2
- Vuln IDs
-
- V-218387
- V-29236
- Rule IDs
-
- SV-218387r603259_rule
- SV-64249
Checks: C-19862r554498_chk
Check that auditd is configured to audit failed file access attempts. There must be an audit rule for each of the access syscalls that logs all failed accesses (-F success=0) or there must both an "-F exit=-EPERM" and "-F exit=-EACCES" for each access syscall. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S open" | grep -e "-F success=0" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S open" | grep -e "-F exit=-EPERM" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S open" | grep -e "-F exit=-EACCES" If an "-S open" audit rule with "-F success" does not exist and no separate rules containing "-F exit=-EPERM" and "-F exit=-EACCES" for "open" exist, then this is a finding.
Fix: F-19860r554499_fix
Edit the audit.rules file and add the following line(s) to enable auditing of failed attempts to access files and programs: either: -a exit,always -F arch=<ARCH> -S open -F success=0 or both: -a exit,always -F arch=<ARCH> -S open -F exit=-EPERM -a exit,always -F arch=<ARCH> -S open -F exit=-EACCES Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002720-3
- Vuln IDs
-
- V-218388
- V-29237
- Rule IDs
-
- SV-218388r603259_rule
- SV-64255
Checks: C-19863r554501_chk
Verify auditd is configured to audit failed file access attempts. There must be an audit rule for each of the access syscalls logging all failed accesses (-F success=0) or there must both an "-F exit=-EPERM" and "-F exit=-EACCES" for each access syscall. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S openat" | grep -e "-F success=0" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S openat" | grep -e "-F exit=-EPERM" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S openat" | grep -e "-F exit=-EACCES" If an "-S openat" audit rule with "-F success" does not exist and no separate rules containing "-F exit=-EPERM" and "-F exit=-EACCES" for "openat" exist, then this is a finding.
Fix: F-19861r554502_fix
Edit the audit.rules file and add the following line(s) to enable auditing of failed attempts to access files and programs: either: -a exit,always -F arch=<ARCH> -S openat -F success=0 or both: -a exit,always -F arch=<ARCH> -S openat -F exit=-EPERM -a exit,always -F arch=<ARCH> -S openat -F exit=-EACCES Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002720-4
- Vuln IDs
-
- V-218389
- V-29238
- Rule IDs
-
- SV-218389r603259_rule
- SV-64257
Checks: C-19864r554504_chk
Verify auditd is configured to audit failed file access attempts. There must be an audit rule for each of the access syscalls logging all failed accesses (-F success=0) or there must both an "-F exit=-EPERM" and "-F exit=-EACCES" for each access syscall. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S truncate" | grep -e "-F success=0" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S truncate" | grep -e "-F exit=-EPERM" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S truncate" | grep -e "-F exit=-EACCES" If an "-S truncate" audit rule with "-F success" does not exist and no separate rules containing "-F exit=-EPERM" and "-F exit=-EACCES" for "truncate" exist, then this is a finding.
Fix: F-19862r554505_fix
Edit the audit.rules file and add the following line(s) to enable auditing of failed attempts to access files and programs: either: -a exit,always -F arch=<ARCH> -S truncate -F success=0 or both: -a exit,always -F arch=<ARCH> -S truncate -F exit=-EPERM -a exit,always -F arch=<ARCH> -S truncate -F exit=-EACCES Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002720-5
- Vuln IDs
-
- V-218390
- V-29239
- Rule IDs
-
- SV-218390r603259_rule
- SV-64259
Checks: C-19865r554507_chk
Verify auditd is configured to audit failed file access attempts. There must be an audit rule for each of the access syscalls logging all failed accesses (-F success=0) or there must both an "-F exit=-EPERM" and "-F exit=-EACCES" for each access syscall. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S ftruncate" | grep -e "-F success=0" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S ftruncate" | grep -e "-F exit=-EPERM" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S ftruncate" | grep -e "-F exit=-EACCES" If an "-S ftruncate" audit rule with "-F success" does not exist and no separate rules containing "-F exit=-EPERM" and "-F exit=-EACCES" for "ftruncate" exist, then this is a finding.
Fix: F-19863r554508_fix
Edit the audit.rules file and add the following line(s) to enable auditing of failed attempts to access files and programs: either: -a exit,always -F arch=<ARCH> -S ftruncate -F success=0 or both: -a exit,always -F arch=<ARCH> -S ftruncate -F exit=-EPERM -a exit,always -F arch=<ARCH> -S ftruncate -F exit=-EACCES Restart the auditd service. # service auditd restart
- RMF Control
- AU-5
- Severity
- M
- CCI
- CCI-000143
- Version
- GEN002730
- Vuln IDs
-
- V-218391
- V-22375
- Rule IDs
-
- SV-218391r603259_rule
- SV-64261
Checks: C-19866r569092_chk
Check /etc/audit/auditd.conf for the space_left_action and action_mail_accnt parameters. If the space_left_action or the action_mail_accnt parameters are set to blanks, this is a finding. If the space_left_action is set to "syslog", the system logs the event, this is not a finding. If the space_left_action is set to "exec", the system executes a designated script. If this script informs the SA of the event, this is not a finding. If the space_left_action parameter is missing, this is a finding. If the space_left_action parameter is set to "ignore" or "suspend" no logging would be performed after the event, this is a finding. If the space_left_action parameter is set to "single" or "halt" this effectively stops the system causing a Denial of Service, this is a finding. If the space_left_action is set to "email" and the action_mail_acct parameter is not set to the e-mail address of the system administrator, this is a finding. The action_mail_acct parameter, if missing, defaults to "root". Note that if the email address of the system administrator is on a remote system "sendmail" must be available.
Fix: F-19864r569093_fix
Edit /etc/audit/auditd.conf and set the space_left_action parameter to a valid setting other than "ignore". If the space_left_action parameter is set to "email" set the action_mail_acct parameter to an e-mail address for the system administrator.
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002740
- Vuln IDs
-
- V-218392
- V-815
- Rule IDs
-
- SV-218392r603259_rule
- SV-64263
Checks: C-19867r554513_chk
Check the system audit configuration to determine if file and directory deletions are audited. # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "unlink" If no results are returned, or the results do not contain "-S unlink", this is a finding.
Fix: F-19865r554514_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the /etc/audit/audit.rules file, and add one or more the lines (subject to the dual-architecture discussion above) to enable auditing of deletions: -a exit,always -F arch=<ARCH> -S unlink Restart the auditd service: # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002740-2
- Vuln IDs
-
- V-218393
- V-29240
- Rule IDs
-
- SV-218393r603259_rule
- SV-64265
Checks: C-19868r554516_chk
Check the system audit configuration to determine if file and directory deletions are audited. # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "rmdir" If no results are returned, or the results do not contain "-S rmdir", this is a finding.
Fix: F-19866r554517_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the /etc/audit/audit.rules file, and add one or more the lines (subject to the dual-architecture discussion above) to enable auditing of deletions: -a exit,always -F arch=<ARCH> -S rmdir Restart the auditd service: # service auditd restart
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-000018
- Version
- GEN002750
- Vuln IDs
-
- V-218394
- V-22376
- Rule IDs
-
- SV-218394r603259_rule
- SV-64267
Checks: C-19869r554519_chk
Determine if execution of the useradd and groupadd executable are audited. # auditctl -l | egrep '(useradd|groupadd)' If either useradd or groupadd are not listed with a permissions filter of at least 'x', this is a finding. Determine if /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow are audited for appending. # auditctl -l | egrep '(/etc/passwd|/etc/shadow|/etc/group|/etc/gshadow)' If any of these are not listed with a permissions filter of at least 'a', this is a finding.
Fix: F-19867r554520_fix
Configure execute auditing of the useradd and groupadd executables. Add the following to audit.rules: -w /usr/sbin/useradd -p x -k useradd -w /usr/sbin/groupadd -p x -k groupadd Configure append auditing of the passwd, shadow, group, and gshadow files. Add the following to audit.rules: -w /etc/passwd -p a -k passwd -w /etc/shadow -p a -k shadow -w /etc/group -p a -k group -w /etc/gshadow -p a -k gshadow Restart the auditd service.
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-001403
- Version
- GEN002751
- Vuln IDs
-
- V-218395
- V-22377
- Rule IDs
-
- SV-218395r603259_rule
- SV-64269
Checks: C-19870r554522_chk
Determine if execution of the usermod and groupmod executable are audited. # auditctl -l | egrep '(usermod|groupmod)' If either useradd or groupadd are not listed with a permissions filter of at least 'w', this is a finding. Determine if /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow are audited for writing. # auditctl -l | egrep '(/etc/passwd|/etc/shadow|/etc/group|/etc/gshadow)' If any of these are not listed with a permissions filter of at least 'w', this is a finding.
Fix: F-19868r554523_fix
Configure execute auditing of the usermod and groupmod executables. Add the following to the audit.rules file: -w /usr/sbin/usermod -p x -k usermod -w /usr/sbin/groupmod -p x -k groupmod Configure append auditing of the passwd, shadow, group, and gshadow files. Add the following to the audit.rules file: -w /etc/passwd -p w -k passwd -w /etc/shadow -p w -k shadow -w /etc/group -p w -k group -w /etc/gshadow -p w -k gshadow Restart the auditd service.
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-001404
- Version
- GEN002752
- Vuln IDs
-
- V-218396
- V-22378
- Rule IDs
-
- SV-218396r603259_rule
- SV-64271
Checks: C-19871r554525_chk
Determine if execution of the passwd executable is audited. # auditctl -l | grep /usr/bin/passwd If passwd is not listed with a permissions filter of at least 'x', this is a finding.
Fix: F-19869r554526_fix
Configure execute auditing of the passwd executable. Add the following to the audit.rules file: -w /usr/bin/passwd -p x -k passwd Restart the auditd service.
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-001405
- Version
- GEN002753
- Vuln IDs
-
- V-218397
- V-22382
- Rule IDs
-
- SV-218397r603259_rule
- SV-64273
Checks: C-19872r554528_chk
Determine if execution of the userdel and groupdel executable are audited. # auditctl -l | egrep '(userdel|groupdel)' If either userdel or groupdel are not listed with a permissions filter of at least 'x', this is a finding.
Fix: F-19870r554529_fix
Configure execute auditing of the userdel and groupdel executables. Add the following to the audit.rules file: -w /usr/sbin/userdel -p x -w /usr/sbin/groupdel -p x Restart the auditd service.
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002760-10
- Vuln IDs
-
- V-218398
- V-29249
- Rule IDs
-
- SV-218398r603259_rule
- SV-64275
Checks: C-19873r569095_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "sched_setscheduler" If the result does not contain "-S sched_setscheduler", this is a finding.
Fix: F-19871r569096_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the /etc/audit/audit.rules file, and add one or more the lines (subject to the dual-architecture discussion above) to enable auditing of operations that change operating system scheduling algorithms and parameters: -a exit,always -F arch=<ARCH> -S sched_setscheduler Restart the auditd service: # service auditd restart
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-000347
- Version
- GEN002760-2
- Vuln IDs
-
- V-218399
- V-29241
- Rule IDs
-
- SV-218399r603259_rule
- SV-64471
Checks: C-19874r569098_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -i "audit.rules" If no results are returned, or the line does not start with "-w", this is a finding.
Fix: F-19872r569099_fix
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -w /etc/audit/audit.rules Restart the auditd service. # service auditd restart
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002760-3
- Vuln IDs
-
- V-218400
- V-29242
- Rule IDs
-
- SV-218400r603259_rule
- SV-64481
Checks: C-19875r569101_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "adjtimex" If the result does not contain "-S adjtimex", this is a finding.
Fix: F-19873r569102_fix
The "-F arch=<ARCH>"restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>"restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -a exit,always -F arch=<ARCH> -S adjtimex Restart the auditd service. # service auditd restart
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-000347
- Version
- GEN002760-4
- Vuln IDs
-
- V-218401
- V-29243
- Rule IDs
-
- SV-218401r603259_rule
- SV-64489
Checks: C-19876r569104_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "settimeofday" If the result does not contain "-S settimeofday", this is a finding.
Fix: F-19874r569105_fix
The "-F arch=<ARCH>"restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>"restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -a exit,always -F arch=<ARCH> -S settimeofday Restart the auditd service. # service auditd restart
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002760-5
- Vuln IDs
-
- V-218402
- V-29244
- Rule IDs
-
- SV-218402r603259_rule
- SV-64491
Checks: C-19877r569107_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "stime" # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "settimeofday" If the result does not contain "-S stime" or "-S settimeofday ", this is a finding. The "stime" keyword is only required on systems using an i386 architecture.
Fix: F-19875r569108_fix
The "-F arch=<ARCH>"restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>"restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -a exit,always -F arch=<ARCH> -S stime (only used for systems using an i386 architecture) -a exit,always -F arch=<ARCH> -S settimeofday (used on all non-i386 architectures such as b64 and x86_64) Restart the auditd service. # service auditd restart
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-000347
- Version
- GEN002760-6
- Vuln IDs
-
- V-218403
- V-29245
- Rule IDs
-
- SV-218403r603259_rule
- SV-64529
Checks: C-19878r569110_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "clock_settime" If the result does not contain "-S clock_settime", this is a finding.
Fix: F-19876r569111_fix
The "-F arch=<ARCH>"restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>"restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -a exit,always -F arch=<ARCH> -S clock_settime Restart the auditd service. # service auditd restart
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002760-7
- Vuln IDs
-
- V-218404
- V-29246
- Rule IDs
-
- SV-218404r603259_rule
- SV-64543
Checks: C-19879r569113_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "sethostname" If the result does not contain "-S sethostname", this is a finding.
Fix: F-19877r569114_fix
The "-F arch=<ARCH>"restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>"restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -a exit,always -F arch=<ARCH> -S sethostname Restart the auditd service. # service auditd restart
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-000347
- Version
- GEN002760-8
- Vuln IDs
-
- V-218405
- V-29247
- Rule IDs
-
- SV-218405r603259_rule
- SV-64551
Checks: C-19880r569116_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "setdomain" If the result does not contain "-S setdomain", this is a finding.
Fix: F-19878r569117_fix
The "-F arch=<ARCH>"restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>"restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions: -a exit,always -F arch=<ARCH> -S setdomainname Restart the auditd service. # service auditd restart
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- GEN002760-9
- Vuln IDs
-
- V-218406
- V-29248
- Rule IDs
-
- SV-218406r603259_rule
- SV-64555
Checks: C-19881r569119_chk
Check the auditing configuration of the system. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "sched_setparam" If the result does not contain "-S sched_setparam", this is a finding.
Fix: F-19879r569120_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the /etc/audit/audit.rules file, and add one or more the lines (subject to the dual-architecture discussion above) to enable auditing of operations that change operating system scheduling parameters: -a exit,always -F arch=<ARCH> -S sched_setparam Restart the auditd service: # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002800
- Vuln IDs
-
- V-218407
- V-818
- Rule IDs
-
- SV-218407r603259_rule
- SV-65285
Checks: C-19882r554558_chk
The message types that are always recorded to /var/log/audit/audit.log include LOGIN,USER_LOGIN,USER_START,USER_END among others and do not need to be added to audit_rules. The log files /var/log/faillog and /var/log/lastlog must be protected from tampering of the login records. Procedure: #egrep "faillog|lastlog" /etc/audit/audit.rules|grep "-p (wa|aw)" If both /var/log/faillog and /var/log/lastlog entries do not exist, this is a finding.
Fix: F-19880r554559_fix
Ensure logins. Procedure: Modify /etc/audit/audit.rules to contain: -w /var/log/faillog -p wa -w /var/log/lastlog -p wa Restart the auditd service: # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002820
- Vuln IDs
-
- V-218408
- V-819
- Rule IDs
-
- SV-218408r603259_rule
- SV-64623
Checks: C-19883r554561_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i " chmod " If "-S chmod" is not in the result, this is a finding.
Fix: F-19881r554562_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S chmod Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002820-10
- Vuln IDs
-
- V-218409
- V-29272
- Rule IDs
-
- SV-218409r603259_rule
- SV-64619
Checks: C-19884r554564_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fsetxattr" If "-S fsetxattr" is not in the result, this is a finding.
Fix: F-19882r554565_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S fsetxattr Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002820-11
- Vuln IDs
-
- V-218410
- V-29274
- Rule IDs
-
- SV-218410r603259_rule
- SV-64617
Checks: C-19885r554567_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "removexattr" If "-S removexattr" is not in the result, this is a finding.
Fix: F-19883r554568_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S removexattr Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002820-12
- Vuln IDs
-
- V-218411
- V-29275
- Rule IDs
-
- SV-218411r603259_rule
- SV-64615
Checks: C-19886r554570_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "lremovexattr" If "-S lremovexattr" is not in the result, this is a finding.
Fix: F-19884r554571_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S lremovexattr Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002820-13
- Vuln IDs
-
- V-218412
- V-29279
- Rule IDs
-
- SV-218412r603259_rule
- SV-64613
Checks: C-19887r554573_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fremovexattr" If "-S fremovexattr" is not in the result, this is a finding.
Fix: F-19885r554574_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S fremovexattr Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002820-2
- Vuln IDs
-
- V-218413
- V-29250
- Rule IDs
-
- SV-218413r603259_rule
- SV-64611
Checks: C-19888r555437_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchmod" If "-S fchmod" is not in the result, this is a finding.
Fix: F-19886r555438_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S fchmod Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002820-3
- Vuln IDs
-
- V-218414
- V-29251
- Rule IDs
-
- SV-218414r603259_rule
- SV-64609
Checks: C-19889r555440_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchmodat" If "-S fchmodat" is not in the result, this is a finding.
Fix: F-19887r555441_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S fchmodat Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002820-4
- Vuln IDs
-
- V-218415
- V-29252
- Rule IDs
-
- SV-218415r603259_rule
- SV-64607
Checks: C-19890r555443_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "chown" If "-S chown" is not in the result, this is a finding. Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64): # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "chown32" If "-S chown32" is not in the result, this is a finding.
Fix: F-19888r555444_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S chown Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64): -a exit,always -F arch=<ARCH> -S chown32 Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002820-5
- Vuln IDs
-
- V-218416
- V-29253
- Rule IDs
-
- SV-218416r603259_rule
- SV-64605
Checks: C-19891r555446_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchown" If "-S fchown" is not in the result, this is a finding. Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64): # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchown32" If "-S fchown32" is not in the result, this is a finding.
Fix: F-19889r555447_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S fchown Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64): -a exit,always -F arch=<ARCH> -S fchown32 Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002820-6
- Vuln IDs
-
- V-218417
- V-29255
- Rule IDs
-
- SV-218417r603259_rule
- SV-64603
Checks: C-19892r555449_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "fchownat" If "-S fchownat" is not in the result, this is a finding.
Fix: F-19890r555450_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S fchownat Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002820-7
- Vuln IDs
-
- V-218418
- V-29257
- Rule IDs
-
- SV-218418r603259_rule
- SV-64601
Checks: C-19893r555452_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "lchown" If "-S lchown" is not in the result, this is a finding. Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64): # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "lchown32" If "-S lchown32" is not in the result, this is a finding.
Fix: F-19891r555453_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S lchown Additionally, the following rule is required in systems supporting the 32-bit syscall table (such as i686 and x86_64): -a exit,always -F arch=<ARCH> -S lchown32 Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002820-8
- Vuln IDs
-
- V-218419
- V-29259
- Rule IDs
-
- SV-218419r603259_rule
- SV-64599
Checks: C-19894r555455_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "setxattr" If "-S setxattr" is not in the result, this is a finding.
Fix: F-19892r555456_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S setxattr Restart the auditd service. # service auditd restart
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-002234
- Version
- GEN002820-9
- Vuln IDs
-
- V-218420
- V-29261
- Rule IDs
-
- SV-218420r603259_rule
- SV-64591
Checks: C-19895r555458_chk
Check the system's audit configuration. Procedure: # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "lsetxattr" If "-S lsetxattr" is not in the result, this is a finding.
Fix: F-19893r555459_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the audit.rules file and add the following lines to enable auditing of discretionary access control permissions modifications. -a exit,always -F arch=<ARCH> -S lsetxattr Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002825
- Vuln IDs
-
- V-218421
- V-22383
- Rule IDs
-
- SV-218421r603259_rule
- SV-64505
Checks: C-19896r569122_chk
Determine if the init_module syscall is audited. # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "init_module" If the result does not contain "-S init_module", this is a finding.
Fix: F-19894r569123_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Configure auditing of the init_module syscalls. Add the following to the "etc/audit/audit.rules" or "etc/audit.rules" file: -a exit,always -S init_module Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002825-2
- Vuln IDs
-
- V-218422
- V-29281
- Rule IDs
-
- SV-218422r603259_rule
- SV-64499
Checks: C-19897r569125_chk
Determine if the delete_module syscall is audited. # cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "delete_module" If the result does not contain "-S delete_module", this is a finding.
Fix: F-19895r569126_fix
The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details. Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement and are a finding unless justified and documented appropriately. The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Edit the /etc/audit/audit.rules file, and add one or more the lines (subject to the dual-architecture discussion above) to enable auditing of kernel loadable module deletions: -a exit,always -F arch=<ARCH> -S delete_module Restart the auditd service: # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002825-3
- Vuln IDs
-
- V-218423
- V-29284
- Rule IDs
-
- SV-218423r603259_rule
- SV-64495
Checks: C-19898r569128_chk
Determine if /sbin/insmod is audited. # cat /etc/audit/audit.rules | grep "/sbin/insmod" If the result does not start with "-w" and contain "-p x", this is a finding.
Fix: F-19896r569129_fix
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Configure auditing of the /sbin/insmod, files. Add the following to the "etc/audit/audit.rules" or "etc/audit.rules" file: -w /sbin/insmod -p x Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002825-4
- Vuln IDs
-
- V-218424
- V-29286
- Rule IDs
-
- SV-218424r603259_rule
- SV-64429
Checks: C-19899r562435_chk
Determine if the /sbin/modprobe file is audited. # cat /etc/audit/audit.rules | grep "/sbin/modprobe" If the result does not start with "-w" and contain "-p x", this is a finding.
Fix: F-19897r562436_fix
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: -w /sbin/modprobe -p x Restart the auditd service. # service auditd restart
- RMF Control
- AU-2
- Severity
- M
- CCI
- CCI-000126
- Version
- GEN002825-5
- Vuln IDs
-
- V-218425
- V-29288
- Rule IDs
-
- SV-218425r603259_rule
- SV-64425
Checks: C-19900r562438_chk
Determine if the /sbin/rmmod file is audited. # cat /etc/audit/audit.rules | grep "/sbin/rmmod" If the result does not start with "-w" and contain "-p x", this is a finding.
Fix: F-19898r562439_fix
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding. Procedure: Configure auditing of the /sbin/rmmod file. Add the following to the "etc/audit/audit.rules" or "etc/audit.rules" file: -w /sbin/rmmod -p x Restart the auditd service. # service auditd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN002860
- Vuln IDs
-
- V-218426
- V-4357
- Rule IDs
-
- SV-218426r603259_rule
- SV-64423
Checks: C-19901r555476_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 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-19899r555477_fix
Configure a cron job or other automated process to rotate the audit logs on a daily basis.
- RMF Control
- AU-3
- Severity
- L
- CCI
- CCI-000136
- Version
- GEN002870
- Vuln IDs
-
- V-218427
- V-24357
- Rule IDs
-
- SV-218427r603259_rule
- SV-64419
Checks: C-19902r562441_chk
Verify the system is configured to forward all audit records to a remote server. If the system is not configured to provide this function, this is a finding. Procedure: Ensure the audit option for the kernel is enabled. # grep "audit" /boot/grub/grub.conf | grep -v "^#" If the kernel does not have the "audit=1" option specified, this is a finding. Ensure the kernel auditing is active. # grep "active" /etc/audisp/plugins.d/syslog.conf | grep -v "^#" If the "active" setting is either missing or not set to "yes", this is a finding. Ensure all audit records are forwarded to a remote server. # grep "\*.\*" /etc/syslog.conf |grep "@" | grep -v "^#" (for syslog) or: # grep "\*.\*" /etc/rsyslog.conf | grep "@" | grep -v "^#" (for rsyslog) If neither of these lines exist, it is a finding.
Fix: F-19900r562442_fix
Configure the system to send audit records to a remote server. Procedure: These instructions assume a known remote audit server is available to this system. Modify /etc/syslog.conf or /etc/rsyslog.conf to contain a line sending all audit records to a remote audit server. The server is specified by placing an "@" before the DNS name or IP address in the line. *.* @<remote audit server> Edit the "active" line in /etc/audisp/plugins.d/syslog.conf so it shows "active = yes". Restart audit and syslog: # service auditd restart # service syslog restart Or: # service rsyslog restart
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002960
- Vuln IDs
-
- V-218428
- V-974
- Rule IDs
-
- SV-218428r603259_rule
- SV-64415
Checks: C-19903r562444_chk
This check is not applicable if only the root user is permitted to use cron. Check for the existence of the cron.allow and cron.deny files. # ls -lL /etc/cron.allow # ls -lL /etc/cron.deny If neither file exists, this is a finding.
Fix: F-19901r562445_fix
Create /etc/cron.allow and/or /etc/cron.deny with appropriate content and reboot the system to ensure no lingering cron jobs are processed.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002980
- Vuln IDs
-
- V-218429
- V-975
- Rule IDs
-
- SV-218429r603259_rule
- SV-64411
Checks: C-19904r562447_chk
Check mode of the cron.allow file. Procedure: # ls -lL /etc/cron.allow If the file has a mode more permissive than 0600, this is a finding.
Fix: F-19902r562448_fix
Change the mode of the cron.allow file to 0600. Procedure: # chmod 0600 /etc/cron.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN002990
- Vuln IDs
-
- V-218430
- V-22384
- Rule IDs
-
- SV-218430r603259_rule
- SV-64407
Checks: C-19905r562450_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. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19903r562451_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/cron.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003000
- Vuln IDs
-
- V-218431
- V-976
- Rule IDs
-
- SV-218431r603259_rule
- SV-64405
Checks: C-19906r562453_chk
List all cronjobs on the system. Procedure: # ls /var/spool/cron # ls /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls /etc/cron*|grep -v deny If cron jobs exist under any of the above directories, use the following command to search for programs executed by cron: # more <cron job file> Perform a long listing of each program file found in the cron file to determine if the file is group-writable or world-writable. # ls -la <cron program file> If cron executes group-writable or world-writable files, this is a finding.
Fix: F-19904r562454_fix
Remove the world-writable and group-writable permissions from the cron program file(s) identified. # chmod go-w <cron program file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003020
- Vuln IDs
-
- V-218432
- V-977
- Rule IDs
-
- SV-218432r603259_rule
- SV-64403
Checks: C-19907r562456_chk
List all cronjobs on the system. Procedure: # ls /var/spool/cron # ls /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls /etc/cron*|grep -v deny If cron jobs exist under any of the above directories, use the following command to search for programs executed by at: # more <cron job file> Perform a long listing of each directory containing program files found in the cron file to determine if the directory is world-writable. # ls -ld <cron program directory> If cron executes programs in world-writable directories, this is a finding.
Fix: F-19905r562457_fix
Remove the world-writable permission from the cron program directories identified. Procedure: # chmod o-w <cron program directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003040
- Vuln IDs
-
- V-218433
- V-11994
- Rule IDs
-
- SV-218433r603259_rule
- SV-64401
Checks: C-19908r562459_chk
List all crontabs on the system. # ls -lL /var/spool/cron # ls -lL /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -lL /etc/cron*|grep -v deny If any crontab is not owned by root or the creating user, this is a finding.
Fix: F-19906r562460_fix
Change the crontab owner to root or the crontab creator. # chown root <crontab file> or # chown <user> <crontab file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003050
- Vuln IDs
-
- V-218434
- V-22385
- Rule IDs
-
- SV-218434r603259_rule
- SV-64399
Checks: C-19909r562462_chk
Check the group ownership of the crontab files. Procedure: # ls -lL /var/spool/cron # ls -lL /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -lL /etc/cron*|grep -v deny If the group owner is not root or the crontab owner's primary group, this is a finding.
Fix: F-19907r562463_fix
Change the group owner of the crontab file to root, cron, or the crontab's primary group. Procedure: # chgrp root [crontab file]
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003060
- Vuln IDs
-
- V-218435
- V-11995
- Rule IDs
-
- SV-218435r603259_rule
- SV-64395
Checks: C-19910r562465_chk
Check the cron.allow and cron.deny files for the system. # more /etc/cron.allow # more /etc/cron.deny If a default system account (such as bin, sys, adm, or others, traditionally UID less than 500) is listed in the cron.allow file, or not listed in the cron.deny file and if no cron.allow file exists, this is a finding.
Fix: F-19908r562466_fix
Remove default system accounts (such as bin, sys, adm, or others, traditionally UID less than 500) from the cron.allow file if it exists, or add those accounts to the cron.deny file.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003080
- Vuln IDs
-
- V-218436
- V-978
- Rule IDs
-
- SV-218436r603259_rule
- SV-64391
Checks: C-19911r562468_chk
Check the mode of the crontab files. # ls -lL /var/spool/cron/ # ls -lL /etc/cron.d/ # ls -lL /etc/crontab If any crontab file has a mode more permissive than 0600, this is a finding.
Fix: F-19909r562469_fix
Change the mode of the crontab files. # chmod 0600 /var/spool/cron/* /etc/cron.d/* /etc/crontab
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003080-2
- Vuln IDs
-
- V-218437
- V-29289
- Rule IDs
-
- SV-218437r603259_rule
- SV-64385
Checks: C-19912r562471_chk
Check the mode of scripts in cron job directories. # ls -lL /etc/cron.daily/ # ls -lL /etc/cron.hourly/ # ls -lL /etc/cron.monthly/ # ls -lL /etc/cron.weekly/ If any cron script has a mode more permissive than 0700, this is a finding.
Fix: F-19910r562472_fix
Change the mode of the cron scripts. # chmod 0700 /etc/cron.daily/* /etc/cron.hourly/* /etc/cron.monthly/* /etc/cron.weekly/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003090
- Vuln IDs
-
- V-218438
- V-22386
- Rule IDs
-
- SV-218438r603259_rule
- SV-64381
Checks: C-19913r562474_chk
Check the permissions of the crontab files. Procedure: # ls -lL /var/spool/cron # ls -lL /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -lL /etc/cron*|grep -v deny If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19911r562475_fix
Remove the extended ACL from the file. # setfacl --remove-all [crontab file]
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003100
- Vuln IDs
-
- V-218439
- V-979
- Rule IDs
-
- SV-218439r603259_rule
- SV-64375
Checks: C-19914r562477_chk
Check the mode of the crontab directories. Procedure: # ls -ld /var/spool/cron # ls -ld /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -ld /etc/cron*|grep -v deny If the mode of any of the crontab directories is more permissive than 0755, this is a finding.
Fix: F-19912r562478_fix
Change the mode of the crontab directories. # chmod 0755 <crontab directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003110
- Vuln IDs
-
- V-218440
- V-22387
- Rule IDs
-
- SV-218440r603259_rule
- SV-64367
Checks: C-19915r562480_chk
Check the permissions of the crontab directories. Procedure: # ls -ld /var/spool/cron # ls -ld /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -ld /etc/cron*|grep -v deny If the permissions include a '+' the directory has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19913r562481_fix
Remove the extended ACL from the directory. # setfacl --remove-all <crontab directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003120
- Vuln IDs
-
- V-218441
- V-980
- Rule IDs
-
- SV-218441r603259_rule
- SV-64293
Checks: C-19916r562483_chk
Check the owner of the crontab directories. Procedure: # ls -ld /var/spool/cron # ls -ld /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -ld /etc/cron*|grep -v deny If the owner of any of the crontab directories is not root or bin, this is a finding.
Fix: F-19914r562484_fix
Change the mode of the crontab directories. # chown root <crontab directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003140
- Vuln IDs
-
- V-218442
- V-981
- Rule IDs
-
- SV-218442r603259_rule
- SV-64305
Checks: C-19917r562486_chk
Check the group owner of cron and crontab directories. Procedure: # ls -ld /var/spool/cron # ls -ld /etc/cron.d /etc/crontab /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -ld /etc/cron*|grep -v deny If a directory is not group-owned by root, sys, bin, or cron, this is a finding.
Fix: F-19915r562487_fix
Change the group owner of cron and crontab directories. # chgrp root <crontab directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003160
- Vuln IDs
-
- V-218443
- V-982
- Rule IDs
-
- SV-218443r603259_rule
- SV-64313
Checks: C-19918r555527_chk
Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. # grep cron /etc/syslog.conf Or: # grep cron /etc/rsyslog.conf If cron logging is not configured, this is a finding. Check the configured cron log file found in the cron entry of /etc/syslog.conf or /etc/rsyslog.conf (normally /var/log/cron). # ls -lL /var/log/cron If this file does not exist, or is older than the last cron job, this is a finding.
Fix: F-19916r555528_fix
Edit /etc/syslog.conf or /etc/rsyslog.conf and setup cron logging.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003180
- Vuln IDs
-
- V-218444
- V-983
- Rule IDs
-
- SV-218444r603259_rule
- SV-64317
Checks: C-19919r562489_chk
Check the mode of the cron log file. Procedure: Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Check the configured cron log file found in the cron entry in /etc/syslog.conf or /etc/rsyslog.conf (normally /var/log/cron). # grep cron /etc/syslog.conf Or: # grep cron /etc/rsyslog.conf # ls -lL /var/log/cron If the mode is more permissive than 0600, this is a finding.
Fix: F-19917r562490_fix
Change the mode of the cron log file. # chmod 0600 /var/log/cron
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003190
- Vuln IDs
-
- V-218445
- V-22388
- Rule IDs
-
- SV-218445r603259_rule
- SV-64325
Checks: C-19920r562492_chk
Check the permissions of the file. Procedure: Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Check the configured cron log file found in the cron entry in /etc/syslog.conf or /etc/rsyslog.conf(normally /var/log/cron). # grep cron /etc/syslog.conf Or: # grep cron /etc/rsyslog.conf # ls -lL /var/log/cron If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19918r562493_fix
Remove the extended ACL from the file. # setfacl --remove-all /var/log/cron
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003200
- Vuln IDs
-
- V-218446
- V-4358
- Rule IDs
-
- SV-218446r603259_rule
- SV-64329
Checks: C-19921r562495_chk
Check the mode of the cron.deny file. # ls -lL /etc/cron.deny If the cron.deny file does not exist this is not a finding. If the cron.deny file exists and the mode is more permissive than 0600, this is a finding.
Fix: F-19919r562496_fix
Change the mode of the cron.deny file. # chmod 0600 /etc/cron.deny
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003210
- Vuln IDs
-
- V-218447
- V-22389
- Rule IDs
-
- SV-218447r603259_rule
- SV-64331
Checks: C-19922r562498_chk
Check the permissions of the file. # ls -lL /etc/cron.deny If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19920r562499_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/cron.deny
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN003220
- Vuln IDs
-
- V-218448
- V-4360
- Rule IDs
-
- SV-218448r603259_rule
- SV-64337
Checks: C-19923r562501_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 a umask more permissive than 077: Procedure: # ls -lL /var/spool/cron # ls -lL /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly or # ls -lL /etc/cron.*|grep -v deny # cat <crontab file> # grep umask <cron program> If there are no cron jobs present, this vulnerability is not applicable. If any cron job contains a umask more permissive than 077, this is a finding.
Fix: F-19921r562502_fix
Edit cron script files and modify the umask to 077.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003240
- Vuln IDs
-
- V-218449
- V-4361
- Rule IDs
-
- SV-218449r603259_rule
- SV-64343
Checks: C-19924r562504_chk
# ls -lL /etc/cron.allow If the cron.allow file is not owned by root, sys, or bin, this is a finding.
Fix: F-19922r562505_fix
# chown root /etc/cron.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003245
- Vuln IDs
-
- V-218450
- V-22390
- Rule IDs
-
- SV-218450r603259_rule
- SV-64347
Checks: C-19925r562507_chk
Check the permissions of the file. # ls -lL /etc/at.allow If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19923r562508_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/at.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003250
- Vuln IDs
-
- V-218451
- V-22391
- Rule IDs
-
- SV-218451r603259_rule
- SV-64351
Checks: C-19926r562510_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/cron.allow If the file exists and is not group-owned by root, bin, sys or cron, this is a finding.
Fix: F-19924r562511_fix
Change the group ownership of the file. Procedure: # chgrp root /etc/cron.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003252
- Vuln IDs
-
- V-218452
- V-22392
- Rule IDs
-
- SV-218452r603259_rule
- SV-64355
Checks: C-19927r562513_chk
Check the permissions of the file. # ls -lL /etc/at.deny If the file has a mode more permissive than 0600, this is a finding.
Fix: F-19925r562514_fix
Change the mode of the file. # chmod 0600 /etc/at.deny
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003255
- Vuln IDs
-
- V-218453
- V-22393
- Rule IDs
-
- SV-218453r603259_rule
- SV-64357
Checks: C-19928r562516_chk
Check the permissions of the file. # ls -lL /etc/at.deny If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19926r562517_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/at.deny
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003260
- Vuln IDs
-
- V-218454
- V-4430
- Rule IDs
-
- SV-218454r603259_rule
- SV-64361
Checks: C-19929r562519_chk
# ls -lL /etc/cron.deny If the cron.deny file is not owned by root, sys, or bin, this is a finding.
Fix: F-19927r562520_fix
# chown root /etc/cron.deny
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003270
- Vuln IDs
-
- V-218455
- V-22394
- Rule IDs
-
- SV-218455r603259_rule
- SV-64365
Checks: C-19930r562522_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/cron.deny If the file is not group-owned by root, bin, or sys, this is a finding.
Fix: F-19928r562523_fix
Change the group ownership of the file. # chgrp root /etc/cron.deny
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003280
- Vuln IDs
-
- V-218456
- V-984
- Rule IDs
-
- SV-218456r603259_rule
- SV-64369
Checks: C-19931r562525_chk
If the "at" package is not installed, this is not applicable. Check for the existence of at.allow and at.deny files. # ls -lL /etc/at.allow # ls -lL /etc/at.deny If neither file exists, this is a finding.
Fix: F-19929r562526_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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003300
- Vuln IDs
-
- V-218457
- V-985
- Rule IDs
-
- SV-218457r603259_rule
- SV-64371
Checks: C-19932r562528_chk
# more /etc/at.deny If the at.deny file exists and is empty, this is a finding.
Fix: F-19930r562529_fix
Add appropriate users to the at.deny file, or remove the empty at.deny file if an at.allow file exists.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003320
- Vuln IDs
-
- V-218458
- V-986
- Rule IDs
-
- SV-218458r603259_rule
- SV-64379
Checks: C-19933r562531_chk
# more /etc/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-19931r562532_fix
Remove the default accounts (such as bin, sys, adm, and others, traditionally UID less than 500) from the at.allow file.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003340
- Vuln IDs
-
- V-218459
- V-987
- Rule IDs
-
- SV-218459r603259_rule
- SV-64453
Checks: C-19934r562534_chk
Check the mode of the at.allow file. # ls -lL /etc/at.allow If the at.allow file has a mode more permissive than 0600, this is a finding.
Fix: F-19932r562535_fix
Change the mode of the at.allow file. # chmod 0600 /etc/at.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003360
- Vuln IDs
-
- V-218460
- V-988
- Rule IDs
-
- SV-218460r603259_rule
- SV-64469
Checks: C-19935r562537_chk
List the "at" jobs on the system. Procedure: # ls -la /var/spool/at For each "at" job file, determine which programs are executed. Procedure: # more <at job file> Check the 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-19933r562538_fix
Remove group-write and world-write permissions from files executed by at jobs. Procedure: # chmod go-w <file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003380
- Vuln IDs
-
- V-218461
- V-989
- Rule IDs
-
- SV-218461r603259_rule
- SV-64475
Checks: C-19936r562540_chk
List any "at" jobs on the system. Procedure: # ls /var/spool/at For each "at" job, determine which programs are executed by "at." 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-19934r562541_fix
Remove the world-writable permission from directories containing programs executed by "at". Procedure: # chmod o-w <at program directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003400
- Vuln IDs
-
- V-218462
- V-4364
- Rule IDs
-
- SV-218462r603259_rule
- SV-64287
Checks: C-19937r562543_chk
Check the mode of the "at" directory. Procedure: # ls -ld /var/spool/at If the directory mode is more permissive than 0755, this is a finding.
Fix: F-19935r562544_fix
Change the mode of the "at" directory to 0755. Procedure: # chmod 0755 <at directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003410
- Vuln IDs
-
- V-218463
- V-22395
- Rule IDs
-
- SV-218463r603259_rule
- SV-64289
Checks: C-19938r562546_chk
Check the permissions of the directory. # ls -lLd /var/spool/at If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19936r562547_fix
Remove the extended ACL from the directory. # setfacl --remove-all /var/spool/at
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003420
- Vuln IDs
-
- V-218464
- V-4365
- Rule IDs
-
- SV-218464r603259_rule
- SV-64299
Checks: C-19939r562549_chk
Check the ownership of the "at" directory: Procedure: # ls -ld /var/spool/at If the directory is not owned by root, sys, bin, daemon, or cron, this is a finding.
Fix: F-19937r562550_fix
Change the owner of the "at" directory to root, bin, sys, or system. Procedure: # chown <root or other system account> <"at" directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003430
- Vuln IDs
-
- V-218465
- V-22396
- Rule IDs
-
- SV-218465r603259_rule
- SV-64297
Checks: C-19940r562552_chk
Check the group ownership of the file. Procedure: # ls -lL /var/spool/at If the file is not group-owned by root, bin, sys, daemon or cron, this is a finding.
Fix: F-19938r562553_fix
Change the group ownership of the file to root, bin, sys, daemon or cron. Procedure: # chgrp <root or other system group> <"at" directory>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003440
- Vuln IDs
-
- V-218466
- V-4366
- Rule IDs
-
- SV-218466r603259_rule
- SV-64409
Checks: C-19941r569131_chk
Determine what "at" jobs exist on the system. Procedure: # ls /var/spool/at 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-19939r569132_fix
Edit "at" jobs or referenced scripts to remove "umask" commands that set umask to a value less restrictive than 077.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003460
- Vuln IDs
-
- V-218467
- V-4367
- Rule IDs
-
- SV-218467r603259_rule
- SV-64319
Checks: C-19942r562555_chk
# ls -lL /etc/at.allow If the at.allow file is not owned by root, sys, or bin, this is a finding.
Fix: F-19940r562556_fix
Change the owner of the at.allow file. # chown root /etc/at.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003470
- Vuln IDs
-
- V-218468
- V-22397
- Rule IDs
-
- SV-218468r603259_rule
- SV-64413
Checks: C-19943r562558_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/at.allow If the file is not group-owned by root, bin, sys, or cron, this is a finding.
Fix: F-19941r562559_fix
Change the group ownership of the file. Procedure: # chgrp root /etc/at.allow
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003480
- Vuln IDs
-
- V-218469
- V-4368
- Rule IDs
-
- SV-218469r603259_rule
- SV-64417
Checks: C-19944r562561_chk
# ls -lL /etc/at.deny If the at.deny file is not owned by root, sys, or bin, this is a finding.
Fix: F-19942r562562_fix
Change the owner of the at.deny file. # chown root /etc/at.deny
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003490
- Vuln IDs
-
- V-218470
- V-22398
- Rule IDs
-
- SV-218470r603259_rule
- SV-64309
Checks: C-19945r562564_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/at.deny If the file is not group-owned by root, bin, sys, or cron, this is a finding.
Fix: F-19943r562565_fix
Change the group ownership of the at.deny file to root, sys, bin, or cron. Procedure: # chgrp root /etc/at.deny
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003500
- Vuln IDs
-
- V-218471
- V-11996
- Rule IDs
-
- SV-218471r603259_rule
- SV-64311
Checks: C-19946r562567_chk
# ulimit -Hc If the above command does not return 0 and the enabling of core dumps has not been documented and approved by the ISSO, this a finding.
Fix: F-19944r562568_fix
Edit /etc/security/limits.conf and set a hard limit for "core" to 0 for all users. A new logon will be required for the changes to take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003510
- Vuln IDs
-
- V-218472
- V-22404
- Rule IDs
-
- SV-218472r603259_rule
- SV-64421
Checks: C-19947r562570_chk
Verify the kdump service is not running. Procedure: # service kdump status If "Kdump is operational" is returned, this is a finding.
Fix: F-19945r562571_fix
Disable kdump. # service kdump stop # chkconfig kdump off
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN003520
- Vuln IDs
-
- V-218473
- V-11997
- Rule IDs
-
- SV-218473r603259_rule
- SV-64427
Checks: C-19948r562573_chk
Verify the location of the kernel core dump data directory: # grep "path" /etc/kdump.conf Note: If this setting is not configured or commented out, the default kernel dump data directory is /var/crash. Check the ownership of the dump data directory: # ls -ld <path to kernel core dump data directory> If the kernel core dump data directory is not owned by root, this is a finding.
Fix: F-19946r562574_fix
Change the owner of the kernel core dump data directory to root. # chown root <path to kernel core dump data directory>
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN003521
- Vuln IDs
-
- V-218474
- V-22405
- Rule IDs
-
- SV-218474r603259_rule
- SV-64431
Checks: C-19949r562576_chk
Determine the kernel core dump data directory and check its ownership. Procedure: Examine /etc/kdump.conf. The "path" parameter, which defaults to /var/crash, determines the path relative to the crash dump device. The crash device is specified with a filesystem type and device, such as "ext3 /dev/sda2". Using this information, determine where this path is currently mounted on the system. # ls -ld <kernel dump data directory> If the directory is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-19947r562577_fix
Change the group-owner of the kernel core dump data directory. # chgrp root <kernel core dump data directory>
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN003522
- Vuln IDs
-
- V-218475
- V-22406
- Rule IDs
-
- SV-218475r603259_rule
- SV-64433
Checks: C-19950r562579_chk
Verify the location of the kernel core dump data directory: # grep "path" /etc/kdump.conf Note: If this setting is not configured or commented out, the default kernel dump data directory is /var/crash. Check the permissions of the dump data directory: # ls -ld <path to kernel core dump data directory> If the directory has a mode more permissive than 0700, this is a finding.
Fix: F-19948r562580_fix
Set the permissions on the kernel core dump data directory to 0700. # chmod 0700 <kernel core dump data directory>
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN003523
- Vuln IDs
-
- V-218476
- V-22407
- Rule IDs
-
- SV-218476r603259_rule
- SV-64437
Checks: C-19951r562582_chk
Determine the kernel core dump data directory and check its permissions. Procedure: Verify the location of the kernel core dump data directory: # grep "path" /etc/kdump.conf Note: If this setting is not configured or commented out, the default kernel dump data directory is /var/crash. Check the permissions of the dump data directory: # ls -ld <path to kernel core dump data directory> If the permissions include a '+', the directory has an extended ACL. If the directory has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19949r562583_fix
Remove the extended ACL from the directory. # setfacl --remove-all <path to kernel core dump data directory>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003540
- Vuln IDs
-
- V-218477
- V-11999
- Rule IDs
-
- SV-218477r603259_rule
- SV-64439
Checks: C-19952r562585_chk
If the system being evaluated is running a Red Hat compatible operating system kernel, check that the "kernel.exec-shield" kernel parameter is set to "1" in /etc/sysctl.conf. If the system is running an Oracle Unbreakable Enterprise kernel, verify that Oracle's Data Execution Prevention is enabled. First, determine if the system is operating an Oracle Unbreakable Enterprise Kernel (UEK): # uname -r | grep uek If no value is returned, the system is running a Red Hat compatible kernel. Verify the "kernel.exec-shield" kernel parameter is set to "1" in /etc/sysctl.conf: # grep ^kernel\.exec-shield /etc/sysctl.conf | awk -F= '{ print $2 }' kernel.exec-shield = 1 If there is no value returned or if a value is returned that is not "2", this is a finding. If the system was found to be running an Unbreakable Enterprise Kernel, verify DEP is enabled: # dmesg | grep 'NX.*protection: If there is no value returned or if a value is returned that is not "NX (Execute Disable) protection: active", this is a finding. Note that this is not a finding when the underlying processor architecture does not support the "Execute Disable" (NX) capability. To determine if the processor supports this capability, run the command: # cat /proc/cpuinfo | grep flags | xargs -n 1 echo | grep -w "nx" | sort -u If a system's underlying processor supports this functionality, a single entry containing the keyword "nx" will be returned.
Fix: F-19950r562586_fix
If the system being evaluated is running a Red Hat compatible operating system kernel, then ensure that the "kernel.exec-shield" kernel parameter is set to "1". If the system is running an Oracle Unbreakable Enterprise Kernel, this parameter does not exist. When an Unbreakable Enterprise Kernel is booted, Oracle's Data Execution Prevention (DEP) feature will leverage the hardware-enforced NX (never execute) bit of compatible CPUs to protect against code being executed from the stack. By default, DEP is enabled. If DEP is not enabled, ensure the string "noexec=off" does not appear in /boot/grub/grub.conf. First, determine if the system is operating an Oracle Unbreakable Enterprise Kernel (UEK): # uname -r | grep uek If no value is returned, the system is running a Red Hat compatible kernel. Edit (or add if necessary) the entry in /etc/sysctl.conf for the "kernel.exec-shield" kernel parameter. Ensure this parameter is set to "1" as in: kernel.exec-shield = 1 If this was not already the default, reboot the system for the change to take effect. If the system was found to be running an Unbreakable Enterprise Kernel, then ensure the string "noexec=off" is not found in /boot/grub/grub.conf: # grep noexec=off /boot/grub/grub.conf If found, remove the offending entry and reboot the system for the change to take effect.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003581
- Vuln IDs
-
- V-218478
- V-22408
- Rule IDs
-
- SV-218478r603259_rule
- SV-64443
Checks: C-19953r562588_chk
Check the system for user-controlled network interfaces. # grep -l '^USERCTL=yes' /etc/sysconfig/network-scripts/ifcfg* If any results are returned, this is a finding.
Fix: F-19951r562589_fix
Edit the configuration for the user-controlled interface and remove the "USERCTL=yes" configuration line or set to "USERCTL=no".
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-001551
- Version
- GEN003600
- Vuln IDs
-
- V-218479
- V-12002
- Rule IDs
-
- SV-218479r603259_rule
- SV-64451
Checks: C-19954r562591_chk
Verify the system does not accept source-routed IPv4 packets. Procedure: # grep [01] /proc/sys/net/ipv4/conf/*/accept_source_route|egrep "default|all" If all of the returned lines do not end with 0, this is a finding. Note: The same setting is used by Linux for both the local acceptance and forwarding of source-routed IPv4 packets.
Fix: F-19952r562592_fix
Configure the system to not accept source-routed IPv4 packets. Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.accept_source_route=0" and "net.ipv4.conf.default.accept_source_route=0". Reload the sysctls. Procedure: # sysctl -p
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003601
- Vuln IDs
-
- V-218480
- V-23741
- Rule IDs
-
- SV-218480r603259_rule
- SV-64457
Checks: C-19955r555638_chk
# cat /proc/sys/net/ipv4/tcp_max_syn_backlog If the result is not 1280 or greater, this is a finding.
Fix: F-19953r555639_fix
Edit /etc/sysctl.conf and add a setting for "net.ipv4.tcp_max_syn_backlog=1280". Procedure: # sysctl -p
- RMF Control
- CM-7
- Severity
- L
- CCI
- CCI-000382
- Version
- GEN003602
- Vuln IDs
-
- V-218481
- V-22409
- Rule IDs
-
- SV-218481r603259_rule
- SV-64445
Checks: C-19956r555641_chk
Verify the system does not respond to ICMP TIMESTAMP-REQUESTs Procedure: # grep "timestamp" /etc/sysconfig/iptables This should return entries for "timestamp-reply" and "timestamp-request". Both should end with "-j DROP'. If either does not exist or does not "DROP" the message, this is a finding.
Fix: F-19954r555642_fix
Configure the system to not respond to ICMP TIMESTAMP-REQUESTs. This is done by rejecting ICMP type 13 and 14 messages at the firewall. Procedure: Edit /etc/sysconfig/iptables to add: -A RH-Firewall-1-INPUT -p ICMP --icmp-type timestamp-request -j DROP -A RH-Firewall-1-INPUT -p ICMP --icmp-type timestamp-reply -j DROP Restart the firewall: # service iptables restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-001503
- Version
- GEN003603
- Vuln IDs
-
- V-218482
- V-22410
- Rule IDs
-
- SV-218482r603259_rule
- SV-64459
Checks: C-19957r555644_chk
Verify the system does not respond to ICMP ECHO_REQUESTs set to broadcast addresses. Procedure: # cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts If the result is not 1, this is a finding.
Fix: F-19955r555645_fix
Configure the system to not respond to ICMP ECHO_REQUESTs sent to broadcast addresses. Edit /etc/sysctl.conf and add a setting for "net.ipv4.icmp_echo_ignore_broadcasts=1" and reload the sysctls. Procedure: # echo "net.ipv4.icmp_echo_ignore_broadcasts=1" >> /etc/sysctl.conf # sysctl -p
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-001503
- Version
- GEN003604
- Vuln IDs
-
- V-218483
- V-22411
- Rule IDs
-
- SV-218483r603259_rule
- SV-64195
Checks: C-19958r555647_chk
Verify the system does not respond to ICMP TIMESTAMP_REQUESTs set to broadcast addresses. Procedure: # cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts If the result is not 1, this is a finding. Note: The same parameter controls both ICMP ECHO_REQUESTs and TIMESTAMP_REQUESTs.
Fix: F-19956r555648_fix
Configure the system to not respond to ICMP TIMESTAMP_REQUESTs sent to broadcast addresses. Edit /etc/sysctl.conf and add a setting for "net.ipv4.icmp_echo_ignore_broadcasts=1" and reload the sysctls. Procedure: # echo "net.ipv4.icmp_echo_ignore_broadcasts=1" >> /etc/sysctl.conf # sysctl -p
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-001551
- Version
- GEN003607
- Vuln IDs
-
- V-218484
- V-22414
- Rule IDs
-
- SV-218484r603259_rule
- SV-64197
Checks: C-19959r562594_chk
Verify the system does not accept source-routed IPv4 packets. Procedure: # grep [01] /proc/sys/net/ipv4/conf/*/accept_source_route|egrep "default|all" If all of the resulting lines do not end with "0", this is a finding.
Fix: F-19957r562595_fix
Configure the system to not accept source-routed IPv4 packets. Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.accept_source_route=0" and "net.ipv4.conf.default.accept_source_route=0". Reload the sysctls. Procedure: # sysctl -p
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003608
- Vuln IDs
-
- V-218485
- V-22415
- Rule IDs
-
- SV-218485r603259_rule
- SV-64201
Checks: C-19960r562597_chk
Verify the system does not use proxy ARP. # grep [01] /proc/sys/net/ipv4/conf/*/proxy_arp|egrep "default|all" If all of the resulting lines do not end with "0", this is a finding.
Fix: F-19958r562598_fix
Configure the system to not use proxy ARP. Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.proxy_arp=0" and "net.ipv4.conf.default.proxy_arp=0". # sysctl -p
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN003609
- Vuln IDs
-
- V-218486
- V-22416
- Rule IDs
-
- SV-218486r603259_rule
- SV-64203
Checks: C-19961r562600_chk
Verify the system does not accept IPv4 ICMP redirect messages. # grep [01] /proc/sys/net/ipv4/conf/*/accept_redirects|egrep "default|all" If all of the resulting lines do not end with "0", this is a finding.
Fix: F-19959r562601_fix
Configure the system to not accept IPv4 ICMP redirect messages. Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.accept_redirects=0" and "net.ipv4.conf.default.accept_redirects=0". # sysctl -p
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN003610
- Vuln IDs
-
- V-218487
- V-22417
- Rule IDs
-
- SV-218487r603259_rule
- SV-64205
Checks: C-19962r555659_chk
Verify the system does not send IPv4 ICMP redirect messages. # grep [01] /proc/sys/net/ipv4/conf/*/send_redirects|egrep "default|all" If all of the resulting lines do not end with "0", this is a finding.
Fix: F-19960r555660_fix
Configure the system to not send IPv4 ICMP redirect messages. Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.send_redirects=0" and "net.ipv4.conf.default.send_redirects=0". # sysctl -p
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003611
- Vuln IDs
-
- V-218488
- V-22418
- Rule IDs
-
- SV-218488r603259_rule
- SV-64207
Checks: C-19963r555662_chk
Verify the system logs martian packets. # grep [01] /proc/sys/net/ipv4/conf/*/log_martians|egrep "default|all" If all of the resulting lines do not end with "1", this is a finding.
Fix: F-19961r555663_fix
Configure the system to log martian packets. Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.log_martians=1" and "net.ipv4.conf.default.log_martians=1". Reload the sysctls. Procedure: # sysctl -p
- RMF Control
- SC-5
- Severity
- M
- CCI
- CCI-001092
- Version
- GEN003612
- Vuln IDs
-
- V-218489
- V-22419
- Rule IDs
-
- SV-218489r603259_rule
- SV-64209
Checks: C-19964r562603_chk
Verify the system configured to use TCP syncookies when experiencing a TCP SYN flood. # cat /proc/sys/net/ipv4/tcp_syncookies If the result is not "1", this is a finding.
Fix: F-19962r562604_fix
Configure the system to use TCP syncookies when experiencing a TCP SYN flood. Edit /etc/sysctl.conf and add a setting for "net.ipv4.tcp_syncookies=1". # sysctl -p
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN003619
- Vuln IDs
-
- V-218490
- V-22421
- Rule IDs
-
- SV-218490r603259_rule
- SV-64213
Checks: C-19965r562606_chk
Verify the system is not configured for bridging. # ls /proc/sys/net/bridge If the directory exists, this is a finding. # lsmod | grep '^bridge ' If any results are returned, this is a finding. Fix Text: Configure the system to not use bridging.
Fix: F-19963r562607_fix
Configure the system to not use bridging. # rmmod bridge Edit /etc/modprobe.conf and add a line such as "install bridge /bin/false" to prevent the loading of the bridge module.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003620
- Vuln IDs
-
- V-218491
- V-12003
- Rule IDs
-
- SV-218491r603259_rule
- SV-64215
Checks: C-19966r562609_chk
Determine if the /home path is a separate filesystem. # grep "/home " /etc/fstab If no result is returned, /home is not on a separate filesystem this is a finding.
Fix: F-19964r562610_fix
Migrate the /home (or equivalent) path onto a separate file system.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003621
- Vuln IDs
-
- V-218492
- V-23736
- Rule IDs
-
- SV-218492r603259_rule
- SV-64217
Checks: C-19967r562612_chk
Determine if the /var path is a separate filesystem. # grep /var /etc/fstab If no result is returned, /var is not on a separate filesystem this is a finding.
Fix: F-19965r562613_fix
Migrate the /var path onto a separate file system.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003623
- Vuln IDs
-
- V-218493
- V-23738
- Rule IDs
-
- SV-218493r603259_rule
- SV-64219
Checks: C-19968r562615_chk
Determine if the /var/log/audit path is a separate filesystem. # grep /var/log/audit /etc/fstab If no result is returned, /var/log/audit is not on a separate filesystem this is a finding.
Fix: F-19966r562616_fix
Migrate the /var/log/audit path onto a separate filesystem.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN003624
- Vuln IDs
-
- V-218494
- V-23739
- Rule IDs
-
- SV-218494r603259_rule
- SV-64221
Checks: C-19969r562618_chk
Determine if the /tmp path is a separate filesystem. # egrep "[\t ]/tmp[\t ]" /etc/fstab If no result is returned, /tmp is not on a separate filesystem this is a finding.
Fix: F-19967r562619_fix
Migrate the /tmp path onto a separate file system.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003640
- Vuln IDs
-
- V-218495
- V-4304
- Rule IDs
-
- SV-218495r603259_rule
- SV-64225
Checks: C-19970r562621_chk
Logging should be enabled for those types of file systems not turning on logging by default. Procedure: # mount 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 support journaling this is a finding. If the 'nolog' option is set on the root file system that does support journaling, this is a finding.
Fix: F-19968r562622_fix
Implement file system journaling for the root file system, or use a file system with other mechanisms to ensure file system consistency. If the root file system supports journaling, enable it. If the file system does not support journaling or another mechanism to ensure file system 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-218496
- V-22422
- Rule IDs
-
- SV-218496r603259_rule
- SV-64227
Checks: C-19971r562624_chk
Verify local filesystems use journaling. # mount | grep '^/dev/' | egrep -v 'type (ext3|ext4|jfs|reiserfs|xfs|iso9660|udf)' If a mount is listed, this is a finding.
Fix: F-19969r562625_fix
Convert local file systems to use journaling or another mechanism ensuring file system consistency.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003660
- Vuln IDs
-
- V-218497
- V-12004
- Rule IDs
-
- SV-218497r603259_rule
- SV-64229
Checks: C-19972r555689_chk
Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Check /etc/syslog.conf or /etc/rsyslog.conf and verify the authpriv facility is logging both the "notice" and "info" priority messages. Procedure: For a given action all messages of a higher severity or "priority" are logged. The three lowest priorities in ascending order are "debug", "info" and "notice". A priority of "info" will include "notice". A priority of "debug" includes both "info" and "notice". Enter/Input for syslog: # grep "authpriv.debug" /etc/syslog.conf # grep "authpriv.info" /etc/syslog.conf # grep "authpriv\.\*" /etc/syslog.conf Enter/Input for rsyslog: # grep "authpriv.debug" /etc/rsyslog.conf # grep "authpriv.info" /etc/rsyslog.conf # grep "authpriv\.\*" /etc/rsyslog.conf If an "authpriv.*", "authpriv.debug", or "authpriv.info" entry is not found, this is a finding.
Fix: F-19970r555690_fix
Edit /etc/syslog.conf or /etc/rsyslog.conf and add local log destinations for "authpriv.*", "authpriv.debug" or "authpriv.info".
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN003700
- Vuln IDs
-
- V-218498
- V-12005
- Rule IDs
-
- SV-218498r603259_rule
- SV-64231
Checks: C-19973r562627_chk
# ps -ef |grep xinetd If xinetd is not running, this check is not a finding. # grep -v "^#" /etc/xinetd.conf # grep disable /etc/xinetd.d/* |grep no If no active services are found, and the inetd daemon is running, this is a finding.
Fix: F-19971r562628_fix
# service xinetd stop ; chkconfig xinetd off
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003720
- Vuln IDs
-
- V-218499
- V-821
- Rule IDs
-
- SV-218499r603259_rule
- SV-64233
Checks: C-19974r562630_chk
Check the owner of the xinetd configuration files. Procedure: # ls -lL /etc/xinetd.conf # ls -laL /etc/xinetd.d This is a finding if any of the above files or directories are not owned by root or bin.
Fix: F-19972r562631_fix
Change the owner of the xinetd configuration files. # chown root /etc/xinetd.conf /etc/xinetd.d/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003730
- Vuln IDs
-
- V-218500
- V-22423
- Rule IDs
-
- SV-218500r603259_rule
- SV-64235
Checks: C-19975r562633_chk
Check the group ownership of the xinetd configuration files and directories. Procedure: # ls -alL /etc/xinetd.conf /etc/xinetd.d If a file or directory is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-19973r562634_fix
Change the group-owner of the xinetd configuration files and directories. Procedure: # chgrp -R root /etc/xinetd.conf /etc/xinetd.d
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003740
- Vuln IDs
-
- V-218501
- V-822
- Rule IDs
-
- SV-218501r603259_rule
- SV-64239
Checks: C-19976r562636_chk
Check the mode of the xinetd configuration files. Procedure: # ls -lL /etc/xinetd.conf # ls -lL /etc/xinetd.d If the mode of the file(s) is more permissive than 0640, this is a finding.
Fix: F-19974r562637_fix
Change the mode of the xinetd configuration files. # chmod 0640 /etc/xinetd.conf /etc/xinetd.d/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003745
- Vuln IDs
-
- V-218502
- V-22424
- Rule IDs
-
- SV-218502r603259_rule
- SV-64241
Checks: C-19977r562639_chk
Check the permissions of the xinetd configuration files. Procedure: # ls -alL /etc/xinetd.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19975r562640_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/xinetd.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003750
- Vuln IDs
-
- V-218503
- V-22425
- Rule IDs
-
- SV-218503r603259_rule
- SV-64243
Checks: C-19978r562642_chk
Check the permissions of the xinetd configuration directories. # ls -dlL /etc/xinetd.d If the mode of the directory is more permissive than 0755, this is a finding.
Fix: F-19976r562643_fix
Change the mode of the directory. # chmod 0755 /etc/xinetd.d
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003755
- Vuln IDs
-
- V-218504
- V-22426
- Rule IDs
-
- SV-218504r603259_rule
- SV-63971
Checks: C-19979r562645_chk
Check the permissions of the xinetd configuration files and directories. # ls -alL /etc/xinetd.conf /etc/xinetd.d If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19977r562646_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/xinetd.d
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003760
- Vuln IDs
-
- V-218505
- V-823
- Rule IDs
-
- SV-218505r603259_rule
- SV-63977
Checks: C-19980r562648_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-19978r562649_fix
Change the ownership of the services file to root or bin. Procedure: # chown root /etc/services
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003770
- Vuln IDs
-
- V-218506
- V-22427
- Rule IDs
-
- SV-218506r603259_rule
- SV-63979
Checks: C-19981r562651_chk
Check the group ownership of the services file. Procedure: # ls -lL /etc/services If the file is not group-owned by root or bin, this is a finding.
Fix: F-19979r562652_fix
Change the group-owner of the services file. Procedure: # chgrp root /etc/services
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003780
- Vuln IDs
-
- V-218507
- V-824
- Rule IDs
-
- SV-218507r603259_rule
- SV-63983
Checks: C-19982r562654_chk
Check the mode of the services file. Procedure: # ls -lL /etc/services If the services file has a mode more permissive than 0644, this is a finding.
Fix: F-19980r562655_fix
Change the mode of the services file to 0644 or less permissive. Procedure: # chmod 0644 /etc/services
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003790
- Vuln IDs
-
- V-218508
- V-22428
- Rule IDs
-
- SV-218508r603259_rule
- SV-63985
Checks: C-19983r562657_chk
Check the permissions of the /etc/services file. # ls -lL /etc/services If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19981r562658_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/services
- RMF Control
- AU-3
- Severity
- L
- CCI
- CCI-000134
- Version
- GEN003800
- Vuln IDs
-
- V-218509
- V-1011
- Rule IDs
-
- SV-218509r603259_rule
- SV-63989
Checks: C-19984r562660_chk
The /etc/xinetd.conf file and each file in the /etc/xinetd.d directory file should be examined for the following: Procedure: log_type = SYSLOG authpriv log_on_success = HOST PID USERID EXIT log_on_failure = HOST USERID If xinetd is running and logging is not enabled, this is a finding.
Fix: F-19982r562661_fix
Edit each file in the /etc/xinetd.d directory and the /etc/xinetd.conf file to contain: log_type = SYSLOG authpriv log_on_success = HOST PID USERID EXIT log_on_failure = HOST USERID The /etc/xinetd.conf file contains default values that will hold true for all services unless individually modified in the service's xinetd.d file. To make the new settings effective, restart the xinetd service: # service xinetd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003810
- Vuln IDs
-
- V-218510
- V-22429
- Rule IDs
-
- SV-218510r603259_rule
- SV-63995
Checks: C-19985r555728_chk
Check the status of the portmap service. # service portmap status If the service is running, this is a finding.
Fix: F-19983r555729_fix
Shutdown and disable the portmap service. # service portmap stop; chkconfig portmap off
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN003815
- Vuln IDs
-
- V-218511
- V-22430
- Rule IDs
-
- SV-218511r603259_rule
- SV-63997
Checks: C-19986r562663_chk
Check if the portmap package is installed. # rpm -qa | grep portmap If a package is found, this is a finding.
Fix: F-19984r562664_fix
Remove the portmap package. # rpm -e portmap or # yum remove portmap
- RMF Control
- AC-17
- Severity
- H
- CCI
- CCI-000068
- Version
- GEN003820
- Vuln IDs
-
- V-218512
- V-4687
- Rule IDs
-
- SV-218512r603259_rule
- SV-64011
Checks: C-19987r555734_chk
Check to see if rshd is configured to run on startup. Procedure: # grep disable /etc/xinetd.d/rsh If /etc/xinetd.d/rsh exists and rsh is found to be enabled, this is a finding.
Fix: F-19985r555735_fix
Edit /etc/xinetd.d/rsh and set "disable=yes".
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN003825
- Vuln IDs
-
- V-218513
- V-22431
- Rule IDs
-
- SV-218513r603259_rule
- SV-64009
Checks: C-19988r562666_chk
Check if the rsh-server package is installed. Procedure: # rpm -qa | grep rsh-server If a package is found, this is a finding.
Fix: F-19986r562667_fix
Remove the rsh-server package. Procedure: # rpm -e rsh-server
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN003830
- Vuln IDs
-
- V-218514
- V-22432
- Rule IDs
-
- SV-218514r603259_rule
- SV-64019
Checks: C-19989r555740_chk
Check the rlogind configuration. # cat /etc/xinetd.d/rlogin If the file exists and does not contain "disable = yes" this is a finding.
Fix: F-19987r555741_fix
Remove or disable the rlogin configuration and restart xinetd. # rm /etc/xinetd.d/rlogin ; service xinetd restart
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN003835
- Vuln IDs
-
- V-218515
- V-22433
- Rule IDs
-
- SV-218515r603259_rule
- SV-64015
Checks: C-19990r562669_chk
Check if the rsh-server package is installed. Procedure: # rpm -qa | grep rsh-server If a package is found, this is a finding.
Fix: F-19988r562670_fix
Remove the rsh-server package. Procedure: # rpm -e rsh-server
- RMF Control
- CM-7
- Severity
- H
- CCI
- CCI-000381
- Version
- GEN003840
- Vuln IDs
-
- V-218516
- V-4688
- Rule IDs
-
- SV-218516r603259_rule
- SV-64037
Checks: C-19991r562672_chk
# grep disable /etc/xinetd.d/rexec If the service file exists and is not disabled, this is a finding.
Fix: F-19989r562673_fix
Edit /etc/xinetd.d/rexec and set "disable=yes"
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN003845
- Vuln IDs
-
- V-218517
- V-22434
- Rule IDs
-
- SV-218517r603259_rule
- SV-64039
Checks: C-19992r562675_chk
Check if the rsh-server package is installed. Procedure: # rpm -qa | grep rsh-server If a package is found, this is a finding.
Fix: F-19990r562676_fix
Remove the rsh-server package. Procedure: # rpm -e rsh-server
- RMF Control
- IA-5
- Severity
- H
- CCI
- CCI-000197
- Version
- GEN003850
- Vuln IDs
-
- V-218518
- V-24386
- Rule IDs
-
- SV-218518r603259_rule
- SV-64021
Checks: C-19993r562678_chk
The telnet service included in the operating system is a part of krb5-workstation. There are two versions of telnetd server provided. The xinetd.d file ekrb5-telnet allows only connections authenticated through Kerberos. The xinetd.d krb5-telnet allows normal telnet connections as well as kerberized connections. Both are set to "disable = yes" by default. Ensure that neither is running. Procedure: Check if telnetd is running: # ps -ef |grep telnetd If the telnet daemon is running, this is a finding. Check if telnetd is enabled on startup: # chkconfig --list|grep telnet If an entry with "on" is found, this is a finding.
Fix: F-19991r562679_fix
Identify the telnet service running and disable it. Procedure: Disable the telnet server. # chkconfig telnet off Verify the telnet daemon is no longer running. # ps -ef |grep telnet
- RMF Control
- CM-7
- Severity
- L
- CCI
- CCI-000381
- Version
- GEN003860
- Vuln IDs
-
- V-218519
- V-4701
- Rule IDs
-
- SV-218519r603259_rule
- SV-64051
Checks: C-19994r562681_chk
# grep disable /etc/xinetd.d/finger If the finger service is not disabled, this is a finding.
Fix: F-19992r562682_fix
Edit /etc/xinetd.d/finger and set "disable=yes"
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN003865
- Vuln IDs
-
- V-218520
- V-12049
- Rule IDs
-
- SV-218520r603259_rule
- SV-64029
Checks: C-19995r562684_chk
Determine if any network analysis tools are installed. Procedure: # find / -name ethereal # find / -name wireshark # find / -name tshark # find / -name nc # find / -name tcpdump # find / -name snoop If any network analysis tools are found, this is a finding.
Fix: F-19993r562685_fix
Remove each network analysis tool binary from the system. Remove package items with a package manager, others remove the binary directly. Procedure: Find the binary file: # find / -name <Item to be removed> Find the package, if any, to which it belongs: # rpm -qf <binary file> Remove the package if it does not also include other software: # rpm -e <package name> or # yum remove <package name> If the item to be removed is not in a package, or the entire package cannot be removed because of other software it provides, remove the item's binary file. # rm <binary file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN003900
- Vuln IDs
-
- V-218521
- V-827
- Rule IDs
-
- SV-218521r603259_rule
- SV-64115
Checks: C-19996r555761_chk
The operating system uses the CUPS print service. Verify remote host access is limited. Procedure: # grep -i Listen /etc/cups/cupsd.conf The /etc/cups/cupsd.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/cups/cupsd.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.
Fix: F-19994r555762_fix
Configure cups to use only the localhost or specified remote hosts. Procedure: Modify the /etc/cups/cupsd.conf file to "Listen" only to the local machine or a known set of hosts (i.e., Listen localhost:631). Modify the /etc/cups/cupsd.conf file "<Location />" element to "Deny From All" and "Allow from 127.0.0.1" or allowed host addresses. Restart cups: # service cups restart
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003920
- Vuln IDs
-
- V-218522
- V-828
- Rule IDs
-
- SV-218522r603259_rule
- SV-64119
Checks: C-19997r562687_chk
Check the ownership of the print service configuration file. Procedure: # ls -lL /etc/cups/printers.conf; If no print service configuration file is found, this is not applicable. If the owner of the file is not root, this is a finding.
Fix: F-19995r562688_fix
Change the owner of the /etc/cups/printers.conf to root. Procedure: # chown root /etc/cups/printers.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003930
- Vuln IDs
-
- V-218523
- V-22435
- Rule IDs
-
- SV-218523r603259_rule
- SV-64117
Checks: C-19998r562690_chk
Check the group ownership of the /etc/cups/printers.conf file. Procedure: # ls -lL /etc/cups/printers.conf If the file is not group-owned by lp, this is a finding.
Fix: F-19996r562691_fix
Change the group-owner of the printers.conf file. Procedure: # chgrp lp /etc/cups/printers.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003940
- Vuln IDs
-
- V-218524
- V-829
- Rule IDs
-
- SV-218524r603259_rule
- SV-64121
Checks: C-19999r562693_chk
Check the mode of the print service configuration file. Procedure: # ls -lL /etc/cups/printers.conf If no print service configuration file is found, this is not applicable. If the mode of the print service configuration file is more permissive than 0664, this is a finding.
Fix: F-19997r562694_fix
Change the mode of the /etc/cups/printers.conf file to 0664 or less permissive. Procedure: # chmod 0664 /etc/cups/printers.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003950
- Vuln IDs
-
- V-218525
- V-22436
- Rule IDs
-
- SV-218525r603259_rule
- SV-63475
Checks: C-20000r562696_chk
Check the permissions of the /etc/cups/printers.conf file. # ls -lL /etc/cups/printers.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-19998r562697_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/cups/printers.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003960
- Vuln IDs
-
- V-218526
- V-4369
- Rule IDs
-
- SV-218526r603259_rule
- SV-63487
Checks: C-20001r562699_chk
# ls -lL /bin/traceroute If the traceroute command is not owned by root, this is a finding.
Fix: F-19999r562700_fix
Change the owner of the traceroute command to root. Example: # chown root /bin/traceroute
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN003980
- Vuln IDs
-
- V-218527
- V-4370
- Rule IDs
-
- SV-218527r603259_rule
- SV-63511
Checks: C-20002r562702_chk
Check the group ownership of the traceroute file. Procedure: # ls -lL /bin/traceroute If the traceroute command is not group-owned by root, sys, bin, or system, this is a finding.
Fix: F-20000r562703_fix
Change the group-owner of the traceroute command to root. Procedure: # chgrp root /bin/traceroute
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004000
- Vuln IDs
-
- V-218528
- V-4371
- Rule IDs
-
- SV-218528r603259_rule
- SV-63525
Checks: C-20003r562705_chk
# ls -lL /bin/traceroute If the traceroute command has a mode more permissive than 0700, this is a finding.
Fix: F-20001r562706_fix
Change the mode of the traceroute command. # chmod 0700 /bin/traceroute
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004010
- Vuln IDs
-
- V-218529
- V-22437
- Rule IDs
-
- SV-218529r603259_rule
- SV-63539
Checks: C-20004r562708_chk
Check the permissions of the /bin/traceroute file. # ls -lL /bin/traceroute If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20002r562709_fix
Remove the extended ACL from the file. # setfacl --remove-all /bin/traceroute
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN004220
- Vuln IDs
-
- V-218530
- V-4382
- Rule IDs
-
- SV-218530r603259_rule
- SV-63545
Checks: C-20005r562711_chk
Look in the root account home directory for a .mozilla directory. If none exists, this is not a finding. If there is one, verify with the root users and the IAO the intent of the browsing. If the browsing is not limited to authorized local services administration, this is a finding.
Fix: F-20003r562712_fix
Enforce policy requiring administrative accounts use web browsers only for local service administration.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004360
- Vuln IDs
-
- V-218531
- V-831
- Rule IDs
-
- SV-218531r603259_rule
- SV-63607
Checks: C-20006r562714_chk
If the "sendmail" and "postfix" packages are not installed, this is not applicable. Check the ownership of the alias files. Procedure: for sendmail: # ls -lL /etc/aliases # ls -lL /etc/aliases.db If all the files are not owned by root, this is a finding. for postfix: Verify the location of the alias file. # postconf alias maps This will return the location of the "aliases" file, by default "/etc/postfix/aliases" # ls -lL <postfix aliases file> # ls -lL <postfix aliases.db file> If all the files are not owned by root, this is a finding.
Fix: F-20004r562715_fix
Change the owner of the /etc/aliases file to root. Procedure: for sendmail: # chown root /etc/aliases # chown root /etc/aliases.db for postfix # chown root /etc/postfix/aliases # chown root /etc/postfix/aliases.db
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004370
- Vuln IDs
-
- V-218532
- V-22438
- Rule IDs
-
- SV-218532r603259_rule
- SV-63613
Checks: C-20007r562717_chk
If the "sendmail" and "postfix" packages are not installed, this is not applicable. Check the group ownership of the alias files. Procedure: for sendmail: # ls -lL /etc/aliases If the files are not group-owned by root, this is a finding. # ls -lL /etc/aliases.db If the file is not group-owned by the same system group as sendmail, which is smmsp by default, this is a finding. for postfix: Verify the location of the alias file. # postconf alias maps This will return the location of the "aliases" file, by default "/etc/postfix/aliases" # ls -lL <postfix aliases file> If the files are not group-owned by root, this is a finding. # ls -lL <postfix aliases.db file> If the file is not group-owned by root, this is a finding.
Fix: F-20005r562718_fix
Change the group-owner of the /etc/aliases file. Procedure: for sendmail: # chgrp root /etc/aliases # chgrp smmsp /etc/aliases.db The aliases.db file must be owned by the same system group as sendmail, which is smmsp by default. for postfix # chgrp root /etc/postfix/aliases # chgrp root /etc/postfix/aliases.db
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004380
- Vuln IDs
-
- V-218533
- V-832
- Rule IDs
-
- SV-218533r603259_rule
- SV-63637
Checks: C-20008r562720_chk
If the "sendmail" and "postfix" packages are not installed, this is not applicable. Check the permissions of the alias file. Procedure: for sendmail: # ls -lL /etc/aliases /etc/aliases.db If an alias file has a mode more permissive than 0644, this is a finding. for postfix: Verify the location of the alias file. # postconf alias_maps This will return the location of the "aliases" file, by default "/etc/postfix/aliases". # ls -lL <postfix aliases file> <postfix aliases.db file> If an alias file has a mode more permissive than 0644, this is a finding.
Fix: F-20006r562721_fix
Change the mode of the alias files as needed to function. No higher than 0644. Procedure: for sendmail: # chmod 0644 /etc/aliases /etc/aliases.db for postfix (assuming the default postfix directory): # chmod 0644 /etc/postfix/aliases /etc/postfix/aliases
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004390
- Vuln IDs
-
- V-218534
- V-22439
- Rule IDs
-
- SV-218534r603259_rule
- SV-63643
Checks: C-20009r562723_chk
If the "sendmail" and "postfix" packages are not installed, this is not applicable. Check the permissions of the alias file. Procedure: for sendmail: # ls -lL /etc/aliases /etc/aliases.db If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding. for postfix: Verify the location of the alias file. # postconf alias maps This will return the location of the "aliases" file, by default "/etc/postfix/aliases" # ls -lL <postfix aliases file> <postfix aliases.db file> If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20007r562724_fix
Remove the extended permissions from the alias files. Procedure: for sendmail: # setfacl --remove-all /etc/aliases /etc/aliases.db for postfix (assuming the default postfix directory): # setfacl --remove-all /etc/postfix/aliases /etc/postfix/aliases.db
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN004400
- Vuln IDs
-
- V-218535
- V-833
- Rule IDs
-
- SV-218535r603259_rule
- SV-63699
Checks: C-20010r562726_chk
Verify the ownership of files referenced within the sendmail aliases file. Procedure: # more /etc/aliases Examine the aliases file for any utilized directories or paths. # ls -lL <directory or file path> Check the owner for any paths referenced. Check if the file or parent directory is owned by root. If not, this is a finding.
Fix: F-20008r562727_fix
Edit the /etc/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 <file or directory name>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004410
- Vuln IDs
-
- V-218536
- V-22440
- Rule IDs
-
- SV-218536r603259_rule
- SV-63719
Checks: C-20011r562729_chk
Examine the contents of the /etc/aliases file. Procedure: # more /etc/aliases Examine the aliases file for any utilized directories or paths. # ls -lL <file referenced from aliases> Check the permissions for any paths referenced. If the group owner of any file is not root, bin, sys, or system, this is a finding.
Fix: F-20009r562730_fix
Change the group ownership of the file referenced from /etc/aliases. Procedure: # chgrp root <file referenced from aliases>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004420
- Vuln IDs
-
- V-218537
- V-834
- Rule IDs
-
- SV-218537r603259_rule
- SV-63739
Checks: C-20012r562732_chk
If the "sendmail" package is not installed, this is not applicable. Examine the contents of the /etc/aliases file. Procedure: # more /etc/aliases Examine the aliases file for any referenced programs, which are specified with the pipe (|) symbol. # ls -lL <file referenced from aliases> Check the permissions for any paths referenced. If any file referenced from the aliases file has a mode more permissive than 0755, this is a finding.
Fix: F-20010r562733_fix
Use the chmod command to change the access permissions for files executed from the alias file. For example: # chmod 0755 filename
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004430
- Vuln IDs
-
- V-218538
- V-22441
- Rule IDs
-
- SV-218538r603259_rule
- SV-63745
Checks: C-20013r562735_chk
Examine the contents of the /etc/aliases file. Procedure: # more /etc/aliases Examine the aliases file for any utilized directories or paths. # ls -lL <file referenced from aliases> Check the permissions for any paths referenced. If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20011r562736_fix
Remove the extended ACL from the file. # setfacl --remove-all <file referenced from aliases>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004440
- Vuln IDs
-
- V-218539
- V-835
- Rule IDs
-
- SV-218539r603259_rule
- SV-63747
Checks: C-20014r555815_chk
If the "sendmail" package is not installed, this is not applicable. Check if sendmail logging is set to level nine: Procedure: for sendmail: # grep "O L" /etc/mail/sendmail.cf OR # grep LogLevel /etc/mail/sendmail.cf If logging is set to less than nine, this is a finding. for Postfix: This rule is not applicable to postfix which does not use "log levels" in the same fashion as sendmail.
Fix: F-20012r555816_fix
Edit the sendmail.cf file, locate the "O L" or "LogLevel" entry and change it to 9.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004460
- Vuln IDs
-
- V-218540
- V-836
- Rule IDs
-
- SV-218540r603259_rule
- SV-63749
Checks: C-20015r555818_chk
Check the syslog configuration file for mail.crit logging configuration. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Procedure: # grep "mail\." /etc/syslog.conf Or: #grep "mail\." /etc/syslog.conf If syslog is not configured to log critical sendmail messages ("mail.crit" or "mail.*"), this is a finding.
Fix: F-20013r555819_fix
Edit the syslog.conf or rsyslog.conf file and add a configuration line specifying an appropriate destination for "mail.crit" or "mail.*" syslog messages.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004480
- Vuln IDs
-
- V-218541
- V-837
- Rule IDs
-
- SV-218541r603259_rule
- SV-63751
Checks: C-20016r562738_chk
Locate any mail log files by checking the syslog configuration file. Procedure: The check procedure is the same for both sendmail and Postfix. Identify any log files configured for the "mail" service (excluding mail.none) at any severity level and check the ownership. Depending on what system is used for log processing, either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. For syslog: # egrep "mail\.[^n][^/]*" /etc/syslog.conf|sed 's/^[^/]*//'|xargs ls -lL For rsyslog: # egrep "mail\.[^n][^/]*" /etc/rsyslog.conf|sed 's/^[^/]*//'|xargs ls -lL If any mail log file is not owned by root, this is a finding.
Fix: F-20014r562739_fix
Change the ownership of the sendmail log file. Procedure: The fix procedure is the same for both sendmail and Postfix. # chown root <sendmail log file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004500
- Vuln IDs
-
- V-218542
- V-838
- Rule IDs
-
- SV-218542r603259_rule
- SV-63753
Checks: C-20017r562741_chk
Check the mode of the SMTP service log file. Procedure: The check procedure is the same for both sendmail and Postfix. Identify any log files configured for the "mail" service (excluding mail.none) at any severity level and check the permissions. Depending on what system is used for log processing, either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. For syslog: # egrep "mail\.[^n][^/]*" /etc/syslog.conf|sed 's/^[^/]*//'|xargs ls -lL For rsyslog: # egrep "mail\.[^n][^/]*" /etc/rsyslog.conf|sed 's/^[^/]*//'|xargs ls -lL If the log file permissions are greater than 0644, this is a finding.
Fix: F-20015r562742_fix
Change the mode of the SMTP service log file. Procedure: The fix procedure is the same for both sendmail and Postfix. # chmod 0644 <sendmail log file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004510
- Vuln IDs
-
- V-218543
- V-22442
- Rule IDs
-
- SV-218543r603259_rule
- SV-63755
Checks: C-20018r562744_chk
Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Examine /etc/syslog.conf or /etc/rsyslog.conf and determine the log file(s) receiving logs for "mail.crit", "mail.debug", mail.*, or "*.crit". Procedure: This check is applicable to both Postfix or sendmail servers. Check the permissions on these log files. Identify any log files configured for "*.crit" and the "mail" service (excluding mail.none) and at any severity level. For syslog: # egrep "(\*.crit|mail\.[^n][^/]*)" /etc/syslog.conf|sed 's/^[^/]*//'|xargs ls -lL For rsyslog: # egrep "(\*.crit|mail\.[^n][^/]*)" /etc/rsyslog.conf|sed 's/^[^/]*//'|xargs ls -lL If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20016r562745_fix
This fix is applicable to both Postfix and sendmail servers. Remove the extended ACL from the file. # setfacl --remove-all <log file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004540
- Vuln IDs
-
- V-218544
- V-12006
- Rule IDs
-
- SV-218544r603259_rule
- SV-63759
Checks: C-20019r555830_chk
Check if Help is disabled. This rule is for "sendmail" only and not applicable to "Postfix". Procedure: # telnet localhost 25 > help If the help command returns any sendmail version information, this is a finding. If sendmail is not installed, this check is not applicable.
Fix: F-20017r555831_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-218545
- V-4384
- Rule IDs
-
- SV-218545r603259_rule
- SV-63771
Checks: C-20020r555833_chk
To check for the version of either sendmail or Postfix being displayed in the greeting: # telnet localhost 25 If a version number is displayed, this is a finding.
Fix: F-20018r555834_fix
Ensure sendmail or Postfix has been configured to mask the version information. Procedure for sendmail: 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 for Postfix: Examine the "smtpd_banner" line of /etc/postfix/main.conf and remove any "$mail_version" entry on it or comment the entire "smtpd_banner" line to use the default value which does not display the version information.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004580
- Vuln IDs
-
- V-218546
- V-4385
- Rule IDs
-
- SV-218546r603259_rule
- SV-62713
Checks: C-20021r555836_chk
Check forwarding capability from sendmail. Procedure: grep "O ForwardPath" /etc/mail/sendmail.cf If the entry contains a file path, this is a finding. Search for any .forward in users home directories on the system by: # for pwline in `cut -d: -f1,6 /etc/passwd`; do homedir=`echo ${pwline}|cut -d: -f2`;username=`echo ${pwline} | cut -d: -f1`;echo $username `stat -c %n $homedir/.forward 2>null`; done|egrep "\.forward" If any users have a .forward file in their home directory, this is a finding.
Fix: F-20019r555837_fix
Disable forwarding for sendmail and remove .forward files from the system Procedure: Edit the /etc/mail/sendmail.mc file to change the ForwardPath entry to a null path by adding the line define(`confFORWARD_PATH',`') rebuild the sendmail.cf file. Remove all .forward files on the system # find / -name .forward -delete
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN004600
- Vuln IDs
-
- V-218547
- V-4689
- Rule IDs
-
- SV-218547r603259_rule
- SV-62907
Checks: C-20022r555839_chk
Determine the version of the SMTP service software. Procedure: # rpm -q sendmail sendmail-8.13.8-10 is the latest required version. If sendmail is installed and the version is not at least 8.13.8-10, this is a finding. # rpm -q postfix postfix-2.3.3-7.el5 is the latest required version. If the postfix is installed and the version is not at least 2:2.3.3-7, this is a finding.
Fix: F-20020r555840_fix
Obtain and install a newer version of the SMTP service software (sendmail or Postfix) from the operating system vendor.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN004620
- Vuln IDs
-
- V-218548
- V-4690
- Rule IDs
-
- SV-218548r603259_rule
- SV-62813
Checks: C-20023r555842_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" or a 550 error code of "access denied", this is a finding. The operating system distribution ships with sendmail Version 8.13.8 which is not vulnerable. This should never be a finding.
Fix: F-20021r555843_fix
Obtain and install a newer version of the SMTP service software (sendmail or Postfix) from the operating system vendor.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN004640
- Vuln IDs
-
- V-218549
- V-4691
- Rule IDs
-
- SV-218549r603259_rule
- SV-62821
Checks: C-20024r562747_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.
Fix: F-20022r562748_fix
Disable mail aliases for decode and uudecode. If the /etc/aliases or /usr/lib/aliases (mail alias) file contains entries for these programs, remove them or disable them by placing "#" at the beginning of the line, and then executing the new aliases command. For more information on mail aliases, refer to the man page for aliases. Disabled aliases would be similar to these examples: # decode: |/usr/bin/uudecode # uudecode: |/usr/bin/uuencode -d
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004660
- Vuln IDs
-
- V-218550
- V-4692
- Rule IDs
-
- SV-218550r603259_rule
- SV-62833
Checks: C-20025r562750_chk
This vulnerability is applicable only to sendmail. If Postfix is the SMTP service for the system this will never be a finding. Procedure: Determine if EXPN is disabled. # grep -v "^#" /etc/mail/sendmail.cf |grep -i PrivacyOptions If nothing is returned or the returned line does not contain "noexpn", this is a finding.
Fix: F-20023r562751_fix
Rebuild /etc/mail/sendmail.cf with the "noexpn" Privacy Flag set. Procedure: Edit /etc/mail/sendmail.mc resetting the Privacy Flags to the default: define('confPRIVACYFLAGS', 'authwarnings,novrfy,noexpn,restrictqrun')dnl Rebuild the sendmail.cf file with: # make -C /etc/mail Restart the sendmail service. # service sendmail restart
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004680
- Vuln IDs
-
- V-218551
- V-4693
- Rule IDs
-
- SV-218551r603259_rule
- SV-62859
Checks: C-20026r562753_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: # grep -v "^#" /etc/mail/sendmail.cf |grep -i vrfy Verify the VRFY command is disabled with an entry in the sendmail.cf file. The entry could be any one of "Opnovrfy", "novrfy", or "goaway", which could also have other options included, such as "noexpn". The "goaway" argument encompasses many things, such as "novrfy" and "noexpn". If no setting to disable VRFY is found, this is a finding.
Fix: F-20024r562754_fix
Add the "novrfy" flag to your sendmail in /etc/mail/sendmail.cf. Procedure: Edit the definition of "confPRIVACY_FLAGS" in /etc/mail/sendmail.mc to include "novrfy". Rebuild the sendmail.cf file with: # make -C /etc/mail Restart the sendmail service. # service sendmail restart
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN004700
- Vuln IDs
-
- V-218552
- V-4694
- Rule IDs
-
- SV-218552r603259_rule
- SV-62867
Checks: C-20027r555854_chk
Log into the sendmail server with telnet and test the "wiz" command. Procedure: # telnet localhost 25 Trying 127.0.0.1... Connected to locahost.localdomain (127.0.0.1). Escape character ... Once the telnet greeting is complete type: wiz If you do not get a "Command unrecognized: " message, this is a finding.
Fix: F-20025r555855_fix
If the WIZ command exists on sendmail then the version of sendmail is archaic and should be replaced with the latest version from the operating system vendor. WIZ is not available on any sendmail distribution delivered by this operating system. However, if the WIZ command is enabled on sendmail, it should be disabled by adding this line to the sendmail.cf configuration file (note that 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-218553
- V-23952
- Rule IDs
-
- SV-218553r603259_rule
- SV-62879
Checks: C-20028r562756_chk
If the system uses sendmail examine the configuration files. Determine if sendmail only binds to loopback addresses by examining the "DaemonPortOptions" configuration options. Procedure: # grep -i "O DaemonPortOptions" /etc/mail/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: # grep -i promiscuous_relay /etc/mail/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, and 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-20026r562757_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-218554
- V-12010
- Rule IDs
-
- SV-218554r603259_rule
- SV-62885
Checks: C-20029r555860_chk
Perform the following to determine if unencrypted FTP is enabled: # chkconfig --list gssftp # chkconfig --list vsftpd If any of these services are found, ask the SA if these services are encrypted. If they are not, this is a finding.
Fix: F-20027r555861_fix
Disable the FTP daemons. Procedure: # chkconfig gssftp off # chkconfig vsftpd off
- RMF Control
- AC-22
- Severity
- M
- CCI
- CCI-001475
- Version
- GEN004820
- Vuln IDs
-
- V-218555
- V-846
- Rule IDs
-
- SV-218555r603259_rule
- SV-62955
Checks: C-20030r562759_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 and the use of anonymous ftp has not been documented and approved by the IAO, this is a finding. Procedure: # ftp localhost Name: anonymous 530 Guest login not allowed on this machine.
Fix: F-20028r562760_fix
Configure the FTP service to not permit anonymous logins.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN004840
- Vuln IDs
-
- V-218556
- V-4702
- Rule IDs
-
- SV-218556r603259_rule
- SV-62925
Checks: C-20031r562762_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-20029r562763_fix
Remove anonymous ftp capability or move the system to a DMZ network.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004880
- Vuln IDs
-
- V-218557
- V-840
- Rule IDs
-
- SV-218557r603259_rule
- SV-62959
Checks: C-20032r562765_chk
Check for the existence of the ftpusers file. Procedure: For gssftp: # ls -l /etc/ftpusers For vsftp: # ls -l /etc/vsftpd.ftpusers or # ls -l /etc/vsftpd/ftpusers If the appropriate ftpusers file for the running FTP service does not exist, this is a finding.
Fix: F-20030r562766_fix
Create an ftpusers file appropriate for the running FTP service. For gssftp: Create an /etc/ftpusers file containing a list of accounts not authorized for FTP. For vsftp: Create an /etc/vsftpd.ftpusers or /etc/vsftpd/ftpusers (as appropriate) file containing a list of accounts not authorized for FTP.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004900
- Vuln IDs
-
- V-218558
- V-841
- Rule IDs
-
- SV-218558r603259_rule
- SV-62981
Checks: C-20033r562768_chk
Check the contents of the ftpusers file. For gssftp: # more /etc/ftpusers For vsftp: # more /etc/vsftpd.ftpusers /etc/vfsftpd/ftpusers If the system has accounts not allowed to use FTP and not listed in the ftpusers file, this is a finding.
Fix: F-20031r562769_fix
For gssftp: Add accounts not allowed to use FTP to the /etc/ftpusers file. For vsftp: Add accounts not allowed to use FTP to the /etc/vsftpd.ftpusers or /etc/vsftpd/ftpusers file (as appropriate).
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004920
- Vuln IDs
-
- V-218559
- V-842
- Rule IDs
-
- SV-218559r603259_rule
- SV-63009
Checks: C-20034r562771_chk
Check the ownership of the ftpusers file. Procedure: For gssftp: # ls -l /etc/ftpusers For vsftp: # ls -l /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers If the ftpusers file is not owned by root, this is a finding.
Fix: F-20032r562772_fix
Change the owner of the ftpusers file to root. For gssftp: # chown root /etc/ftpusers For vsftp: # chown root /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004930
- Vuln IDs
-
- V-218560
- V-22444
- Rule IDs
-
- SV-218560r603259_rule
- SV-63015
Checks: C-20035r562774_chk
Check the group ownership of the ftpusers file. Procedure: # ls -lL /etc/ftpusers /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers If the file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-20033r562775_fix
Change the group owner of the ftpusers file. Procedure: # chgrp root /etc/ftpusers /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004940
- Vuln IDs
-
- V-218561
- V-843
- Rule IDs
-
- SV-218561r603259_rule
- SV-63079
Checks: C-20036r562777_chk
Check the permissions of the ftpusers file. Procedure: For gssftp: # ls -l /etc/ftpusers For vsftp: # ls -l /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers If the ftpusers file has a mode more permissive than 0640, this is a finding.
Fix: F-20034r562778_fix
Change the mode of the ftpusers file to 0640. Procedure: For gssftp: # chmod 0640 /etc/ftpusers For vsftp: # chmod 0640 /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN004950
- Vuln IDs
-
- V-218562
- V-22445
- Rule IDs
-
- SV-218562r603259_rule
- SV-63083
Checks: C-20037r562780_chk
Check the permissions of the /etc/ftpusers file. # ls -lL /etc/ftpusers /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20035r562781_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/ftpusers /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers
- RMF Control
- AU-3
- Severity
- L
- CCI
- CCI-000130
- Version
- GEN004980
- Vuln IDs
-
- V-218563
- V-845
- Rule IDs
-
- SV-218563r603259_rule
- SV-63103
Checks: C-20038r562783_chk
Find if logging is applied to the ftp daemon. The procedure depends on the implementation of ftpd used by the system. Procedures: For vsftpd: If vsftpd is started by xinetd: #grep vsftpd /etc/xinetd.d/* This will indicate the xinetd.d startup file #grep server_args <vsftpd xinetd.d startup file> This will indicate the vsftpd config file used when starting through xinetd. If the line is missing then "/etc/vsftpd/vsftpd.conf", the default config file, is used. #grep xferlog_enable <vsftpd config file> If "xferlog_enable" is missing or is not set to "yes", this is a finding. If vsftp is not started by xinetd: #grep xferlog_enable /etc/vsftpd/vsftpd.conf If "xferlog_enable" is missing or is not set to "yes", this is a finding. For gssftp: Find if the -l option will be applied when xinetd starts gssftp # grep server_args /etc/xinetd.d/gssftp If the line is missing or does not contain at least one -l, this is a finding.
Fix: F-20036r562784_fix
Enable logging by changing ftpd startup or config files. Procedure: The procedure depends on the implementation of ftpd used by the system. For vsftpd: Ensure the server settings in "/etc/vsftpd.conf" (or other configuration file specified by the vaftpd xinetd.d startup file) contains: xferlog_enable = yes For gssftp: If the "disable" server setting is missing or set to "no" in "/etc/xinetd.d/gssftp" then ensure the server settings in "/etc/xinetd.d/gssftp" contains: server_args = -l The -l option may be added up to three times. Each -l will provide increasing verbosity on the log. Refer to the main page for ftpd for more information. For both if started using xinetd: If the "disable" server setting is missing or set to "no" in the /etc/xinetd.d startup file then ensure the server settings contains: log_on_success += DURATION USERID This will log the startup and shutdown of the daemon. log_on_failure += HOST USERID
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN005000
- Vuln IDs
-
- V-218564
- V-4387
- Rule IDs
-
- SV-218564r603259_rule
- SV-63109
Checks: C-20039r562786_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-20037r562787_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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005040
- Vuln IDs
-
- V-218565
- V-12011
- Rule IDs
-
- SV-218565r603259_rule
- SV-63113
Checks: C-20040r562789_chk
Check the umask setting for FTP users. Procedure: For gssftp: Assuming an anonymous ftp user has been defined with no user initialization script invoked to change the umask # ftp localhost Name: (localhost:root): anonymous Password: anything ftp>umask If the umask value returned is not 077, this is a finding. or: # grep "server_args" /etc/xinetd.d/gssftp The default umask for FTP is "023" if the server _args entry does not contain "-u 077" this is a finding. For vsftp: # grep "_mask" /etc/vsftpd/vsftpd.conf The default "local_umask" setting is 077. If this has been changed, or the "anon_umask" setting is not 077, this is a finding.
Fix: F-20038r562790_fix
Edit the initialization files for the ftp user and set the umask to 077. Procedure: For gssftp: Modify the /etc/xinetd.d/gssftp file adding "-u 077" to the server_args entry. For vsftp: Modify the "/etc/vsftpd/vsftpd.conf" setting "local_umask" and "anon_umask" to 077.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005080
- Vuln IDs
-
- V-218566
- V-847
- Rule IDs
-
- SV-218566r603259_rule
- SV-63119
Checks: C-20041r555896_chk
# grep server_args /etc/xinetd.d/tftp If the "-s" parameter is not specified, this is a finding.
Fix: F-20039r555897_fix
Edit /etc/xinetd.d/tftp file and specify the "-s" parameter in server_args.
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN005100
- Vuln IDs
-
- V-218567
- V-848
- Rule IDs
-
- SV-218567r603259_rule
- SV-63163
Checks: C-20042r562792_chk
Check the mode of the TFTP daemon. Procedure: # grep "server " /etc/xinetd.d/tftp # ls -lL <in.tftpd binary> If the mode of the file is more permissive than 0755, this is a finding.
Fix: F-20040r562793_fix
Change the mode of the TFTP daemon. Procedure: # chmod 0755 <in.tftpd binary>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005120
- Vuln IDs
-
- V-218568
- V-849
- Rule IDs
-
- SV-218568r603259_rule
- SV-63159
Checks: C-20043r562795_chk
Check the /etc/passwd file to determine if TFTP is configured properly. Procedure: Check if TFTP if used. # grep disable /etc/xinetd.d/tftp If the file does not exist or the returned line indicates "yes", then this is not a finding. Otherwise, if the returned line indicates "no" then TFTP is enabled and must use a dedicated "tftp" user. # grep user /etc/xinetd.d/tftp If the returned line indicates a user other than the dedicated "tftp" user, this is a finding. # 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-20041r562796_fix
Configure TFTP to use a dedicated "tftp" user. Procedure: Create a dedicated "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. Edit /etc/xinetd.d/tftp to have "tftp" as the value of the "user" parameter.
- RMF Control
- AC-6
- Severity
- H
- CCI
- CCI-000225
- Version
- GEN005140
- Vuln IDs
-
- V-218569
- V-4695
- Rule IDs
-
- SV-218569r603259_rule
- SV-63167
Checks: C-20044r562798_chk
Determine if the TFTP daemon is active. # chkconfig --list | grep tftp If TFTP is found enabled ("on") and not documented using site-defined procedures, it is a finding.
Fix: F-20042r562799_fix
Document or Disable the TFTP daemon. If the TFTP daemon is necessary on the system, document and justify its usage for approval from the IAO. If the TFTP daemon is not necessary on the system, turn it off. # chkconfig tftp off # service xinetd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005160
- Vuln IDs
-
- V-218570
- V-850
- Rule IDs
-
- SV-218570r603259_rule
- SV-63199
Checks: C-20045r555908_chk
Check for .Xauthority or .xauth files being utilized by looking for such files in the home directory of a user. Procedure: # find / -name '.xauth*' | more If no .xauth files are found in a user's home directory, ensure that Xwindows is not active on the system by performing the command: # ps -ef | grep X If Xwindows is not running, this rule is not applicable. If the .Xauthority or .xauth (followed by apparently random characters) files do not exist, ask the SA if the user is using Xwindows. If the user is utilizing Xwindows and none of these files exist, this is a finding.
Fix: F-20043r555909_fix
Ensure the X Windows host is configured to write .Xauthority files into user home directories. Edit the Xaccess file. Ensure the line writing the .Xauthority file is uncommented.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005180
- Vuln IDs
-
- V-218571
- V-12014
- Rule IDs
-
- SV-218571r603259_rule
- SV-63205
Checks: C-20046r562801_chk
Check the file permissions for the .Xauthority files. Procedure: # ls -la |egrep "(\.Xauthority|\.xauth)" If the file mode is more permissive than 0600, this is finding.
Fix: F-20044r562802_fix
Change the mode of the .Xauthority files. Procedure: # chmod 0600 .Xauthority
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005190
- Vuln IDs
-
- V-218572
- V-22446
- Rule IDs
-
- SV-218572r603259_rule
- SV-63285
Checks: C-20047r555914_chk
Check the file permissions for the .Xauthority files. These files will be located in user home directories. Procedure: # ls -la ~username |egrep "(\.Xauthority|\.xauth)" If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20045r555915_fix
Remove the extended ACL from the file. # setfacl --remove-all .Xauthority
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN005200
- Vuln IDs
-
- V-218573
- V-4697
- Rule IDs
-
- SV-218573r603259_rule
- SV-63295
Checks: C-20048r555917_chk
If Xwindows 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 able to 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-20046r555918_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-218574
- V-12016
- Rule IDs
-
- SV-218574r603259_rule
- SV-63313
Checks: C-20049r555920_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 file, where "*" is a display number 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-20047r555921_fix
Create an X*.hosts file, where "*" is a display number 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-218575
- V-12017
- Rule IDs
-
- SV-218575r603259_rule
- SV-63329
Checks: C-20050r555923_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-20048r555924_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-218576
- V-12018
- Rule IDs
-
- SV-218576r603259_rule
- SV-63347
Checks: C-20051r562804_chk
Determine if the X window system is running. Procedure: # ps -ef |grep Xorg Ask the SA if the X window system is an operational requirement. If it is not, this is a finding.
Fix: F-20049r562805_fix
Disable the X Windows server on the system.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001436
- Version
- GEN005280
- Vuln IDs
-
- V-218577
- V-4696
- Rule IDs
-
- SV-218577r603259_rule
- SV-63353
Checks: C-20052r562807_chk
# service uucp status if UUCP is "running", this is a finding.
Fix: F-20050r562808_fix
# chkconfig uucp off # service uucp stop # service xinetd restart
- RMF Control
- IA-5
- Severity
- H
- CCI
- CCI-000178
- Version
- GEN005300
- Vuln IDs
-
- V-218578
- V-993
- Rule IDs
-
- SV-218578r603259_rule
- SV-63371
Checks: C-20053r562810_chk
Check the SNMP configuration for default passwords. Procedure: Examine the default install location /etc/snmp/snmpd.conf or: # find / -name snmpd.conf # more <snmpd.conf file> 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", or any value which does not meet DISA password requirements, this is a finding.
Fix: F-20051r562811_fix
Change the default passwords. To change them, locate the file snmpd.conf. Edit the file. Locate the line system-group-read-community which has a default password of "public" and make the password something more secure and less guessable. Do the same for the lines reading 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-218579
- V-22447
- Rule IDs
-
- SV-218579r603259_rule
- SV-63397
Checks: C-20054r562813_chk
Check the SNMP daemon is not configured to use the v1 or v2c security models. Procedure: Examine the default install location /etc/snmpd.conf or: # find / -name snmpd.conf # grep -E '(v1|v2c|community|com2sec)' <snmp.conf file> | grep -v '^#' If any configuration is found, this is a finding.
Fix: F-20052r562814_fix
Edit /etc/snmpd.conf and remove references to the "v1", "v2c", "community", or "com2sec". Restart the SNMP service. # service snmpd restart
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001453
- Version
- GEN005306
- Vuln IDs
-
- V-218580
- V-22448
- Rule IDs
-
- SV-218580r603259_rule
- SV-63407
Checks: C-20055r555938_chk
Verify the SNMP daemon uses SHA for SNMPv3 users. Procedure: Examine the default install location /etc/snmp/snmpd.conf or: # find / -name snmpd.conf # grep -v '^#' <snmpd.conf file> | grep -i createuser | grep -vi SHA If any line is present this is a finding.
Fix: F-20053r555939_fix
Edit /etc/snmp/snmpd.conf and add the SHA keyword for any create user statement without one. Restart the SNMP service. # service snmpd restart
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN005307
- Vuln IDs
-
- V-218581
- V-22449
- Rule IDs
-
- SV-218581r603259_rule
- SV-63415
Checks: C-20056r555941_chk
Verify the SNMP daemon uses AES for SNMPv3 users. Procedure: Examine the default install location /etc/snmp/snmpd.conf or: # find / -name snmpd.conf # grep -v '^#' <snmpd.conf file> | grep -i createuser | grep -vi AES If any line is present this is a finding.
Fix: F-20054r555942_fix
Edit /etc/snmp/snmpd.conf and add the AES keyword for any create user statement without one. Restart the SNMP service. # service snmpd restart
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005320
- Vuln IDs
-
- V-218582
- V-994
- Rule IDs
-
- SV-218582r603259_rule
- SV-63425
Checks: C-20057r555944_chk
Check the mode of the SNMP daemon configuration file. Procedure: Examine the default install location /etc/snmp/snmpd.conf or: # find / -name snmpd.conf # ls -lL <snmpd.conf file> If the snmpd.conf file has a mode more permissive than 0600, this is a finding.
Fix: F-20055r555945_fix
Change the mode of the SNMP daemon configuration file to 0600. Procedure: # chmod 0600 <snmpd.conf>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005340
- Vuln IDs
-
- V-218583
- V-995
- Rule IDs
-
- SV-218583r603259_rule
- SV-63429
Checks: C-20058r555947_chk
Check the modes for all Management Information Base (MIB) files on the system. Procedure: # find / -name *.mib # ls -lL <mib file> Any file returned with a mode 0640 or less permissive is a finding.
Fix: F-20056r555948_fix
Change the mode of MIB files to 0640. Procedure: # chmod 0640 <mib file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005350
- Vuln IDs
-
- V-218584
- V-22450
- Rule IDs
-
- SV-218584r603259_rule
- SV-63437
Checks: C-20059r555950_chk
Check the file permissions for the MIB files. # find / -name *.mib # ls -lL <mib file> If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20057r555951_fix
Remove the extended ACL from the file. # setfacl --remove-all <mib file>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005360
- Vuln IDs
-
- V-218585
- V-12019
- Rule IDs
-
- SV-218585r603259_rule
- SV-63443
Checks: C-20060r555953_chk
Determine the owner of the SNMP configuration file. Procedure: Find the snmpd.conf file. The default install location is /etc/snmp/snmpd.conf but may be different depending on the SNMP agent installed. # find / -name snmpd.conf # ls -lL <snmpd.conf> If the snmpd.conf file is not owned by root, this is a finding.
Fix: F-20058r555954_fix
Change the owner of the snmpd.conf file to root. Procedure: # chown root <snmpd.conf file>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005365
- Vuln IDs
-
- V-218586
- V-22451
- Rule IDs
-
- SV-218586r603259_rule
- SV-63461
Checks: C-20061r555956_chk
Check the group ownership of the SNMP configuration file. Procedure: Examine the default install location /etc/snmp/snmpd.conf or: # find / -name snmpd.conf # ls -lL <snmpd.conf> If the file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-20059r555957_fix
Change the group ownership of the SNMP configuration file. Procedure: # chgrp root <snmpd.conf>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005375
- Vuln IDs
-
- V-218587
- V-22452
- Rule IDs
-
- SV-218587r603259_rule
- SV-63463
Checks: C-20062r555959_chk
Check the permissions of the SNMP configuration file. Procedure: Examine the default install location /etc/snmp/snmpd.conf or: # find / -name snmpd.conf # ls -lL <snmpd.conf> If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20060r555960_fix
Remove the extended ACL from the file. # setfacl --remove-all <snmpd.conf file>
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN005380
- Vuln IDs
-
- V-218588
- V-4392
- Rule IDs
-
- SV-218588r603259_rule
- SV-63465
Checks: C-20063r562816_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-20061r562817_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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005390
- Vuln IDs
-
- V-218589
- V-22453
- Rule IDs
-
- SV-218589r603259_rule
- SV-63467
Checks: C-20064r555965_chk
Check the permissions of the syslog configuration file. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. # ls -lL /etc/syslog.conf Or: # ls -lL /etc/rsyslog.conf If the mode of the file is more permissive than 0640, this is a finding.
Fix: F-20062r555966_fix
Change the permissions of the syslog or rsyslog configuration file. # chmod 0640 /etc/syslog.conf Or: # chmod 0640 /etc/rsyslog.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005395
- Vuln IDs
-
- V-218590
- V-22454
- Rule IDs
-
- SV-218590r603259_rule
- SV-63471
Checks: C-20065r555968_chk
Check the permissions of the syslog configuration file. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. # ls -lL /etc/syslog.conf Or: # ls -lL /etc/rsyslog.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20063r555969_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/syslog.conf Or: # setfacl -- remove-all /etc/rsyslog.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005400
- Vuln IDs
-
- V-218591
- V-4393
- Rule IDs
-
- SV-218591r603259_rule
- SV-63473
Checks: C-20066r555971_chk
Check /etc/syslog.conf or /etc/rsyslog.conf ownership: For syslog: # ls -lL /etc/syslog.conf For rsyslog: # ls -lL /etc/rsyslog.conf If /etc/syslog.conf or /etc/rsyslog.conf is not owned by root, this is a finding.
Fix: F-20064r555972_fix
Use the chown command to set the owner to root. # chown root /etc/syslog.conf Or: # chown root /etc/rsyslog.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005420
- Vuln IDs
-
- V-218592
- V-4394
- Rule IDs
-
- SV-218592r603259_rule
- SV-65303
Checks: C-20067r555974_chk
Check /etc/syslog.conf or /etc/rsyslog.conf group ownership. Procedure: # ls -lL /etc/syslog.conf Or: # ls -lL /etc/syslog.conf If /etc/syslog.conf or /etc/rsyslog.conf is not group owned by root, sys, bin, or system, this is a finding.
Fix: F-20065r555975_fix
Procedure: # chgrp root /etc/syslog.conf Or # chgrp root /etc/rsyslog.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005440
- Vuln IDs
-
- V-218593
- V-12020
- Rule IDs
-
- SV-218593r603259_rule
- SV-63495
Checks: C-20068r555977_chk
Ask the SA if the loghost server is collecting data for hosts outside the local enclave. If it is, this is a finding.
Fix: F-20066r555978_fix
Configure the hosts outside of the local enclave to not log to this system.
- RMF Control
- AU-3
- Severity
- M
- CCI
- CCI-000136
- Version
- GEN005450
- Vuln IDs
-
- V-218594
- V-22455
- Rule IDs
-
- SV-218594r603259_rule
- SV-63501
Checks: C-20069r562819_chk
Check the syslog configuration file for remote syslog servers. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. # grep '@' /etc/syslog.conf | grep -v '^#' Or: # grep '@' /etc/rsyslog.conf | grep -v '^#' If no line is returned, this is a finding.
Fix: F-20067r562820_fix
Edit the syslog or rsyslog configuration file and add an appropriate remote syslog server.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005460
- Vuln IDs
-
- V-218595
- V-4395
- Rule IDs
-
- SV-218595r603259_rule
- SV-63507
Checks: C-20070r562822_chk
Examine the syslog.conf or rsyslog.conf file for any references to remote log hosts. # grep -v "^#" /etc/syslog.conf | grep '@' Or: # grep -v "^#" /etc/rsyslog.conf | grep '@' Destination locations beginning with an '@' represent log hosts. If the log host name is a local alias such as "loghost", 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-20068r562823_fix
Remove or document the referenced undocumented log host.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005480
- Vuln IDs
-
- V-218596
- V-12021
- Rule IDs
-
- SV-218596r603259_rule
- SV-63531
Checks: C-20071r562825_chk
Ask the SA if the system is an authorized syslog server. If the system is an authorized syslog server, this is not applicable. Determine if the system's syslog service is configured to accept remote messages. # ps -ef | grep syslogd If the '-r' option is present, the system is configured to accept remote syslog messages, and this is a finding.
Fix: F-20069r562826_fix
Edit /etc/sysconfig/syslog to removing the '-r' in SYSLOGD_OPTIONS. Restart the syslogd service.
- RMF Control
- IA-5
- Severity
- H
- CCI
- CCI-000197
- Version
- GEN005500
- Vuln IDs
-
- V-218597
- V-4295
- Rule IDs
-
- SV-218597r603259_rule
- SV-63543
Checks: C-20072r562828_chk
Locate the sshd_config file: # more /etc/ssh/sshd_config Examine the file. If the variables 'Protocol 2,1' or 'Protocol 1' are defined on a line without a leading comment, this is a finding. If the SSH server is F-Secure, the variable name for SSH 1 compatibility is 'Ssh1Compatibility', not 'protocol'. If the variable 'Ssh1Compatiblity' is set to 'yes', then this is a finding.
Fix: F-20070r562829_fix
Edit the sshd_config file and set the "Protocol" setting to "2". If using the F-Secure SSH server, set the "Ssh1Compatibility" setting to "no". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000197
- Version
- GEN005501
- Vuln IDs
-
- V-218598
- V-22456
- Rule IDs
-
- SV-218598r603259_rule
- SV-63547
Checks: C-20073r562831_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-20071r562832_fix
Edit the /etc/ssh/ssh_config file and add or edit a "Protocol" configuration line not allowing versions less than 2.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000069
- Version
- GEN005504
- Vuln IDs
-
- V-218599
- V-22457
- Rule IDs
-
- SV-218599r603259_rule
- SV-63553
Checks: C-20074r562834_chk
Ask the SA to identify which interfaces on the system are designated for management traffic. If all interfaces on the system are authorized for management traffic, this is not applicable. 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-20072r562835_fix
Edit the SSH daemon configuration to specify listening network addresses designated for management traffic. Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN005505
- Vuln IDs
-
- V-218600
- V-22458
- Rule IDs
-
- SV-218600r603337_rule
- SV-63561
Checks: C-20075r603335_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-20073r603336_fix
Edit the SSH daemon configuration and remove any ciphers not starting with "aes" and remove any ciphers ending with "cbc". If necessary, add a "Ciphers" line. Ciphers aes256-ctr,aes192-ctr,aes128-ctr Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005506
- Vuln IDs
-
- V-218601
- V-22459
- Rule IDs
-
- SV-218601r603259_rule
- SV-63567
Checks: C-20076r556001_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-20074r556002_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-218602
- V-22460
- Rule IDs
-
- SV-218602r603259_rule
- SV-63587
Checks: C-20077r556004_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-20075r556005_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. Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000068
- Version
- GEN005510
- Vuln IDs
-
- V-218603
- V-22461
- Rule IDs
-
- SV-218603r603259_rule
- SV-63593
Checks: C-20078r556007_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 not starting with "3des" or "aes", this is a finding.
Fix: F-20076r556008_fix
Edit the SSH client configuration and remove any ciphers not starting with "3des" or "aes" and remove any ciphers ending with "cbc". If necessary, add a "Ciphers" line.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005511
- Vuln IDs
-
- V-218604
- V-22462
- Rule IDs
-
- SV-218604r603259_rule
- SV-63595
Checks: C-20079r556010_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-20077r556011_fix
Edit the SSH client configuration and remove any ciphers not starting with "3des" or "aes" and remove any ciphers ending with "cbc". If necessary, add a "Ciphers" line.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001453
- Version
- GEN005512
- Vuln IDs
-
- V-218605
- V-22463
- Rule IDs
-
- SV-218605r603259_rule
- SV-63669
Checks: C-20080r556013_chk
Check the SSH client configuration for allowed MACs. # 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-20078r556014_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-218606
- V-22470
- Rule IDs
-
- SV-218606r603259_rule
- SV-63727
Checks: C-20081r556016_chk
There are two ways in which access to SSH may restrict users or groups. Check if /etc/pam.d/sshd is configured to require daemon style login control. # grep pam_access.so /etc/pam.d/sshd|grep "required"|grep "account"| grep -v '^#' If no lines are returned, sshd is not configured to use pam_access. Check the SSH daemon configuration for the AllowGroups setting. # egrep -i "AllowGroups|AllowUsers" /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, sshd is not configured to limit access to users/groups. If sshd is not configured to limit access either through pam_access or the use "AllowUsers" or "AllowGroups", this is a finding.
Fix: F-20079r556017_fix
Edit the SSH daemon configuration and add an "AllowGroups" or "AllowUsers" directive specifying the groups and users allowed to have access. Restart the SSH daemon. # /sbin/service sshd restart Alternatively, modify the /etc/pam.d/sshd file to include the line account required pam_access.so accessfile=<path to access.conf for sshd> If the "accessfile" option is not specified the default "access.conf" file will be used. The "access.conf" file must contain the user restriction definitions.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005522
- Vuln IDs
-
- V-218607
- V-22471
- Rule IDs
-
- SV-218607r603259_rule
- SV-63841
Checks: C-20082r556019_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-20080r556020_fix
Change the permissions for the SSH public host key files. # chmod 0644 /etc/ssh/*key.pub
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005523
- Vuln IDs
-
- V-218608
- V-22472
- Rule IDs
-
- SV-218608r603259_rule
- SV-63863
Checks: C-20083r562837_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-20081r562838_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-218609
- V-22473
- Rule IDs
-
- SV-218609r603259_rule
- SV-63877
Checks: C-20084r562840_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 GSSAPIAuthentication 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-20082r562841_fix
Edit the SSH daemon configuration and set (add if necessary) a "GSSAPIAuthentication" directive set to "no". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN005525
- Vuln IDs
-
- V-218610
- V-22474
- Rule IDs
-
- SV-218610r603259_rule
- SV-63953
Checks: C-20085r562843_chk
The default setting for GSSAPIAuthentication is "no". Check for a change from the default. # grep -i GSSAPIAuthentication /etc/ssh/ssh_config | grep -v '^#' If the setting is "yes" this is a finding.
Fix: F-20083r562844_fix
Edit the SSH client configuration and set the GSSAPIAuthentication" directive set to "no".
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN005526
- Vuln IDs
-
- V-218611
- V-22475
- Rule IDs
-
- SV-218611r603259_rule
- SV-64033
Checks: C-20086r562846_chk
Ask the SA if Kerberos authentication is used by the system. If it is, this is not applicable. Check the SSH daemon configuration for the KerberosAuthentication setting. # grep -i KerberosAuthentication /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, or the setting is set to "yes", this is a finding.
Fix: F-20084r562847_fix
Edit the SSH daemon configuration and set (add if necessary) the "KerberosAuthentication" directive set to "no". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000766
- Version
- GEN005527
- Vuln IDs
-
- V-218612
- V-58537
- Rule IDs
-
- SV-218612r603259_rule
- SV-75259
Checks: C-20087r556034_chk
To determine how the SSH daemon's "HostbasedAuthentication" option is set, run the following command: # grep -i HostbasedAuthentication /etc/ssh/sshd_config If no line, a commented line, or a line indicating the value "no" is returned, then the required value is set. If the required value is not set, this is a finding.
Fix: F-20085r556035_fix
SSH's cryptographic host-based authentication is more secure than ".rhosts" authentication since hosts are cryptographically authenticated. However, it is not recommended that hosts unilaterally trust one another, even within an organization. To disable host-based authentication, add or correct the following line in "/etc/ssh/sshd_config": HostbasedAuthentication no
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005536
- Vuln IDs
-
- V-218613
- V-22485
- Rule IDs
-
- SV-218613r603259_rule
- SV-64067
Checks: C-20088r556037_chk
Check the SSH daemon configuration for the StrictModes setting. # grep -i StrictModes /etc/ssh/sshd_config | grep -v '^#' If the setting is not present, or not set to "yes", this is a finding.
Fix: F-20086r556038_fix
Edit the SSH daemon configuration and add or edit the "StrictModes" setting value to "yes". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005537
- Vuln IDs
-
- V-218614
- V-22486
- Rule IDs
-
- SV-218614r603259_rule
- SV-64073
Checks: C-20089r556040_chk
Check the SSH daemon configuration for the UsePrivilegeSeparation setting. # grep -i UsePrivilegeSeparation /etc/ssh/sshd_config | grep -v '^#' If the setting is not present, or not set to "yes", this is a finding.
Fix: F-20087r556041_fix
Edit the SSH daemon configuration and add or edit the "UsePrivilegeSeparation" setting value to "yes". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005538
- Vuln IDs
-
- V-218615
- V-22487
- Rule IDs
-
- SV-218615r603259_rule
- SV-64081
Checks: C-20090r556043_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-20088r556044_fix
Edit the SSH daemon configuration and add or edit the "RhostsRSAAuthentication" setting value to "no". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005539
- Vuln IDs
-
- V-218616
- V-22488
- Rule IDs
-
- SV-218616r603259_rule
- SV-64089
Checks: C-20091r556046_chk
Check the SSH daemon configuration for the compression setting. # grep -i Compression /etc/ssh/sshd_config | egrep "no|delayed" If the setting is missing or is commented out, this is a finding. If the setting is present but is not set to "no" or "delayed", this is a finding.
Fix: F-20089r556047_fix
Edit the SSH daemon configuration and add or edit the "Compression" setting value to "no" or "delayed". Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005540
- Vuln IDs
-
- V-218617
- V-12022
- Rule IDs
-
- SV-218617r603259_rule
- SV-64101
Checks: C-20092r556049_chk
Check the TCP wrappers configuration files to determine if sshd is configured to use TCP wrappers. Procedure: # grep sshd /etc/hosts.deny # grep sshd /etc/hosts.allow If no entries are returned, the TCP wrappers are not configured for sshd, this is a finding.
Fix: F-20090r556050_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-218618
- V-22489
- Rule IDs
-
- SV-218618r603259_rule
- SV-64103
Checks: C-20093r562849_chk
Verify the SSH daemon is configured for logon warning banners. Procedure: An exact match is required to have a valid warning banner. Check for the following login banner. 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-20091r562850_fix
Edit /etc/issue and the DoD login 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. Find the location of the banner file for sshd and examine the content: # grep -i banner /etc/ssh/sshd_config | grep -v '^#' # cat Edit the SSH daemon configuration and add or edit a "Banner" setting referencing a file containing a logon warning banner. Restart the SSH daemon. # /sbin/service sshd restart
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005560
- Vuln IDs
-
- V-218619
- V-4397
- Rule IDs
-
- SV-218619r603259_rule
- SV-64105
Checks: C-20094r556055_chk
Check the system for an IPv4 default route. If the system is a VM host and acts as a router solely for the benefit of its client systems, then this rule is not applicable. Procedure: # netstat -r |grep default If a default route is not defined, this is a finding.
Fix: F-20092r556056_fix
Set a default gateway for IPv4.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005570
- Vuln IDs
-
- V-218620
- V-22490
- Rule IDs
-
- SV-218620r603259_rule
- SV-64107
Checks: C-20095r556058_chk
Check for a default route for IPv6. If the system is a VM host and acts as a router solely for the benefit of its client systems, then this rule is not applicable. # ip -6 route list | grep default If the system uses IPv6, and no results are returned, this is a finding.
Fix: F-20093r556059_fix
Add a default route for IPv6. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 (substitute interface as appropriate). Add an IPV6_DEFAULTGW=<gateway> configuration setting. Restart the interface. # ifdown eth0; ifup eth0
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN005580
- Vuln IDs
-
- V-218621
- V-4398
- Rule IDs
-
- SV-218621r603259_rule
- SV-64109
Checks: C-20096r562852_chk
If the system is a VM host and acts as a router solely for the benefit of its client systems, then this rule is not applicable. Check to see if the system is a router: # chkconfig --list | grep :on | egrep '(ospf|route|bgp|zebra|quagga)' If the system is running a routing service, it is a 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-20094r562853_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-218622
- V-22665
- Rule IDs
-
- SV-218622r603259_rule
- SV-64111
Checks: C-20097r556064_chk
Check for any running routing protocol daemons. If the system is a VM host and acts as a router solely for the benefits of its client systems, then this rule is not applicable. # chkconfig --list |grep :on|egrep '(ospf|route|bgp|zebra|quagga)' If any routing protocol daemons are listed, this is a finding.
Fix: F-20095r556065_fix
Disable any routing protocol daemons.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005600
- Vuln IDs
-
- V-218623
- V-12023
- Rule IDs
-
- SV-218623r603259_rule
- SV-64113
Checks: C-20098r556067_chk
Check if the system is configured for IPv4 forwarding. If the system is a VM host and acts as a router solely for the benefits of its client systems, then this rule is not applicable. Procedure: # cat /proc/sys/net/ipv4/ip_forward If the value is set to "1", IPv4 forwarding is enabled this is a finding.
Fix: F-20096r556068_fix
Edit "/etc/sysctl.conf" and set net.ipv4.ip_forward to "0". Restart the system or run "sysctl -p" to make the change take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005610
- Vuln IDs
-
- V-218624
- V-22491
- Rule IDs
-
- SV-218624r603259_rule
- SV-64245
Checks: C-20099r556070_chk
Check if the system is configured for IPv6 forwarding. # grep [01] /proc/sys/net/ipv6/conf/*/forwarding|egrep "default|all" If the /proc/sys/net/ipv6/conf/*/forwarding entries do not exist because of compliance with GEN007720, this is not a finding. If all of the resulting lines do not end with 0, this is a finding.
Fix: F-20097r556071_fix
Disable IPv6 forwarding. Edit /etc/sysctl.conf and add a setting for "net.ipv6.conf.all.forwarding=0" and "net.ipv6.conf.default.forwarding=0". Reload the sysctls. Procedure: # sysctl -p
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005740
- Vuln IDs
-
- V-218625
- V-928
- Rule IDs
-
- SV-218625r603259_rule
- SV-64237
Checks: C-20100r562855_chk
Check the owner of the exports file. Example: # ls -lL /etc/exports If the export configuration file is not owned by root, this is a finding.
Fix: F-20098r562856_fix
Change the owner of the exports file to root. Example: # chown root /etc/exports
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005750
- Vuln IDs
-
- V-218626
- V-22492
- Rule IDs
-
- SV-218626r603259_rule
- SV-64211
Checks: C-20101r562858_chk
Check the group ownership of the NFS export configuration file. Procedure: # ls -lL /etc/exports If the file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-20099r562859_fix
Change the group ownership of the NFS export configuration file. Procedure: # chgrp root /etc/exports
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN005760
- Vuln IDs
-
- V-218627
- V-929
- Rule IDs
-
- SV-218627r603259_rule
- SV-64199
Checks: C-20102r562861_chk
# ls -lL /etc/exports If the file has a mode more permissive than 0644, this is a finding.
Fix: F-20100r562862_fix
# chmod 0644 /etc/exports
- RMF Control
- AC-6
- Severity
- L
- CCI
- CCI-000225
- Version
- GEN005770
- Vuln IDs
-
- V-218628
- V-22493
- Rule IDs
-
- SV-218628r603259_rule
- SV-64191
Checks: C-20103r562864_chk
Check the permissions of the NFS export configuration file. # ls -lL /etc/exports If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20101r562865_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/exports
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005800
- Vuln IDs
-
- V-218629
- V-931
- Rule IDs
-
- SV-218629r603259_rule
- SV-64189
Checks: C-20104r562867_chk
Check for NFS exported file systems. Procedure: # cat /etc/exports For each file system displayed, check the ownership. # ls -lLa <exported file system path> If the files and directories are not owned by root, this is a finding.
Fix: F-20102r562868_fix
Change the ownership of exported file systems not owned by root. Procedure: # chown root <path>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005810
- Vuln IDs
-
- V-218630
- V-22496
- Rule IDs
-
- SV-218630r603259_rule
- SV-64181
Checks: C-20105r562870_chk
List the exports. # cat /etc/exports For each file system displayed, check the ownership. # ls -ldL <exported file system path> If the directory is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-20103r562871_fix
Change the group owner of the export directory. # chgrp root <export>
- RMF Control
- AC-14
- Severity
- M
- CCI
- CCI-000062
- Version
- GEN005820
- Vuln IDs
-
- V-218631
- V-932
- Rule IDs
-
- SV-218631r603259_rule
- SV-64169
Checks: C-20106r562873_chk
Check if the 'anonuid' and 'anongid' options are set correctly for exported file systems. List exported filesystems: # exportfs -v Each of the exported file systems should include an entry for the 'anonuid=' and 'anongid=' options set to "-1" or an equivalent (60001, 65534, or 65535). If appropriate values for 'anonuid' or 'anongid' are not set, this is a finding.
Fix: F-20104r562874_fix
Edit "/etc/exports" and set the "anonuid=-1" and "anongid=-1" options for exports lacking it. Re-export the filesystems.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN005840
- Vuln IDs
-
- V-218632
- V-933
- Rule IDs
-
- SV-218632r603259_rule
- SV-64163
Checks: C-20107r556094_chk
Check the permissions on exported NFS file systems. Procedure: # exportfs -v 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-20105r556095_fix
Edit /etc/exports 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
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005880
- Vuln IDs
-
- V-218633
- V-935
- Rule IDs
-
- SV-218633r603259_rule
- SV-64157
Checks: C-20108r562876_chk
List the exports. # cat /etc/exports If any export contains "no_root_squash" or does not contain "root_squash" or "all_squash", this is a finding.
Fix: F-20106r562877_fix
Edit the "/etc/exports" file and add "root_squash" (or "all_squash") and remove "no_root_squash".
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN005900
- Vuln IDs
-
- V-218634
- V-936
- Rule IDs
-
- SV-218634r603259_rule
- SV-64147
Checks: C-20109r562879_chk
Check the system for NFS mounts not using the "nosuid" option. Procedure: # mount -v | grep " type nfs " | egrep -v "nosuid" If the mounted file systems do not have the "nosuid" option, this is a finding.
Fix: F-20107r562880_fix
Edit "/etc/fstab" and add the "nosuid" option for all NFS file systems. Remount the NFS file systems to make the change take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006000
- Vuln IDs
-
- V-218635
- V-12024
- Rule IDs
-
- SV-218635r603259_rule
- SV-64137
Checks: C-20110r562882_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-20108r562883_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
- GEN006040
- Vuln IDs
-
- V-218636
- V-12025
- Rule IDs
-
- SV-218636r603259_rule
- SV-64127
Checks: C-20111r562885_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 - BitTorrent If any of these applications are installed, this is a finding.
Fix: F-20109r562886_fix
Uninstall the peer-to-peer file sharing application(s) from the system.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001436
- Version
- GEN006060
- Vuln IDs
-
- V-218637
- V-4321
- Rule IDs
-
- SV-218637r603259_rule
- SV-64125
Checks: C-20112r562888_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-20110r562889_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 samba package should also be removed or not installed if there is no functional requirement. Procedure: rpm -qa |grep samba This will show whether "samba" or "samba3x" is installed. To remove: rpm --erase samba or rpm --erase samba3x
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN006080
- Vuln IDs
-
- V-218638
- V-1026
- Rule IDs
-
- SV-218638r603259_rule
- SV-64123
Checks: C-20113r562891_chk
SWAT is a tool for configuring Samba and should only be found on a system with a requirement for Samba. If SWAT is used, it must be utilized with SSL to ensure a secure connection between the client and the server. Procedure: # grep -H "bin/swat" /etc/xinetd.d/*|cut -d: -f1 |xargs grep "only_from" If the value of the "only_from" line in the "xinetd.d" file which starts "/usr/sbin/swat" is not "localhost" or the equivalent, this is a finding.
Fix: F-20111r562892_fix
Disable SWAT or require SWAT is only accessed via SSH. Procedure: If SWAT is not needed for operation of the system remove the SWAT package: # rpm -qa|grep swat Remove "samba-swat" or "samba3x-swat" depending on which one is installed # rpm --erase samba-swat or # rpm --erase samba3x-swat If SWAT is required but not at all times disable it when it is not needed. Modify the /etc/xinetd.d file for "swat" to contain a "disable = yes" line. To access using SSH: Follow vendor configuration documentation to create an stunnel for SWAT.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006100
- Vuln IDs
-
- V-218639
- V-1027
- Rule IDs
-
- SV-218639r603259_rule
- SV-64095
Checks: C-20114r556115_chk
Check the ownership of the /etc/samba/smb.conf file. Procedure: # ls -l /etc/samba/smb.conf If an smb.conf file is not owned by root, this is a finding.
Fix: F-20112r556116_fix
Change the ownership of the smb.conf file. Procedure: # chown root smb.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006120
- Vuln IDs
-
- V-218640
- V-1056
- Rule IDs
-
- SV-218640r603259_rule
- SV-64093
Checks: C-20115r556118_chk
Check the group ownership of the "smb.conf" file. Procedure: # ls -lL /etc/samba/smb.conf If the "smb.conf" file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-20113r556119_fix
Change the group owner of the smb.conf file. Procedure: # chgrp root smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006140
- Vuln IDs
-
- V-218641
- V-1028
- Rule IDs
-
- SV-218641r603259_rule
- SV-64087
Checks: C-20116r556121_chk
Check the mode of the smb.conf file. Procedure: # ls -lL /etc/samba/smb.conf If the "smb.conf" has a mode more permissive than 0644, this is a finding.
Fix: F-20114r556122_fix
Change the mode of the smb.conf file to 0644 or less permissive. Procedure: # chmod 0644 smb.conf.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006150
- Vuln IDs
-
- V-218642
- V-22497
- Rule IDs
-
- SV-218642r603259_rule
- SV-64085
Checks: C-20117r556124_chk
Check the permissions of the Samba configuration file. # ls -lL /etc/samba/smb.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20115r556125_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/samba/smb.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006160
- Vuln IDs
-
- V-218643
- V-1029
- Rule IDs
-
- SV-218643r603259_rule
- SV-64077
Checks: C-20118r556127_chk
Check the ownership of the "smbpasswd" file. # ls -l /etc/samba/passdb.tdb /etc/samba/secrets.tdb If the "smbpasswd" file is not owned by root, this is a finding.
Fix: F-20116r556128_fix
Use the chown command to configure the files maintained by smbpasswd. For instance: # chown root /etc/samba/passdb.tdb /etc/samba/secrets.tdb
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006180
- Vuln IDs
-
- V-218644
- V-1058
- Rule IDs
-
- SV-218644r603259_rule
- SV-64069
Checks: C-20119r556130_chk
Check "smbpasswd" ownership: # ls -lL /etc/samba/passdb.tdb /etc/samba/secrets.tdb If the "smbpasswd" file is not group-owned by root, this is a finding.
Fix: F-20117r556131_fix
Use the chgrp command to ensure that the group owner of the smbpasswd file is root. For instance: # chgrp root /etc/samba/passdb.tdb /etc/samba/secrets.tdb
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006200
- Vuln IDs
-
- V-218645
- V-1059
- Rule IDs
-
- SV-218645r603259_rule
- SV-64063
Checks: C-20120r556133_chk
Check the mode of files maintained using "smbpasswd". Procedure: # ls -lL /etc/samba/passdb.tdb /etc/samba/secrets.tdb If a "smbpasswd" maintained file has a mode more permissive than 0600, this is a finding.
Fix: F-20118r556134_fix
Change the mode of the files maintained through smbpasswd to 0600. Procedure: # chmod 0600 /etc/samba/passdb.tdb /etc/samba/secrets.tdb
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006210
- Vuln IDs
-
- V-218646
- V-22498
- Rule IDs
-
- SV-218646r603259_rule
- SV-64061
Checks: C-20121r556136_chk
Check the permissions of the Samba password files. Procedure: # ls -lL /etc/samba/passdb.tdb /etc/samba/secrets.tdb If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20119r556137_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/samba/passdb.tdb /etc/samba/secrets.tdb
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006220
- Vuln IDs
-
- V-218647
- V-1030
- Rule IDs
-
- SV-218647r603259_rule
- SV-64055
Checks: C-20122r556139_chk
Examine the "smb.conf" file. # more /etc/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-20120r556140_fix
Edit the "/etc/samba/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-218648
- V-22499
- Rule IDs
-
- SV-218648r603259_rule
- SV-64049
Checks: C-20123r556142_chk
Check the security mode of the Samba configuration. # grep -i security /etc/samba/smb.conf If the security mode is "share", this is a finding.
Fix: F-20121r556143_fix
Edit the "/etc/samba/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-218649
- V-22500
- Rule IDs
-
- SV-218649r603259_rule
- SV-64041
Checks: C-20124r556145_chk
If the "samba-common" package is not installed, this is not applicable. Check the encryption setting of Samba. # grep -i 'encrypt passwords' /etc/samba/smb.conf If the setting is not present, or not set to 'yes', this is a finding.
Fix: F-20122r556146_fix
Edit the "/etc/samba/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-218650
- V-22501
- Rule IDs
-
- SV-218650r603259_rule
- SV-64013
Checks: C-20125r556148_chk
Check the access to shares for Samba. # grep -i 'guest ok' /etc/samba/smb.conf If the setting exists and is set to 'yes', this is a finding.
Fix: F-20123r556149_fix
Edit the "/etc/samba/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-218651
- V-1023
- Rule IDs
-
- SV-218651r603259_rule
- SV-63965
Checks: C-20126r562894_chk
# ps -ef | egrep "innd|nntpd" If an Internet Network News server is running, this is a finding.
Fix: F-20124r562895_fix
Disable the INN server.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006260
- Vuln IDs
-
- V-218652
- V-4273
- Rule IDs
-
- SV-218652r603259_rule
- SV-63947
Checks: C-20127r556154_chk
The file corresponding to "/etc/news/hosts.nntp" is "/etc/news/incoming.conf". Check the permissions for "/etc/news/incoming.conf". # ls -lL /etc/news/incoming.conf If "/etc/news/incoming.conf" has a mode more permissive than 0600, this is a finding.
Fix: F-20125r556155_fix
Change the mode of the "/etc/news/incoming.conf" file to 0600. # chmod 0600 /etc/news/incoming.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006270
- Vuln IDs
-
- V-218653
- V-22502
- Rule IDs
-
- SV-218653r603259_rule
- SV-63925
Checks: C-20128r562897_chk
Check the permissions of the file. # ls -lL /etc/news/incoming.conf If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20126r562898_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/news/incoming.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006280
- Vuln IDs
-
- V-218654
- V-4274
- Rule IDs
-
- SV-218654r603259_rule
- SV-63921
Checks: C-20129r556160_chk
The file that corresponds to "/etc/news/hosts.nntp.nolimit" is "/etc/news/infeed.conf". Check the permissions for "/etc/news/infeed.conf". # ls -lL /etc/news/infeed.conf If "/etc/news/infeed.conf" has a mode more permissive than 0600, this is a finding.
Fix: F-20127r556161_fix
Change the mode of "/etc/news/infeed.conf" to 0600. # chmod 0600 /etc/news/infeed.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006290
- Vuln IDs
-
- V-218655
- V-22503
- Rule IDs
-
- SV-218655r603259_rule
- SV-63915
Checks: C-20130r562900_chk
Check the permissions for "/etc/news/hosts.nntp.nolimit". # ls -lL /etc/news/hosts.nntp.nolimit If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20128r562901_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/news/hosts.nntp.nolimit
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006300
- Vuln IDs
-
- V-218656
- V-4275
- Rule IDs
-
- SV-218656r603259_rule
- SV-63909
Checks: C-20131r556166_chk
Check the permissions for "/etc/news/readers.conf". # ls -lL /etc/news/readers.conf If /etc/news/readers.conf has a mode more permissive than 0600, this is a finding.
Fix: F-20129r556167_fix
Change the mode of the /etc/news/readers.conf file to 0600. # chmod 0600 /etc/news/readers.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006310
- Vuln IDs
-
- V-218657
- V-22504
- Rule IDs
-
- SV-218657r603259_rule
- SV-63901
Checks: C-20132r562903_chk
Check the permissions of the file. # ls -lL /etc/news/nnrp.access If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20130r562904_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/news/nnrp.access
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006320
- Vuln IDs
-
- V-218658
- V-4276
- Rule IDs
-
- SV-218658r603259_rule
- SV-63899
Checks: C-20133r556172_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-20131r556173_fix
Change the mode of the "/etc/news/passwd.nntp" file. # chmod 0600 /etc/news/passwd.nntp
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006330
- Vuln IDs
-
- V-218659
- V-22505
- Rule IDs
-
- SV-218659r603259_rule
- SV-63835
Checks: C-20134r556175_chk
Check the permissions of the file. # ls -lL /etc/news/passwd.nntp If the mode includes a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20132r556176_fix
Remove the extended ACL from the file. # setfacl --remove-all /etc/news/passwd.nntp
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006340
- Vuln IDs
-
- V-218660
- V-4277
- Rule IDs
-
- SV-218660r603259_rule
- SV-63829
Checks: C-20135r556178_chk
Check the ownership of the files in "/etc/news". Procedure: # ls -al /etc/news If any files are not owned by root or news, this is a finding.
Fix: F-20133r556179_fix
Change the ownership of the files in "/etc/news" to root or news. Procedure: # chown root /etc/news/*
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN006360
- Vuln IDs
-
- V-218661
- V-4278
- Rule IDs
-
- SV-218661r603259_rule
- SV-63817
Checks: C-20136r556181_chk
Check "/etc/news" files group ownership: Procedure: # ls -al /etc/news If "/etc/news" files are not group-owned by root or news, this is a finding.
Fix: F-20134r556182_fix
Change the group-owner of the files in "/etc/news" to root or news. Procedure: # chgrp root /etc/news/*
- RMF Control
- CM-7
- Severity
- H
- CCI
- CCI-000381
- Version
- GEN006380
- Vuln IDs
-
- V-218662
- V-4399
- Rule IDs
-
- SV-218662r603259_rule
- SV-63813
Checks: C-20137r562906_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-20135r562907_fix
Configure the system to not use UDP for NIS and NIS+. Consult vendor documentation for the required procedure.
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001435
- Version
- GEN006400
- Vuln IDs
-
- V-218663
- V-867
- Rule IDs
-
- SV-218663r603259_rule
- SV-63803
Checks: C-20138r562909_chk
Perform the following to determine if NIS is active on the system: # ps -ef | grep ypbind If NIS is found active on the system, this is a finding.
Fix: F-20136r562910_fix
Disable the use of NIS/NIS+. Use as a replacement Kerberos or LDAP.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006420
- Vuln IDs
-
- V-218664
- V-12026
- Rule IDs
-
- SV-218664r603259_rule
- SV-63785
Checks: C-20139r556406_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. If the system does not use NIS, this is not applicable.
Fix: F-20137r556407_fix
Change the NIS domainname to a value difficult to guess. Consult vendor documentation for the required procedure.
- RMF Control
- SI-2
- Severity
- M
- CCI
- CCI-001233
- Version
- GEN006480
- Vuln IDs
-
- V-218665
- V-782
- Rule IDs
-
- SV-218665r603259_rule
- SV-63733
Checks: C-20140r561443_chk
Ask the SA or ISSO if a host-based intrusion detection application is loaded on the system. Per OPORD 16-0080 the preferred intrusion detection system is McAfee HBSS available through Cybercom. If another host-based intrusion detection application is in use, such as SELinux, this must be documented and approved by the local Authorizing Official. Procedure: Examine the system to see if the Host Intrusion Prevention System (HIPS) is installed # rpm -qa | grep MFEhiplsm Verify that the McAfee HIPS module is active on the system. # ps -ef | grep -i "hipclient" If the MFEhiplsm package is not installed, check for another intrusion detection system: # find / -name <daemon name> Where <daemon name> is the name of the primary application daemon to determine if the application is loaded on the system. Determine if the application is active on the system. # ps -ef | grep -i <daemon name> If the MFEhiplsm package is not installed and an alternate host-based intrusion detection application has not been documented for use, this is a finding. If no host-based intrusion detection system is installed and running on the system, this is a finding.
Fix: F-20138r561444_fix
Install and enable the latest McAfee HIPS package, available from Cybercom. If the system does not support the McAfee HIPS package, install and enable a supported intrusion detection system application and document its use with the Authorizing Official.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006560
- Vuln IDs
-
- V-218666
- V-12028
- Rule IDs
-
- SV-218666r603259_rule
- SV-63761
Checks: C-20141r562912_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-20139r562913_fix
Configure the security tools on the system to notify the IAO and SA when any security issues are detected.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006565
- Vuln IDs
-
- V-218667
- V-22506
- Rule IDs
-
- SV-218667r603259_rule
- SV-63667
Checks: C-20142r556415_chk
Check the root crontab (crontab -l) and the global crontabs in "/etc/crontab", "/etc/cron.*" for the presence of an rpm verification command such as: rpm -qVa | awk '$2!="c" {print $0}' If no such cron job is found, this is a finding. If the result of the cron job indicates packages which do not pass verification exist, this is a finding unless the changes were made due to another STIG entry.
Fix: F-20140r556416_fix
Add a cron job to run an rpm verification command such as: rpm -qVa | awk '$2!="c" {print $0}' For packages which failed verification: If the package is not necessary for operations, remove it from the system. If the package is necessary for operations, re-install the package.
- RMF Control
- SI-7
- Severity
- L
- CCI
- CCI-001297
- Version
- GEN006570
- Vuln IDs
-
- V-218668
- V-22507
- Rule IDs
-
- SV-218668r603259_rule
- SV-63657
Checks: C-20143r562915_chk
If using an Advanced Intrusion Detection Environment (AIDE), verify that the configuration contains the "ACL" option for all monitored files and directories. Procedure: Check for the default location /etc/aide/aide.conf or: # find / -name aide.conf # egrep "[+]?acl" <aide.conf file> If the option is not present. This is a finding. If using a different file integrity tool, check the configuration per tool documentation.
Fix: F-20141r562916_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-7
- Severity
- L
- CCI
- CCI-001297
- Version
- GEN006571
- Vuln IDs
-
- V-218669
- V-22508
- Rule IDs
-
- SV-218669r603259_rule
- SV-63631
Checks: C-20144r562918_chk
If using an Advanced Intrusion Detection Environment (AIDE), verify the configuration contains the "xattrs" option for all monitored files and directories. Procedure: Check for the default location /etc/aide/aide.conf or: # find / -name aide.conf # egrep "[+]?xattrs" <aide.conf file> If the option is not present. This is a finding. If using a different file integrity tool, check the configuration per tool documentation.
Fix: F-20142r562919_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
- SI-7
- Severity
- L
- CCI
- CCI-001297
- Version
- GEN006575
- Vuln IDs
-
- V-218670
- V-22509
- Rule IDs
-
- SV-218670r603259_rule
- SV-63653
Checks: C-20145r562921_chk
If using an Advanced Intrusion Detection Environment (AIDE), verify the configuration contains the "sha256" or "sha512" options for all monitored files and directories. Procedure: Check for the default location /etc/aide/aide.conf or: # find / -name aide.conf # egrep "[+]?(sha256|sha512)" <aide.conf file> If the option is not present. This is a finding. If one of these options is not present. This is a finding. If using a different file integrity tool, check the configuration per tool documentation.
Fix: F-20143r562922_fix
If using AIDE, edit the configuration and add the "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
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006580
- Vuln IDs
-
- V-218671
- V-940
- Rule IDs
-
- SV-218671r603259_rule
- SV-63577
Checks: C-20146r556427_chk
The tcp_wrappers package is provided with the operating system. Other access control programs may be available but will need to be checked manually. Determine if tcp_wrappers is installed. # rpm -qa | grep tcp_wrappers If no package is listed, this is a finding.
Fix: F-20144r556428_fix
Install and configure the tcp_wrappers package.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006600
- Vuln IDs
-
- V-218672
- V-941
- Rule IDs
-
- SV-218672r603259_rule
- SV-63571
Checks: C-20147r556430_chk
The tcp_wrappers package is provided with the RHEL distribution. Other access control programs may be available but will need to be checked manually. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Normally, tcpd logs to the mail facility in "/etc/syslog.conf" or "/etc/rsyslog.conf". Determine if syslog or rsyslog is configured to log events by tcpd. Procedure: # more /etc/syslog.conf Or: # more /etc/rsyslog.conf Look for entries similar to the following: mail.debug /var/adm/maillog mail.none /var/adm/maillog mail.* /var/log/mail authpriv.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 this is a finding. If an alternate access control program is used and it does not provide logging of access attempts, this is a finding.
Fix: F-20145r556431_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 recorded to 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
- GEN006620
- Vuln IDs
-
- V-218673
- V-12030
- Rule IDs
-
- SV-218673r603259_rule
- SV-63551
Checks: C-20148r556433_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 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-20146r556434_fix
Edit the "/etc/hosts.allow" and "/etc/hosts.deny" files to configure access restrictions.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN006650
- Vuln IDs
-
- V-218674
- V-81455
- Rule IDs
-
- SV-218674r603259_rule
- SV-96169
Checks: C-20149r561446_chk
Verify an antivirus solution is installed on the system. The antivirus solution may be bundled with an approved host-based security solution. If there is no antivirus solution installed on the system, this is a finding.
Fix: F-20147r561447_fix
Install an antivirus solution on the system.
- RMF Control
- AC-2
- Severity
- L
- CCI
- CCI-000017
- Version
- GEN006660
- Vuln IDs
-
- V-218675
- V-38692
- Rule IDs
-
- SV-218675r603259_rule
- SV-62899
Checks: C-20150r556439_chk
To verify the "INACTIVE" setting, run the following command: grep "INACTIVE" /etc/default/useradd The output should indicate the "INACTIVE" configuration option is set to an appropriate integer as shown in the example below: # grep "INACTIVE" /etc/default/useradd INACTIVE=35 If it does not, this is a finding.
Fix: F-20148r556440_fix
To specify the number of days after a password expires (which signifies inactivity) until an account is permanently disabled, add or correct the following lines in "/etc/default/useradd", substituting "[NUM_DAYS]" appropriately: INACTIVE=[NUM_DAYS] A value of 35 is recommended. If a password is currently on the verge of expiration, then 35 days remain until the account is automatically disabled. However, if the password will not expire for another 60 days, then 95 days could elapse until the account would be automatically disabled. See the "useradd" man page for more information. Determining the inactivity timeout must be done with careful consideration of the length of a "normal" period of inactivity for users in the particular environment. Setting the timeout too low incurs support costs and also has the potential to impact availability of the system to legitimate users.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007020
- Vuln IDs
-
- V-218676
- V-22511
- Rule IDs
-
- SV-218676r603259_rule
- SV-63529
Checks: C-20151r556442_chk
Verify the SCTP protocol handler is prevented from dynamic loading. # grep 'install sctp /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding.
Fix: F-20149r556443_fix
Prevent the SCTP protocol handler for dynamic loading. # echo "install sctp /bin/true" >> /etc/modprobe.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007080
- Vuln IDs
-
- V-218677
- V-22514
- Rule IDs
-
- SV-218677r603259_rule
- SV-63521
Checks: C-20152r556445_chk
Verify the DCCP protocol handler is prevented from dynamic loading. # grep 'install dccp /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding. # grep 'install dccp_ipv4 /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding. # grep 'install dccp_ipv6 /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding.
Fix: F-20150r556446_fix
Prevent the DCCP protocol handler for dynamic loading. # echo "install dccp /bin/true" >> /etc/modprobe.conf # echo "install dccp_ipv4 /bin/true" >> /etc/modprobe.conf # echo "install dccp_ipv6 /bin/true" >> /etc/modprobe.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007260
- Vuln IDs
-
- V-218678
- V-22524
- Rule IDs
-
- SV-218678r603259_rule
- SV-63453
Checks: C-20153r556448_chk
Verify the AppleTalk protocol handler is prevented from dynamic loading. # grep 'install appletalk' /etc/modprobe.conf /etc/modprobe.d/* If anything is returned check that appletalk is disabled by having the executable set to '/bin/true'. If an uncommented line containing "appletalk" is found which has not been disabled, this is a finding.
Fix: F-20151r556449_fix
Prevent the AppleTalk protocol handler for dynamic loading. # echo "install appletalk /bin/true" >> /etc/modprobe.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007480
- Vuln IDs
-
- V-218679
- V-22530
- Rule IDs
-
- SV-218679r603259_rule
- SV-63451
Checks: C-20154r556451_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 prevented from dynamic loading. # grep 'install rds /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding.
Fix: F-20152r556452_fix
Prevent the RDS protocol handler for dynamic loading. # echo "install rds /bin/true" >> /etc/modprobe.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007540
- Vuln IDs
-
- V-218680
- V-22533
- Rule IDs
-
- SV-218680r603259_rule
- SV-63449
Checks: C-20155r556454_chk
Verify the TIPC protocol handler is prevented from dynamic loading. # grep 'install tipc /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding.
Fix: F-20153r556455_fix
Prevent the TIPC protocol handler for dynamic loading. # echo "install tipc /bin/true" >> /etc/modprobe.conf
- RMF Control
- AC-4
- Severity
- M
- CCI
- CCI-001551
- Version
- GEN007660
- Vuln IDs
-
- V-218681
- V-22539
- Rule IDs
-
- SV-218681r603259_rule
- SV-63447
Checks: C-20156r562924_chk
Verify the Bluetooth protocol handler is prevented from dynamic loading. # grep 'install bluetooth /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no result is returned, this is a finding.
Fix: F-20154r562925_fix
Prevent the Bluetooth protocol handler for dynamic loading. # echo "install bluetooth /bin/true" >> /etc/modprobe.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN007780
- Vuln IDs
-
- V-218682
- V-22545
- Rule IDs
-
- SV-218682r603259_rule
- SV-63423
Checks: C-20157r562927_chk
Check the system for any active 6to4 tunnels without specific remote addresses. # ip tun list | grep "remote any" | grep "ipv6/ip" If any results are returned the "tunnel" is the first field. If any results are returned, this is a finding.
Fix: F-20155r562928_fix
Disable the active 6to4 tunnel. # ip link set <tunnel> down Add this command to a startup script, or remove the configuration creating the tunnel.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN007800
- Vuln IDs
-
- V-218683
- V-22546
- Rule IDs
-
- SV-218683r603259_rule
- SV-63417
Checks: C-20158r562930_chk
Verify the Miredo service is not running. # ps ax | grep miredo | grep -v grep If the miredo process is running, this is a finding.
Fix: F-20156r562931_fix
Edit startup scripts to prevent the service from running on startup.
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- GEN007820
- Vuln IDs
-
- V-218684
- V-22547
- Rule IDs
-
- SV-218684r603259_rule
- SV-63413
Checks: C-20159r562933_chk
Check for any IP tunnels. # ip tun list # ip -6 tun list If any tunnels are listed, this is a finding.
Fix: F-20157r562934_fix
Remove the tunnels. # ip tun del <tunnel> Edit system startup scripts to prevent tunnel creation on startup.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007840
- Vuln IDs
-
- V-218685
- V-22548
- Rule IDs
-
- SV-218685r603259_rule
- SV-63411
Checks: C-20160r556469_chk
Verify no interface is configured to use DHCP. # grep -i bootproto=dhcp /etc/sysconfig/network-scripts/ifcfg-* If any configuration is found, this is a finding.
Fix: F-20158r556470_fix
Edit the "/etc/sysconfig/network-scripts/ifcfg-*" file(s) and change the "bootproto" setting to "static".
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007850
- Vuln IDs
-
- V-218686
- V-22549
- Rule IDs
-
- SV-218686r603259_rule
- SV-63409
Checks: C-20161r556475_chk
If the "dhclient" package is not installed, this is not applicable. Verify the DHCP client is configured to not send dynamic DNS updates. Procedure: # grep do-forward-updates /etc/dhclient.conf If the file is not present, does not contain this configuration, or has the setting set to "true", this is a finding.
Fix: F-20159r556476_fix
Edit or add the "/etc/dhclient.conf" file and add or edit the "do-forward-updates" setting to false. Procedure: # echo "do-forward-updates false;" >> /etc/dhclient.conf
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- GEN007860
- Vuln IDs
-
- V-218687
- V-22550
- Rule IDs
-
- SV-218687r603259_rule
- SV-63401
Checks: C-20162r556478_chk
Verify the system is configured to ignore IPv6 ICMP redirect messages. # cat /proc/sys/net/ipv6/conf/all/accept_redirects If the /proc/sys/net/ipv6/conf/all/accept_redirects entry does not exist because of compliance with GEN007720, this is not a finding. If the returned value is not "0", this is a finding.
Fix: F-20160r556479_fix
Configure the system to ignore IPv6 ICMP redirect messages. Edit "/etc/sysctl.conf" and add a settings for "net.ipv6.conf.default.accept_redirects=0" and "net.ipv6.conf.all.accept_redirects=0". Restart the system for the setting to take effect.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-001503
- Version
- GEN007920
- Vuln IDs
-
- V-218688
- V-22553
- Rule IDs
-
- SV-218688r603259_rule
- SV-63393
Checks: C-20163r556481_chk
Determine if the system is configured to forward IPv6 source-routed packets. Procedure: # egrep "net.ipv6.conf.*forwarding" /etc/sysctl.conf If there are no entries found or the value of the entries is not = "0", this is a finding.
Fix: F-20161r556482_fix
Configure the system to not forward IPv6 source-routed packets. Procedure: Edit the /etc/sysctl.conf file to include: net.ipv6.conf.all.forwarding = 0 net.ipv6.conf.default.forwarding = 0 Reload the kernel parameters: # sysctl -p
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN007950
- Vuln IDs
-
- V-218689
- V-23972
- Rule IDs
-
- SV-218689r603259_rule
- SV-63385
Checks: C-20164r556484_chk
Check for an iptables rule that drops inbound IPv6 ICMP ECHO_REQUESTs sent to the all-hosts multicast address. Procedure: # less /etc/sysconfig/ip6tables Check for a rule in, or referenced by, the INPUT chain such as: -A INPUT -p icmpv6 -d ff02::1 --icmpv6-type 128 -j DROP If such a rule does not exist, this is a finding.
Fix: F-20162r556485_fix
Add an iptables rule that drops inbound IPv6 ICMP ECHO_REQUESTs sent to the all-hosts multicast address. Edit /etc/sysconfig/ip6tables and add a rule in, or referenced by, the INPUT chain such as: -A INPUT -p icmpv6 -d ff02::1 --icmpv6-type 128 -j DROP Reload the iptables rules. Procedure: # service ip6tables restart
- RMF Control
- CM-2
- Severity
- M
- CCI
- CCI-000305
- Version
- GEN007960
- Vuln IDs
-
- V-218690
- V-23953
- Rule IDs
-
- SV-218690r603259_rule
- SV-63379
Checks: C-20165r562936_chk
Check the system for the 'ldd' binary. Procedure: # ls -lL /usr/bin/ldd If the 'ldd' binary has any executable permissions bits set, this is a finding.
Fix: F-20163r562937_fix
Remove the execute permissions from the 'ldd' executable. Procedure: # chmod a-x /usr/bin/ldd
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-001453
- Version
- GEN007980
- Vuln IDs
-
- V-218691
- V-22555
- Rule IDs
-
- SV-218691r603259_rule
- SV-63369
Checks: C-20166r556490_chk
To check to see if the system is an LDAP server, verify LDAP is running on the system: # ps -ef | grep ldap Find out which LDAP is used (if not determined via the command above). # rpm -qa | grep ldap If using nssldap: # grep base /etc/ldap.conf Check to see if the base is set to something besides the default of "dc=example,dc=com". If using openldap: # grep suffix /etc/openldap/slapd.conf Check whether the system is an LDAP client: # grep server /etc/ldap.conf # grep server /etc/openldap/ldap.conf Check whether the server option has an address other than the loopback, then check the nsswitch.conf file. # grep ldap /etc/nsswitch.conf Look for the following three lines: passwd: files ldap shadow: files ldap group: files ldap If all three files are not configured to look for an LDAP source, then the system is not using LDAP for authentication. If the system is not using LDAP for authentication, this is not applicable. Check if NSS LDAP is using TLS. # grep '^ssl start_tls' /etc/ldap.conf If no lines are returned, this is a finding. Check if NSS LDAP TLS is using only FIPS 140-2 approved cryptographic algorithms. # grep '^tls_ciphers' /etc/ldap.conf If the line is not present or contains ciphers not approved by FIPS 140-2, this is a finding. FIPS-approved ciphers include 3DES and AES. FIPS-approved hashes include the SHA hash family.
Fix: F-20164r556491_fix
Edit "/etc/ldap.conf" and add a "ssl start_tls" and "tls_ciphers" options with only FIPS 140-2 approved ciphers.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000185
- Version
- GEN008000
- Vuln IDs
-
- V-218692
- V-22556
- Rule IDs
-
- SV-218692r603259_rule
- SV-63365
Checks: C-20167r556493_chk
Verify the source of the LDAP certificates 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 with the SA that the system is connected to the GIG. If the system part of a standalone network which is not connected to the GIG this vulnerability is not applicable. Verify a certificate is used for client authentication to the server. # grep -i '^tls_cert' /etc/ldap.conf If no line is found, this is a finding. List the certificate issuer. # openssl x509 -text -in <cert> If the certificate is not issued by DoD PKI or a DoD-approved external PKI, this is a finding.
Fix: F-20165r556494_fix
Edit "/etc/ldap.conf" and add or edit the 'tls_cert' setting to reference a file containing a client certificate issued by DoD PKI or a DoD-approved external PKI.
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000185
- Version
- GEN008020
- Vuln IDs
-
- V-218693
- V-22557
- Rule IDs
-
- SV-218693r603259_rule
- SV-63361
Checks: C-20168r556496_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 a server certificate is required and verified by the NSS LDAP configuration. # grep -i '^tls_checkpeer' /etc/ldap.conf If no line is returned, or the value is not "yes", this is a finding.
Fix: F-20166r556497_fix
Edit "/etc/ldap.conf" and add or set the "tls_checkpeer" setting to "yes".
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000185
- Version
- GEN008040
- Vuln IDs
-
- V-218694
- V-22558
- Rule IDs
-
- SV-218694r603259_rule
- SV-63357
Checks: C-20169r556499_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 NSS LDAP client is configured to check certificates against a certificate revocation list. # grep -i '^tls_crlcheck' /etc/ldap.conf If the setting does not exist, or the value is not "all", this is a finding.
Fix: F-20167r556500_fix
Edit "/etc/ldap.conf" and add or set the "tls_crlcheck" setting to "all".
- RMF Control
- IA-5
- Severity
- M
- CCI
- CCI-000196
- Version
- GEN008050
- Vuln IDs
-
- V-218695
- V-24384
- Rule IDs
-
- SV-218695r603259_rule
- SV-63355
Checks: C-20170r556502_chk
Verify LDAP is running on the system. To check to see if the system is an LDAP server run: # ps -ef | grep ldap Find out which LDAP is used (if not determined via the command above). # rpm -qa | grep ldap If using nssldap: # grep base /etc/ldap.conf Check to see if the base is set to something besides the default of "dc=example,dc=com". If using openldap: # grep suffix /etc/openldap/slapd.conf Check whether the system is an LDAP client: # grep server /etc/ldap.conf # grep server /etc/openldap/ldap.conf Check whether the server option has an address other than the loopback, then check the nsswitch.conf file: # grep ldap /etc/nsswitch.conf Look for the following three lines: passwd: files ldap shadow: files ldap group: files ldap If all three files are not configured to look for an LDAP source, then the system is not using LDAP for authentication. If the system is not using LDAP for authentication, this is not applicable. Check for the "bindpw" option being used in the "/etc/ldap.conf" file. # grep bindpw /etc/ldap.conf If an uncommented "bindpw" option is returned, then a clear text password is in the file, and this is a finding.
Fix: F-20168r556503_fix
Edit the "/etc/ldap.conf" file to use anonymous binding by removing the "bindpw" option.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008060
- Vuln IDs
-
- V-218696
- V-22559
- Rule IDs
-
- SV-218696r603259_rule
- SV-63349
Checks: C-20171r556505_chk
Check the permissions of the file. # ls -lL /etc/ldap.conf If the mode of the file is more permissive than 0644, this is a finding.
Fix: F-20169r556506_fix
Change the permissions of the file. # chmod 0644 /etc/ldap.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008080
- Vuln IDs
-
- V-218697
- V-22560
- Rule IDs
-
- SV-218697r603259_rule
- SV-63321
Checks: C-20172r556508_chk
Check the ownership of the file. # ls -lL /etc/ldap.conf If the file is not owned by root, this is a finding.
Fix: F-20170r556509_fix
Change the owner of the file. # chown root /etc/ldap.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008100
- Vuln IDs
-
- V-218698
- V-22561
- Rule IDs
-
- SV-218698r603259_rule
- SV-63317
Checks: C-20173r556511_chk
Check the group ownership of the file. Procedure: # ls -lL /etc/ldap.conf If the file is not group-owned by root, bin, sys, or system, this is a finding.
Fix: F-20171r556512_fix
Change the group owner of the file to root, bin, sys, or system. Procedure: # chgrp root /etc/ldap.conf
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008120
- Vuln IDs
-
- V-218699
- V-22562
- Rule IDs
-
- SV-218699r603259_rule
- SV-63315
Checks: C-20174r556514_chk
Check the permissions of the file. # ls -lL /etc/ldap.conf If the mode includes a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20172r556515_fix
Remove the extended ACL from the "/etc/ldap.conf" file. # setfacl --remove-all /etc/ldap.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008140
- Vuln IDs
-
- V-218700
- V-22563
- Rule IDs
-
- SV-218700r603259_rule
- SV-63303
Checks: C-20175r556517_chk
Determine if LDAP is used for account information on the system. To check to see if the system is an LDAP server, verify LDAP is running on the system: # ps -ef | grep ldap Find out which LDAP is used (if not determined via the command above). # rpm -qa | grep ldap If using nssldap: # grep base /etc/ldap.conf Check to see if the base is set to something besides the default of "dc=example,dc=com". If using openldap: # grep suffix /etc/openldap/slapd.conf Check whether the system is an LDAP client: # grep server /etc/ldap.conf # grep server /etc/openldap/ldap.conf Check whether the server option has an address other than the loopback, then check the nsswitch.conf file. # grep ldap /etc/nsswitch.conf Look for the following three lines: passwd: files ldap shadow: files ldap group: files ldap If no uncommented reference to "ldap" is identified, LDAP is not used for account information on the system and this is not applicable. Determine the certificate authority file and/or directory. # grep -i '^tls_cacert' /etc/ldap.conf For each file or directory returned, check the ownership. # ls -lLd <certpath> If the owner of any file or directory is not root, this is a finding.
Fix: F-20173r556518_fix
Change the ownership of the file or directory. # chown root <certpath>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008160
- Vuln IDs
-
- V-218701
- V-22564
- Rule IDs
-
- SV-218701r603259_rule
- SV-63291
Checks: C-20176r556520_chk
Determine the certificate authority file and/or directory. # grep -i '^tls_cacert' /etc/ldap.conf For each file or directory returned, check the group ownership. # ls -lLd <certpath> If the group-owner of any file or directory is not root, bin, sys, or system, this is a finding.
Fix: F-20174r556521_fix
Change the group ownership of the file or directory. # chgrp root <certpath>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008180
- Vuln IDs
-
- V-218702
- V-22565
- Rule IDs
-
- SV-218702r603259_rule
- SV-63289
Checks: C-20177r556523_chk
Determine the certificate authority file and/or directory. Procedure: # grep -i '^tls_cacert' /etc/ldap.conf For each file or directory returned, check the permissions. Procedure: # ls -lLd <certpath> If the mode of the file is more permissive than 0644 (or 0755 for directories), this is a finding.
Fix: F-20175r556524_fix
Change the mode of the file or directory. File Procedure: # chmod 0644 <certpath> Directory Procedure: # chmod 0755 <certpath>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008200
- Vuln IDs
-
- V-218703
- V-22566
- Rule IDs
-
- SV-218703r603259_rule
- SV-63287
Checks: C-20178r556526_chk
Determine the certificate authority file and/or directory. # grep -i '^tls_cacert' /etc/ldap.conf For each file or directory returned, check the permissions. # ls -lLd <certpath> If the mode of the file or directory contains a '+', an extended ACL is present. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20176r556527_fix
Remove the extended ACL from the certificate file. Procedure: For each certificate file found remove all extended permissions # setfacl --remove-all <certpath>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008220
- Vuln IDs
-
- V-218704
- V-22567
- Rule IDs
-
- SV-218704r603259_rule
- SV-63257
Checks: C-20179r556529_chk
Determine the certificate file. # grep -i '^tls_cert' /etc/ldap.conf Check the ownership. # ls -lL <certpath> If the owner of the file is not root, this is a finding.
Fix: F-20177r556530_fix
Change the ownership of the file. # chown root <certpath>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008240
- Vuln IDs
-
- V-218705
- V-22568
- Rule IDs
-
- SV-218705r603259_rule
- SV-63253
Checks: C-20180r556532_chk
Determine the certificate file. Procedure: # grep -i '^tls_cert' /etc/ldap.conf Check the group ownership. Procedure: # ls -lL <certpath> If the group owner of the file is not root, bin, sys, or system, this is a finding.
Fix: F-20178r556533_fix
Change the group ownership of the file. Procedure: # chgrp root <certpath>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008260
- Vuln IDs
-
- V-218706
- V-22569
- Rule IDs
-
- SV-218706r603259_rule
- SV-63249
Checks: C-20181r556535_chk
Identify the LDAP TLS Certificate file: # cat <ldap_config_file> | grep -i "^tls" TLSCACertificatePath <path> TLSCACertificateFile <filename> TLSCertificateFile <filename> For each TLSCACertificateFile and TLSCertificateFile defined in the configuration file, verify the file permissions: # ls -la <tls_certificate_file> If the mode of the file is more permissive than 0644, this is a finding.
Fix: F-20179r556536_fix
Change the mode of the file. # chmod 0644 <certpath>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008280
- Vuln IDs
-
- V-218707
- V-22570
- Rule IDs
-
- SV-218707r603259_rule
- SV-63245
Checks: C-20182r556538_chk
Determine the certificate file. # grep -i '^tls_cert' /etc/ldap.conf Check the permissions. # ls -lL <certpath> If the mode of the file contains a '+', an extended ACL is present. This is a finding.
Fix: F-20180r556539_fix
Remove the extended ACL from the certificate file. Procedure: For each certificate file found remove all extended permissions. # setfacl --remove-all <certpath>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008300
- Vuln IDs
-
- V-218708
- V-22571
- Rule IDs
-
- SV-218708r603259_rule
- SV-63243
Checks: C-20183r556541_chk
Determine the key file. # grep -i '^tls_key' /etc/ldap.conf Check the ownership. # ls -lL <keypath> If the owner of the file is not root, this is a finding.
Fix: F-20181r556542_fix
Change the ownership of the file. # chown root <keypath>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008320
- Vuln IDs
-
- V-218709
- V-22572
- Rule IDs
-
- SV-218709r603259_rule
- SV-63235
Checks: C-20184r556544_chk
Determine the key file. # grep -i '^tls_key' /etc/ldap.conf Check the group ownership. # ls -lL <keypath> If the file is not group owned by root, bin, or sys, this is a finding.
Fix: F-20182r556545_fix
Change the group ownership of the file. # chgrp root <keypath>
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008340
- Vuln IDs
-
- V-218710
- V-22573
- Rule IDs
-
- SV-218710r603259_rule
- SV-63233
Checks: C-20185r556547_chk
Determine the key file. # grep -i '^tls_key' /etc/ldap.conf Check the permissions. # ls -lL <keypath> If the mode of the file is more permissive than 0600, this is a finding.
Fix: F-20183r556548_fix
Change the mode of the file. # chmod 0600 <keypath>
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- GEN008360
- Vuln IDs
-
- V-218711
- V-22574
- Rule IDs
-
- SV-218711r603259_rule
- SV-63213
Checks: C-20186r556550_chk
Determine the key file. # grep -i '^tls_key' /etc/ldap.conf Check the permissions. # ls -lL <keypath> If the permissions of the file contains a '+', an extended ACL is present. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix: F-20184r556551_fix
Remove the extended ACL from the key file. Procedure: For each key file found remove all extended permissions. # setfacl --remove-all <keypath>
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008420
- Vuln IDs
-
- V-218712
- V-22576
- Rule IDs
-
- SV-218712r603259_rule
- SV-63197
Checks: C-20187r556553_chk
Check that the "kernel.randomize_va_space" kernel parameter is set to "2" in /etc/sysctl.conf. Procedure: # grep ^kernel\.randomize_va_space /etc/sysctl.conf | awk -F= '{ print $2 }' If there is no value returned or if a value is returned that is not "2", this is a finding.
Fix: F-20185r556554_fix
Edit (or add if necessary) the entry in /etc/sysctl.conf for the "kernel.randomize_va_space" kernel parameter. Ensure this parameter is set to "2" as in: kernel.randomize_va_space = 2 If this was not already the default, reboot the system for the change to take effect.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008440
- Vuln IDs
-
- V-218713
- V-22577
- Rule IDs
-
- SV-218713r603259_rule
- SV-63193
Checks: C-20188r556556_chk
If the autofs service is needed, this vulnerability is not applicable. Check if the autofs service is running. # service autofs status If the service is running, this is a finding.
Fix: F-20186r556557_fix
Stop and disable the autofs service. # service autofs stop # chkconfig autofs off
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008460
- Vuln IDs
-
- V-218714
- V-22578
- Rule IDs
-
- SV-218714r603259_rule
- SV-63189
Checks: C-20189r556559_chk
If the system needs USB, this vulnerability is not applicable. Check if the directory "/proc/bus/usb" exists. If so, this is a finding.
Fix: F-20187r556560_fix
Edit the grub bootloader file "/boot/grub/grub.conf" or "/boot/grub/menu.lst" by appending the "nousb" parameter to the kernel boot line.
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008480
- Vuln IDs
-
- V-218715
- V-22579
- Rule IDs
-
- SV-218715r603259_rule
- SV-63179
Checks: C-20190r556562_chk
If the system needs USB storage, this vulnerability is not applicable. Check if usb-storage is prevented from loading. # grep 'install usb-storage /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no results are returned, this is a finding.
Fix: F-20188r556563_fix
Prevent the usb-storage module from loading. # echo 'install usb-storage /bin/true' >> /etc/modprobe.conf
- RMF Control
- CM-6
- Severity
- L
- CCI
- CCI-000366
- Version
- GEN008500
- Vuln IDs
-
- V-218716
- V-22580
- Rule IDs
-
- SV-218716r603259_rule
- SV-63173
Checks: C-20191r556565_chk
If the system needs IEEE 1394 (Firewire), this is not applicable. Check if the Firewire module is not disabled. # grep 'install ieee1394 /bin/true' /etc/modprobe.conf /etc/modprobe.d/* If no results are returned, this is a finding.
Fix: F-20189r556566_fix
Prevent the system from loading the Firewire module. # echo 'install ieee1394 /bin/true' >> /etc/modprobe.conf
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-002314
- Version
- GEN008520
- Vuln IDs
-
- V-218717
- V-22582
- Rule IDs
-
- SV-218717r603259_rule
- SV-63149
Checks: C-20192r562939_chk
Determine if the system is using a local firewall. # chkconfig --list iptables If the service is not "on" in the standard runlevel (ordinarily 3 or 5), this is a finding.
Fix: F-20190r562940_fix
Enable the system's local firewall. # chkconfig iptables on # service iptables start
- RMF Control
- SC-7
- Severity
- M
- CCI
- CCI-001109
- Version
- GEN008540
- Vuln IDs
-
- V-218718
- V-22583
- Rule IDs
-
- SV-218718r603259_rule
- SV-63141
Checks: C-20193r562942_chk
Check the firewall rules for a default deny rule. # iptables --list Example of a rule meeting this criteria: REJECT all -- anywhere anywhere reject-with icmp-host-prohibited A rule using DROP is also acceptable. The default rule should be the last rule of a table and match all traffic. If there is no default deny rule, this is a finding.
Fix: F-20191r562943_fix
Edit "/etc/sysconfig/iptables" and add a default deny rule. An example of a default deny rule: -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited Restart the iptable service. # service iptables restart
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN008600
- Vuln IDs
-
- V-218719
- V-1013
- Rule IDs
-
- SV-218719r603259_rule
- SV-63139
Checks: C-20194r556574_chk
Determine if the system is configured to boot from devices other than the system startup media. If so, this is a finding.
Fix: F-20192r556575_fix
Configure the system to only boot from system startup media. Procedure: On systems with a BIOS or system controller use the BIOS interface at startup to remove all but the proper boot device from the boot device list.
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- GEN008620
- Vuln IDs
-
- V-218720
- V-4246
- Rule IDs
-
- SV-218720r603259_rule
- SV-63135
Checks: C-20195r556577_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.
Fix: F-20193r556578_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
- GEN008640
- Vuln IDs
-
- V-218721
- V-4247
- Rule IDs
-
- SV-218721r603259_rule
- SV-63121
Checks: C-20196r556580_chk
Ask the SA if the system uses removable media for the boot loader. If it does, this is a finding.
Fix: F-20194r556581_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-218722
- V-4248
- Rule IDs
-
- SV-218722r603259_rule
- SV-63115
Checks: C-20197r556583_chk
Determine if the system uses the GRUB boot loader; # ls -l /boot/grub/grub.conf If no grub.conf file exists, and the bootloader on the system has not been authorized, justified, and documented, this is a finding.
Fix: F-20195r556584_fix
Configure the system to use the GRUB bootloader or document, justify, and authorize the alternate bootloader.
- RMF Control
- CM-6
- Severity
- H
- CCI
- CCI-000366
- Version
- GEN008680
- Vuln IDs
-
- V-218723
- V-4255
- Rule IDs
-
- SV-218723r603259_rule
- SV-63107
Checks: C-20198r562945_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-20196r562946_fix
Store the system boot media in a secure container when not in use.
- RMF Control
- AC-3
- Severity
- H
- CCI
- CCI-000213
- Version
- GEN008700
- Vuln IDs
-
- V-218724
- V-4249
- Rule IDs
-
- SV-218724r603259_rule
- SV-63105
Checks: C-20199r556589_chk
Check the "/boot/grub/grub.conf" or "/boot/grub/menu.lst" files. # more /boot/grub/menu.lst Check for a password configuration line, such as: 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. For any bootloader other than GRUB which has been authorized, justified and documented for use on the system refer to the vendor documentation on password support. If the bootloader does not support encrypted passwords, this is a finding.
Fix: F-20197r556590_fix
The GRUB console boot loader can be configured to use an MD5 encrypted password by adding password --md5 password-hash to the "/boot/grub/grub.conf" file. Use "/sbin/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-218725
- V-24624
- Rule IDs
-
- SV-218725r603259_rule
- SV-63097
Checks: C-20200r556592_chk
Check GRUB for password configuration. Procedure: Check the /boot/grub/grub.conf or /boot/grub/menu.lst files. # grep "password" /boot/grub/grub.conf /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-20198r556593_fix
Consult vendor documentation for procedures concerning the system's boot loader. Configure the boot loader to hash boot loader passwords using MD5 or a stronger hash.
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008720
- Vuln IDs
-
- V-218726
- V-4250
- Rule IDs
-
- SV-218726r603259_rule
- SV-63093
Checks: C-20201r562948_chk
Check /boot/grub/grub.conf permissions: # ls -lL /boot/grub/grub.conf If /boot/grub/grub.conf has a mode more permissive than 0600, then this is a finding. For any bootloader other than GRUB which has been authorized, justified and documented for use on the system refer to the vendor documentation for the location of the configuration file. If the bootloader configuration file has a mode more permissive than 0600, this is a finding.
Fix: F-20199r562949_fix
Change the mode of the grub.conf file to 0600. # chmod 0600 /boot/grub/grub.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008740
- Vuln IDs
-
- V-218727
- V-22585
- Rule IDs
-
- SV-218727r603259_rule
- SV-63091
Checks: C-20202r562951_chk
Check the permissions of the file. # ls -lL /boot/grub/grub.conf If the permissions of the file or directory contains a '+', an extended ACL is present. This is a finding.
Fix: F-20200r562952_fix
Remove the extended ACL from the file. # setfacl --remove-all /boot/grub/grub.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008760
- Vuln IDs
-
- V-218728
- V-22586
- Rule IDs
-
- SV-218728r603259_rule
- SV-63089
Checks: C-20203r562954_chk
Check the ownership of the file. # ls -lLd /boot/grub/grub.conf If the owner of the file is not root, this is a finding.
Fix: F-20201r562955_fix
Change the ownership of the file. # chown root /boot/grub/grub.conf
- RMF Control
- AC-6
- Severity
- M
- CCI
- CCI-000225
- Version
- GEN008780
- Vuln IDs
-
- V-218729
- V-22587
- Rule IDs
-
- SV-218729r603259_rule
- SV-63069
Checks: C-20204r562957_chk
Check the group ownership of the file. # ls -lLd /boot/grub/grub.conf If the group-owner of the file is not root, bin, sys, or system this is a finding.
Fix: F-20202r562958_fix
Change the group ownership of the file. # chgrp root /boot/grub/grub.conf
- RMF Control
- CM-5
- Severity
- L
- CCI
- CCI-000351
- Version
- GEN008800
- Vuln IDs
-
- V-218730
- V-22588
- Rule IDs
-
- SV-218730r603259_rule
- SV-63027
Checks: C-20205r562960_chk
Verify YUM signature validation is not disabled. # grep gpgcheck /etc/yum.conf /etc/yum.repos.d/* If no results are returned, or the returned "gpgcheck" settings are not equal to "1", this is a finding.
Fix: F-20203r562961_fix
Edit the YUM configuration containing "gpgcheck=0" and set the value to "1".
- RMF Control
- SI-2
- Severity
- L
- CCI
- CCI-001233
- Version
- GEN008820
- Vuln IDs
-
- V-218731
- V-22589
- Rule IDs
-
- SV-218731r603259_rule
- SV-63025
Checks: C-20206r556610_chk
Verify the YUM service is enabled. # service yum-updatesd status If the service is enabled, this is a finding.
Fix: F-20204r556611_fix
Disable the yum service. # chkconfig yum-updatesd off ; service yum-updatesd stop
- RMF Control
- IA-2
- Severity
- M
- CCI
- CCI-000768
- Version
- GEN009120
- Vuln IDs
-
- V-218732
- V-24347
- Rule IDs
-
- SV-218732r603259_rule
- SV-63005
Checks: C-20207r556613_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-20205r556614_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
- SC-8
- Severity
- M
- CCI
- CCI-002418
- Version
- GEN007841
- Vuln IDs
-
- V-230182
- V-72771
- Rule IDs
-
- SV-230182r603259_rule
- SV-87413
Checks: C-32516r562963_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-32494r562964_fix
Configure the system to disable all wireless network interfaces.