Skip to content

Commit 90da9b3

Browse files
authored
Merge pull request #14746 from ggbecker/improve-nist-controls
nist_800_53: distribute other.yml entries into NIST family files
2 parents ff94a31 + 3820d43 commit 90da9b3

36 files changed

Lines changed: 638 additions & 680 deletions

File tree

products/rhel10/controls/nist_800_53/ac.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@ controls:
4141
levels:
4242
- moderate
4343
rules:
44+
- accounts_tmout
4445
- no_invalid_shell_accounts_unlocked
4546
- no_password_auth_for_systemaccounts
4647
- no_shelllogin_for_systemaccounts
48+
- inactivity_timeout_value=15_minutes
49+
- var_accounts_tmout=15_min
4750
status: automated
4851
- id: ac-2.6
4952
title: Dynamic Privilege Management
@@ -216,6 +219,9 @@ controls:
216219
- sysctl_fs_protected_hardlinks
217220
- sysctl_fs_protected_symlinks
218221
- use_pam_wheel_group_for_su
222+
- var_accounts_user_umask=027
223+
- var_pam_wheel_group_for_su=cis
224+
- var_selinux_policy_name=targeted
219225
status: automated
220226
- id: ac-3.1
221227
title: Restricted Access to Privileged Functions
@@ -491,6 +497,13 @@ controls:
491497
rules:
492498
- account_password_pam_faillock_password_auth
493499
- account_password_pam_faillock_system_auth
500+
- accounts_passwords_pam_faillock_deny
501+
- accounts_passwords_pam_faillock_even_deny_root_or_root_unlock_time
502+
- accounts_passwords_pam_faillock_unlock_time_with_zero
503+
- var_accounts_passwords_pam_faillock_deny=5
504+
- var_accounts_passwords_pam_faillock_dir=run
505+
- var_accounts_passwords_pam_faillock_root_unlock_time=60
506+
- var_accounts_passwords_pam_faillock_unlock_time=900
494507
status: automated
495508
- id: ac-7.1
496509
title: Automatic Account Lock
@@ -551,6 +564,7 @@ controls:
551564
- dconf_gnome_screensaver_lock_delay
552565
- dconf_gnome_screensaver_user_locks
553566
- dconf_gnome_session_idle_user_locks
567+
- var_screensaver_lock_delay=5_seconds
554568
status: automated
555569
- id: ac-11.1
556570
title: Pattern-hiding Displays

products/rhel10/controls/nist_800_53/au.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ controls:
3232
- service_systemd-journal-upload_enabled
3333
- service_systemd-journald_enabled
3434
- socket_systemd-journal-remote_disabled
35+
- ensure_journald_and_rsyslog_not_active_together
36+
- var_audit_backlog_limit=8192
37+
- var_auditd_action_mail_acct=root
38+
- var_auditd_admin_space_left_action=cis_rhel10
39+
- var_auditd_space_left_action=cis_rhel10
3540
status: automated
3641
- id: au-2.1
3742
title: Compilation of Audit Records from Multiple Sources
@@ -119,6 +124,9 @@ controls:
119124
- sudo_custom_logfile
120125
- sysctl_net_ipv4_conf_all_log_martians
121126
- sysctl_net_ipv4_conf_default_log_martians
127+
- chronyd_run_as_chrony_user
128+
- sshd_max_auth_tries_value=4
129+
- var_multiple_time_servers=rhel
122130
status: automated
123131
- id: au-3.1
124132
title: Additional Audit Information
@@ -152,6 +160,8 @@ controls:
152160
rules:
153161
- auditd_data_disk_error_action
154162
- auditd_data_disk_full_action
163+
- var_auditd_disk_error_action=cis_rhel10
164+
- var_auditd_disk_full_action=cis_rhel10
155165
status: automated
156166
- id: au-5.1
157167
title: Storage Capacity Warning
@@ -254,6 +264,8 @@ controls:
254264
rules:
255265
- auditd_data_retention_max_log_file
256266
- auditd_data_retention_max_log_file_action
267+
- var_auditd_max_log_file=8
268+
- var_auditd_max_log_file_action=keep_logs
257269
status: automated
258270
- id: au-8.1
259271
title: Synchronization with Authoritative Time Source
@@ -269,6 +281,9 @@ controls:
269281
- low
270282
rules:
271283
- audit_rules_immutable
284+
- file_groupownership_audit_configuration
285+
- file_ownership_audit_binaries
286+
- file_ownership_audit_configuration
272287
status: automated
273288
- id: au-9.1
274289
title: Hardware Write-once Media
@@ -284,14 +299,17 @@ controls:
284299
title: Cryptographic Protection
285300
levels:
286301
- high
287-
rules: []
288-
status: pending
302+
rules:
303+
- aide_check_audit_tools
304+
status: automated
289305
- id: au-9.4
290306
title: Access by Subset of Privileged Users
291307
levels:
292308
- moderate
293-
rules: []
294-
status: pending
309+
rules:
310+
- file_group_ownership_var_log_audit
311+
- file_permissions_var_log_audit
312+
status: automated
295313
- id: au-9.5
296314
title: Dual Authorization
297315
rules: []
@@ -359,6 +377,7 @@ controls:
359377
- audit_rules_dac_modification_lsetxattr
360378
- audit_rules_dac_modification_removexattr
361379
- audit_rules_dac_modification_setxattr
380+
- audit_rules_continue_loading
362381
- audit_rules_execution_chcon
363382
- audit_rules_file_deletion_events_rename
364383
- audit_rules_file_deletion_events_renameat
@@ -388,6 +407,7 @@ controls:
388407
- audit_rules_usergroup_modification_pamd
389408
- audit_rules_usergroup_modification_passwd
390409
- audit_rules_usergroup_modification_shadow
410+
- audit_sudo_log_events
391411
- file_permissions_audit_configuration
392412
- grub2_audit_argument
393413
- service_auditd_enabled

