POC详情: 4579b52d8142bb6fe0c630918096632e94839238

来源
关联漏洞
标题: Microsoft Windows Netlogon 安全特征问题漏洞 (CVE-2020-1472)
描述:Microsoft Windows Netlogon是美国微软(Microsoft)公司的Windows的一个重要组件,主要功能是用户和机器在域内网络上的认证,以及复制数据库以进行域控备份,同时还用于维护域成员与域之间、域与域控之间、域DC与跨域DC之间的关系。 Microsoft Windows Netlogon 存在安全漏洞。攻击者可以使用 Netlogon 远程协议 (MS-NRPC) 建立与域控制器的易受攻击的 Netlogon 安全通道连接并进行特权提升。
介绍
# CVE-2020-1472
Checker & Exploit Code for CVE-2020-1472 aka Zerologon

Tests whether a domain controller is vulnerable to the Zerologon attack, if vulnerable, it will resets the Domain Controller's account password to an empty string.

NOTE: It will likely break things in production environments (eg. DNS functionality, communication with replication Domain Controllers, etc); target clients will then not be able to authenticate to the domain anymore, and they can only be re-synchronized through manual action.

Zerologon original research and whitepaper by Secura (Tom Tervoort) - https://www.secura.com/blog/zero-logon




https://user-images.githubusercontent.com/104816473/235369201-16c1eabd-4706-4589-bd31-de13fc414f86.mp4




# Exploit

It will attempt to perform the Netlogon authentication bypass. When a domain controller is patched, the detection script will give up after sending 2000 pairs of RPC calls, concluding that the target is not vulnerable (with a false negative chance of 0.04%).

The exploit will be successful only if the Domain Controller uses the password stored in Active Directory to validate the login attempt, rather than the one stored locally as, when changing a password in this way, it is only changed in the AD. The targeted system itself will still locally store its original password.

# Installation
## 1. Installtion as follows:
    1. git clone https://github.com/SecureAuthCorp/impacket
    2. cd impacket
    3. pwd ~/impacket/
    4. virtualenv --python=python3 impacket
    5. source impacket/bin/activate
    6. pip install --upgrade pip
    7. pip install
  
## 2. Install the Zerologon exploit script as follows:

    ~/impacket/
    cd examples
    git clone https://github.com/Akash7350/CVE-2020-1472/tree/main
    cd CVE-2020-1472
    pip install -r requirements.txt
# Example 
![image](https://user-images.githubusercontent.com/104816473/235366431-8f56bcfe-1516-4957-9f30-bb53c1de2300.png)
![image](https://user-images.githubusercontent.com/104816473/235366538-677baf7c-9acf-46c4-a5b0-b532c08dd800.png)
![image](https://user-images.githubusercontent.com/104816473/235366584-fd2b2ff9-80b7-4063-a637-d831883c2239.png)

# Research and Documentation 
https://www.secura.com/whitepapers/zerologon-whitepaper
https://github.com/Akash7350/CVE-2020-1472/blob/main/Report%20CVE%20CVE-2020-1472.pdf

文件快照

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