Today I am writing about CVE-2020-1472 (ZeroLogon) and how can be detected with CrackMapExec and then exploit it using a script. If you want to learn more about this amazing tool check documentation about CrackMapExec 5.4.0.
What is Zerologon?
How to detect Zerologon vulnerability?
crackmapexec smb 10.129.16.244 -u 'guest' -p '' -M zerologon
How to exploit Zerologon vulnerability?
How to get a shell with ZeroLogon vulnerability?
pass-the-hash