products/rhel10/controls/nist_800_53/cm.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ controls:
6262
- sysctl_net_ipv6_conf_default_accept_ra
6363
- sysctl_net_ipv6_conf_default_accept_redirects
6464
- sysctl_net_ipv6_conf_default_accept_source_route
65+
- sshd_idle_timeout_value=5_minutes
66+
- sysctl_net_ipv4_tcp_syncookies_value=enabled
67+
- var_accounts_maximum_age_login_defs=365
68+
- var_sshd_max_sessions=10
69+
- var_sshd_set_keepalive=1
70+
- var_sshd_set_maxstartups=10:30:60
71+
- var_user_initialization_files_regex=all_dotfiles
6572
status: automated
6673
- id: cm-2
6774
title: Baseline Configuration
@@ -220,6 +227,7 @@ controls:
220227
- banner_etc_motd_cis
221228
- coredump_disable_backtraces
222229
- coredump_disable_storage
230+
- dconf_db_up_to_date
223231
- dconf_gnome_disable_user_list
224232
- disable_host_auth
225233
- disable_users_coredumps
@@ -248,6 +256,7 @@ controls:
248256
- service_rpcbind_disabled
249257
- sshd_disable_gssapi_auth
250258
- sshd_set_login_grace_time
259+
- sysctl_fs_suid_dumpable
251260
- sysctl_kernel_kptr_restrict
252261
- sysctl_kernel_randomize_va_space
253262
- sysctl_kernel_yama_ptrace_scope
@@ -276,6 +285,32 @@ controls:
276285
- sysctl_net_ipv6_conf_default_accept_redirects
277286
- sysctl_net_ipv6_conf_default_accept_source_route
278287
- sysctl_net_ipv6_conf_default_forwarding
288+
- cis_banner_text=cis
289+
- dconf_login_banner_contents=cis_default
290+
- dconf_login_banner_text=cis_banners
291+
- sysctl_net_ipv4_conf_all_accept_redirects_value=disabled
292+
- sysctl_net_ipv4_conf_all_accept_source_route_value=disabled
293+
- sysctl_net_ipv4_conf_all_log_martians_value=enabled
294+
- sysctl_net_ipv4_conf_all_rp_filter_value=enabled
295+
- sysctl_net_ipv4_conf_all_secure_redirects_value=disabled
296+
- sysctl_net_ipv4_conf_default_accept_redirects_value=disabled
297+
- sysctl_net_ipv4_conf_default_accept_source_route_value=disabled
298+
- sysctl_net_ipv4_conf_default_forwarding_value=disabled
299+
- sysctl_net_ipv4_conf_default_log_martians_value=enabled
300+
- sysctl_net_ipv4_conf_default_rp_filter_value=enabled
301+
- sysctl_net_ipv4_conf_default_secure_redirects_value=disabled
302+
- sysctl_net_ipv4_icmp_echo_ignore_broadcasts_value=enabled
303+
- sysctl_net_ipv4_icmp_ignore_bogus_error_responses_value=enabled
304+
- sysctl_net_ipv6_conf_all_accept_ra_value=disabled
305+
- sysctl_net_ipv6_conf_all_accept_redirects_value=disabled
306+
- sysctl_net_ipv6_conf_all_accept_source_route_value=disabled
307+
- sysctl_net_ipv6_conf_all_forwarding_value=disabled
308+
- sysctl_net_ipv6_conf_default_accept_ra_value=disabled
309+
- sysctl_net_ipv6_conf_default_accept_redirects_value=disabled
310+
- sysctl_net_ipv6_conf_default_accept_source_route_value=disabled
311+
- sysctl_net_ipv6_conf_default_forwarding_value=disabled
312+
- var_accounts_user_umask=027
313+
- var_sshd_set_login_grace_time=60
279314
status: automated
280315
- id: cm-6.1
281316
title: Automated Management, Application, and Verification
@@ -303,6 +338,7 @@ controls:
303338
- low
304339
rules:
305340
- dconf_gnome_disable_autorun
341+
- disable_weak_deps
306342
- file_ownership_var_log_audit_stig
307343
- has_nonlocal_mta
308344
- kernel_module_atm_disabled
@@ -330,11 +366,14 @@ controls:
330366
- package_cyrus-imapd_removed
331367
- package_dovecot_removed
332368
- package_ftp_removed
369+
- package_gdm_removed
333370
- package_httpd_removed
334371
- package_kea_removed
335372
- package_net-snmp_removed
336373
- package_nginx_removed
337374
- package_openldap-clients_removed
375+
- package_postfix_installed
376+
- package_sequoia-sq_installed
338377
- package_telnet-server_removed
339378
- package_telnet_removed
340379
- package_tftp-server_removed
@@ -354,6 +393,8 @@ controls:
354393
- service_dnsmasq_disabled
355394
- sshd_disable_forwarding
356395
- wireless_disable_interfaces
396+
- xwayland_disabled
397+
- var_postfix_inet_interfaces=loopback-only
357398
status: automated
358399
- id: cm-7.1
359400
title: Periodic Review

