How to authenticate with AzureAD

Author: mk7120Created Nov 7, 2023Updated Nov 8, 2023

Is it possible to authenticate with an AzureAD (Microsoft Entra ID) credential? I have a PC with AzureAD joined, any account I created on Azure Portal can log in to the PC normally but I can't use CrackMapExec to log in.

crackmapexec --verbose smb <ib> -u "localadmin@<random>.onmicrosoft.com" -p "<password>"

I also tried 'AzureAD\[email protected]' but not work

Source: byt3bl33d3r/CrackMapExec