其他分享
首页 > 其他分享> > CVE-2020-0796验证与修复

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:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force

4、复测

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

 

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

 

标签:DisableCompression,检测,漏洞,2020,0796,CVE
来源: https://www.cnblogs.com/smartmsl/p/12485814.html