macOS
TMA-MACOS15-6.4.1
Ensure Secure Keyboard Entry Terminal.app Is Enabled
MoyenneNiveau 1Automatiséemacos
Description
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.
Méthode de vérification
Méthode d'audit: Commande shell
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.Terminal').objectForKey('SecureKeyboardEntry').js
EOS- Sortie attendue
true
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Profile (preferred): com.apple.Terminal SecureKeyboardEntry = <true/>.
Propriétés
- Systèmes d'exploitation
- macos-15
- Étiquettes
- macosapplications
- Référence
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 6.4.1 Ensure Secure Keyboard Entry Terminal.app Is Enabled
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target macos