macOS
TMA-MACOS-6.4.1
Ensure Secure Keyboard Entry Terminal.app Is Enabled
MediaNivel 1Automatizadamacos
Descripción
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.
Cómo se verifica
Método de auditoría: Comando de shell
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.Terminal').objectForKey('SecureKeyboardEntry').js
EOS- Salida esperada
true
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Profile (preferred): com.apple.Terminal SecureKeyboardEntry = <true/>.
Propiedades
- Sistemas operativos
- macos-26
- Etiquetas
- macosapplications
- Referencia
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.4.1 Ensure Secure Keyboard Entry Terminal.app Is Enabled
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target macos