risksense / zerologon

Exploit for zerologon cve-2020-1472
MIT License
635 stars 146 forks source link

Keep getting this error on all domains .. #4

Open CiberSecLabs opened 4 years ago

CiberSecLabs commented 4 years ago

Performing authentication attempts... Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/impacket-0.9.22.dev1+20200921.175010.84c8d6a7-py3.8.egg/impacket/dcerpc/v5/transport.py", line 346, in connect self.__socket.connect(sa) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "cve-2020-1472-exploit.py", line 126, in main() File "cve-2020-1472-exploit.py", line 123, in main perform_attack('\\' + dc_name, dc_ip, victim) File "cve-2020-1472-exploit.py", line 70, in perform_attack binding = epm.hept_map(dc_ip, nrpc.MSRPC_UUID_NRPC, protocol='ncacn_ip_tcp') File "/usr/local/lib/python3.8/dist-packages/impacket-0.9.22.dev1+20200921.175010.84c8d6a7-py3.8.egg/impacket/dcerpc/v5/epm.py", line 1256, in hept_map dce.connect() File "/usr/local/lib/python3.8/dist-packages/impacket-0.9.22.dev1+20200921.175010.84c8d6a7-py3.8.egg/impacket/dcerpc/v5/rpcrt.py", line 801, in connect return self._transport.connect() File "/usr/local/lib/python3.8/dist-packages/impacket-0.9.22.dev1+20200921.175010.84c8d6a7-py3.8.egg/impacket/dcerpc/v5/transport.py", line 349, in connect raise DCERPCException("Could not connect: %s" % msg) impacket.dcerpc.v5.rpcrt.DCERPCException: Could not connect: timed out

Aareon commented 3 years ago

The socket is timing out. Not an issue with the exploit. Check your network.