TMAegisベータ
macos のその他のルール

macOS

TMA-MACOS-5.5

Ensure a Separate Timestamp Is Enabled for Each User/tty Combo

中レベル 1自動macos

説明

Using tty tickets ensures that a user must enter the sudo password in each Terminal session. With sudo versions 1.8 and higher, introduced in 10.12, the default value is to have tty tickets for each interface so that root access is limited to a specific terminal. The default configuration can be overwritten or not configured correctly on earlier versions of macOS.

チェック方法

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

shell
out=$(/usr/bin/sudo -V 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "Type of authentication timestamp record: tty" || true
期待される出力
1

修正方法

修正方法: ガイダンスまたは IaC パッチ

Terminal: sudo /usr/sbin/visudo -f /etc/sudoers.d/<configuration file name>.

プロパティ

オペレーティングシステム
macos-26
タグ
macossystem-access
参照
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.5 Ensure a Separate Timestamp Is Enabled for Each User/tty Combo

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target macos