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

默认状态下,检测结果

CVE-2020-0796验证与修复

 3、修复

打开powershell,设置注册表信息

 Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force

CVE-2020-0796验证与修复

4、复测

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

CVE-2020-0796验证与修复

 

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

 

相关文章:

  • 2021-05-07
  • 2020-06-04
  • 2021-12-02
  • 2021-07-27
  • 2021-12-05
  • 2021-09-11
  • 2020-06-03
  • 2020-06-04
猜你喜欢
  • 2022-12-23
  • 2021-09-29
  • 2021-10-30
  • 2021-04-07
  • 2022-12-23
  • 2022-02-14
相关资源
相似解决方案