TMAegis
linux のその他のルール

TMA-LNX-KERN-ASLR

Ensure address space layout randomization is enabled

高レベル 1自動linux

説明

Kernel parameter kernel.randomize_va_space should be 2.

チェック方法

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

shell
sysctl -n kernel.randomize_va_space
期待される出力
2

修正方法

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

shell
sysctl -w kernel.randomize_va_space=2 && printf 'kernel.randomize_va_space = 2\n' > /etc/sysctl.d/60-tmaegis-kernel_randomize_va_space.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