products/rhel10/controls/nist_800_53/ia.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,11 @@ controls:
104104
title: Identifier Management
105105
levels:
106106
- low
107-
rules: []
108-
status: pending
107+
rules:
108+
- account_disable_post_pw_expiration
109+
- accounts_set_post_pw_existing
110+
- var_account_disable_post_pw_expiration=45
111+
status: automated
109112
- id: ia-4.1
110113
title: Prohibit Account Identifiers as Public Identifiers
111114
rules: []
@@ -151,21 +154,36 @@ controls:
151154
rules:
152155
- accounts_minimum_age_login_defs
153156
- accounts_password_all_shadowed
157+
- accounts_password_last_change_is_in_past
154158
- accounts_password_pam_dictcheck
155159
- accounts_password_pam_difok
156160
- accounts_password_pam_enforce_root
157161
- accounts_password_pam_maxrepeat
158162
- accounts_password_pam_maxsequence
159163
- accounts_password_pam_minclass
160164
- accounts_password_pam_minlen
165+
- accounts_password_pam_modules_in_authselect_profile
161166
- accounts_password_pam_pwhistory_enforce_for_root
162167
- accounts_password_pam_pwhistory_use_authtok
163168
- accounts_password_pam_unix_authtok
164169
- accounts_password_set_min_life_existing
170+
- accounts_password_set_warn_age_existing
171+
- accounts_password_warn_age_login_defs
172+
- ensure_root_password_configured
165173
- no_empty_passwords_etc_shadow
166174
- set_password_hashing_algorithm_logindefs
167175
- set_password_hashing_algorithm_passwordauth
168176
- set_password_hashing_algorithm_systemauth
177+
- var_accounts_minimum_age_login_defs=1
178+
- var_accounts_password_warn_age_login_defs=7
179+
- var_password_hashing_algorithm=cis_rhel10
180+
- var_password_hashing_algorithm_pam=cis_rhel10
181+
- var_password_pam_dictcheck=1
182+
- var_password_pam_difok=2
183+
- var_password_pam_maxrepeat=3
184+
- var_password_pam_maxsequence=3
185+
- var_password_pam_minclass=4
186+
- var_password_pam_minlen=14
169187
status: automated
170188
- id: ia-5.1
171189
title: Password-based Authentication
@@ -175,6 +193,9 @@ controls:
175193
- accounts_password_pam_pwhistory_remember_password_auth
176194
- accounts_password_pam_pwhistory_remember_system_auth
177195
- accounts_password_pam_unix_enabled
196+
- accounts_password_pam_unix_no_remember
197+
- var_password_pam_remember=24
198+
- var_password_pam_remember_control_flag=requisite_or_required
178199
status: automated
179200
- id: ia-5.2
180201
title: Public Key-based Authentication
@@ -318,6 +339,7 @@ controls:
318339
- low
319340
rules:
320341
- sudo_require_reauthentication
342+
- var_sudo_timestamp_timeout=15_minutes
321343
status: automated
322344
- id: ia-12
323345
title: Identity Proofing

0 commit comments

Comments
 (0)