TMAegis
linux のその他のルール

TMA-LNX-NET-SOURCE-ROUTE

Ensure source routed packets are not accepted

中レベル 1自動linux

説明

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

チェック方法

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

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

修正方法

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

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