macOS
TMA-MACOS15-6.4.1
Ensure Secure Keyboard Entry Terminal.app Is Enabled
SedangLevel 1Otomatismacos
Deskripsi
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.
Cara pemeriksaan
Metode audit: Perintah shell
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.Terminal').objectForKey('SecureKeyboardEntry').js
EOS- Output yang diharapkan
true
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Profile (preferred): com.apple.Terminal SecureKeyboardEntry = <true/>.
Properti
- Sistem operasi
- macos-15
- Tag
- macosapplications
- Referensi
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 6.4.1 Ensure Secure Keyboard Entry Terminal.app Is Enabled
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
shell
tmaegis scan --target macos