Skip to content

Commit

Permalink
Merge pull request #12376 from Mab879/rhel10_stig_rules_update
Browse files Browse the repository at this point in the history
Update RHEL 10 STIG Selections
  • Loading branch information
marcusburghardt authored Sep 18, 2024
2 parents b2f8f74 + 8e8e245 commit db7b59b
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 7 deletions.
2 changes: 1 addition & 1 deletion controls/srg_gpos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ controls:
- sshd_approved_macs=stig_extended
- sshd_approved_ciphers=stig_extended
- sshd_idle_timeout_value=10_minutes
- var_accounts_authorized_local_users_regex=rhel8
- var_accounts_authorized_local_users_regex=rhel9
- var_account_disable_post_pw_expiration=35
- login_banner_text=dod_banners
- var_authselect_profile=sssd
Expand Down
1 change: 1 addition & 0 deletions controls/srg_gpos/SRG-OS-000031-GPOS-00012.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ controls:
visible on the display with a publicly viewable image.
rules:
- configure_tmux_lock_after_time
- dconf_gnome_screensaver_mode_blank
status: automated
2 changes: 2 additions & 0 deletions controls/srg_gpos/SRG-OS-000073-GPOS-00041.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ controls:
- set_password_hashing_algorithm_systemauth
- set_password_hashing_min_rounds_logindefs
- accounts_password_all_shadowed_sha512
- var_password_hashing_algorithm_pam=sha512
- var_password_pam_unix_rounds=5000
status: automated
1 change: 1 addition & 0 deletions controls/srg_gpos/SRG-OS-000163-GPOS-00072.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ controls:
- sshd_set_keepalive
- accounts_tmout
- var_accounts_tmout=15_min
- var_sshd_set_keepalive=1
status: automated
4 changes: 4 additions & 0 deletions controls/srg_gpos/SRG-OS-000324-GPOS-00125.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ controls:
- sysctl_fs_protected_hardlinks
- sysctl_fs_protected_symlinks
- package_sudo_installed
- sudo_remove_no_authenticate
- sudo_remove_nopasswd
- sudo_require_reauthentication
- disallow_bypass_password_sudo
status: automated
1 change: 1 addition & 0 deletions controls/srg_gpos/SRG-OS-000343-GPOS-00134.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ controls:
rules:
- auditd_data_retention_action_mail_acct
- auditd_data_retention_admin_space_left_action
- var_auditd_admin_space_left_action=single
- auditd_data_retention_admin_space_left_percentage
- var_auditd_admin_space_left_percentage=5pc
- auditd_data_retention_space_left_action
Expand Down
2 changes: 2 additions & 0 deletions controls/srg_gpos/SRG-OS-000363-GPOS-00150.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ controls:
- aide_periodic_cron_checking
- package_aide_installed
- package_s-nail_installed
- aide_build_database
- aide_use_fips_hashes
status: automated
1 change: 1 addition & 0 deletions controls/srg_gpos/SRG-OS-000433-GPOS-00192.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ controls:
- sysctl_kernel_kptr_restrict
- bios_enable_execution_restrictions
- grub2_slub_debug_argument
- sysctl_kernel_exec_shield
status: automated
2 changes: 2 additions & 0 deletions controls/srg_gpos/SRG-OS-000478-GPOS-00223.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ controls:
- enable_dracut_fips_module
- enable_fips_mode
- sysctl_crypto_fips_enabled
- aide_use_fips_hashes
- configure_kerberos_crypto_policy
status: automated
8 changes: 7 additions & 1 deletion controls/srg_gpos/SRG-OS-000480-GPOS-00227.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ controls:
- file_groupowner_etc_gshadow
- file_groupowner_etc_passwd
- file_groupowner_etc_shadow
- file_owner_grub2_cfg
- file_groupowner_grub2_cfg
- file_owner_cron_d
- file_owner_cron_daily
Expand Down Expand Up @@ -66,6 +67,8 @@ controls:
- no_files_unowned_by_user
- file_owner_cron_deny
- file_groupowner_cron_deny
- file_permission_user_init_files_root
- var_user_initialization_files_regex=all_dotfiles

