Skip to content

Commit

Permalink
Merge pull request #11469 from Mab879/rhel_8_cis_section_3
Browse files Browse the repository at this point in the history
 Review CIS RHEL8 v3.0.0 Section 3
  • Loading branch information
marcusburghardt authored Jan 26, 2024
2 parents 1016ad3 + 908eb8a commit 8f3f429
Show file tree
Hide file tree
Showing 45 changed files with 383 additions and 582 deletions.
424 changes: 107 additions & 317 deletions controls/cis_rhel8.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ identifiers:
references:
cis-csc: 1,12,15,16
cis@alinux2: 5.2.19
cis@rhel8: 5.2.15
cis@sle12: 5.2.18
cis@sle15: 5.2.18
cjis: 5.5.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ description: |-
{{% if product in ["rhel7"] %}}
Ensure that pam_faillock.so module entries in
<tt>/etc/pam.d/password-auth</tt> and <tt>/etc/pam.d/system-auth</tt> are
followed by the assignment <tt>deny=&lt;count&gt;</tt> where count should be less than or equal to
followed by the assignment <tt>deny=&lt;count&gt;</tt> where count should be less than or equal to
{{{xccdf_value("var_accounts_passwords_pam_faillock_deny") }}} and greater than 0.
{{% else %}}
Ensure that the file <tt>/etc/security/faillock.conf</tt> contains the following entry:
<tt>deny = &lt;count&gt;</tt>
Where count should be less than or equal to
Where count should be less than or equal to
{{{ xccdf_value("var_accounts_passwords_pam_faillock_deny") }}} and greater than 0.
{{% endif %}}
{{% if 'ubuntu' not in product %}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ identifiers:
references:
cis@alinux3: 3.4.1.1
cis@rhel7: 3.4.2.1
cis@rhel8: 3.4.1.1
cis@rhel8: 3.4.1.2
cis@rhel9: 3.4.1.2
cis@sle15: 3.5.1.1
disa: CCI-002314
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ references:
cis-csc: 11,3,9
cis@alinux3: 3.4.2.1
cis@rhel7: 3.4.2.2
cis@rhel8: 3.4.1.4
cis@rhel8: 3.4.1.2
cis@rhel9: 3.4.1.2
cis@sle15: 3.5.1.3
cobit5: BAI10.01,BAI10.02,BAI10.03,BAI10.05
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel9
prodtype: rhel8,rhel9

title: 'Configure Firewalld to Restrict Loopback Traffic'

Expand Down Expand Up @@ -30,10 +30,12 @@ rationale: |-
severity: medium

identifiers:
cce@rhel8: CCE-87272-1
cce@rhel9: CCE-86137-7

references:
ccn@rhel9: A.8.SEC-RHEL3
cis@rhel8: 3.4.2.2
cis@rhel9: 3.4.2.4
pcidss4: "1.4.1"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel9
prodtype: rhel8,rhel9

title: 'Configure Firewalld to Trust Loopback Traffic'

Expand All @@ -22,10 +22,12 @@ rationale: |-
severity: medium

identifiers:
cce@rhel8: CCE-87278-8
cce@rhel9: CCE-86116-1

references:
ccn@rhel9: A.8.SEC-RHEL3
cis@rhel8: 3.4.2.2
cis@rhel9: 3.4.2.4
pcidss4: "1.4.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ identifiers:
references:
ccn@rhel9: A.8.SEC-RHEL3
cis-csc: 11,14,3,9
cis@rhel8: 3.4.1.5
cis@rhel9: 3.4.2.1
cis@sle15: 3.5.1.4
cjis: 5.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ references:
cis@alinux2: 3.2.9
cis@alinux3: 3.3.9
cis@rhel7: 3.3.11
cis@rhel8: 3.3.9
cis@rhel8: 3.3.11
cis@rhel9: 3.3.9
cis@sle12: 3.3.9
cis@sle15: 3.3.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ references:
cis@alinux2: 3.2.2
cis@alinux3: 3.3.2
cis@rhel7: 3.3.5
cis@rhel8: 3.3.2
cis@rhel8: 3.3.5
cis@rhel9: 3.3.2
cis@sle12: 3.3.2
cis@sle15: 3.3.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ references:
cis@alinux2: 3.2.1
cis@alinux3: 3.3.1
cis@rhel7: 3.3.8
cis@rhel8: 3.3.1
cis@rhel8: 3.3.8
cis@rhel9: 3.3.1
cis@sle12: 3.3.1
cis@sle15: 3.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ references:
cis@alinux2: 3.1.1
cis@alinux3: 3.2.1
cis@rhel7: 3.3.1
cis@rhel8: 3.2.1
cis@rhel8: 3.3.1
cis@rhel9: 3.2.1
cis@sle12: 3.2.1
cis@sle15: 3.2.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ references:
cis@alinux2: 3.2.9
cis@alinux3: 3.3.9
cis@rhel7: 3.3.11
cis@rhel8: 3.3.9
cis@rhel8: 3.3.11
cis@rhel9: 3.3.9
cis@sle12: 3.3.9
cis@sle15: 3.3.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ references:
cis@alinux2: 3.2.2
cis@alinux3: 3.3.2
cis@rhel7: 3.3.5
cis@rhel8: 3.3.2
cis@rhel8: 3.3.5
cis@rhel9: 3.3.2
cis@sle12: 3.3.2
cis@sle15: 3.3.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ references:
cis@alinux2: 3.2.1
cis@alinux3: 3.3.1
cis@rhel7: 3.3.8
cis@rhel8: 3.3.1
cis@rhel8: 3.3.8
cis@rhel9: 3.3.1
cis@sle12: 3.3.1
cis@sle15: 3.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ references:
cis@alinux2: 3.2.2
cis@alinux3: 3.3.2
cis@rhel7: 3.3.5
cis@rhel8: 3.3.2
cis@rhel8: 3.3.5
cis@rhel9: 3.3.2
cis@sle12: 3.3.2
cis@sle15: 3.3.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ references:
cis@alinux2: 3.2.1
cis@alinux3: 3.3.1
cis@rhel7: 3.3.8
cis@rhel8: 3.3.1
cis@rhel8: 3.3.8
cis@rhel9: 3.3.1
cis@sle12: 3.3.1
cis@sle15: 3.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ references:
cis@alinux2: 3.2.4
cis@alinux3: 3.3.4
cis@rhel7: 3.3.9
cis@rhel8: 3.3.4
cis@rhel8: 3.3.9
cis@rhel9: 3.3.4
cis@sle12: 3.3.4
cis@sle15: 3.3.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ references:
cis@alinux2: 3.2.3
cis@alinux3: 3.3.3
cis@rhel7: 3.3.6
cis@rhel8: 3.3.3
cis@rhel8: 3.3.6
cis@rhel9: 3.3.3
cis@sle12: 3.3.3
cis@sle15: 3.3.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ references:
cis@alinux2: 3.2.2
cis@alinux3: 3.3.2
cis@rhel7: 3.3.5
cis@rhel8: 3.3.2
cis@rhel8: 3.3.5
cis@rhel9: 3.3.2
cis@sle12: 3.3.3
cis@sle15: 3.3.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ references:
cis@alinux2: 3.2.1
cis@alinux3: 3.3.1
cis@rhel7: 3.3.8
cis@rhel8: 3.3.1
cis@rhel8: 3.3.8
cis@rhel9: 3.3.1
cis@sle12: 3.3.1
cis@sle15: 3.3.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ references:
cis@alinux2: 3.2.4
cis@alinux3: 3.3.4
cis@rhel7: 3.3.9
cis@rhel8: 3.3.4
cis@rhel8: 3.3.9
cis@rhel9: 3.3.4
cis@sle12: 3.3.4
cis@sle15: 3.3.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ references:
cis@alinux2: 3.2.3
cis@alinux3: 3.3.3
cis@rhel7: 3.3.6
cis@rhel8: 3.3.3
cis@rhel8: 3.3.6
cis@rhel9: 3.3.3
cis@sle12: 3.3.2
cis@sle15: 3.3.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ references:
cis@alinux2: 3.2.5
cis@alinux3: 3.3.5
cis@rhel7: 3.3.4
cis@rhel8: 3.3.5
cis@rhel8: 3.3.4
cis@rhel9: 3.3.5
cis@sle12: 3.3.5
cis@sle15: 3.3.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ references:
cis@alinux2: 3.2.6
cis@alinux3: 3.3.6
cis@rhel7: 3.3.3
cis@rhel8: 3.3.6
cis@rhel8: 3.3.3
cis@rhel9: 3.3.6
cis@sle12: 3.3.6
cis@sle15: 3.3.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ references:
cis@alinux2: 3.2.8
cis@alinux3: 3.3.8
cis@rhel7: 3.3.10
cis@rhel8: 3.3.8
cis@rhel8: 3.3.10
cis@rhel9: 3.3.8
cis@sle12: 3.3.8
cis@sle15: 3.3.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ references:
cis@alinux2: 3.1.2
cis@alinux3: 3.2.2
cis@rhel7: 3.3.2
cis@rhel8: 3.2.2
cis@rhel8: 3.3.2
cis@rhel9: 3.2.2
cis@sle12: 3.2.2
cis@sle15: 3.2.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ references:
cis@alinux2: 3.1.2
cis@alinux3: 3.2.2
cis@rhel7: 3.3.2
cis@rhel8: 3.2.2
cis@rhel8: 3.3.2
cis@rhel9: 3.2.2
cis@sle12: 3.2.2
cis@sle15: 3.2.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ references:
cis@alinux2: 3.1.1
cis@alinux3: 3.2.1
cis@rhel7: 3.3.1
cis@rhel8: 3.2.1
cis@rhel8: 3.3.1
cis@rhel9: 3.2.1
cis@sle12: 3.2.1
cis@sle15: 3.2.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-
the firewall will accept any packet that is not configured to be denied and the packet will
continue traversing the network stack.
rationale: |-
rationale: |
It is easier to allow acceptable usage than to block unacceptable usage.
severity: medium
Expand All @@ -23,6 +23,7 @@ identifiers:

references:
cis@rhel7: 3.4.3.7
cis@rhel8: 3.4.2.5
cis@sle15: 3.5.2.8
cis@ubuntu2004: 3.5.2.8
cis@ubuntu2204: 3.5.2.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ identifiers:

references:
cis@rhel7: 3.4.3.1
cis@rhel8: 3.4.2.1
cis@rhel8: 3.4.1.1
cis@rhel9: 3.4.1.1
cis@sle15: 3.5.2.1
cis@ubuntu2004: 3.5.2.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ identifiers:
references:
ccn@rhel9: A.8.SEC-RHEL3
cis@alinux3: 3.4.2.3
cis@rhel8: 3.4.1.3
cis@rhel8: 3.4.1.2
cis@rhel9: 3.4.1.2
cis@sle15: 3.5.1.2
cis@ubuntu2004: 3.5.3.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ identifiers:

references:
cis@rhel7: 3.4.3.4
cis@rhel8: 3.4.2.1
cis@sle15: 3.5.2.5
cis@ubuntu2004: 3.5.2.5
cis@ubuntu2204: 3.5.2.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ identifiers:
cce@sle15: CCE-92564-4

references:
cis@rhel8: 3.4.2.4
cis@sle15: 3.5.2.7

ocil_clause: 'All nftables rules for established incoming, and for new and outbound connections do not match site policy'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ references:
cis@alinux2: 3.4.1
cis@alinux3: 3.1.3
cis@rhel7: 3.2.1
cis@rhel8: 3.1.3
cis@rhel8: 3.2.1
cis@sle12: 3.4.1
cis@sle15: 3.4.1
cis@ubuntu2004: 3.4.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ references:
cis-csc: 11,14,3,9
cis@alinux2: 3.4.3
cis@rhel7: 3.2.3
cis@rhel8: 3.2.3
cis@ubuntu2004: 3.4.3
cis@ubuntu2204: 3.4.3
cobit5: BAI10.01,BAI10.02,BAI10.03,BAI10.05,DSS05.02,DSS05.05,DSS06.06
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ references:
cis@alinux2: 3.4.2
cis@alinux3: 3.1.2
cis@rhel7: 3.2.4
cis@rhel8: 3.1.2
cis@rhel8: 3.2.4
cis@sle12: 3.4.2
cis@sle15: 3.4.2
cis@ubuntu2004: 3.4.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ references:
cis-csc: 11,14,3,9
cis@alinux2: 3.4.4
cis@rhel7: 3.2.2
cis@rhel8: 3.2.2
cis@rhel9: 3.1.3
cis@ubuntu2004: 3.4.4
cis@ubuntu2204: 3.4.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ severity: medium

identifiers:
cce@rhel7: CCE-27328-4
cce@rhel8: CCE-87231-7

references:
cis-csc: 11,12,14,15,3,8,9
cis@rhel7: 3.1.3
cis@rhel8: 3.1.3
cobit5: APO13.01,BAI10.01,BAI10.02,BAI10.03,BAI10.05,DSS01.04,DSS05.02,DSS05.03,DSS05.05,DSS06.06
cui: 3.1.16
disa: CCI-000085,CCI-001551
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ references:
cis-csc: 11,12,14,15,3,8,9
cis@alinux3: 3.1.4
cis@rhel7: 3.1.2
cis@rhel8: 3.1.4
cis@rhel8: 3.1.2
cis@rhel9: 3.1.2
cis@sle12: 3.1.2
cis@sle15: 3.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ references:
ccn@rhel9: A.11.SEC-RHEL12
cis-csc: 12,16
cis@rhel7: 1.7.6
cis@rhel8: 1.8.6,1.8.7
cis@rhel8: 1.8.6
cis@rhel9: 1.8.6,1.8.7
cis@ubuntu2204: 1.8.6
cobit5: APO13.01,DSS01.04,DSS05.03,DSS05.04,DSS05.05,DSS05.07,DSS06.03
Expand Down
Loading

0 comments on commit 8f3f429

Please sign in to comment.