TMAegis
Thêm quy tắc cho iis

Microsoft IIS

TMA-IIS-7.5

Ensure TLS 1.1 is Disabled

CaoCấp 1Tự độngiis

Mô tả

The TLS 1.1 protocol is not considered cryptographically secure, therefore should be disabled. SCHANNEL\Protocols\TLS 1.1\Server and \Client must both have Enabled=0 and DisabledByDefault=1. Affects every SCHANNEL service; a reboot is required after changes. PowerShell 5.1; reads the registry (run elevated).

Cách kiểm tra

Phương pháp kiểm tra: Windows Registry

registry
$base = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols'; $bad = @('Server', 'Client' | Where-Object { $p = Get-ItemProperty -Path "$base\TLS 1.1\$_" -ErrorAction SilentlyContinue; $null -eq $p -or $p.Enabled -ne 0 -or $p.DisabledByDefault -ne 1 }); if ($bad.Count -eq 0) { 'compliant' } else { 'noncompliant' }
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

For both Server and Client: New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server' -Force | Out-Null; New-ItemProperty -Path <key> -Name Enabled -Value 0 -PropertyType DWord -Force; New-ItemProperty -Path <key> -Name DisabledByDefault -Value 1 -PropertyType DWord -Force; then reboot.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
iistls
Tham chiếu
CIS Microsoft IIS 10 Benchmark v1.2.1 - 7.5 Ensure TLS 1.1 is Disabled

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 iis