macOS
TMA-MACOS-6.4.1
Ensure Secure Keyboard Entry Terminal.app Is Enabled
MédiaNível 1Automatizadamacos
Descrição
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.
Como é verificado
Método de auditoria: Comando shell
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.Terminal').objectForKey('SecureKeyboardEntry').js
EOS- Saída esperada
true
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Profile (preferred): com.apple.Terminal SecureKeyboardEntry = <true/>.
Propriedades
- Sistemas operacionais
- macos-26
- Tags
- macosapplications
- Referência
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.4.1 Ensure Secure Keyboard Entry Terminal.app Is Enabled
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
shell
tmaegis scan --target macos