1、漏洞描述
在Windows XP 、Windows Server 2003 以及未开启网络层认证(Network Level Authentication)的Windows Server 2008 和Windows 7 中,只要操作系统开启Remote Desktop Protocol (RDP)服务,远程攻击者在未经认证的情况下往服务器发送畸形恶意的数据包,便可以以系统权限或者NET SERVICE权限执行任意命令。
在开启网络层认证(Network Level Authentication)Windows Server 2008 *和Windows 7 *中,远程攻击者需要以合法账户登录,才能发动攻击,远程执行任意命令。
此漏洞影响全部版本的Windows操作系统
2、漏洞复现
(1)window server 2003 一台,开启远程桌面;kali虚拟机一台。
(2)确保两台虚拟机能互相ping通。
(3)利用kali里面的nmap扫描开放的3389端口的主机
(4)查看是否存在ms12-020漏洞是否存在
(5)开始攻击利用该漏洞,命令msfconsole启动msf。
(6)使用攻击模块开始攻击,命令use auxiliary/dos/windows/rdp/ms12_020_maxchannelids ,命令exploit开始攻击;显示Auxiliary module execution completed攻击完成