macOS
TMA-MACOS15-6.4.1
Ensure Secure Keyboard Entry Terminal.app Is Enabled
中レベル 1自動macos
説明
Secure Keyboard Entry prevents other applications on the system and/or network from detecting and recording what is typed into Terminal. Unauthorized applications and malicious code could intercept keystrokes entered in the Terminal.
チェック方法
監査方法: シェルコマンド
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.Terminal').objectForKey('SecureKeyboardEntry').js
EOS- 期待される出力
true
修正方法
修正方法: ガイダンスまたは IaC パッチ
Profile (preferred): com.apple.Terminal SecureKeyboardEntry = <true/>.
プロパティ
- オペレーティングシステム
- macos-15
- タグ
- macosapplications
- 参照
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 6.4.1 Ensure Secure Keyboard Entry Terminal.app Is Enabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target macos