
Zerologon 검사 및 익스플로잇 - Secura의 Tom Tervoort가 발견했으며, @Dirkjanm의 cve-2020-1472 코드 예제를 확장했습니다. 이 도구는 비밀번호를 원래 상태로 점검하고, 익스플로잇하고, 복원합니다.

NetLogon(MS-NRPC)은 도메인 간 제어에 사용되는 취약한 보안 채널을 설정할 수 있습니다. 도메인 컨트롤러의 컴퓨터 계정 비밀번호를 0으로 초기화하는 것이 가능합니다.
python zerologon.py
usage: zerologon.py [-h] [-exploit] dc_name dc_ip
Tests whether a domain controller is vulnerable to the Zerologon attack. Resets the DC account password to an empty string
when vulnerable.
positional arguments:
dc_name The (NetBIOS) computer name of the domain controller.
dc_ip IP Address of the domain controller.
optional arguments:
-h, --help show this help message and exit
-exploit Zero out the computer's hash