TMA-LNX-NET-ACCEPT-REDIRECTS
Ensure ICMP redirects are not accepted
中レベル 1自動linux
説明
Kernel parameter net.ipv4.conf.all.accept_redirects should be 0.
チェック方法
監査方法: シェルコマンド
shell
sysctl -n net.ipv4.conf.all.accept_redirects- 期待される出力
0
修正方法
修正方法: シェルコマンド
shell
sysctl -w net.ipv4.conf.all.accept_redirects=0 && printf 'net.ipv4.conf.all.accept_redirects = 0\n' > /etc/sysctl.d/60-tmaegis-net_ipv4_conf_all_accept_redirects.confプロパティ
- オペレーティングシステム
- ubuntu-22.04, ubuntu-24.04, rocky-9
- タグ
- kernelsysctlnetwork
- 参照
- CIS Linux Benchmark - Network Configuration / Kernel Parameters (verify section number for your distro release)
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target linux