TMAegis
linux のその他のルール

TMA-LNX-NET-SEND-REDIRECTS

Ensure packet redirect sending is disabled

中レベル 1自動linux

説明

Kernel parameter net.ipv4.conf.all.send_redirects should be 0.

チェック方法

監査方法: シェルコマンド

shell
sysctl -n net.ipv4.conf.all.send_redirects
期待される出力
0

修正方法

修正方法: シェルコマンド

shell
sysctl -w net.ipv4.conf.all.send_redirects=0 && printf 'net.ipv4.conf.all.send_redirects = 0\n' > /etc/sysctl.d/60-tmaegis-net_ipv4_conf_all_send_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