CVE-2020-0796验证与修复

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:SYSTEMCurrentControlSetServicesLanmanServerParameters" DisableCompression -Type DWORD -Value 1 -Force

4、复测

再次扫描,发现漏洞已经无法检测出来

 当将DisableCompression值设置为0,再次检测,仍可检测出漏洞。

原文地址:https://www.cnblogs.com/smartmsl/p/12485814.html