TMAegisBeta
Más reglas para macos

macOS

TMA-MACOS15-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-15
Etiquetas
macosapplications
Referencia
CIS Apple macOS 15.0 Sequoia Benchmark v2.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