1、簡介
參考:https://nosec.org/home/detail/4309.html
2、驗證
下載CVE-2020-0796掃描器,對Windows 10系統進行掃描
python3 cve-2020-0796-scanner.py -t 192.168.169.107
默認狀態下,檢測結果
![]()
3、修復
打開powershell,設置注冊表信息
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force

4、復測
再次掃描,發現漏洞已經無法檢測出來
![]()
當將DisableCompression值設置為0,再次檢測,仍可檢測出漏洞。