# service disabled
# - service_rngd_enabled - this rule was removed because it does bring questionable value on modern systems
Expand Down Expand Up @@ -98,7 +101,6 @@ controls:
- package_firewalld_installed
- package_gnutls-utils_installed
- package_rng-tools_installed
- package_MFEhiplsm_installed
- package_nss-tools_installed
- package_policycoreutils-python-utils_installed
- package_policycoreutils_installed
Expand Down Expand Up @@ -146,6 +148,7 @@ controls:
- sysctl_net_ipv6_conf_default_accept_source_route
- sysctl_net_ipv4_conf_all_accept_redirects
- sysctl_net_ipv4_conf_all_accept_source_route
- sysctl_net_ipv4_conf_all_forwarding
- sysctl_net_ipv4_conf_default_accept_source_route
- sysctl_net_ipv4_conf_all_rp_filter
- sysctl_net_ipv4_conf_default_rp_filter
Expand All @@ -155,6 +158,7 @@ controls:
- sysctl_net_ipv4_conf_default_accept_redirects
- sysctl_net_ipv4_conf_default_send_redirects
- sysctl_net_ipv4_ip_forward
- sysctl_net_ipv4_icmp_ignore_bogus_error_responses
- sysctl_kernel_core_pattern
- sysctl_kernel_kexec_load_disabled
- sysctl_kernel_unprivileged_bpf_disabled
Expand Down Expand Up @@ -238,5 +242,7 @@ controls:
- tftpd_uses_secure_mode
- display_login_attempts
- installed_OS_is_vendor_supported
- selinux_all_devicefiles_labeled
- xwindows_remove_packages

status: automated
4 changes: 4 additions & 0 deletions controls/srg_gpos/SRG-OS-000730-GPOS-00190.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ controls:
- var_password_pam_maxclassrepeat=3
- var_password_pam_dictcheck=1
- accounts_password_pam_dictcheck
- var_password_hashing_algorithm_pam=sha512
- var_password_pam_unix_rounds=5000
- var_password_pam_remember=5
- var_password_pam_remember_control_flag=requisite_or_required
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ severity: medium
identifiers:
cce@rhel8: CCE-83411-9
cce@rhel9: CCE-84106-4
cce@rhel10: CCE-88391-8
cce@sle12: CCE-92242-7
cce@sle15: CCE-91362-4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ severity: medium
identifiers:
cce@rhel8: CCE-86106-2
cce@rhel9: CCE-87087-3
cce@rhel10: CCE-89585-4

references:
disa: CCI-000366
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ severity: medium
identifiers:
cce@rhel8: CCE-86220-1
cce@rhel9: CCE-87181-4
cce@rhel10: CCE-87420-6

references:
disa: CCI-000366
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ severity: medium
identifiers:
cce@rhel8: CCE-80866-7
cce@rhel9: CCE-85920-7
cce@rhel10: CCE-90192-6

references:
cis-csc: 1,11,12,13,14,15,16,18,2,3,5,6,7,8,9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ severity: medium
identifiers:
cce@rhel8: CCE-86404-1
cce@rhel9: CCE-88939-4
cce@rhel10: CCE-90260-1

references:
cis-csc: 2,3
Expand Down
5 changes: 0 additions & 5 deletions shared/references/cce-redhat-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ CCE-87412-3
CCE-87413-1
CCE-87418-0
CCE-87419-8
CCE-87420-6
CCE-87422-2
CCE-87426-3
CCE-87427-1
Expand Down Expand Up @@ -1133,7 +1132,6 @@ CCE-88387-6
CCE-88388-4
CCE-88389-2
CCE-88390-0
CCE-88391-8
CCE-88392-6
CCE-88393-4
CCE-88394-2
Expand Down Expand Up @@ -1854,7 +1852,6 @@ CCE-89580-5
CCE-89582-1
CCE-89583-9
CCE-89584-7
CCE-89585-4
CCE-89586-2
CCE-89588-8
CCE-89590-4
Expand Down Expand Up @@ -2266,7 +2263,6 @@ CCE-90183-5
CCE-90188-4
CCE-90189-2
CCE-90190-0
CCE-90192-6
CCE-90193-4
CCE-90194-2
CCE-90195-9
Expand Down Expand Up @@ -2319,7 +2315,6 @@ CCE-90255-1
CCE-90256-9
CCE-90258-5
CCE-90259-3
CCE-90260-1
CCE-90263-5
CCE-90264-3
CCE-90265-0
Expand Down

0 comments on commit db7b59b

Please sign in to comment.