2022-03-30 11:48:50 +01:00
|
|
|
---
|
|
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.1 | PATCH | Ensure source routed packets are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
block:
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.1 | PATCH | Ensure source routed packets are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-04 15:14:13 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-04-05 10:24:47 +01:00
|
|
|
notify:
|
2022-03-30 11:48:50 +01:00
|
|
|
- update sysctl
|
|
|
|
|
- sysctl flush ipv4 route table
|
|
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.1 | PATCH | Ensure source routed packets are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-04 15:14:13 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv6_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify:
|
|
|
|
|
- sysctl flush ipv6 route table
|
|
|
|
|
- update sysctl
|
|
|
|
|
when: rhel9cis_ipv6_required
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_1
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.1
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.2 | PATCH | Ensure ICMP redirects are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
block:
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.2 | PATCH | Ensure ICMP redirects are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-04 15:14:13 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-04-05 10:24:47 +01:00
|
|
|
notify:
|
2022-03-30 11:48:50 +01:00
|
|
|
- update sysctl
|
|
|
|
|
- sysctl flush ipv4 route table
|
|
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.2 | PATCH | Ensure ICMP redirects are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-04 15:14:13 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv6_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify:
|
|
|
|
|
- sysctl flush ipv6 route table
|
|
|
|
|
- update sysctl
|
|
|
|
|
when: rhel9cis_ipv6_required
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_2
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.2
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.3 | PATCH | Ensure secure ICMP redirects are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-05 10:24:47 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify: update sysctl
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_3
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.3
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.4 | PATCH | Ensure suspicious packets are logged"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-05 10:24:47 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify: update sysctl
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_4
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.4
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.5 | PATCH | Ensure broadcast ICMP requests are ignored"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-05 10:24:47 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify: update sysctl
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_5
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.5
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.6 | PATCH | Ensure bogus ICMP responses are ignored"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-05 10:24:47 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify: update sysctl
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_6
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.6
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.7 | PATCH | Ensure Reverse Path Filtering is enabled"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-05 10:24:47 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify: update sysctl
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_7
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.7
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 13:55:04 +01:00
|
|
|
- name: "3.3.8 | PATCH | Ensure TCP SYN Cookies is enabled"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-05 10:24:47 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify: update sysctl
|
|
|
|
|
when:
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_8
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.8
|
2022-03-30 11:48:50 +01:00
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "3.3.9 | PATCH | Ensure IPv6 router advertisements are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
block:
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "3.3.9 | PATCH | Ensure IPv6 router advertisements are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-04 15:14:13 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv4_sysctl.conf"
|
2022-04-05 10:24:47 +01:00
|
|
|
notify:
|
2022-03-30 11:48:50 +01:00
|
|
|
- update sysctl
|
|
|
|
|
- sysctl flush ipv4 route table
|
|
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "3.3.9 | PATCH | Ensure IPv6 router advertisements are not accepted"
|
2022-03-30 11:48:50 +01:00
|
|
|
debug:
|
2022-04-04 15:14:13 +01:00
|
|
|
msg: "Control being set via Handler 'update sysctl' which writes to /etc/sysctl.d/60-netipv6_sysctl"
|
2022-03-30 11:48:50 +01:00
|
|
|
notify:
|
|
|
|
|
- sysctl flush ipv6 route table
|
|
|
|
|
- update sysctl
|
|
|
|
|
when: rhel9cis_ipv6_required
|
|
|
|
|
when:
|
|
|
|
|
- rhel9cis_ipv6_required
|
2022-04-01 15:26:13 +01:00
|
|
|
- rhel9cis_rule_3_3_9
|
2022-03-30 11:48:50 +01:00
|
|
|
tags:
|
|
|
|
|
- level2-server
|
|
|
|
|
- level2-workstation
|
|
|
|
|
- sysctl
|
|
|
|
|
- patch
|
2022-03-30 11:55:03 +01:00
|
|
|
- rule_3.3.9
|