TMAegis
Thêm quy tắc cho kerberos

TMA-KERBEROS-ALLOW-WEAK-CRYPTO

Ensure allow_weak_crypto is not enabled

CaoCấp 1Tự độngkerberos

Mô tả

allow_weak_crypto = true in /etc/krb5.conf re-enables single-DES and export-grade enctypes that MIT disables by default. The audit fails if the setting is true/yes/1.

Cách kiểm tra

Phương pháp kiểm tra: Mẫu tệp

Tệp
/etc/krb5.conf
Mẫu khớp
(?mi)^\s*allow_weak_crypto\s*=\s*(true|yes|1|on)\b

Cách khắc phục

Phương pháp khắc phục: Chỉnh sửa tệp

Tệp
/etc/krb5.conf
Dòng thay thế
allow_weak_crypto = false

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
kerberoscrypto
Tham chiếu
CIS MIT Kerberos / Linux Benchmark guidance - Strong Kerberos encryption types (verify section number for your release)

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target kerberos